/*
 * Dynamic Blog Content Styles
 * Theme: BindasLook.in (Luxury Dark with Gold)
 * Colors: Black (#000000), Gold (#bb9d7b), Dark Gray (#1a1a1a)
 */

/* Main Wrapper */
.blog-content {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #d1d5db;
    /* Light gray for readability */
    line-height: 1.8;
    font-size: 1.125rem;
    /* 18px */
}

/* Headings */
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #ffffff;
    font-weight: 600;
    margin-top: 2em;
    margin-bottom: 0.8em;
    line-height: 1.3;
    text-align: left !important;
}

.blog-content h1 {
    font-size: 2.25rem !important;
    /* 36px */
    line-height: 1.2 !important;
    color: #D97706;
    /* Gold for H1 */
}

.blog-content h2 {
    font-size: 1.875rem !important;
    /* 30px */
    line-height: 1.3 !important;
    color: #D97706;
    /* Gold for H2 */
}

.blog-content h3 {
    font-size: 1.5rem !important;
    /* 24px */
    line-height: 1.4 !important;
    color: #e5e7eb;
    /* Light gray */
}

.blog-content h4 {
    font-size: 1.25rem !important;
    /* 20px */
    line-height: 1.5 !important;
    color: #e5e7eb;
}

.blog-content h5 {
    font-size: 1.125rem !important;
    /* 18px */
    color: #e5e7eb;
}

.blog-content h6 {
    font-size: 1rem !important;
    /* 16px */
    color: #e5e7eb;
}

/* Paragraphs */
.blog-content p {
    margin: 0.75em 0;
    text-align: left;
    color: #d1d5db;
}

/* Links */
.blog-content a {
    color: #D97706;
    /* Gold */
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.3s ease;
}

.blog-content a:hover {
    color: #F59E0B;
    /* Lighter gold on hover */
}

/* Images */
.blog-content img {
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    margin: 2rem auto;
    display: block;
    max-width: 100%;
    height: auto;
    border: 1px solid #2a2a2a;
}

.blog-content figure {
    margin: 2rem 0;
}

.blog-content figcaption {
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Lists */
.blog-content ul,
.blog-content ol {
    margin: 1.5em 0 1.5em 2em;
    padding-left: 0;
    text-align: left !important;
    color: #d1d5db;
}

.blog-content ul {
    list-style: disc outside;
}

.blog-content ol {
    list-style: decimal outside;
}

.blog-content ul li,
.blog-content ol li {
    margin-bottom: 0.5em;
    padding-left: 0.5em;
}

.blog-content ul li::marker,
.blog-content ol li::marker {
    color: #D97706;
    /* Gold markers */
}

/* Nested Lists */
.blog-content ul ul,
.blog-content ol ol,
.blog-content ul ol,
.blog-content ol ul {
    margin: 0.5em 0 0.5em 1.5em;
}

/* Blockquotes */
.blog-content blockquote {
    border-left: 4px solid #D97706;
    /* Gold border */
    background: #1a1a1a;
    /* Dark background */
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 0.5rem 0.5rem 0;
    color: #e5e7eb;
}

.blog-content blockquote p {
    margin: 0.5em 0;
}

.blog-content blockquote p:first-child {
    margin-top: 0;
}

.blog-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Tables */
.blog-content table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #2a2a2a;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #1a1a1a;
}

.blog-content table th,
.blog-content table td {
    padding: 1rem;
    border-bottom: 1px solid #2a2a2a;
    text-align: left;
}

.blog-content table th {
    background-color: #000000;
    font-weight: 600;
    color: #D97706;
    /* Gold for headers */
}

.blog-content table td {
    color: #d1d5db;
}

.blog-content table tr:last-child td {
    border-bottom: none;
}

.blog-content table tr:hover {
    background-color: rgba(217, 119, 6, 0.05);
    /* D97706 RGB */
}

/* Horizontal Rule */
.blog-content hr {
    border: 0;
    border-top: 1px solid #2a2a2a;
    margin: 3rem 0;
}

/* Strong/Bold */
.blog-content strong,
.blog-content b {
    font-weight: 700;
    color: #ffffff;
}

