/* ============================================================================
   CamDesire — Public Site Styles
   ============================================================================ */ 


/* ============================================================================
   1. HEADER & NAVIGATION
   ============================================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--border);
	overflow: visible;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
	overflow: visible;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.nav-brand:hover {
    color: var(--text);
}

.nav-brand-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-active));
    border-radius: var(--radius);
    box-shadow: 0 4px 12px var(--brand-glow);
}

.nav-brand-icon .icon {
    width: 20px;
    height: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-dim);
    text-decoration: none;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.nav-links a:hover {
    color: var(--text);
    background: var(--bg-hover);
}

.nav-links a[aria-current="page"] {
    color: var(--brand);
    background: var(--brand-tint);
}

.nav-links .icon {
    width: 16px;
    height: 16px;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-user-name {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-dim);
}

/* ============================================================================
   1b. MOBILE NAV / HAMBURGER
   ============================================================================ */

.nav-toggle-checkbox {
    display: none;
}

.nav-toggle {
    display: none;
    position: relative;
    z-index: 1003;   /* was: calc(var(--z-header) + 3) */
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: var(--radius);
    transition: background var(--transition);
}

.nav-toggle:hover {
    background: var(--bg-hover);
}

.nav-toggle-bar {
    position: absolute;
    left: 10px;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 250ms ease, opacity 200ms ease, top 250ms ease;
}

.nav-toggle-bar:nth-child(1) { top: 13px; }
.nav-toggle-bar:nth-child(2) { top: 19px; }
.nav-toggle-bar:nth-child(3) { top: 25px; }

/* Animate into X when open */
.nav-toggle-checkbox:checked ~ .nav-toggle .nav-toggle-bar:nth-child(1) {
    top: 19px;
    transform: rotate(45deg);
}
.nav-toggle-checkbox:checked ~ .nav-toggle .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle-checkbox:checked ~ .nav-toggle .nav-toggle-bar:nth-child(3) {
    top: 19px;
    transform: rotate(-45deg);
}

.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1001;   /* was: calc(var(--z-header) + 1) */
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 250ms ease;
}

.nav-links-mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: var(--bg);
    }
}
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        order: 3;
    }

    .nav-user {
        display: none;
    }

    .nav-backdrop {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        right: 0;
        bottom: 0;
       z-index: 1002;   /* was: calc(var(--z-header) + 2) */
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        width: 280px;
        max-width: 85vw;
        padding: var(--space-4);
        overflow-y: auto;
        background: var(--bg);
        border-left: 1px solid var(--border);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.08);
        transform: translateX(100%);
        transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links a {
        padding: 14px 16px;
        font-size: var(--text-base);
        border-radius: var(--radius);
    }

   .nav-links-mobile-only {
    display: block;
    margin-top: var(--space-3);  
}

    .nav-links-mobile-only:first-of-type {
        padding-top: var(--space-3);
        margin-top: var(--space-3);
        border-top: 1px solid var(--border);
    }

    .nav-toggle-checkbox:checked ~ .nav-links {
        transform: translateX(0);
    }

    .nav-toggle-checkbox:checked ~ .nav-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    /* Prevent body scroll when menu open */
    .nav-toggle-checkbox:checked ~ .nav-links {
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    }
}

/* ============================================================================
   2. HERO SECTION
   ============================================================================ */

.hero {
    padding: var(--space-20) var(--space-6);
    text-align: center;
    background: radial-gradient(ellipse at center top, var(--brand-tint), transparent 60%);
    border-bottom: 1px solid var(--border);
}

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

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--space-6);
    padding: 6px 14px;
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-dim);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.hero-eyebrow .status-dot {
    width: 7px;
    height: 7px;
}

.hero h1 {
    margin-bottom: var(--space-5);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.hero h1 .accent {
    color: var(--brand);
    background: linear-gradient(135deg, var(--brand), var(--brand-hover));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    max-width: 640px;
    margin: 0 auto var(--space-8);
    font-size: var(--text-lg);
    line-height: 1.6;
    color: var(--text-dim);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
    margin-bottom: var(--space-10);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-8);
    max-width: 600px;
    margin: 0 auto;
    padding-top: var(--space-8);
    border-top: 1px solid var(--border);
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    margin-bottom: 4px;
    font-family: var(--font-mono);
    font-size: var(--text-2xl);
    font-weight: 800;
    line-height: 1;
    color: var(--text);
}

