/*
Theme Name: Revista LIDE Argentina (Child Theme)
Theme URI: https://revistalide.com.ar
Description: Child theme for Twenty Twenty-Five with LIDE Argentina Brand Kit.
Author: Antigravity
Author URI: https://antigravity.ai
Template: twentytwentyfive
Version: 1.0.0
Text Domain: lide
*/

/* 
Note: The main styles are handled in lide-brand-kit.css 
for better organization and modularity.
*/

/* ==========================================================================
   LOGO IMAGE
   ========================================================================== */

.header .logo a {
    display: inline-block;
    text-decoration: none;
}

.site-logo-img {
    display: block;
    height: 64px;
    width: auto;
    object-fit: contain;
}

/* ==========================================================================
   NAVIGATION — DROPDOWN SUBMENU
   ========================================================================== */

/* Wrap inner para posicionamiento relativo del dropdown */
.nav-inner {
    display: flex;
    justify-content: center;
    align-items: stretch;
    position: relative;
}

/* Cada item top-level es un <li> relativo */
.nav .nav-item {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* El <a> de cada ítem */
.nav .nav-item .nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 14px 18px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--lide-text-muted, #666);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    cursor: pointer;
}

.nav .nav-item .nav-link:hover,
.nav .nav-item.active>.nav-link {
    color: var(--lide-primary, #3C57A1);
    border-bottom-color: var(--lide-primary, #3C57A1);
}

/* Flecha indicadora */
.nav-arrow {
    font-size: 10px;
    opacity: 0.6;
    transition: transform 0.2s;
    line-height: 1;
}

.nav .nav-item.has-children:hover .nav-arrow {
    transform: rotate(180deg);
}

/* SUB-MENU — hidden by default */
.nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--lide-border, #e8eaf0);
    border-top: 2px solid var(--lide-primary, #3C57A1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 200;
    list-style: none;
    padding: 6px 0;
    margin: 0;
    /* animación de entrada */
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    pointer-events: none;
}

/* Visible al hacer hover sobre el padre */
.nav .nav-item.has-children:hover>.sub-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Items dentro del sub-menu */
.nav .sub-menu .nav-item {
    display: block;
    width: 100%;
}

.nav .sub-menu .nav-item .nav-link {
    display: block;
    padding: 10px 20px;
    font-size: 11px;
    letter-spacing: 0.8px;
    color: var(--lide-text-main, #1a1a2e);
    border-bottom: none;
    border-left: 2px solid transparent;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.nav .sub-menu .nav-item .nav-link:hover,
.nav .sub-menu .nav-item.active>.nav-link {
    background: var(--lide-bg-light, #f8f9fc);
    color: var(--lide-primary, #3C57A1);
    border-left-color: var(--lide-primary, #3C57A1);
    border-bottom: none;
}


/* ==========================================================================
   LIFESTYLE CATEGORY ARCHIVE STYLES
   ========================================================================== */

.category-lifestyle-container {
    --azul: var(--lide-primary);
    --negro: var(--lide-secondary);
    --borde: var(--lide-border);
    --gris: var(--lide-bg-light);
}

/* PAGE HERO — oscuro para lifestyle */
.category-lifestyle-container .page-hero {
    background: var(--negro);
    padding: 56px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.category-lifestyle-container .page-hero::before {
    content: '⬡';
    position: absolute;
    right: 40px;
    top: -40px;
    font-size: 400px;
    color: rgba(255, 255, 255, 0.02);
    pointer-events: none;
    line-height: 1;
}

.category-lifestyle-container .hero-text {}

.category-lifestyle-container .hero-eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 14px;
}

.category-lifestyle-container .hero-title {
    font-family: var(--lide-font-serif, 'Playfair Display', serif);
    font-size: 42px;
    font-weight: 500;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
}

.category-lifestyle-container .hero-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.75;
}

/* CATS GRID */
.category-lifestyle-container .cats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.category-lifestyle-container .cat-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 20px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.category-lifestyle-container .cat-card:hover {
    background: rgba(60, 87, 161, 0.4);
    border-color: rgba(60, 87, 161, 0.6);
}

.category-lifestyle-container .cat-card.active {
    background: var(--azul);
    border-color: var(--azul);
}

.category-lifestyle-container .cat-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.category-lifestyle-container .cat-info {}

.category-lifestyle-container .cat-name {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 3px;
}

.category-lifestyle-container .cat-count {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

/* NOTAS GRILLA */
.category-lifestyle-container .section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 40px 40px 22px;
}

.category-lifestyle-container .section-title {
    font-family: var(--lide-font-serif, 'Playfair Display', serif);
    font-size: 28px;
    font-weight: 500;
    color: var(--negro);
}

.category-lifestyle-container .section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--azul);
    margin-top: 10px;
}

.category-lifestyle-container .section-sub {
    font-size: 12px;
    color: #999;
    margin-top: 6px;
}

.category-lifestyle-container .ver-mas {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--azul);
    cursor: pointer;
    border-bottom: 1px solid var(--azul);
    padding-bottom: 1px;
    text-decoration: none;
}

/* NOTA DESTACADA (primera nota — más grande) */
.category-lifestyle-container .nota-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--borde);
    border-bottom: 1px solid var(--borde);
    margin: 0 40px;
    cursor: pointer;
    text-decoration: none;
}

.category-lifestyle-container .nota-featured:hover .nota-featured-img img {
    transform: scale(1.03);
}

.category-lifestyle-container .nota-featured-img {
    overflow: hidden;
    aspect-ratio: 16/10;
}

.category-lifestyle-container .nota-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.category-lifestyle-container .nota-featured-img .img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 280px;
    background: linear-gradient(135deg, var(--negro), #2a3a5a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

.category-lifestyle-container .nota-featured-content {
    padding: 40px;
    border-left: 1px solid var(--borde);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-lifestyle-container .nota-tag {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--azul);
    color: #fff;
    padding: 3px 9px;
    display: inline-block;
    margin-bottom: 16px;
    width: fit-content;
}

.category-lifestyle-container .nota-featured-title {
    font-family: var(--lide-font-serif, 'Playfair Display', serif);
    font-size: 28px;
    font-weight: 500;
    color: var(--negro);
    line-height: 1.3;
    margin-bottom: 14px;
}

.category-lifestyle-container .nota-featured-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.75;
    margin-bottom: 24px;
}

.category-lifestyle-container .nota-featured-edition {
    font-size: 11px;
    color: #bbb;
}

.category-lifestyle-container .leer-mas {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--azul);
    border-bottom: 1px solid var(--azul);
    padding-bottom: 1px;
    display: inline-block;
    margin-top: 20px;
    width: fit-content;
    text-decoration: none;
}

