/* ==========================================================================
   CampReviewLab - Main Stylesheet
   ========================================================================== */

:root {
    --crl-green-900: #1b5e3b;
    --crl-green-700: #2f7d4f;
    --crl-green-500: #3fae6a;
    --crl-green-300: #8fd9ab;
    --crl-green-100: #e6f6ec;
    --crl-accent:    #f2a93b;
    --crl-accent-2:  #ff6b6b;
    --crl-ink:       #102a1d;
    --crl-text:      #30433a;
    --crl-muted:     #6b7b73;
    --crl-bg:        #f6fbf7;
    --crl-bg-alt:    #ffffff;
    --crl-border:    #e2ebe5;
    --crl-shadow:    0 10px 30px rgba(16, 42, 29, 0.08);
    --crl-shadow-lg: 0 25px 60px rgba(16, 42, 29, 0.14);
    --crl-radius:    16px;
    --crl-radius-sm: 10px;
    --crl-radius-lg: 24px;
    --crl-trans:     cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.crl-body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--crl-text);
    background: var(--crl-bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--crl-ink);
    line-height: 1.2;
    margin: 0 0 .6em;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; }

a { color: var(--crl-green-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--crl-green-500); }

img { max-width: 100%; height: auto; display: block; }

.crl-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Buttons ---------- */
.crl-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: transform .3s var(--crl-trans), box-shadow .3s var(--crl-trans), background .3s;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.crl-btn-primary {
    background: linear-gradient(135deg, var(--crl-green-700), var(--crl-green-500));
    color: #fff;
    box-shadow: 0 8px 24px rgba(63,174,106,.35);
}
.crl-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(63,174,106,.45);
    color: #fff;
}
.crl-btn-ghost {
    background: rgba(255,255,255,.9);
    color: var(--crl-green-700);
    border: 1px solid var(--crl-border);
    backdrop-filter: blur(8px);
}
.crl-btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--crl-shadow); }

/* ---------- Header ---------- */
.crl-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--crl-border);
    transition: box-shadow .3s;
}
.crl-header.is-scrolled { box-shadow: var(--crl-shadow); }
.crl-header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 0;
    gap: 24px;
}
.crl-logo {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--crl-ink);
}
.crl-logo-mark {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--crl-green-700), var(--crl-green-500));
    border-radius: 10px;
    color: #fff;
    box-shadow: 0 8px 20px rgba(63,174,106,.35);
}
.crl-logo-mark svg { width: 22px; height: 22px; }
.crl-logo span em { color: var(--crl-green-700); font-style: normal; }

.crl-nav ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; gap: 28px;
}
.crl-nav a {
    color: var(--crl-ink);
    font-weight: 500;
    font-size: 0.97rem;
    position: relative;
    padding: 6px 0;
}
.crl-nav a::after {
    content:''; position:absolute; left:0; bottom:0;
    width:0; height:2px; background: var(--crl-green-500);
    transition: width .3s var(--crl-trans);
}
.crl-nav a:hover::after, .crl-nav .current-menu-item a::after { width: 100%; }