.hero-stat-value.brand {
    color: var(--brand);
}

.hero-stat-label {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-mute);
}


/* ============================================================================
   3. FEATURES SECTION
   ============================================================================ */

.features {
    padding: var(--space-16) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-5);
    margin-top: var(--space-10);
}

.feature {
    padding: var(--space-6);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-slow);
}

.feature:hover {
    transform: translateY(-3px);
    border-color: var(--brand);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-4);
    color: var(--brand);
    background: var(--brand-tint);
    border-radius: var(--radius-lg);
}

.feature-icon .icon {
    width: 22px;
    height: 22px;
}

.feature h3 {
    margin-bottom: var(--space-2);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text);
}

.feature p {
    font-size: var(--text-sm);
    line-height: 1.65;
    color: var(--text-dim);
}


/* ============================================================================
   4. SECTION HEADER
   ============================================================================ */

.section-header {
    max-width: 680px;
    margin: 0 auto var(--space-10);
    text-align: center;
}

.section-header .eyebrow {
    display: inline-block;
    margin-bottom: var(--space-3);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand);
}

.section-header h2 {
    margin-bottom: var(--space-3);
    font-size: var(--text-2xl);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: var(--text-base);
    color: var(--text-dim);
}


/* ============================================================================
   5. MODEL CARDS
   ============================================================================ */

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-5);
}

.model-card {
    overflow: hidden;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-slow);
}

.model-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08), 0 0 0 1px var(--brand);
}

.model-card-img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    background: var(--bg-muted);
}

.model-card-img-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 200px;
    color: var(--text-mute);
    background: var(--bg-muted);
}

.model-card-img-placeholder .icon {
    width: 48px;
    height: 48px;
}

.model-card-body {
    padding: 14px 16px 16px;
}

.model-card-name {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text);
}

.model-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: var(--text-xs);
    color: var(--text-mute);
}

.model-card-meta .icon {
    width: 12px;
    height: 12px;
    vertical-align: middle;
}

.model-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 8px;
}

.model-card-tag {
    padding: 2px 8px;
    font-size: 0.7rem;
    color: var(--text-dim);
    background: var(--bg-muted);
    border-radius: var(--radius);
}

.model-card-actions {
    display: flex;
    gap: 6px;
    margin-top: 12px;
}


/* ============================================================================
   6. PROMO BANNERS
   ============================================================================ */

.promo-banner {
    position: relative;
    display: block;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.promo-banner:hover {
    transform: translateY(-2px);
    border-color: var(--brand);
    box-shadow: var(--shadow-lg);
}

.promo-banner img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.promo-banner-fallback {
    display: grid;
    place-items: center;
    height: 180px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-active));
}

.promo-banner-fallback .icon {
    width: 40px;
    height: 40px;
}

.promo-banner-body {
    padding: var(--space-5);
}

.promo-banner-title {
    margin-bottom: 6px;
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text);
}

.promo-banner-desc {
    margin-bottom: var(--space-4);
    font-size: var(--text-sm);
    line-height: 1.6;
    color: var(--text-dim);
}

.promos-row {
    display: flex;
    gap: var(--space-5);
    overflow-x: auto;
    padding-bottom: var(--space-2);
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.promos-row > * {
    flex: 0 0 320px;
    scroll-snap-align: start;
}


/* ============================================================================
   7. FAQ
   ============================================================================ */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 720px;
    margin: 0 auto;
}

details.card {
    cursor: pointer;
}

details.card summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text);
    list-style: none;
}

details.card summary::-webkit-details-marker {
    display: none;
}

details.card summary .icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--text-mute);
    transition: transform var(--transition);
}

details.card[open] summary .icon {
    transform: rotate(180deg);
}

