:root {
            --gold: #D4A853;
            --gold-light: #E8C97A;
            --gold-dark: #B8923F;
            --navy: #1A2744;
            --navy-light: #2A3B5C;
            --cream: #FBF9F3;
            --cream-dark: #F0EDE3;
            --white: #FFFFFF;
            --text-dark: #1A1A1A;
            --text-muted: #5A6170;
            --text-body: #374151;
            --shadow-sm: 0 2px 8px rgba(26, 39, 68, 0.08);
            --shadow-md: 0 8px 24px rgba(26, 39, 68, 0.12);
            --shadow-lg: 0 16px 48px rgba(26, 39, 68, 0.16);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Source Sans 3', sans-serif;
            background: var(--cream);
            color: var(--text-dark);
            line-height: 1.6;
        }

        h1, h2, h3, h4 {
            font-family: 'Playfair Display', serif;
            font-weight: 700;
            line-height: 1.3;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        /* Admin Bar */
        .admin-bar {
            background: var(--gold);
            padding: 0.75rem 2rem;
            display: flex;
            justify-content: center;
            gap: 1rem;
        }

        .admin-bar a {
            background: var(--navy);
            color: var(--white);
            padding: 0.5rem 1.25rem;
            border-radius: 6px;
            font-weight: 600;
            font-size: 0.85rem;
            transition: all 0.2s;
        }

        .admin-bar a:hover {
            background: var(--navy-light);
        }

        /* Back Navigation */
        .back-nav {
            background: var(--white);
            border-bottom: 1px solid var(--cream-dark);
            padding: 1rem 2rem;
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .back-nav-inner {
            max-width: 900px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .back-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--text-muted);
            font-weight: 500;
            transition: color 0.2s;
        }

        .back-link:hover {
            color: var(--navy);
        }

        .share-buttons {
            display: flex;
            gap: 0.5rem;
        }

        .share-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--cream);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            transition: all 0.2s;
            cursor: pointer;
            border: none;
        }

        .share-btn:hover {
            background: var(--gold);
            transform: translateY(-2px);
        }

        /* Article Header */
        .article-header {
            background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
            padding: 3rem 2rem 2rem;
        }

        .article-header-inner {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
        }

        .article-meta {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1.5rem;
            margin-bottom: 1.5rem;
            font-size: 0.9rem;
            color: var(--text-muted);
        }

        .article-meta span {
            display: flex;
            align-items: center;
            gap: 0.35rem;
        }

        .article-header h1 {
            font-size: clamp(2rem, 5vw, 3rem);
            color: var(--navy);
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

        .article-excerpt {
            font-size: 1.25rem;
            color: var(--text-muted);
            max-width: 650px;
            margin: 0 auto;
            line-height: 1.6;
        }

        /* Featured Image */
        .featured-image-container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 0 2rem;
            transform: translateY(-1rem);
        }

        .featured-image {
            width: 100%;
            aspect-ratio: 16/9;
            object-fit: cover;
            border-radius: 20px;
            box-shadow: var(--shadow-lg);
        }

        .featured-placeholder {
            width: 100%;
            aspect-ratio: 16/9;
            background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 5rem;
            opacity: 0.8;
        }

        /* Article Content */
        .article-container {
            max-width: 750px;
            margin: 0 auto;
            padding: 3rem 2rem 4rem;
        }

        .article-content {
            font-size: 1.125rem;
            line-height: 1.25;
            color: var(--text-body);
        }

        .article-content p {
            margin-bottom: 1.1rem;
        }

        .article-content h2 {
            font-size: 1.75rem;
            color: var(--navy);
            margin: 2.5rem 0 1rem;
        }

        .article-content h3 {
            font-size: 1.35rem;
            color: var(--navy);
            margin: 2rem 0 0.75rem;
        }

        .article-content ul,
        .article-content ol {
            margin: .3rem 0;
            padding-left: 1.0rem;
        }

        .article-content li {
            margin-bottom: 0.75rem;
        }

        .article-content blockquote {
            border-left: 4px solid var(--gold);
            padding: 1rem 1.5rem;
            margin: 2rem 0;
            background: var(--cream);
            border-radius: 0 12px 12px 0;
            font-style: italic;
            color: var(--navy);
        }

        .article-content a {
            color: var(--gold-dark);
            text-decoration: underline;
            text-underline-offset: 2px;
        }

        .article-content a:hover {
            color: var(--navy);
        }

        .article-content img {
            max-width: 100%;
            border-radius: 12px;
            margin: 2rem 0;
            box-shadow: var(--shadow-md);
        }

        .article-content code {
            background: var(--cream-dark);
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            font-size: 0.9em;
        }

        .article-content pre {
            background: var(--navy);
            color: var(--cream);
            padding: 1.5rem;
            border-radius: 12px;
            overflow-x: auto;
            margin: 2rem 0;
        }

        .article-content pre code {
            background: none;
            padding: 0;
        }

        /* Article Footer */
        .article-footer {
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 1px solid var(--cream-dark);
        }

        .article-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 2rem;
        }

        .tag {
            background: var(--cream);
            color: var(--text-muted);
            padding: 0.4rem 1rem;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 500;
            transition: all 0.2s;
        }

        .tag:hover {
            background: var(--gold);
            color: var(--navy);
        }

        /* Author Box */
        .author-box {
            background: var(--white);
            border-radius: 16px;
            padding: 2rem;
            display: flex;
            gap: 1.5rem;
            align-items: center;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--cream-dark);
        }

        .author-avatar {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            flex-shrink: 0;
        }

        .author-info h4 {
            font-size: 1.1rem;
            color: var(--navy);
            margin-bottom: 0.25rem;
        }

        .author-info p {
            color: var(--text-muted);
            font-size: 0.95rem;
            line-height: 1.5;
        }

        /* CTA Box */
        .cta-box {
            background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
            border-radius: 20px;
            padding: 2.5rem;
            text-align: center;
            margin-top: 3rem;
            position: relative;
            overflow: hidden;
        }

        .cta-box::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -30%;
            width: 60%;
            height: 200%;
            background: radial-gradient(ellipse, rgba(212, 168, 83, 0.15) 0%, transparent 70%);
            pointer-events: none;
        }

        .cta-box h3 {
            color: var(--white);
            font-size: 1.5rem;
            margin-bottom: 0.75rem;
            position: relative;
        }

        .cta-box p {
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 1.5rem;
            position: relative;
        }

        .cta-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
            color: var(--navy);
            padding: 1rem 2rem;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1rem;
            transition: all 0.3s ease;
            position: relative;
        }

        .cta-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(212, 168, 83, 0.4);
        }

        /* Related Posts */
        .related-section {
            background: var(--white);
            padding: 4rem 2rem;
            margin-top: 3rem;
        }

        .related-inner {
            max-width: 1100px;
            margin: 0 auto;
        }

        .related-header {
            text-align: center;
            margin-bottom: 2.5rem;
        }

        .related-header h2 {
            font-size: 1.75rem;
            color: var(--navy);
        }

        .related-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .related-card {
            background: var(--cream);
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .related-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-md);
        }

        .related-image {
            height: 160px;
            background: linear-gradient(135deg, var(--cream-dark) 0%, var(--cream) 100%);
            overflow: hidden;
        }

        .related-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s;
        }

        .related-card:hover .related-image img {
            transform: scale(1.08);
        }

        .related-image-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            opacity: 0.4;
        }

        .related-body {
            padding: 1.25rem;
        }

        .related-body h3 {
            font-size: 1.05rem;
            color: var(--navy);
            margin-bottom: 0.5rem;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .related-card:hover h3 {
            color: var(--gold-dark);
        }

        .related-meta {
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        /* Progress Bar */
        .reading-progress {
            position: fixed;
            top: 0;
            left: 0;
            width: 0%;
            height: 3px;
            background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 100%);
            z-index: 1000;
            transition: width 0.1s;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .article-header {
                padding: 2rem 1rem 1.5rem;
            }

            .article-header h1 {
                font-size: 1.75rem;
            }

            .article-excerpt {
                font-size: 1.1rem;
            }

            .featured-image-container {
                padding: 0 1rem;
            }

            .article-container {
                padding: 2rem 1rem 3rem;
            }

            .article-content {
                font-size: 1rem;
            }

            .author-box {
                flex-direction: column;
                text-align: center;
            }

            .related-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .back-nav-inner {
                flex-direction: column;
                gap: 1rem;
            }

            .article-meta {
                flex-wrap: wrap;
                gap: 0.75rem;
            }
        }






  /* ================================================================
   KDPFast Blog Styles
   Clean, professional design matching site theme
   ================================================================ */

:root {
    --gold: #D4A853;
    --gold-dark: #C69640;
    --navy: #1A2744;
    --navy-light: #2c3e5a;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --text-primary: #1A2744;
    --text-muted: #666;
    --border-color: #e0e0e0;
}

/* ================================================================
   GLOBAL CONTAINER (Prevent Too Wide)
   ================================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================================================
   ADMIN BAR
   ================================================================ */
.blog-admin-bar {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 12px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-admin-bar .container {
    display: flex;
    gap: 15px;
    align-items: center;
}

.admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.admin-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.admin-btn i {
    font-size: 1.1rem;
}

/* ================================================================
   BLOG HERO
   ================================================================ */
.blog-hero {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
    padding: 80px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.blog-hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
    line-height: 1.2;
}

.blog-hero h1 .highlight {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ================================================================
   BLOG CONTENT
   ================================================================ */
.blog-content {
    padding: 60px 0;
}

/* ================================================================
   SECTION LABELS & HEADERS
   ================================================================ */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.1) 0%, rgba(212, 168, 83, 0.2) 100%);
    color: var(--gold-dark);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 30px;
}