/* GRILLA NOTAS REGULARES */
.category-lifestyle-container .notas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 40px;
    border-top: 1px solid var(--borde);
}

.category-lifestyle-container .nota-card {
    border-right: 1px solid var(--borde);
    border-bottom: 1px solid var(--borde);
    cursor: pointer;
    overflow: hidden;
    transition: background 0.2s;
    text-decoration: none;
}

.category-lifestyle-container .nota-card:hover {
    background: var(--gris);
}

.category-lifestyle-container .nota-card:nth-child(3n) {
    border-right: none;
}

.category-lifestyle-container .nota-img {
    height: 160px;
    overflow: hidden;
    position: relative;
}

.category-lifestyle-container .nota-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.category-lifestyle-container .nota-card:hover .nota-img img {
    transform: scale(1.04);
}

.category-lifestyle-container .nota-img .img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--negro), #2a3a5a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    position: relative;
}

.category-lifestyle-container .nota-img-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: var(--azul);
    color: #fff;
    padding: 3px 9px;
}

.category-lifestyle-container .nota-body {
    padding: 20px 22px 26px;
}

.category-lifestyle-container .nota-cat {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--azul);
    margin-bottom: 8px;
}

.category-lifestyle-container .nota-title {
    font-family: var(--lide-font-serif, 'Playfair Display', serif);
    font-size: 17px;
    font-weight: 500;
    color: var(--negro);
    line-height: 1.4;
    margin-bottom: 8px;
}