details.card > div {
    padding: 0 24px 18px;
    font-size: var(--text-sm);
    line-height: 1.7;
    color: var(--text-dim);
}


/* ============================================================================
   8. PLATFORMS GRID
   ============================================================================ */

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-4);
}

.platform-card {
    padding: var(--space-5);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.platform-card:hover {
    transform: translateY(-2px);
    border-color: var(--brand);
    box-shadow: var(--shadow-md);
}

.platform-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: var(--space-2);
    font-size: var(--text-base);
    font-weight: 700;
}

.platform-card h3 .icon {
    width: 20px;
    height: 20px;
    color: var(--brand);
}

.platform-card p {
    font-size: var(--text-sm);
    line-height: 1.65;
    color: var(--text-dim);
}


/* ============================================================================
   9. CTA BANNER
   ============================================================================ */

.cta-banner {
    margin: var(--space-16) 0;
    padding: var(--space-12) var(--space-6);
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-active));
    border-radius: var(--radius-xl);
}

.cta-banner h2 {
    margin-bottom: var(--space-3);
    font-size: var(--text-2xl);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.cta-banner p {
    max-width: 540px;
    margin: 0 auto var(--space-6);
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.85);
}

.cta-banner .btn {
    color: var(--brand);
    background: #fff;
    border-color: #fff;
}

.cta-banner .btn:hover {
    color: var(--brand);
    background: var(--bg-soft);
}


/* ============================================================================
   10. PAGE HEADER
   ============================================================================ */

.page-header {
    max-width: 1300px;
    margin: 0 auto;
    padding: 32px 24px 0;
}

/* Reset double padding when nested inside .container */
.container .page-header {
    max-width: none;
    padding: 32px 0 0;
}


/* ============================================================================
   11. STATIC PAGES (privacy, terms, dmca, etc.)
   ============================================================================ */

.static-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 24px 80px;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text);
}

.static-page h1 {
    margin: 0 0 32px;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text);
}

.static-page h2 {
    margin: 48px 0 16px;
    padding-bottom: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.static-page h3 {
    margin: 32px 0 12px;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text);
}

.static-page p {
    margin: 0 0 18px;
    color: var(--text-2);
}

.static-page ul,
.static-page ol {
    margin: 0 0 22px;
    padding-left: 28px;
}

.static-page ul li,
.static-page ol li {
    margin-bottom: 10px;
    padding-left: 4px;
    color: var(--text-2);
}

.static-page ul li::marker {
    color: var(--brand);
}

.static-page ol li::marker {
    font-weight: 600;
    color: var(--brand);
}

.static-page a {
    color: var(--brand);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.static-page a:hover {
    color: var(--brand-hover);
    text-decoration-thickness: 2px;
}

.static-page strong {
    font-weight: 700;
    color: var(--text);
}

.static-page em {
    font-style: italic;
    color: var(--text-mute);
}

.static-page code {
    padding: 3px 8px;
    font-family: var(--font-mono);
    font-size: 0.85em;
    color: var(--brand);
    background: var(--bg-muted);
    border-radius: 4px;
}

.static-page hr {
    margin: 40px 0;
    border: none;
    border-top: 1px solid var(--border);
}

.static-page blockquote {
    margin: 24px 0;
    padding: 12px 20px;
    color: var(--text-2);
    background: var(--bg-soft);
    border-left: 3px solid var(--brand);
    border-radius: 0 6px 6px 0;
}

.static-page blockquote p {
    margin-bottom: 0;
}


/* ============================================================================
   12. ARTICLES — LISTING (featured + grid)
   ============================================================================ */

/* Featured post (large hero card) */
.article-featured {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 0;
    overflow: hidden;
    margin-bottom: 48px;
    color: inherit;
    text-decoration: none;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 300ms ease;
}

.article-featured:hover {
    transform: translateY(-4px);
    border-color: var(--brand);
    box-shadow: 0 16px 40px rgba(139, 0, 0, 0.12);
}

.article-featured-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--bg-muted);
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

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

.article-featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    background: var(--brand);
    border-radius: 100px;
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.3);
}

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