.section-label i {
    font-size: 1rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-header h2 i {
    color: var(--gold);
}

.post-count {
    padding: 6px 16px;
    background: var(--light-bg);
    color: var(--text-muted);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ================================================================
   FEATURED POST
   ================================================================ */
.featured-section {
    margin-bottom: 80px;
}

.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.featured-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.featured-image {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--light-bg);
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.featured-post:hover .featured-image img {
    transform: scale(1.05);
}

.post-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-bg) 0%, #e8e8e8 100%);
    color: var(--text-muted);
}

.post-placeholder i {
    font-size: 4rem;
    opacity: 0.3;
}

.featured-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.meta-item i {
    color: var(--gold);
    font-size: 1rem;
}

.meta-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.meta-category i {
    font-size: 0.9rem;
}

.featured-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 15px;
    line-height: 1.3;
}

.featured-excerpt {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.featured-post:hover .read-more-btn {
    transform: translateX(5px);
}

/* ================================================================
   POSTS GRID
   ================================================================ */
.posts-section {
    margin-bottom: 80px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.post-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.post-image {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--light-bg);
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.post-card:hover .post-image img {
    transform: scale(1.08);
}

.post-content {
    padding: 25px;
}

.category-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--light-bg);
    color: var(--gold-dark);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.post-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.4;
}