.crl-menu-toggle {
    display: none;
    background: #fff;
    border: 1.5px solid var(--crl-border);
    cursor: pointer;
    width: 44px; height: 44px;
    border-radius: 10px;
    padding: 0;
    transition: background .2s, border-color .2s, transform .2s;
}
.crl-menu-toggle:hover { background: var(--crl-green-100); border-color: var(--crl-green-500); }
.crl-menu-toggle:active { transform: scale(0.95); }
.crl-menu-toggle span {
    display: block;
    width: 22px; height: 2.5px;
    background: var(--crl-ink);
    margin: 0;
    border-radius: 2px;
    transition: transform .3s, opacity .2s;
}
.crl-menu-toggle.is-open span:nth-child(1){ transform: translateY(7.5px) rotate(45deg); }
.crl-menu-toggle.is-open span:nth-child(2){ opacity: 0; }
.crl-menu-toggle.is-open span:nth-child(3){ transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Mobile Navigation (≤ 880px) — Full-Screen Overlay ---------- */
@media (max-width: 880px) {
    .crl-header-inner { padding: 12px 0; }

    .crl-menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px;
        z-index: 1100 !important;
        position: relative;
        background: #fff;
    }
    /* When menu open, hamburger flips to an X on the overlay */
    .crl-menu-toggle.is-open {
        background: transparent !important;
        border-color: rgba(255,255,255,.4) !important;
    }
    .crl-menu-toggle.is-open span { background: #fff !important; }

    /* Full-screen overlay menu */
    .crl-nav {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 1000 !important;
        margin: 0 !important;
        padding: 0 !important;
        background:
            radial-gradient(1200px 600px at 15% 10%, rgba(143, 217, 171, .25), transparent 60%),
            radial-gradient(900px 500px at 90% 100%, rgba(242, 169, 59, .15), transparent 60%),
            linear-gradient(160deg, var(--crl-green-900) 0%, var(--crl-green-700) 100%) !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .4s ease, visibility 0s linear .4s;
        align-items: center;
        justify-content: center;
        overflow-y: auto;
    }
    .crl-nav.is-open {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transition: opacity .4s ease, visibility 0s linear 0s;
    }

    /* Subtle noise / pattern overlay */
    .crl-nav::before {
        content: '';
        position: absolute; inset: 0;
        background-image:
            radial-gradient(circle at 20% 30%, rgba(255,255,255,.04) 1px, transparent 1px),
            radial-gradient(circle at 80% 70%, rgba(255,255,255,.03) 1px, transparent 1px);
        background-size: 40px 40px, 60px 60px;
        pointer-events: none;
    }

    .crl-nav ul {
        list-style: none;
        margin: 0;
        padding: 40px 24px;
        display: flex !important;
        flex-direction: column;
        gap: 0 !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 500px;
        position: relative;
        z-index: 1;
    }
    .crl-nav li {
        width: 100%;
        text-align: center;
        border: 0 !important;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity .45s ease, transform .45s var(--crl-trans);
    }
    .crl-nav.is-open li {
        opacity: 1;
        transform: translateY(0);
    }
    /* Stagger each menu item in */
    .crl-nav.is-open li:nth-child(1) { transition-delay: .15s; }
    .crl-nav.is-open li:nth-child(2) { transition-delay: .22s; }
    .crl-nav.is-open li:nth-child(3) { transition-delay: .29s; }
    .crl-nav.is-open li:nth-child(4) { transition-delay: .36s; }
    .crl-nav.is-open li:nth-child(5) { transition-delay: .43s; }
    .crl-nav.is-open li:nth-child(6) { transition-delay: .50s; }

    .crl-nav a {
        display: inline-block !important;
        padding: 18px 28px !important;
        font-family: 'Playfair Display', Georgia, serif;
        font-size: clamp(1.6rem, 6vw, 2.2rem) !important;
        font-weight: 700 !important;
        color: #fff !important;
        background: transparent !important;
        border: 0 !important;
        text-decoration: none;
        letter-spacing: .01em;
        position: relative;
        transition: color .25s ease, transform .25s ease;
    }
    .crl-nav a::before {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 8px;
        width: 0;
        height: 2px;
        background: var(--crl-accent);
        transform: translateX(-50%);
        transition: width .35s var(--crl-trans);
    }
    .crl-nav a::after { display: none !important; }
    .crl-nav a:hover,
    .crl-nav a:focus,
    .crl-nav .current-menu-item a {
        color: var(--crl-green-300) !important;
        transform: translateY(-2px);
    }
    .crl-nav a:hover::before,
    .crl-nav .current-menu-item a::before {
        width: 40%;
    }

    /* Decorative brand flourish at bottom of overlay */
    .crl-nav::after {
        content: '★ CampReviewLab';
        position: absolute;
        bottom: 32px;
        left: 50%;
        transform: translateX(-50%);
        font-family: 'Playfair Display', serif;
        font-size: .85rem;
        font-style: italic;
        color: rgba(255,255,255,.35);
        letter-spacing: .2em;
        text-transform: uppercase;
        pointer-events: none;
    }

    /* No backdrop overlay needed — full-screen nav IS the overlay */
    .crl-nav-overlay { display: none !important; }

    /* Lock body scroll when menu is open */
    body.is-menu-open { overflow: hidden !important; }
}

/* ---------- Hero ---------- */
.crl-hero {
    position: relative;
    padding: 120px 0 140px;
    overflow: hidden;
    background:
        radial-gradient(1200px 500px at 10% -10%, rgba(63,174,106,.18), transparent 60%),
        radial-gradient(1000px 500px at 100% 10%, rgba(242,169,59,.10), transparent 60%),
        linear-gradient(180deg, #fff 0%, var(--crl-bg) 100%);
}
.crl-hero::before {
    content:'';
    position:absolute; inset:0;
    background-image: url('https://images.unsplash.com/photo-1504280390367-361c6d9f38f4?auto=format&fit=crop&w=1920&q=60');
    background-size: cover; background-position: center;
    opacity: .12;
    filter: saturate(1.1);
}
.crl-hero-inner { position: relative; text-align: center; max-width: 840px; margin: 0 auto; }
.crl-hero .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--crl-green-100);
    color: var(--crl-green-700);
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600; font-size: .85rem;
    letter-spacing: .08em; text-transform: uppercase;
    margin-bottom: 20px;
}
.crl-hero h1 {
    background: linear-gradient(135deg, var(--crl-ink) 0%, var(--crl-green-700) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.crl-hero p.lead {
    font-size: 1.15rem;
    color: var(--crl-muted);
    max-width: 620px; margin: 16px auto 32px;
}
.crl-hero .hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.crl-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 720px;
    margin: 56px auto 0;
}
.crl-hero-stat {
    background: rgba(255,255,255,.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--crl-border);
    border-radius: var(--crl-radius);
    padding: 22px;
    text-align: center;
    box-shadow: var(--crl-shadow);
}
.crl-hero-stat strong { display:block; font-size: 1.7rem; color: var(--crl-green-700); font-family: 'Playfair Display', serif; }
.crl-hero-stat span { color: var(--crl-muted); font-size: .9rem; }

@media (max-width: 768px) {
    .crl-hero { padding: 60px 0 70px; }
    .crl-hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
    .crl-hero p.lead { font-size: 1rem; margin: 12px auto 24px; }
    .crl-hero .hero-actions { flex-direction: column; align-items: center; }
    .crl-hero .hero-actions .crl-btn { width: 100%; max-width: 300px; justify-content: center; }
    .crl-hero-stats { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
    .crl-hero-stat { padding: 16px; }
    .crl-hero-stat strong { font-size: 1.4rem; }
}

/* ---------- Sections ---------- */
.crl-section { padding: 90px 0; position: relative; }
.crl-section-alt { background: #fff; }
.crl-section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.crl-section-head .eyebrow {
    color: var(--crl-green-700);
    font-weight: 700; font-size: .85rem;
    letter-spacing: .15em; text-transform: uppercase;
    margin-bottom: 10px; display: block;
}
.crl-section-head p { color: var(--crl-muted); font-size: 1.05rem; }

/* ---------- Cards / Review grid ---------- */
.crl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}
.crl-card {
    background: #fff;
    border-radius: var(--crl-radius);
    overflow: hidden;
    box-shadow: var(--crl-shadow);
    transition: transform .4s var(--crl-trans), box-shadow .4s var(--crl-trans);
    display: flex; flex-direction: column;
    border: 1px solid var(--crl-border);
    position: relative;
}
.crl-card:hover { transform: translateY(-8px); box-shadow: var(--crl-shadow-lg); }
.crl-card-media {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
    background: #eef3ef;
}
.crl-card-media img, .crl-card-media .crl-placeholder {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s var(--crl-trans);
}
.crl-card:hover .crl-card-media img { transform: scale(1.07); }
.crl-card-badge {
    position: absolute; top: 14px; left: 14px;
    background: rgba(255,255,255,.95);
    color: var(--crl-green-700);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .05em;
    backdrop-filter: blur(6px);
}
.crl-card-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.crl-card-body h3 { margin-bottom: 10px; }
.crl-card-body h3 a { color: var(--crl-ink); }
.crl-card-body h3 a:hover { color: var(--crl-green-700); }
.crl-card-meta { color: var(--crl-muted); font-size: .85rem; margin-bottom: 12px; }
.crl-card-excerpt { color: var(--crl-text); font-size: .95rem; margin-bottom: 16px; flex: 1; }
.crl-card-foot { display:flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--crl-border); padding-top: 14px; }
.crl-read-more { font-weight: 600; font-size: .9rem; }
.crl-read-more::after { content:' →'; transition: transform .3s; display: inline-block; }
.crl-card:hover .crl-read-more::after { transform: translateX(4px); }

/* ---------- Stars ---------- */
.crl-stars { display: inline-flex; align-items: center; gap: 2px; color: var(--crl-accent); font-size: 1rem; }
.crl-stars .star.empty { color: #d7e0da; }
.crl-stars-num { margin-left: 6px; color: var(--crl-ink); font-weight: 700; font-size: .9rem; }

/* ---------- Feature strip ---------- */
.crl-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.crl-feature {
    padding: 28px;
    background: #fff;
    border-radius: var(--crl-radius);
    border: 1px solid var(--crl-border);
    transition: transform .3s, box-shadow .3s;
    position: relative;
    overflow: hidden;
}
.crl-feature::before {
    content:''; position:absolute; inset: auto -40px -40px auto;
    width: 120px; height: 120px; border-radius: 50%;
    background: radial-gradient(circle, rgba(63,174,106,.18), transparent 70%);
    transition: transform .6s;
}
.crl-feature:hover { transform: translateY(-6px); box-shadow: var(--crl-shadow); }
.crl-feature:hover::before { transform: scale(1.4); }
.crl-feature-icon {
    width: 48px; height: 48px;
    display: grid; place-items: center;
    background: var(--crl-green-100); color: var(--crl-green-700);
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 1.4rem;
}
.crl-feature h3 { font-size: 1.1rem; margin-bottom: 6px; }
.crl-feature p { margin: 0; color: var(--crl-muted); font-size: .95rem; }

/* ---------- CTA ---------- */
.crl-cta {
    background: linear-gradient(135deg, var(--crl-green-700), var(--crl-green-500));
    color: #fff;
    border-radius: var(--crl-radius-lg);
    padding: 64px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--crl-shadow-lg);
}
.crl-cta::before, .crl-cta::after {
    content:''; position:absolute; border-radius: 50%;
    background: rgba(255,255,255,.12); filter: blur(40px);
}
.crl-cta::before { width: 260px; height:260px; top:-80px; left:-60px; }
.crl-cta::after  { width: 320px; height:320px; bottom:-120px; right:-80px; }
.crl-cta h2 { color: #fff; margin-bottom: 14px; }
.crl-cta p  { color: rgba(255,255,255,.92); max-width: 560px; margin: 0 auto 28px; position: relative; }
.crl-cta .crl-btn { background: #fff; color: var(--crl-green-700); }
.crl-cta .crl-btn:hover { transform: translateY(-3px); }

/* ---------- Page hero (inner pages) ---------- */
.crl-page-hero {
    padding: 80px 0 60px;
    text-align: center;
    background:
        radial-gradient(800px 300px at 50% 0%, rgba(63,174,106,.18), transparent 70%),
        linear-gradient(180deg, #fff, var(--crl-bg));
    border-bottom: 1px solid var(--crl-border);
}
.crl-page-hero h1 { margin-bottom: 10px; }
.crl-breadcrumbs { color: var(--crl-muted); font-size: .9rem; }
.crl-breadcrumbs a { color: var(--crl-green-700); }

/* ---------- Content / Article ---------- */
.crl-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 48px;
    padding: 70px 0 90px;
    align-items: start;
}
@media (max-width: 960px) {
    .crl-layout { grid-template-columns: 1fr; }
}

.crl-article {
    background: #fff;
    padding: 40px 48px;
    border-radius: var(--crl-radius);
    box-shadow: var(--crl-shadow);
    border: 1px solid var(--crl-border);
}
.crl-article .crl-featured {
    margin: -40px -48px 30px;
    border-radius: var(--crl-radius) var(--crl-radius) 0 0;
    overflow: hidden;
    max-height: 420px;
}
.crl-article-meta {
    display:flex; flex-wrap: wrap; gap: 14px; color: var(--crl-muted);
    font-size: .9rem; margin-bottom: 20px; align-items: center;
}
.crl-article-meta .sep { color: #cfd9d3; }
.crl-article-content { font-size: 1.03rem; }
.crl-article-content p { margin: 0 0 1.1em; }
.crl-article-content h2 { margin-top: 1.6em; }
.crl-article-content h3 { margin-top: 1.4em; }
.crl-article-content blockquote {
    border-left: 4px solid var(--crl-green-500);
    padding: 8px 20px;
    background: var(--crl-green-100);
    border-radius: 0 10px 10px 0;
    color: var(--crl-ink);
    margin: 1.4em 0;
    font-style: italic;
}
.crl-article-content img { border-radius: 12px; margin: 1.2em 0; }

.crl-review-box {
    margin: 24px 0;
    padding: 24px;
    border: 1px solid var(--crl-border);
    border-radius: var(--crl-radius);
    background: linear-gradient(180deg, #fff, var(--crl-green-100));
}
.crl-review-box h3 { margin-top: 0; }
.crl-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 14px; }
@media (max-width: 600px) { .crl-pros-cons { grid-template-columns: 1fr; } }
.crl-pros, .crl-cons {
    padding: 16px 18px; border-radius: 12px; background: #fff;
    border: 1px solid var(--crl-border);
}
.crl-pros h4 { color: var(--crl-green-700); }
.crl-cons h4 { color: var(--crl-accent-2); }
.crl-pros ul, .crl-cons ul { padding-left: 18px; margin: 6px 0; }

/* ---------- Sidebar ---------- */
.crl-sidebar {
    position: sticky;
    top: 100px;
    display: flex; flex-direction: column; gap: 24px;
}
.crl-widget {
    background: #fff;
    border-radius: var(--crl-radius);
    padding: 24px;
    border: 1px solid var(--crl-border);
    box-shadow: var(--crl-shadow);
}
.crl-widget-title {
    font-size: 1.1rem;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--crl-green-100);
}
.crl-search-form {
    display: flex; gap: 8px;
}
.crl-search-form input[type="search"] {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid var(--crl-border);
    border-radius: 10px;
    background: var(--crl-bg);
    font: inherit;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.crl-search-form input[type="search"]:focus {
    border-color: var(--crl-green-500);
    box-shadow: 0 0 0 3px rgba(63,174,106,.2);
    background: #fff;
}
.crl-search-form button {
    border: 0;
    background: var(--crl-green-700);
    color: #fff;
    padding: 0 16px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: background .2s;
}
.crl-search-form button:hover { background: var(--crl-green-500); }

.crl-latest-list { list-style: none; margin: 0; padding: 0; }
.crl-latest-item {
    display: flex; gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--crl-border);
}
.crl-latest-item:last-child { border-bottom: 0; }
.crl-latest-thumb {
    flex: 0 0 64px; width: 64px; height: 64px;
    border-radius: 10px; overflow: hidden; background: var(--crl-green-100);
}
.crl-latest-thumb img { width: 100%; height: 100%; object-fit: cover; }
.crl-latest-meta { font-size: .78rem; color: var(--crl-muted); }
.crl-latest-title { font-size: .93rem; font-weight: 600; line-height: 1.3; color: var(--crl-ink); }
.crl-latest-title:hover { color: var(--crl-green-700); }

/* ---------- Footer ---------- */
.crl-footer {
    background: linear-gradient(180deg, #0f2318 0%, #0a1a12 100%);
    color: #c8d4cd;
    padding: 72px 0 24px;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}
.crl-footer::before {
    content:''; position:absolute; inset:0;
    background: radial-gradient(600px 300px at 20% 0%, rgba(63,174,106,.18), transparent 60%);
    pointer-events: none;
}
.crl-footer-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 40px;
    position: relative;
}
@media (max-width: 860px) { .crl-footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .crl-footer-inner { grid-template-columns: 1fr; } }

.crl-footer h4 {
    color: #fff; font-family: 'Inter', sans-serif;
    font-size: 1rem; text-transform: uppercase; letter-spacing: .1em;
    margin: 0 0 18px;
}
.crl-footer a { color: #c8d4cd; }
.crl-footer a:hover { color: var(--crl-green-300); }
.crl-footer ul { list-style: none; margin: 0; padding: 0; }
.crl-footer ul li { margin-bottom: 10px; font-size: .95rem; }
.crl-footer .crl-logo { color: #fff; margin-bottom: 14px; }
.crl-footer-about p { font-size: .92rem; color: #9fb0a7; }

.crl-footer-bottom {
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    position: relative;
    font-size: .88rem; color: #8ea096;
}

/* ---------- Contact ---------- */
.crl-contact-grid {
    display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px;
    padding: 40px 0;
}
@media (max-width: 860px) { .crl-contact-grid { grid-template-columns: 1fr; } }

.crl-form { background: #fff; border-radius: var(--crl-radius); padding: 32px; border: 1px solid var(--crl-border); box-shadow: var(--crl-shadow); }
.crl-field { margin-bottom: 16px; }
.crl-field label { display:block; font-weight: 600; margin-bottom: 6px; font-size: .9rem; }
.crl-field input, .crl-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--crl-border);
    border-radius: 12px;
    font: inherit;
    background: var(--crl-bg);
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.crl-field input:focus, .crl-field textarea:focus {
    outline: none;
    border-color: var(--crl-green-500);
    box-shadow: 0 0 0 3px rgba(63,174,106,.18);
    background: #fff;
}

.crl-info-card {
    background: linear-gradient(135deg, var(--crl-green-700), var(--crl-green-500));
    color: #fff;
    border-radius: var(--crl-radius);
    padding: 32px;
    position: relative;
    overflow: hidden;
}
.crl-info-card::after {
    content:''; position:absolute; bottom: -60px; right: -60px;
    width: 200px; height:200px; border-radius: 50%;
    background: rgba(255,255,255,.12);
}
.crl-info-card h3 { color: #fff; }
.crl-info-card p { color: rgba(255,255,255,.9); }
.crl-info-list { list-style: none; padding: 0; margin: 20px 0 0; }
.crl-info-list li { margin-bottom: 14px; display:flex; gap: 10px; align-items: center; }

.crl-alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 500; }
.crl-alert-success { background: var(--crl-green-100); color: var(--crl-green-900); border: 1px solid var(--crl-green-300); }

/* ---------- About ---------- */
.crl-about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .crl-about-grid { grid-template-columns: 1fr; } }
.crl-about-media { position: relative; }
.crl-about-media img { border-radius: var(--crl-radius-lg); box-shadow: var(--crl-shadow-lg); }
.crl-about-media::after {
    content:''; position:absolute; inset: 20px -20px -20px 20px; z-index: -1;
    background: linear-gradient(135deg, var(--crl-green-500), var(--crl-accent));
    border-radius: var(--crl-radius-lg);
    opacity: .3; filter: blur(30px);
}

.crl-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 40px; }

/* ---------- Legal pages ---------- */
.crl-legal {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    padding: 48px 56px;
    border-radius: var(--crl-radius);
    box-shadow: var(--crl-shadow);
    border: 1px solid var(--crl-border);
}
.crl-legal h2 { margin-top: 1.8em; }
.crl-legal h3 { margin-top: 1.4em; color: var(--crl-green-700); }
.crl-legal .updated { color: var(--crl-muted); font-size: .9rem; margin-bottom: 24px; }

/* ---------- Pagination ---------- */
.crl-pagination {
    display: flex; gap: 8px; justify-content: center; margin-top: 50px; flex-wrap: wrap;
}
.crl-pagination a, .crl-pagination span {
    padding: 10px 16px; border-radius: 10px; background: #fff;
    border: 1px solid var(--crl-border); font-weight: 600;
    color: var(--crl-ink);
}
.crl-pagination .current { background: var(--crl-green-700); color: #fff; border-color: var(--crl-green-700); }
.crl-pagination a:hover { background: var(--crl-green-100); }

/* ---------- Reveal on scroll (disabled — content always visible) ---------- */
.crl-reveal { opacity: 1; transform: none; }
.crl-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Scroll to top ---------- */
.crl-totop {
    position: fixed; right: 24px; bottom: 24px;
    width: 48px; height: 48px;
    background: var(--crl-green-700); color: #fff;
    border: 0; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center;
    box-shadow: var(--crl-shadow-lg);
    opacity: 0; pointer-events: none;
    transform: translateY(20px);
    transition: .3s;
    z-index: 90;
    font-size: 1.2rem;
}
.crl-totop.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.crl-totop:hover { background: var(--crl-green-500); }

/* ---------- Category tabs ---------- */
.crl-tabs {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
    margin-bottom: 40px;
}
.crl-tab {
    padding: 10px 20px; border-radius: 999px;
    background: #fff; border: 1px solid var(--crl-border);
    font-weight: 600; color: var(--crl-text); cursor: pointer;
    font-size: .9rem;
    transition: all .2s;
}
.crl-tab:hover, .crl-tab.is-active { background: var(--crl-green-700); color: #fff; border-color: var(--crl-green-700); }

/* ---------- Comment form ---------- */
.crl-article .comments-area { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--crl-border); }

/* ==========================================================================
   Polish & micro-animations
   ========================================================================== */

/* ---- Reading progress bar ---- */
.crl-progress {
    position: fixed; top: 0; left: 0;
    height: 3px; width: 0;
    background: linear-gradient(90deg, var(--crl-green-500), var(--crl-accent));
    box-shadow: 0 0 10px rgba(63,174,106,.6);
    z-index: 200;
    transition: width .12s linear;
    border-radius: 0 3px 3px 0;
}

/* ---- Animated gradient accent under section heads ---- */
.crl-section-head h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}
.crl-section-head h2::after {
    content:'';
    position:absolute; left: 50%; bottom: 0;
    width: 72px; height: 3px;
    transform: translateX(-50%);
    border-radius: 3px;
    background: linear-gradient(90deg, var(--crl-green-500), var(--crl-accent), var(--crl-green-500));
    background-size: 200% 100%;
    animation: crl-flow 3.5s linear infinite;
}
@keyframes crl-flow {
    0%   { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

/* ---- Floating blobs in hero ---- */
.crl-hero { isolation: isolate; }
.crl-hero::after {
    content:'';
    position:absolute; inset:0;
    background:
        radial-gradient(360px 360px at 12% 28%, rgba(63,174,106,.30), transparent 60%),
        radial-gradient(320px 320px at 88% 18%, rgba(242,169,59,.22), transparent 60%),
        radial-gradient(280px 280px at 72% 82%, rgba(63,174,106,.18), transparent 60%);
    filter: blur(20px);
    animation: crl-blob 18s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
}
@keyframes crl-blob {
    0%   { transform: translate3d(0,0,0) scale(1); }
    50%  { transform: translate3d(20px,-18px,0) scale(1.05); }
    100% { transform: translate3d(-16px,14px,0) scale(.98); }
}
.crl-hero-inner { position: relative; z-index: 1; }

/* Slow ken-burns on hero background image */
.crl-hero::before { animation: crl-kenburns 40s ease-in-out infinite alternate; transform-origin: center; }
@keyframes crl-kenburns {
    0%   { transform: scale(1) translate(0,0); }
    100% { transform: scale(1.08) translate(-10px,-6px); }
}

/* Floating mini-icons in hero */
.crl-float-ico {
    position: absolute;
    font-size: 1.4rem;
    opacity: .55;
    pointer-events: none;
    z-index: 0;
    filter: drop-shadow(0 4px 10px rgba(16,42,29,.15));
}
.crl-float-ico.f1 { top: 18%; left: 8%;  animation: crl-float 9s ease-in-out infinite; }
.crl-float-ico.f2 { top: 30%; right: 10%; animation: crl-float 11s ease-in-out infinite reverse; }
.crl-float-ico.f3 { bottom: 18%; left: 14%; animation: crl-float 13s ease-in-out infinite; }
.crl-float-ico.f4 { bottom: 22%; right: 12%; animation: crl-float 10s ease-in-out infinite reverse; }
@keyframes crl-float {
    0%,100% { transform: translateY(0) rotate(0); }
    50%     { transform: translateY(-18px) rotate(6deg); }
}
@media (max-width: 640px) { .crl-float-ico { display: none; } }

/* ---- Eyebrow pulse dot ---- */
.crl-hero .eyebrow::before {
    content:'';
    display: inline-block;
    width: 8px; height: 8px;
    background: var(--crl-green-500);
    border-radius: 50%;
    margin-right: 4px;
    box-shadow: 0 0 0 0 rgba(63,174,106,.6);
    animation: crl-pulse 2s infinite;
}
@keyframes crl-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(63,174,106,.55); }
    70%  { box-shadow: 0 0 0 12px rgba(63,174,106,0); }
    100% { box-shadow: 0 0 0 0 rgba(63,174,106,0); }
}

/* ---- Button shine ---- */
.crl-btn-primary::before {
    content:'';
    position:absolute; top:0; left:-120%;
    width: 60%; height:100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
    transform: skewX(-20deg);
    transition: left .7s var(--crl-trans);
    pointer-events: none;
}
.crl-btn-primary:hover::before { left: 140%; }

/* ---- Card gradient border on hover + shine sweep ---- */
.crl-card { isolation: isolate; }
.crl-card::before {
    content:''; position:absolute; inset:0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(63,174,106,0), rgba(63,174,106,.55), rgba(242,169,59,.45));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
    z-index: 2;
}
.crl-card:hover::before { opacity: 1; }
.crl-card-media::after {
    content:'';
    position:absolute; inset:0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .9s var(--crl-trans);
    pointer-events: none;
}
.crl-card:hover .crl-card-media::after { transform: translateX(100%); }

/* ---- Feature icon subtle wobble on hover ---- */
.crl-feature:hover .crl-feature-icon { animation: crl-wobble .6s ease; }
@keyframes crl-wobble {
    0%,100% { transform: rotate(0); }
    25%     { transform: rotate(-8deg) scale(1.05); }
    75%     { transform: rotate(8deg) scale(1.05); }
}

/* ---- Hero stats count-up style ---- */
.crl-hero-stat { transition: transform .5s var(--crl-trans), box-shadow .5s; }
.crl-hero-stat:hover { transform: translateY(-4px); box-shadow: var(--crl-shadow-lg); }

/* ---- CTA floating glow animation ---- */
.crl-cta::before { animation: crl-drift 14s ease-in-out infinite alternate; }
.crl-cta::after  { animation: crl-drift 18s ease-in-out infinite alternate-reverse; }
@keyframes crl-drift {
    0%   { transform: translate(0,0) scale(1); }
    100% { transform: translate(30px,-20px) scale(1.12); }
}

/* ---- Animated sticky-header border ---- */
.crl-header::after {
    content:'';
    position:absolute; left:0; right:0; bottom:-1px; height:1px;
    background: linear-gradient(90deg, transparent, var(--crl-green-500), transparent);
    background-size: 200% 100%;
    animation: crl-flow 5s linear infinite;
    opacity: 0;
    transition: opacity .4s;
}
.crl-header.is-scrolled::after { opacity: .7; }

/* ---- Logo hover spin ---- */
.crl-logo:hover .crl-logo-mark { transform: rotate(-8deg) scale(1.05); transition: transform .4s var(--crl-trans); }
.crl-logo-mark { transition: transform .4s var(--crl-trans); }

/* ---- Sidebar latest item hover ---- */
.crl-latest-item { transition: transform .25s var(--crl-trans); }
.crl-latest-item:hover { transform: translateX(4px); }
.crl-latest-thumb img { transition: transform .6s var(--crl-trans); }
.crl-latest-item:hover .crl-latest-thumb img { transform: scale(1.08); }

/* ---- Footer subtle pattern ---- */
.crl-footer::after {
    content:'';
    position:absolute; inset:0;
    background-image:
        radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    mask-image: linear-gradient(180deg, transparent, #000 40%, #000 80%, transparent);
}

/* ---- Link underline slide ---- */
.crl-article-content a:not(.crl-btn) {
    position: relative;
    background-image: linear-gradient(var(--crl-green-500), var(--crl-green-500));
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size .3s var(--crl-trans);
}
.crl-article-content a:not(.crl-btn):hover { background-size: 100% 2px; }

/* ---- Star twinkle ---- */
.crl-stars .star.full { animation: crl-twinkle 4s ease-in-out infinite; }
.crl-stars .star.full:nth-child(2) { animation-delay: .4s; }
.crl-stars .star.full:nth-child(3) { animation-delay: .8s; }
.crl-stars .star.full:nth-child(4) { animation-delay: 1.2s; }
.crl-stars .star.full:nth-child(5) { animation-delay: 1.6s; }
@keyframes crl-twinkle {
    0%,100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(242,169,59,0)); }
    50%     { transform: scale(1.1); filter: drop-shadow(0 0 6px rgba(242,169,59,.7)); }
}

/* ---- Scroll-to-top pulse ---- */
.crl-totop.is-visible { animation: crl-up-in .4s var(--crl-trans); }
@keyframes crl-up-in {
    from { transform: translateY(20px) scale(.8); opacity: 0; }
    to   { transform: none; opacity: 1; }
}
.crl-totop:hover { transform: translateY(-4px); }

/* ---- Product card (inside article content) ---- */
.crl-article-content .crl-product {
    margin: 28px 0;
    padding: 22px 24px;
    background: linear-gradient(135deg, var(--crl-green-100), #fff);
    border: 1px solid var(--crl-border);
    border-left: 4px solid var(--crl-green-500);
    border-radius: var(--crl-radius);
    box-shadow: var(--crl-shadow);
    transition: transform .3s var(--crl-trans), box-shadow .3s;
}
.crl-article-content .crl-product:hover {
    transform: translateY(-3px);
    box-shadow: var(--crl-shadow-lg);
}
.crl-article-content .crl-product h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    color: var(--crl-green-700);
}
.crl-article-content .crl-product p { margin: 0 0 12px; }
.crl-article-content .crl-product p:last-child { margin-bottom: 0; }
.crl-article-content .crl-product .crl-btn { margin-top: 4px; }

/* ---- Per-product rating + price row ---- */
.crl-article-content .crl-product-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin: 0 0 10px;
    font-size: .95rem;
}
.crl-article-content .crl-product-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: #f5b301;
    font-size: 1.1rem;
    letter-spacing: 1px;
}
.crl-article-content .crl-product-stars .star.empty { color: #d9d9d9; }
.crl-article-content .crl-product-stars .star.half { color: #f5b301; }
.crl-article-content .crl-product-score {
    margin-left: 8px;
    color: var(--crl-green-700);
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: normal;
}
.crl-article-content .crl-product-price {
    background: var(--crl-green-100);
    color: var(--crl-green-700);
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .85rem;
}

/* ---- Per-product pros & cons grid ---- */
.crl-article-content .crl-product-proscons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 12px 0 14px;
}
@media (max-width: 640px) {
    .crl-article-content .crl-product-proscons { grid-template-columns: 1fr; }
}
.crl-article-content .crl-product-pros,
.crl-article-content .crl-product-cons {
    background: #fff;
    border: 1px solid var(--crl-border);
    border-radius: 10px;
    padding: 12px 14px;
}
.crl-article-content .crl-product-pros { border-left: 3px solid #3fae6a; }
.crl-article-content .crl-product-cons { border-left: 3px solid #d94848; }
.crl-article-content .crl-product-pros h4,
.crl-article-content .crl-product-cons h4 {
    margin: 0 0 6px;
    font-size: .9rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.crl-article-content .crl-product-pros h4 { color: #1e7a43; }
.crl-article-content .crl-product-cons h4 { color: #b53030; }
.crl-article-content .crl-product-pros ul,
.crl-article-content .crl-product-cons ul {
    margin: 0;
    padding-left: 18px;
    font-size: .92rem;
    line-height: 1.5;
}
.crl-article-content .crl-product-pros li,
.crl-article-content .crl-product-cons li { margin: 2px 0; }

/* ---- Article content links: force visible underlined green (except buttons) ---- */
.crl-article-content a:not(.crl-btn),
.crl-article-content p a:not(.crl-btn),
.crl-article-content li a:not(.crl-btn) {
    color: var(--crl-green-700) !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
    font-weight: 600;
    transition: color .2s ease;
}
.crl-article-content a:not(.crl-btn):hover,
.crl-article-content p a:not(.crl-btn):hover,
.crl-article-content li a:not(.crl-btn):hover {
    color: #0a4a2f !important;
    text-decoration-thickness: 2px !important;
}
/* Amazon CTA buttons keep white text */
.crl-article-content a.crl-btn,
.crl-article-content p a.crl-btn,
.crl-article-content li a.crl-btn {
    color: #fff !important;
    text-decoration: none !important;
}
.crl-article-content a.crl-btn:hover {
    color: #fff !important;
}

/* ---- Pillar CTA (auto-injected pillar backlink) ---- */
.crl-pillar-cta {
    margin: 36px 0 8px;
    padding: 18px 22px;
    background: linear-gradient(135deg, var(--crl-green-100), #fff);
    border-left: 4px solid var(--crl-green-700);
    border-radius: 10px;
    font-size: 1.02rem;
    line-height: 1.55;
}
.crl-pillar-cta a { color: var(--crl-green-700); text-decoration: underline; }
.crl-pillar-cta a:hover { color: var(--crl-green-900, #0a4a2f); }

/* ---- FAQ accordion ---- */
.crl-article-content .crl-faq {
    margin: 24px 0 10px;
    border-top: 1px solid var(--crl-border);
}
.crl-article-content .crl-faq-item {
    border-bottom: 1px solid var(--crl-border);
    padding: 4px 0;
}
.crl-article-content .crl-faq-item summary {
    cursor: pointer;
    padding: 14px 4px;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--crl-text);
    list-style: none;
    position: relative;
    padding-right: 34px;
    transition: color .2s;
}
.crl-article-content .crl-faq-item summary::-webkit-details-marker { display: none; }
.crl-article-content .crl-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 8px; top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    color: var(--crl-green-700);
    transition: transform .3s;
    line-height: 1;
}
.crl-article-content .crl-faq-item[open] summary { color: var(--crl-green-700); }
.crl-article-content .crl-faq-item[open] summary::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}
.crl-article-content .crl-faq-a {
    padding: 0 4px 16px;
    color: var(--crl-muted);
    animation: crl-faq-open .3s ease;
}
@keyframes crl-faq-open {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: none; }
}

/* Inline images in articles */
.crl-article-content img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    border-radius: var(--crl-radius);
    margin: 24px 0;
    box-shadow: var(--crl-shadow);
}

/* ---- Archive search form ---- */
.crl-archive-search {
    max-width: 520px;
    margin: 22px auto 0;
}
.crl-archive-search input {
    padding: 14px 18px;
    font-size: 1rem;
}
.crl-archive-search button {
    padding: 14px 22px;
    font-weight: 600;
}

/* ---- Remove Astra's default header/content gap & container padding ---- */
.crl-header { border-bottom: 0 !important; }
.ast-primary-header-bar,
.main-header-bar,
.ast-above-header,
.ast-below-header { display: none !important; }

/* Kill the ast-separate-container gap + inner padding */
.ast-separate-container,
.ast-separate-container #content,
.ast-separate-container .site-content,
.ast-separate-container .ast-container {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
}
.ast-separate-container .site-content > .ast-container { padding: 0 !important; }
.ast-separate-container .site-content .ast-article-single,
.ast-separate-container .site-content .ast-article-post,
.ast-separate-container .site-content .entry-content,
.ast-separate-container .ast-article-inner {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}
#page, .site, .site-content, .hfeed.site { background: transparent !important; }
body.ast-separate-container { background: var(--crl-bg) !important; }

/* Nuke ALL padding/margin around the content wrappers */
#page,
.hfeed.site,
.site-content,
#content,
.ast-container,
.site-primary-header-wrap,
.entry-content,
.ast-row {
    padding: 0 !important;
    margin: 0 !important;
}
.crl-main { margin: 0 !important; padding: 0 !important; }

/* Make sure hero touches the header — no stray gap from parent theme */
.crl-header + .crl-main .crl-hero,
.crl-main > .crl-hero:first-child { margin-top: 0 !important; }

/* Extra hard override for any remaining Astra wrapper spacing */
body > #page,
body > .hfeed,
#page > *,
.site > *,
.site-content > * {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}
.crl-main > *:first-child { margin-top: 0 !important; }

/* If Astra still injects an empty header-bar row, squash it.
   IMPORTANT: the earlier [class*="header-break"] selector was too broad —
   it matched <body class="... ast-header-break-point ..."> on mobile and
   hid the entire page. Scope the selectors strictly to header child rows. */
.site-header [class*="header-break"]:empty,
.site-header [class*="ast-header"] > .ast-container:empty,
.ast-primary-header-bar:empty { display: none !important; height: 0 !important; }

/* ==========================================================================
   Comprehensive Mobile Responsive (≤ 768px)
   ========================================================================== */

@media (max-width: 768px) {
    /* Global spacing */
    .crl-container { padding: 0 16px; }

    /* Reduce GPU-heavy effects that can cause blank rendering on mobile */
    .crl-hero::after { display: none; }
    .crl-hero::before { animation: none !important; transform: none !important; }
    .crl-hero-stat { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.95); }
    .crl-header { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
    .crl-float-ico { display: none; }
    .crl-card::before { display: none; }
    .crl-card-media::after { display: none; }

    /* Sections */
    .crl-section { padding: 50px 0; }
    .crl-section-head { margin-bottom: 32px; }

    /* Cards — single column */
    .crl-grid { grid-template-columns: 1fr; gap: 20px; }
    .crl-card:hover { transform: none; }
    .crl-card-body { padding: 18px 20px 20px; }

    /* Features — single column */
    .crl-features { grid-template-columns: 1fr; gap: 16px; }
    .crl-feature { padding: 20px; }
    .crl-feature:hover { transform: none; }

    /* CTA */
    .crl-cta { padding: 40px 20px; border-radius: var(--crl-radius); }

    /* Footer — single column */
    .crl-footer { padding: 48px 0 20px; margin-top: 50px; }
    .crl-footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .crl-footer-bottom { flex-direction: column; text-align: center; }

    /* Article / Content */
    .crl-article { padding: 24px 20px; }
    .crl-article .crl-featured { margin: -24px -20px 20px; }

    /* Legal */
    .crl-legal { padding: 28px 20px; }

    /* Buttons — ensure touch-friendly size */
    .crl-btn { padding: 14px 24px; font-size: .95rem; }

    /* Contact */
    .crl-contact-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 480px) {
    h1 { font-size: clamp(1.5rem, 7vw, 2rem); }
    h2 { font-size: clamp(1.3rem, 5vw, 1.8rem); }
    .crl-hero { padding: 44px 0 52px; }
    .crl-section { padding: 36px 0; }
    .crl-card-media { aspect-ratio: 16 / 9; }
    .crl-cta { padding: 32px 16px; }
    .crl-footer { padding: 36px 0 16px; margin-top: 36px; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}