.article-featured-title {
    margin: 16px 0;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--text);
}

.article-featured-excerpt {
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-2);
}

/* Card grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
    margin: 32px 0;
}

.article-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 300ms ease;
}

.article-card:hover {
    transform: translateY(-6px);
    border-color: var(--brand);
    box-shadow: 0 16px 36px rgba(139, 0, 0, 0.12);
}

.article-card-image-link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--bg-muted);
}

.article-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.article-card:hover .article-card-image {
    transform: scale(1.06);
}

.article-card-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--text-mute);
    background: linear-gradient(135deg, var(--bg-soft), var(--bg-muted));
}

.article-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
}

.article-card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    font-size: 0.78rem;
}

.article-card-category {
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand);
    text-decoration: none;
    background: rgba(139, 0, 0, 0.08);
    border-radius: 100px;
}

.article-card-category:hover {
    background: rgba(139, 0, 0, 0.16);
}

.article-card-date {
    font-size: 0.8rem;
    color: var(--text-mute);
}

.article-card-title {
    margin: 0 0 12px;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.005em;
}

.article-card-title a {
    color: var(--text);
    text-decoration: none;
    transition: color 200ms ease;
}

.article-card-title a:hover {
    color: var(--brand);
}

.article-card-excerpt {
    flex: 1;
    margin: 0 0 20px;
    overflow: hidden;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-2);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.article-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    font-size: 0.8rem;
    border-top: 1px solid var(--border);
}

.article-card-author {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-mute);
}

.article-card-read {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: var(--brand);
    text-decoration: none;
    transition: gap 200ms ease;
}

.article-card-read:hover {
    gap: 8px;
}


/* ============================================================================
   13. ARTICLES — SINGLE PAGE
   ============================================================================ */

/* Paper wrapper around single article */
.article-paper {
    margin: 24px auto;
    padding: 48px 56px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.article-paper.warm {
    background: #fdfcfa;
}

/* Article header */
.article-header h1 {
    margin-bottom: 18px;
    font-size: clamp(1.75rem, 2vw, 2.5rem) !important;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
}

.article-header p {
    margin-bottom: 28px;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-2);
}

.article-meta-top {
    margin-bottom: 20px;
}

.article-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
    font-size: 0.85rem;
    color: var(--text-mute);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.article-byline > span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-byline strong {
    font-weight: 600;
    color: var(--text);
}

.article-featured-image {
    margin: 36px 0;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Body content */
.article-body {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text);
}

.article-body > *:first-child {
    margin-top: 0;
}

.article-body p {
    margin: 0 0 22px;
}

/* Drop cap on first paragraph */
.article-body > p:first-of-type::first-letter {
    float: left;
    padding: 6px 10px 0 0;
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--brand);
}

.article-body h2 {
    position: relative;
    margin: 48px 0 18px;
    padding-top: 8px;
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--text);
}

.article-body h2::before {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    margin-bottom: 14px;
    background: var(--brand);
    border-radius: 2px;
}

.article-body h3 {
    margin: 36px 0 14px;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.005em;
    color: var(--text);
}

.article-body h4 {
    margin: 28px 0 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}

.article-body ul,
.article-body ol {
    margin: 0 0 24px;
    padding-left: 24px;
}

.article-body li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.article-body li::marker {
    color: var(--brand);
}

.article-body ul li strong:first-child,
.article-body ol li strong:first-child {
    color: var(--text);
}

.article-body a {
    color: var(--brand);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: all 200ms ease;
}

.article-body a:hover {
    color: #5c0000;
    text-decoration-thickness: 2px;
}

.article-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 28px auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.article-body blockquote {
    position: relative;
    margin: 28px 0;
    padding: 4px 0 4px 24px;
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--text-2);
    border-left: 4px solid var(--brand);
}

.article-body blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 14px;
    font-family: Georgia, serif;
    font-size: 3rem;
    line-height: 1;
    color: var(--brand);
    opacity: 0.2;
}

.article-body blockquote p:last-child {
    margin-bottom: 0;
}

