    /* Reset archive-content padding */
    .archive-content {
        padding: 1rem 0 !important;
    }

    /* ===== ENHANCED ARCHIVE HEADER (COMPACT) ===== */
    .archive-header-enhanced {
        position: relative;
        min-height: 140px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        margin-top: 0;
        padding-top: 120px;
    }

    .archive-header-bg {
        position: absolute;
        inset: 0;
        background-color: var(--color-hero-bg, #0a2540);
    }

    .archive-header-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .archive-header-bg::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, var(--color-hero-bg, rgba(10, 37, 64, 0.9)) 0%, var(--color-hero-bg2, rgba(10, 37, 64, 0.7)) 100%);
    }

    .archive-header-content {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        padding: 1rem 2rem;
        width: 100%;
        max-width: 1200px;
    }

    .archive-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        background: var(--color-accent, rgba(255, 107, 107, 0.9));
        color: #fff;
        padding: 0.35rem 0.8rem;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 500;
        white-space: nowrap;
        backdrop-filter: blur(10px);
    }

    .archive-badge svg {
        width: 16px;
        height: 16px;
    }

    .archive-title {
        color: #fff !important;
        font-size: 1.75rem;
        font-weight: 700;
        margin: 0;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        flex: 1;
        text-align: center;
    }

    .archive-description {
        display: none;
        /* Hidden in compact mode */
    }

    .archive-stats {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        white-space: nowrap;
    }

    .archive-stat {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        color: #fff;
        background: rgba(255, 255, 255, 0.15);
        padding: 0.4rem 0.8rem;
        border-radius: 20px;
        font-size: 0.85rem;
    }

    .archive-stat-number {
        font-weight: 700;
        color: var(--color-accent, #d63b3b);
    }

    .archive-stat-label {
        opacity: 0.9;
    }

    @media (max-width: 768px) {
        .archive-header-enhanced {
            min-height: 100px;
        }

        .archive-header-content {
            flex-direction: column;
            gap: 0.5rem;
            padding: 0.75rem 1rem;
        }

        .archive-title {
            font-size: 1.35rem;
            order: 1;
        }

        .archive-badge {
            order: 0;
        }

        .archive-stats {
            order: 2;
        }
    }

    /* ===== ENRICHED POST METADATA ===== */
    .post-meta-rich {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem 1rem;
        margin: 0.75rem 0;
        font-size: 0.8rem;
        color: var(--color-text-light, #6c757d);
    }

    .meta-item {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
    }

    .meta-item svg {
        width: 14px;
        height: 14px;
        opacity: 0.7;
    }

    .meta-date svg {
        stroke: var(--color-accent, #d63b3b);
    }

    .meta-reading svg {
        stroke: #17a2b8;
    }

    .meta-author svg {
        stroke: #6f42c1;
    }

    @media (max-width: 576px) {
        .post-meta-rich {
            gap: 0.5rem 0.75rem;
            font-size: 0.75rem;
        }

        .meta-item svg {
            width: 12px;
            height: 12px;
        }
    }

    /* ===== ENHANCED POST CARDS ===== */
    .posts-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        margin-top: 0.5rem;
    }

    @media (max-width: 992px) {
        .posts-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 576px) {
        .posts-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
    }

    .post-card {
        display: flex;
        flex-direction: column;
        background: var(--color-card-bg, #fff);
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        height: 100%;
    }

    .post-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    }

    .post-thumbnail {
        position: relative;
        aspect-ratio: 16 / 10;
        overflow: hidden;
    }

    .post-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

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

    .post-thumbnail-placeholder svg {
        width: 100%;
        height: 100%;
    }

    .post-content {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        padding: 1.25rem;
    }

    .post-category {
        display: inline-block;
        background: linear-gradient(135deg, var(--color-accent, #d63b3b), var(--color-accent-hover, #ee5a5a));
        color: #fff;
        padding: 0.25rem 0.75rem;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 0.75rem;
        width: fit-content;
    }

    .post-title {
        font-size: 1.1rem;
        font-weight: 700;
        line-height: 1.4;
        margin: 0 0 0.5rem 0;
        color: var(--color-primary, #0a2540);
    }

    .post-title a {
        color: inherit;
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .post-title a:hover {
        color: var(--color-accent, #d63b3b);
    }

    .post-excerpt {
        color: var(--color-text-light, #6c757d);
        font-size: 0.9rem;
        line-height: 1.6;
        flex-grow: 1;
        margin: 0 0 1rem 0;
    }

    .post-link {
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
        color: var(--color-accent, #d63b3b);
        font-weight: 600;
        font-size: 0.9rem;
        text-decoration: none;
        transition: transform 0.2s ease, color 0.2s ease;
        margin-top: auto;
    }

    .post-link:hover {
        color: var(--color-primary, #0a2540);
        transform: translateX(4px);
    }

    /* ===== SUBCATEGORIES NAVIGATION ===== */
    .subcategories-nav {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin: 0.75rem 0;
        padding: 1rem 1.25rem;
        background: #f8f9fa;
        border-radius: 12px;
        border-left: 4px solid var(--color-accent, #d63b3b);
    }

    .subcats-label {
        font-weight: 600;
        color: var(--color-primary, #0a2540);
        font-size: 0.9rem;
    }

    .subcats-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .subcat-pill {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        background: #fff;
        color: var(--color-primary, #0a2540);
        padding: 0.4rem 0.9rem;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 500;
        text-decoration: none;
        border: 1px solid var(--color-border, #e9ecef);
        transition: all 0.2s ease;
    }

    .subcat-pill:hover {
        background: var(--color-accent, #d63b3b);
        color: #fff;
        border-color: var(--color-accent, #d63b3b);
        transform: translateY(-2px);
    }

    .subcat-count {
        background: #e9ecef;
        color: var(--color-text-light, #6c757d);
        padding: 0.15rem 0.4rem;
        border-radius: 10px;
        font-size: 0.75rem;
        font-weight: 600;
        transition: all 0.2s ease;
    }

    .subcat-pill:hover .subcat-count {
        background: rgba(255, 255, 255, 0.25);
        color: #fff;
    }

    @media (max-width: 576px) {
        .subcategories-nav {
            flex-direction: column;
            align-items: flex-start;
        }
    }

    /* ===== ARCHIVE LAYOUT 70/30 ===== */
    .archive-layout {
        display: grid;
        grid-template-columns: 1fr 320px;
        gap: 1.5rem;
        align-items: start;
    }

    .archive-main {
        min-width: 0;
    }

    .posts-grid-sidebar {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    @media (max-width: 1200px) {
        .archive-layout {
            grid-template-columns: 1fr 280px;
            gap: 2rem;
        }
    }

    @media (max-width: 992px) {
        .archive-layout {
            grid-template-columns: 1fr;
        }

        .archive-sidebar {
            order: 1;
        }

        .posts-grid-sidebar {
            grid-template-columns: repeat(2, 1fr) !important;
        }
    }

    @media (max-width: 576px) {
        .posts-grid-sidebar {
            grid-template-columns: 1fr !important;
        }
    }

    /* ===== SIDEBAR WIDGETS ===== */
    .archive-sidebar {
        position: sticky;
        top: 90px;
    }

    .sidebar-widget {
        background: var(--color-card-bg, #fff);
        border-radius: 16px;
        padding: 1.25rem;
        margin-bottom: 1.5rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }

    .widget-title {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 1rem;
        font-weight: 700;
        color: var(--color-primary, #0a2540);
        margin: 0 0 1rem 0;
        padding-bottom: 0.75rem;
        border-bottom: 2px solid #f1f3f5;
    }

    .widget-title svg {
        width: 18px;
        height: 18px;
        stroke: var(--color-accent, #d63b3b);
    }

    /* Popular posts */
    .popular-posts-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .popular-post-item {
        margin-bottom: 0.75rem;
    }

    .popular-post-item:last-child {
        margin-bottom: 0;
    }

    .popular-post-item a {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        text-decoration: none;
        color: var(--color-primary, #0a2540);
        transition: color 0.2s;
    }

    .popular-post-item a:hover {
        color: var(--color-accent, #d63b3b);
    }

    .popular-post-item img {
        width: 60px;
        height: 45px;
        object-fit: cover;
        border-radius: 8px;
        flex-shrink: 0;
    }

    .popular-post-item span {
        font-size: 0.85rem;
        font-weight: 500;
        line-height: 1.3;
    }

    /* Tags cloud */
    .tags-cloud {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .tag-pill {
        background: #f1f3f5;
        color: var(--color-text, #495057);
        padding: 0.3rem 0.7rem;
        border-radius: 15px;
        font-size: 0.8rem;
        text-decoration: none;
        transition: all 0.2s;
    }

    .tag-pill:hover {
        background: var(--color-accent, #d63b3b);
        color: #fff;
    }

    /* Categories list */
    .categories-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .categories-list li {
        border-bottom: 1px solid #f1f3f5;
    }

    .categories-list li:last-child {
        border-bottom: none;
    }

    .categories-list a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.6rem 0;
        color: var(--color-primary, #0a2540);
        text-decoration: none;
        font-size: 0.9rem;
        transition: color 0.2s;
    }

    .categories-list a:hover {
        color: var(--color-accent, #d63b3b);
    }

    .cat-count {
        background: #f1f3f5;
        color: var(--color-text-light, #6c757d);
        padding: 0.15rem 0.5rem;
        border-radius: 10px;
        font-size: 0.75rem;
        font-weight: 600;
    }