.post-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.post-card:hover .read-more {
    gap: 10px;
}

.read-more i {
    font-size: 0.9rem;
}

/* ================================================================
   NEWSLETTER SECTION
   ================================================================ */
.newsletter-section {
    margin-bottom: 60px;
}

.newsletter-card {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 50px 40px;
    border-radius: 16px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-icon i {
    font-size: 2.5rem;
    color: var(--gold);
}

.newsletter-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.newsletter-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.newsletter-actions {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--white);
    border-color: var(--gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 168, 83, 0.3);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

/* ================================================================
   RESPONSIVE DESIGN
   ================================================================ */
@media (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }
    
    .newsletter-icon {
        margin: 0 auto;
    }
    
    .newsletter-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 60px 20px;
    }
    
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .blog-hero p {
        font-size: 1.1rem;
    }
    
    .featured-post {
        grid-template-columns: 1fr;
    }
    
    .featured-content {
        padding: 30px;
    }
    
    .featured-content h2 {
        font-size: 1.6rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .newsletter-card {
        padding: 40px 25px;
    }
    
    .newsletter-content h3 {
        font-size: 1.5rem;
    }
    
    .newsletter-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .featured-content h2 {
        font-size: 1.4rem;
    }
    
    .post-content {
        padding: 20px;
    }
    
    .post-content h3 {
        font-size: 1.1rem;
    }
}