.article-body code {
    padding: 3px 8px;
    font-family: var(--font-mono);
    font-size: 0.88em;
    color: var(--brand);
    background: var(--bg-muted);
    border: 1px solid var(--border);
    border-radius: 4px;
}

.article-body pre {
    margin: 24px 0;
    padding: 20px;
    overflow-x: auto;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #e4e4e7;
    background: #1a1a1c;
    border-radius: 10px;
}

.article-body pre code {
    padding: 0;
    font-size: inherit;
    color: inherit;
    background: transparent;
    border: none;
}

.article-body hr {
    height: 1px;
    margin: 40px 0;
    border: none;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.article-body table {
    width: 100%;
    margin: 28px 0;
    overflow: hidden;
    font-size: 0.95rem;
    border: 1px solid var(--border);
    border-collapse: collapse;
    border-radius: 8px;
}

.article-body th,
.article-body td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.article-body tbody tr:last-child td {
    border-bottom: none;
}

.article-body th {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text);
    background: var(--bg-muted);
}

.article-body tbody tr:hover {
    background: var(--bg-soft);
}

.article-body strong {
    font-weight: 700;
    color: var(--text);
}

.article-body em {
    font-style: italic;
}

/* Tags section */
.article-tags {
    margin: 56px 0 32px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.article-tags h3 {
    margin-bottom: 14px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-mute);
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 28px;
    font-size: 0.85rem;
    color: var(--text-mute);
}

.breadcrumb a {
    color: var(--text-mute);
    text-decoration: none;
    transition: color 200ms ease;
}

.breadcrumb a:hover {
    color: var(--brand);
}


/* ============================================================================
   14. FOOTER (dramatic dark)
   ============================================================================ */

.site-footer {
    position: relative;
    overflow: hidden;
    margin-top: 100px;
    padding: 64px 0 0;
    color: #a1a1aa;
    background: linear-gradient(180deg, #18181b 0%, #0a0a0c 100%);
    border-top: 3px solid var(--brand);
}

/* Subtle red glow at the top */
.site-footer::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 80px;
    pointer-events: none;
    background: radial-gradient(ellipse at top, rgba(139, 0, 0, 0.4) 0%, transparent 70%);
}

/* Subtle texture */
.site-footer::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(139, 0, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 0, 0, 0.06) 0%, transparent 50%);
}

.footer-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #fff;
}

.footer-brand .nav-brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #fff;
    background: var(--brand);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.5);
}

.footer-tagline {
    max-width: 320px;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #71717a;
}

.footer-col h4 {
    position: relative;
    margin-bottom: 18px;
    padding-bottom: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--brand);
    border-radius: 1px;
}

.footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    position: relative;
    display: inline-block;
    font-size: 0.88rem;
    color: #a1a1aa;
    text-decoration: none;
    transition: all 200ms ease;
}

.footer-col a::before {
    content: '→';
    position: absolute;
    left: -16px;
    opacity: 0;
    color: var(--brand);
    transition: all 200ms ease;
}

.footer-col a:hover {
    color: #fff;
    transform: translateX(8px);
}

.footer-col a:hover::before {
    left: -14px;
    opacity: 1;
}

.footer-bottom {
    padding: 24px 0 32px;
    text-align: center;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    color: #52525b;
}

.footer-bottom strong {
    color: #a1a1aa;
}


/* ============================================================================
   15. RESPONSIVE
   ============================================================================ */

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 800px) {
    .article-featured {
        grid-template-columns: 1fr;
    }
    .article-featured-body {
        padding: 28px 24px;
    }
    .article-featured-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .container,
    .container-wide {
        padding: var(--space-5) var(--space-4);
    }
    .nav {
        height: 60px;
        padding: 0 var(--space-4);
    }
    .hero {
        padding: var(--space-12) var(--space-4);
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero-stats {
        gap: var(--space-5);
    }
    .models-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: var(--space-3);
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .promos-row > * {
        flex: 0 0 280px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-6);
    }
}