/* Emphasis/Italic */
.blog-content em,
.blog-content i {
    font-style: italic;
    color: #e5e7eb;
}

/* Code Blocks */
.blog-content pre {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border: 1px solid #2a2a2a;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    overflow-x: auto;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    font-family: 'Monaco', 'Menlo', 'Consolas', 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.7;
    color: #e5e7eb;
}

/* Gold top border for code blocks */
.blog-content pre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #D97706, #F59E0B);
    border-radius: 0.5rem 0.5rem 0 0;
}

.blog-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    border: none;
    font-size: inherit;
}

/* Inline Code */
.blog-content :not(pre)>code {
    font-family: 'Monaco', 'Menlo', 'Consolas', 'Courier New', monospace;
    background: rgba(217, 119, 6, 0.15);
    color: #D97706;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.875em;
    font-weight: 500;
    border: 1px solid rgba(217, 119, 6, 0.3);
}

/* Scrollbars for Code */
.blog-content pre::-webkit-scrollbar {
    height: 8px;
}

.blog-content pre::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.blog-content pre::-webkit-scrollbar-thumb {
    background: #D97706;
    border-radius: 4px;
}

.blog-content pre::-webkit-scrollbar-thumb:hover {
    background: #F59E0B;
}

/* Mark/Highlight */
.blog-content mark {
    background-color: rgba(217, 119, 6, 0.3);
    color: #ffffff;
    padding: 0.1em 0.2em;
    border-radius: 2px;
}

/* Abbreviation */
.blog-content abbr {
    text-decoration: underline dotted;
    cursor: help;
    color: #D97706;
}

/* Del/Strike */
.blog-content del,
.blog-content s {
    text-decoration: line-through;
    color: #9ca3af;
}

/* Inserted text */
.blog-content ins {
    text-decoration: none;
    background-color: rgba(217, 119, 6, 0.2);
    color: #ffffff;
}

/* Small text */
.blog-content small {
    font-size: 0.875em;
    color: #9ca3af;
}

/* Subscript and Superscript */
.blog-content sub,
.blog-content sup {
    font-size: 0.75em;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

.blog-content sup {
    top: -0.5em;
}

.blog-content sub {
    bottom: -0.25em;
}

/* Keyboard key */
.blog-content kbd {
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
    color: #ffffff;
    display: inline-block;
    font-size: 0.875em;
    padding: 0.1em 0.4em;
    vertical-align: baseline;
}

/* Definition List */
.blog-content dl {
    margin: 1.5em 0;
}

.blog-content dt {
    font-weight: 700;
    color: #ffffff;
    margin-top: 1em;
}

.blog-content dd {
    margin-left: 2em;
    color: #d1d5db;
    margin-bottom: 0.5em;
}

/* Address */
.blog-content address {
    font-style: normal;
    margin: 1.5em 0;
    padding: 1rem;
    background: #1a1a1a;
    border-left: 4px solid #D97706;
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Video embeds */
.blog-content iframe,
.blog-content video {
    max-width: 100%;
    margin: 2rem auto;
    display: block;
    border-radius: 0.5rem;
    border: 1px solid #2a2a2a;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .blog-content {
        font-size: 1rem;
    }

    .blog-content h1 {
        font-size: 1.875rem !important;
    }

    .blog-content h2 {
        font-size: 1.5rem !important;
    }

    .blog-content h3 {
        font-size: 1.25rem !important;
    }

    .blog-content h4 {
        font-size: 1.125rem !important;
    }

    .blog-content pre {
        padding: 1rem;
        font-size: 0.8rem;
    }

    .blog-content table {
        font-size: 0.875rem;
    }

    .blog-content table th,
    .blog-content table td {
        padding: 0.75rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-content>* {
    animation: fadeInUp 0.6s ease-out;
}

/* Print Styles */
@media print {
    .blog-content {
        color: #000000;
    }

    .blog-content h1,
    .blog-content h2,
    .blog-content h3,
    .blog-content h4,
    .blog-content h5,
    .blog-content h6 {
        color: #000000;
    }

    .blog-content pre {
        border: 1px solid #000000;
        background: #f5f5f5;
        color: #000000;
    }

    .blog-content a {
        color: #000000;
        text-decoration: underline;
    }
}