.category-lifestyle-container .nota-excerpt {
    font-size: 13px;
    color: #888;
    line-height: 1.65;
}

/* RESPONSIVE DESIGN FOR LIFESTYLE ARCHIVE */
@media (max-width: 991px) {
    .category-lifestyle-container .page-hero {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 24px;
    }

    .category-lifestyle-container .nota-featured {
        grid-template-columns: 1fr;
        margin: 0 24px;
    }

    .category-lifestyle-container .nota-featured-content {
        padding: 24px;
        border-left: none;
        border-top: 1px solid var(--borde);
    }

    .category-lifestyle-container .notas-grid {
        grid-template-columns: repeat(2, 1fr);
        margin: 0 24px;
    }

    .category-lifestyle-container .nota-card:nth-child(2n) {
        border-right: none;
    }

    .category-lifestyle-container .nota-card:nth-child(3n) {
        border-right: 1px solid var(--borde);
    }

    .category-lifestyle-container .section-header {
        padding: 30px 24px 16px;
    }
}

@media (max-width: 640px) {
    .category-lifestyle-container .cats-grid {
        grid-template-columns: 1fr;
    }

    .category-lifestyle-container .notas-grid {
        grid-template-columns: 1fr;
        margin: 0 20px;
    }

    .category-lifestyle-container .nota-card {
        border-right: none !important;
    }

    .category-lifestyle-container .section-header {
        padding: 30px 20px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .category-lifestyle-container .nota-featured {
        margin: 0 20px;
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN FOR SINGLE POST AND REVISTA
   ========================================================================== */

@media (max-width: 1024px) {
    .article-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .article-hero-photo {
        min-height: 400px;
        order: -1;
    }

    .article-body {
        grid-template-columns: 1fr;
        padding: 0 24px;
    }

    .article-content {
        padding: 40px 0;
        border-right: none;
    }

    .article-sidebar {
        padding: 40px 0;
        border-top: 1px solid var(--lide-border);
    }
}

@media (max-width: 640px) {
    .article-hero-content {
        padding: 40px 24px;
    }

    .article-title {
        font-size: 32px;
    }

    .article-info {
        flex-direction: column;
        gap: 16px;
    }
}

/* Fix for Revista Cover to prevent cropping */
.revista-hero-photo {
    background: var(--lide-bg-light);
}

.revista-hero-photo img {
    object-fit: contain !important;
    padding: 40px;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .revista-hero-photo img {
        padding: 20px;
    }

    .revista-hero-photo {
        min-height: 350px;
    }
}

/* ==========================================================================
   GLOBAL RESPONSIVE FIXES
   ========================================================================== */
@media (max-width: 768px) {

    /* Topbar */
    .topbar {
        display: none;
    }

    /* Newsletter */
    .newsletter {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        padding: 40px 20px;
    }

    .nl-form {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .nl-input {
        width: 100%;
    }

    .nl-btn {
        width: 100%;
    }

    /* Footer */
    .footer {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        padding: 32px 20px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    /* Share bar */
    .share-bar {
        flex-wrap: wrap;
    }
}

/* ==========================================================================
   MOBILE MENU (HAMBURGER)
   ========================================================================== */

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 14px 20px;
    outline: none;
}

.mobile-menu-toggle .hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--lide-primary, #3C57A1);
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav {
        justify-content: flex-end;
        /* Align hamburger to the right */
        padding: 0 20px;
        position: relative;
    }

    .nav-inner {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--lide-white, #fff);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
        border-top: 1px solid var(--lide-border, #e8eaf0);
        z-index: 999;
    }

    .nav-inner.is-open {
        display: flex;
    }

    .nav .nav-item .nav-link {
        width: 100%;
        padding: 16px 24px;
        border-bottom: 1px solid var(--lide-border, #e8eaf0);
    }

    /* Hamburger animation to X */
    .mobile-menu-toggle.is-active .hamburger-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle.is-active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.is-active .hamburger-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* ==========================================================================
   CAROUSEL OVERRIDES (4.5 cols Desktop, 1.5 cols Mobile)
   ========================================================================== */

/* Hide scrollbar for carousel */
.revistas-carousel {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.revistas-carousel::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

/* Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: var(--lide-white);
    border: 1px solid var(--lide-border-dark);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(26, 26, 46, 0.08);
    opacity: 0.85;
    transition: all 0.3s ease;
    color: var(--lide-primary);
}

.carousel-arrow:hover {
    background: var(--lide-primary);
    border-color: var(--lide-primary);
    color: var(--lide-white);
    transform: translateY(-50%) scale(1.05);
    opacity: 1;
    box-shadow: 0 6px 16px rgba(60, 87, 161, 0.25);
}

.carousel-arrow.left-arrow {
    left: 15px;
}

.carousel-arrow.right-arrow {
    right: 15px;
}

@media (max-width: 768px) {
    .carousel-arrow {
        display: none;
        /* Hide arrows on mobile where swipe is natural */
    }
}

/* Base (Desktop > 1024px): 4.5 columns */
.revistas-carousel .revista-card {
    flex: 0 0 calc(22.222% - 19px) !important;
    /* (100% / 4.5) minus gap */
    min-width: unset !important;
}

/* Tablet (<= 1024px): 2.5 columns */
@media (max-width: 1024px) {
    .revistas-carousel .revista-card {
        flex: 0 0 calc(40% - 15px) !important;
        /* (100% / 2.5) minus gap */
    }
}

/* Mobile (<= 768px): 1.5 columns */
@media (max-width: 768px) {
    .revistas-carousel .revista-card {
        flex: 0 0 calc(66.666% - 11px) !important;
        /* (100% / 1.5) minus gap */
    }
}

/* ==========================================================================
   GLOBAL RESPONSIVENESS IMPROVEMENTS (SITE-WIDE)
   ========================================================================== */

/* Tablet & Smaller Screens (< 1024px) */
@media (max-width: 1024px) {

    /* Main Layout Grid overrides */
    .lide-grid-4,
    .grid-ceos {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .lide-grid-3,
    .ls-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Hero Section */
    .lide-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .lide-hero-right {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Lifestyle intro */
    .lide-lifestyle-intro {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px var(--lide-spacing-base);
    }
}

/* Mobile Screens (< 768px) */
@media (max-width: 768px) {

    /* Header improvements */
    .header {
        padding: 16px 20px;
    }

    .logo-lide {
        font-size: 32px;
    }

    .logo-revista {
        letter-spacing: 3px;
    }

    .logo-argentina {
        letter-spacing: 5px;
    }

    /* Section paddings & offsets */
    .lide-section-padding {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* Lifestyle Icon grid */
    .lide-lifestyle-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    /* Last Edition Hero on Archive-Revista CPT */
    .ultima-edicion {
        grid-template-columns: 1fr;
    }

    .ue-cover {
        min-height: 380px;
    }

    .ue-content {
        padding: 32px 20px;
    }

    .ue-title {
        font-size: 28px;
    }

    .ue-desc {
        margin-bottom: 24px;
    }

    /* Info Strip */
    .info-strip {
        grid-template-columns: 1fr;
        padding: 24px 20px;
        gap: 16px;
    }

    .info-strip .info-item {
        padding: 12px 0;
        border-right: none;
        border-bottom: 1px solid var(--lide-border);
    }

    .info-strip .info-item:first-child {
        padding-left: 0;
    }

    .info-strip .info-item:last-child {
        border-bottom: none;
    }

    /* Year labels & grids */
    .year-label {
        padding: 24px 20px 12px;
    }

    .ediciones-grid {
        padding: 0 20px 32px;
        gap: 20px;
    }
}

/* Extra Small Screens (< 640px) */
@media (max-width: 640px) {

    /* Overrides for absolute column stack */
    .lide-grid-3,
    .ls-grid,
    .lide-grid-2 {
        grid-template-columns: 1fr !important;
    }

    /* Keep Interview grids 2 columns on mobile to avoid stretched huge avatars */
    .lide-grid-4,
    .grid-ceos {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .ceo-card,
    .ls-card {
        border-right: none !important;
        border-bottom: 1px solid var(--lide-border) !important;
    }

    /* Keep 2x2 grid for hero right to preserve 1:1 square cards */
    .lide-hero-right {
        grid-template-columns: repeat(2, 1fr) !important;
    }

}

/* ==========================================================================
   MOBILE & TABLET DESIGN AUDIT IMPROVEMENTS (ANTIGRAVITY)
   ========================================================================== */
@media (max-width: 768px) {
    /* Logo scaling */
    .site-logo-img {
        height: 46px !important;
    }

    /* Hero Left column padding on mobile stack */
    .lide-hero-left {
        padding: 36px 20px !important;
    }

    /* Font sizes responsive scaling */
    .lide-title-xl, 
    .article-title {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }

    .page-header-title {
        font-size: 26px !important;
        line-height: 1.2 !important;
    }

    .nl-title {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    /* Mobile Sub-menu navigation */
    .nav .sub-menu {
        display: block !important;
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        background: var(--lide-bg-light) !important;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
        padding-left: 20px !important;
        margin-top: 4px !important;
    }

    /* Breadcrumbs alignment */
    .breadcrumb {
        padding: 12px 20px !important;
    }

    /* Grid container margins */
    .grid-ceos {
        margin: 0 20px !important;
    }

    /* Filter bar spacing & count */
    .filters-bar {
        padding: 16px 20px !important;
        gap: 8px !important;
    }

    .filter-count {
        margin-left: 0 !important;
        width: 100% !important;
        margin-top: 8px !important;
        font-size: 10px !important;
    }

    /* Archive Headers */
    .page-header {
        padding: 32px 20px !important;
    }

    .page-header::before {
        display: none !important;
    }

    /* CEO Card Category/Sector Badge */
    .ceo-sector {
        font-size: 9px !important;
        font-weight: 600 !important;
        letter-spacing: 3px !important;
        text-transform: uppercase !important;
        color: var(--lide-primary) !important;
        margin-bottom: 7px !important;
    }

    /* Horizontal scrolling for homepage filter buttons on mobile */
    .lide-filter-bar {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-bottom: 14px !important;
        margin-left: -20px !important;
        margin-right: -20px !important;
        scrollbar-width: none !important;
    }
    .lide-filter-bar::-webkit-scrollbar {
        display: none !important;
    }
    .lide-filter-btn {
        flex-shrink: 0 !important;
    }
}

@media (max-width: 640px) {
    /* Lifestyle archive: Page Hero */
    .category-lifestyle-container .page-hero {
        padding: 32px 20px !important;
    }

    .category-lifestyle-container .hero-title {
        font-size: 26px !important;
    }

    /* Lifestyle subcategories grid: 2 columns instead of vertical stack */
    .category-lifestyle-container .cats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .category-lifestyle-container .cat-card {
        padding: 14px 10px !important;
        gap: 8px !important;
    }

    .category-lifestyle-container .cat-icon {
        font-size: 18px !important;
    }

    .category-lifestyle-container .cat-name {
        font-size: 10px !important;
        letter-spacing: 0.5px !important;
    }

    .category-lifestyle-container .cat-count {
        font-size: 9px !important;
    }

    /* Lifestyle Featured Post */
    .category-lifestyle-container .nota-featured {
        margin: 0 20px !important;
    }

    .category-lifestyle-container .nota-featured-title {
        font-size: 20px !important;
    }
}

/* Lifestyle icon box active state */
.lide-lifestyle-icon-box.active {
    border-color: var(--lide-primary, #3C57A1) !important;
    background: var(--lide-bg-soft, #f4f6fa) !important;
}