@media (max-width: 720px) {
    .article-paper {
        margin: 16px auto;
        padding: 28px 24px;
        border-radius: 12px;
    }
    .article-header h1 {
        font-size: 1.6rem !important;
    }
    .article-header p {
        font-size: 1rem;
    }
    .article-body {
        font-size: 1rem;
        line-height: 1.7;
    }
    .article-body h2 {
        margin: 36px 0 14px;
        font-size: 1.4rem;
    }
    .article-body h3 {
        font-size: 1.15rem;
    }
    .article-body > p:first-of-type::first-letter {
        font-size: 2.8rem;
    }
    .article-byline {
        gap: 14px;
        font-size: 0.8rem;
    }
}

@media (max-width: 640px) {
    .static-page {
        padding: 32px 16px 60px;
    }
    .static-page h1 {
        font-size: 1.75rem;
    }
    .static-page h2 {
        font-size: 1.25rem;
    }
}

@media (max-width: 600px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .article-card-body {
        padding: 20px;
    }
}

@media (max-width: 560px) {
    .site-footer {
        margin-top: 60px;
        padding-top: 48px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 32px;
    }
    .footer-brand {
        font-size: 1.15rem;
    }
}

/* ============================================================================
   16. THEME BOOST — seductive light
   ============================================================================ */

:root {
    --gold: #c9a961;
    --gold-soft: #e8d4a0;
    --bordeaux-deep: #5c0814;
    --paper: #fdfbf7;
    --paper-warm: #f9f4ec;
}

/* Body: warm paper tone instead of flat white */
body {
    background: var(--paper);
}

/* ---- Header: glassy with bordeaux underline glow ---- */
.site-header {
    background: rgba(253, 251, 247, 0.78);
    border-bottom: 1px solid rgba(92, 8, 20, 0.12);
    box-shadow: 0 1px 0 rgba(201, 169, 97, 0.25),
                0 8px 32px -16px rgba(92, 8, 20, 0.15);
}

.nav-brand {
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

.nav-brand-icon {
    background: linear-gradient(135deg, #8b0000 0%, var(--bordeaux-deep) 100%);
    box-shadow: 0 4px 16px rgba(139, 0, 0, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.nav-links a {
    position: relative;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.nav-links a[aria-current="page"] {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.08), rgba(201, 169, 97, 0.08));
    box-shadow: inset 0 0 0 1px rgba(139, 0, 0, 0.15);
}

.nav-links a[aria-current="page"]::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--gold));
    border-radius: 2px;
}

/* ---- Hero: dramatic with gold touches ---- */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(139, 0, 0, 0.12), transparent 70%),
        radial-gradient(ellipse 50% 40% at 85% 30%, rgba(201, 169, 97, 0.08), transparent 60%),
        linear-gradient(180deg, var(--paper-warm) 0%, var(--paper) 100%);
    border-bottom: 1px solid rgba(92, 8, 20, 0.1);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(139, 0, 0, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(201, 169, 97, 0.05) 0%, transparent 40%);
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-weight: 900;
    letter-spacing: -0.035em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hero h1 .accent,
.page-header h1 .accent {
    background: linear-gradient(135deg, #8b0000 0%, #c9a961 50%, #8b0000 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-eyebrow {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(201, 169, 97, 0.4);
    box-shadow: 0 4px 20px rgba(139, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

/* ---- Page header (Discover, etc) ---- */
.page-header h1,
.static-page h1 {
    font-weight: 900;
    letter-spacing: -0.035em;
    background: linear-gradient(135deg, #1a0408 0%, #5c0814 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-header {
    position: relative;
    padding-bottom: 8px;
}

.page-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    margin-top: 14px;
    background: linear-gradient(90deg, var(--brand), var(--gold));
    border-radius: 2px;
}

/* ---- Stat chips (1,732 online / 4 platforms) ---- */
.hero-stat,
.stat-chip {
    position: relative;
}

/* If your discover page uses .card or similar for those chips,
   give them a subtle gold edge */
.hero-stats {
    gap: var(--space-6);
}

/* ---- Buttons: more presence ---- */
.btn-primary {
    background: linear-gradient(135deg, #a30000 0%, #6b0000 100%);
    border: 1px solid #5c0814;
    box-shadow: 0 4px 16px rgba(139, 0, 0, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #a80000 0%, #780000 100%);
}
.btn-ghost {
    border: 1px solid rgba(92, 8, 20, 0.25);
    font-weight: 600;
    transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}
.btn-ghost:hover {
    background: rgba(139, 0, 0, 0.05);
    border-color: rgba(139, 0, 0, 0.4);
}

/* ---- Section headers: eyebrow gets gold ---- */
.section-header .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.06), rgba(201, 169, 97, 0.1));
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 100px;
    color: var(--bordeaux-deep);
}

.section-header h2 {
    font-weight: 900;
    letter-spacing: -0.03em;
}

/* ---- Model cards: more seductive hover ---- */
.model-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(92, 8, 20, 0.08);
    box-shadow: 0 2px 8px rgba(92, 8, 20, 0.04);
}

.model-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, transparent 50%, rgba(201, 169, 97, 0.4));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 300ms ease;
    pointer-events: none;
}

.model-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 0, 0, 0.3);
    box-shadow: 0 20px 40px -10px rgba(139, 0, 0, 0.2),
                0 0 0 1px rgba(139, 0, 0, 0.15);
}

.model-card:hover::before {
    opacity: 1;
}

/* Offline models — dim & desaturate the thumbnail */
.model-card-img.is-offline {
    filter: grayscale(0.65) brightness(0.82);
    opacity: 0.75;
    transition: filter 300ms ease, opacity 300ms ease;
}

.model-card:hover .model-card-img.is-offline {
    filter: grayscale(0.3) brightness(0.92);
    opacity: 0.9;
}

/* ---- Feature cards ---- */
.feature {
    background: #fff;
    border: 1px solid rgba(92, 8, 20, 0.08);
}

.feature:hover {
    border-color: rgba(139, 0, 0, 0.3);
    box-shadow: 0 16px 36px -12px rgba(139, 0, 0, 0.2);
}

.feature-icon {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.08), rgba(201, 169, 97, 0.12));
    box-shadow: inset 0 0 0 1px rgba(201, 169, 97, 0.25);
}

/* ---- CTA banner: more drama ---- */
.cta-banner {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at top left, rgba(201, 169, 97, 0.2), transparent 50%),
        linear-gradient(135deg, #8b0000 0%, #5c0814 100%);
    box-shadow: 0 20px 60px -20px rgba(92, 8, 20, 0.5);
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 80% 20%, rgba(201, 169, 97, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

.cta-banner > * {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    font-weight: 900;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

/* ---- Search / filter inputs on discover ---- */
.form-control,
input[type="text"],
input[type="search"],
select {
    border: 1px solid rgba(92, 8, 20, 0.15);
    transition: all 200ms ease;
}

.form-control:focus,
input[type="text"]:focus,
input[type="search"]:focus,
select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1),
                0 4px 12px rgba(139, 0, 0, 0.08);
    outline: none;
}

/* ---- Trending tag pills ---- */
.model-card-tag,
.tag-pill {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.06), rgba(201, 169, 97, 0.1));
    border: 1px solid rgba(201, 169, 97, 0.3);
    color: var(--bordeaux-deep);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
/* ============================================================================
   17. FILTER BAR — discover page
   ============================================================================ */

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 14px;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #ffffff 0%, var(--paper-warm) 100%);
    border: 1px solid rgba(92, 8, 20, 0.12);
    border-radius: 14px;
    box-shadow:
        0 2px 8px rgba(92, 8, 20, 0.04),
        0 20px 40px -24px rgba(92, 8, 20, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
}

.filter-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 14px;
    right: 14px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.4), transparent);
}

/* Search input (wrapped in .autocomplete-wrap) */
.filter-bar .autocomplete-wrap {
    flex: 1 1 240px;
    min-width: 200px;
    position: relative;
}
.autocomplete-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-left: auto;
    flex-shrink: 0;
}
.autocomplete-status.online {
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}
.autocomplete-status.offline {
    background: #9ca3af;
    opacity: 0.5;
}

.filter-bar .form-input {
    width: 100%;
    height: 44px;
    padding: 0 16px 0 40px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text);
    background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235c0814' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><path d='m21 21-4.3-4.3'/></svg>") no-repeat 14px center;
    border: 1px solid rgba(92, 8, 20, 0.15);
    border-radius: 10px;
    box-shadow: inset 0 2px 4px rgba(92, 8, 20, 0.03);
    transition: all 200ms ease;
}

.filter-bar .form-input::placeholder {
    color: rgba(92, 8, 20, 0.4);
    font-weight: 500;
}

.filter-bar .form-input:focus {
    border-color: var(--brand);
    box-shadow:
        0 0 0 3px rgba(139, 0, 0, 0.1),
        0 4px 16px rgba(139, 0, 0, 0.1),
        inset 0 2px 4px rgba(92, 8, 20, 0.03);
    outline: none;
}

/* Selects */
.filter-bar .form-select {
    height: 44px;
    padding: 0 36px 0 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b0000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat right 14px center;
    border: 1px solid rgba(92, 8, 20, 0.15);
    border-radius: 10px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: all 200ms ease;
}

.filter-bar .form-select:hover {
    border-color: rgba(139, 0, 0, 0.35);
    background-color: #fffdf8;
}

.filter-bar .form-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
    outline: none;
}

/* HD only checkbox label */
.filter-bar label {
    display: inline-flex !important;
    align-items: center;
    gap: 8px !important;
    height: 44px;
    padding: 0 14px;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: var(--bordeaux-deep) !important;
    background: #fff;
    border: 1px solid rgba(92, 8, 20, 0.15);
    border-radius: 10px;
    cursor: pointer;
    transition: all 200ms ease;
    user-select: none;
}

.filter-bar label:hover {
    border-color: rgba(139, 0, 0, 0.35);
}

.filter-bar label:has(input[type="checkbox"]:checked) {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.06), rgba(201, 169, 97, 0.12));
    border-color: rgba(139, 0, 0, 0.4);
    color: var(--brand) !important;
}

.filter-bar input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--brand);
    cursor: pointer;
}

/* Buttons inside the filter bar — override .btn-ghost .btn-sm */
.filter-bar .btn,
.filter-bar .btn-sm,
.filter-bar .btn-xs {
    height: 44px;
    padding: 0 18px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 200ms ease;
}

/* The "Search" submit button — make it pop */
.filter-bar button[type="submit"].btn-ghost {
    background: linear-gradient(135deg, #a30000 0%, #6b0000 100%);
    color: #fff;
    border: 1px solid #5c0814;
    box-shadow:
        0 4px 14px rgba(139, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.filter-bar button[type="submit"].btn-ghost:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #b30000 0%, #7a0000 100%);
    box-shadow:
        0 8px 20px rgba(139, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Reset link */
.filter-bar a.btn-ghost {
    background: #fff;
    color: var(--bordeaux-deep);
    border: 1px solid rgba(92, 8, 20, 0.2);
}

.filter-bar a.btn-ghost:hover {
    background: rgba(139, 0, 0, 0.04);
    border-color: rgba(139, 0, 0, 0.4);
    color: var(--brand);
}

/* "Save this search" — gold accent */
.filter-bar button[type="button"].btn-ghost {
    background: linear-gradient(135deg, #fff8e8 0%, #f5e6b8 100%);
    color: #6b4a0a;
    border: 1px solid rgba(201, 169, 97, 0.55);
    box-shadow:
        0 2px 8px rgba(201, 169, 97, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.filter-bar button[type="button"].btn-ghost:hover {
    transform: translateY(-1px);
    border-color: rgba(201, 169, 97, 0.9);
    box-shadow:
        0 6px 16px rgba(201, 169, 97, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Responsive */
@media (max-width: 768px) {
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
    }

    .filter-bar .autocomplete-wrap,
    .filter-bar .form-select,
    .filter-bar label,
    .filter-bar .btn {
        width: 100%;
        max-width: none !important;
    }
}