/* =====================================================
           CSS VARIABLES AND RESET
           ===================================================== */
        :root {
            /* Backgrounds */
            --bg-page: #f8fafb;
            --bg-header: #ffffff;
            --bg-footer: #1a1a1a;
            --bg-card: #ffffff;
            --bg-code: #f1f5f9;
            
            /* Text */
            --text-primary: #1a1a1a;
            --text-secondary: #4b5563;
            --text-muted: #9ca3af;
            --text-inverse: #ffffff;
            
            /* Accents */
            --accent: #11d493;
            --accent-hover: #0fb882;
            --accent-light: #d1fae5;
            
            /* Functional */
            --border: #e5e7eb;
            --border-strong: #d1d5db;
            --success: #10b981;
            --warning: #f59e0b;
            --error: #ef4444;
            
            /* Typography */
            --font-heading: 'Inter', sans-serif;
            --font-body: 'Source Sans 3', sans-serif;
            --font-mono: 'JetBrains Mono', monospace;
            --font-logo: 'Archivo Black', sans-serif;
            
            /* Sizing */
            --content-width: 940px;
            --section-gap: 4rem;
            
            /* Transitions */
            --transition-fast: 0.15s ease;
            --transition-base: 0.25s ease;
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-body);
            font-size: 1.125rem;
            line-height: 1.7;
            color: var(--text-primary);
            background-color: var(--bg-page);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* =====================================================
           GENERAL TYPOGRAPHY
           ===================================================== */
        h1, h2, h3, h4, h5, h6 {
            font-family: var(--font-heading);
            font-weight: 700;
            line-height: 1.2;
            color: var(--text-primary);
            text-align: left;
        }

        h1 {
            font-size: clamp(2rem, 5vw, 3.5rem);
        }

        h2 {
            font-size: clamp(1.5rem, 3vw, 2.25rem);
            margin-top: 0;
            margin-bottom: 1.5rem;
            scroll-margin-top: 2rem;
        }

        h3 {
            font-size: clamp(1.25rem, 2vw, 1.75rem);
            margin-top: 2rem;
            margin-bottom: 1rem;
            scroll-margin-top: 2rem;
            color: #c4d7e0;
        }

        p {
            text-align: left;
            margin-bottom: 1.25rem;
        }

        a {
            color: var(--accent);
            text-decoration: underline;
            text-underline-offset: 2px;
            transition: color var(--transition-fast);
        }

        a:hover {
            color: var(--accent-hover);
        }

        a:focus {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        strong {
            font-weight: 600;
        }

        ul, ol {
            text-align: left;
            margin-bottom: 1.25rem;
            padding-left: 1.5rem;
        }

        li {
            margin-bottom: 0.5rem;
        }

        blockquote {
            text-align: left;
            border-left: 3px solid var(--accent);
            padding-left: 1.5rem;
            margin: 1.5rem 0;
            font-style: italic;
            color: var(--text-secondary);
        }

        code {
            font-family: var(--font-mono);
            font-size: 0.9rem;
            background-color: var(--bg-code);
            padding: 0.2em 0.4em;
            border-radius: 4px;
        }

        figure {
            margin: 1.5em auto;
        }

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

        figcaption {
            text-align: center;
            font-size: 0.875rem;
            color: var(--text-muted);
            margin-top: 0.75rem;
        }

        /* =====================================================
           LAYOUT - MAIN STRUCTURE
           ===================================================== */
        main {
            width: 100%;
        }

        article {
            width: 100%;
        }

        [data-content] {
            max-width: var(--content-width);
            margin-left: auto;
            margin-right: auto;
            padding-left: 1.5rem;
            padding-right: 1.5rem;
            margin-bottom: var(--section-gap);
        }

        /* =====================================================
           HEADER
           ===================================================== */
        .site-header {
            background-color: var(--bg-header);
            border-bottom: 1px solid var(--border);
            padding: 1rem 1.5rem;
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header-inner {
            max-width: var(--content-width);
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
        }

        .site-logo img {
            display: block;
            height: 40px;
            width: auto;
        }

        .header-meta {
            display: flex;
            align-items: center;
            gap: 1rem;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .header-badge {
            background-color: var(--bg-code);
            color: var(--text-secondary);
            padding: 0.35rem 0.75rem;
            border-radius: 4px;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .trust-marker {
            color: var(--accent);
            font-weight: 600;
        }

        /* =====================================================
           HERO SECTION
           ===================================================== */
        [data-content="hero"] {
            max-width: none;
            width: 100%;
            background-color: var(--bg-page);
            padding-top: 3rem;
            padding-bottom: 3rem;
            margin-bottom: var(--section-gap);
            text-align: center;
        }

        [data-content="hero"] .hero-container {
            max-width: var(--content-width);
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        [data-content="hero"] .hero-rubric {
            position: relative;
            z-index: 1;
            display: inline-block;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--accent);
            margin-bottom: 1rem;
        }

        [data-content="hero"] h1 {
            position: relative;
            z-index: 1;
            text-align: center;
            margin: 0 auto 1.5rem;
            max-width: 680px;
        }

        [data-content="hero"] .hero-byline {
            position: relative;
            z-index: 1;
            font-size: 1rem;
            color: var(--text-secondary);
            margin-bottom: 2rem;
        }

        [data-content="hero"] figure {
            position: relative;
            z-index: 1;
            max-width: 100%;
            margin: 0 auto;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        }

        [data-content="hero"] figure img {
            width: 100%;
            height: auto;
            display: block;
        }

        /* =====================================================
           TLDR COMPONENT
           ===================================================== */
        .tldr {
            background-color: var(--bg-card);
            border-left: 4px solid var(--accent);
            padding: 1.5rem 2rem;
            border-radius: 0 8px 8px 0;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
            margin-top: 0;
            margin-bottom: var(--section-gap);
        }

        .tldr h2 {
            font-size: 1.125rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 1rem;
            text-transform: none;
            letter-spacing: normal;
        }

        .tldr ul {
            margin-bottom: 0;
            padding-left: 1.25rem;
        }

        .tldr li {
            font-size: 1rem;
            color: var(--text-secondary);
            margin-bottom: 0.75rem;
        }

        .tldr li:last-child {
            margin-bottom: 0;
        }

        /* =====================================================
           TABLE OF CONTENTS (ACCORDION)
           ===================================================== */
        [data-content="toc"] {
            margin-bottom: var(--section-gap);
        }

        .toc-accordion {
            background-color: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 8px;
            overflow: hidden;
        }

        .toc-accordion summary {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem 1.5rem;
            cursor: pointer;
            font-family: var(--font-heading);
            font-weight: 600;
            font-size: 1rem;
            color: var(--text-primary);
            list-style: none;
            transition: background-color var(--transition-fast);
        }

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

        .toc-accordion summary::after {
            content: '+';
            font-size: 1.25rem;
            font-weight: 400;
            color: var(--accent);
            transition: transform var(--transition-base);
        }

        .toc-accordion[open] summary::after {
            content: '−';
        }

        .toc-accordion summary:hover {
            background-color: var(--bg-code);
        }

        .toc-accordion > div {
            overflow: hidden;
            max-height: 0;
            opacity: 0;
            transition: max-height 0.35s ease, opacity 0.3s ease;
        }

        .toc-accordion[open] > div {
            max-height: 600px;
            opacity: 1;
        }

        .toc-list {
            padding: 0 1.5rem 1.5rem;
            list-style: none;
        }

        .toc-list > li {
            margin-bottom: 0.5rem;
        }

        .toc-list a {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.95rem;
            transition: color var(--transition-fast);
        }

        .toc-list a:hover {
            color: var(--accent);
        }

        .toc-sublist {
            list-style: none;
            padding-left: 1.25rem;
            margin-top: 0.5rem;
        }

        .toc-sublist li {
            margin-bottom: 0.35rem;
        }

        .toc-sublist a {
            font-size: 0.875rem;
            color: var(--text-muted);
        }

        .toc-sublist a:hover {
            color: var(--accent);
        }

        /* =====================================================
           COMPONENT: INFO-BOX
           ===================================================== */
        .info-box {
            background-color: var(--bg-code);
            border-left: 4px solid var(--accent);
            padding: 1.25rem 1.5rem;
            border-radius: 0 6px 6px 0;
            margin: 1.5rem 0;
        }

        .info-box p {
            margin-bottom: 0;
            color: var(--text-secondary);
            font-size: 1rem;
        }

        .info-box p:not(:last-child) {
            margin-bottom: 0.75rem;
        }

        /* =====================================================
           COMPONENT: CALLOUT
           ===================================================== */
        .callout {
            background-color: var(--accent-light);
            padding: 1.25rem 1.5rem;
            border-radius: 6px;
            margin: 1.5rem 0;
        }

        .callout p {
            margin-bottom: 0;
            color: var(--text-primary);
            font-size: 1rem;
        }

        .callout p strong {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
        }

        .callout.warning {
            background-color: #fef3c7;
            border-left: 4px solid var(--warning);
        }

        .callout.danger {
            background-color: #fee2e2;
            border-left: 4px solid var(--error);
        }

        /* =====================================================
           COMPONENT: KEY-TAKEAWAY
           ===================================================== */
        .key-takeaway {
            border-top: 2px solid var(--accent);
            padding-top: 1rem;
            margin: 2rem 0;
        }

        .key-takeaway p {
            font-family: var(--font-heading);
            font-size: 1.125rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0;
            line-height: 1.5;
        }

        /* =====================================================
           COMPONENT: FUN-FACT
           ===================================================== */
        .fun-fact {
            position: relative;
            padding-left: 1.5rem;
            margin: 1.5rem 0;
        }

        .fun-fact::before {
            content: '—';
            position: absolute;
            left: 0;
            top: 0;
            color: var(--accent);
            font-weight: 700;
        }

        .fun-fact p {
            font-style: italic;
            color: var(--text-secondary);
            margin-bottom: 0;
        }

        /* =====================================================
           COMPONENT: GLOSSARY-TERM
           ===================================================== */
        .glossary-term {
            display: flex;
            align-items: baseline;
            gap: 0.75rem;
            margin: 1.25rem 0;
            padding: 1rem 0;
            border-bottom: 1px solid var(--border);
        }

        .glossary-term p {
            margin-bottom: 0;
        }

        .glossary-term strong {
            font-family: var(--font-mono);
            color: var(--accent);
            text-decoration: underline;
            text-underline-offset: 3px;
            flex-shrink: 0;
        }

        /* =====================================================
           COMPONENT: ODDS-EXAMPLE
           ===================================================== */
        .odds-example {
            background-color: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1.5rem 0;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        }

        .odds-example p {
            font-family: var(--font-mono);
            font-size: 0.95rem;
            margin-bottom: 0.5rem;
            text-align: left;
        }

        .odds-example p:first-child {
            font-family: var(--font-heading);
            font-weight: 700;
            font-size: 1rem;
            color: var(--text-primary);
            margin-bottom: 1rem;
            border-bottom: 1px solid var(--border);
            padding-bottom: 0.75rem;
        }

        .odds-example p:last-child {
            margin-bottom: 0;
        }

        .odds-example strong {
            color: var(--accent);
        }

        /* =====================================================
           COMPONENT: COMPARISON
           ===================================================== */
        .comparison {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            margin: 1.5rem 0;
        }

        .comparison > div {
            background-color: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 1.25rem;
        }

        .comparison p {
            text-align: left;
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
        }

        .comparison p:first-child {
            font-family: var(--font-heading);
            font-weight: 700;
            font-size: 1rem;
            color: var(--text-primary);
            margin-bottom: 0.75rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--accent);
        }

        .comparison p:last-child {
            margin-bottom: 0;
        }

        /* =====================================================
           COMPONENT: AT-A-GLANCE
           ===================================================== */
        .at-a-glance {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1px;
            background-color: var(--border);
            border: 1px solid var(--border);
            border-radius: 8px;
            overflow: hidden;
            margin: 1.5rem 0;
        }

        .at-a-glance > div {
            background-color: var(--bg-card);
            padding: 1.25rem;
            text-align: center;
        }

        .at-a-glance p {
            text-align: center;
            margin-bottom: 0;
        }

        .at-a-glance p:first-child {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: var(--text-muted);
            margin-bottom: 0.5rem;
        }

        .at-a-glance p:first-child strong {
            font-weight: 600;
        }

        .at-a-glance p:last-child {
            font-family: var(--font-mono);
            font-size: 0.875rem;
            color: var(--text-primary);
            font-weight: 500;
        }

        /* =====================================================
           COMPONENT: WORKED-EXAMPLE
           ===================================================== */
        .worked-example {
            background-color: var(--bg-code);
            padding: 1.5rem 2rem;
            border-radius: 8px;
            margin: 1.5rem 0;
        }

        .worked-example p {
            font-family: var(--font-mono);
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
            text-align: left;
        }

        .worked-example p:first-child {
            font-family: var(--font-heading);
            font-weight: 700;
            font-size: 1rem;
            color: var(--text-primary);
            margin-bottom: 1rem;
        }

        .worked-example p:last-child {
            margin-bottom: 0;
        }

        .worked-example strong {
            color: var(--accent);
        }

        /* =====================================================
           COMPONENT: PRE-BET-CHECKLIST
           ===================================================== */
        .pre-bet-checklist {
            margin: 1.5rem 0;
        }

        .pre-bet-checklist p:first-child {
            font-family: var(--font-heading);
            font-size: 0.8rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: var(--accent);
            margin-bottom: 1rem;
        }

        .pre-bet-checklist ul {
            list-style: none;
            padding-left: 0;
            border-left: 2px solid var(--border);
            padding-left: 1.5rem;
            margin-bottom: 0;
        }

        .pre-bet-checklist li {
            position: relative;
            padding-left: 1.5rem;
            margin-bottom: 0.75rem;
        }

        .pre-bet-checklist li::before {
            content: '☐';
            position: absolute;
            left: 0;
            top: 0;
            color: var(--accent);
            font-size: 1rem;
            background-color: var(--bg-page);
            padding-right: 0.25rem;
            margin-left: -1.65rem;
        }

        .pre-bet-checklist li:last-child {
            margin-bottom: 0;
        }

        /* =====================================================
           COMPONENT: DOS-DONTS
           ===================================================== */
        .dos-donts {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            margin: 1.5rem 0;
        }

        .dos-donts > div:first-child {
            border-left: 3px solid var(--success);
            padding-left: 1rem;
        }

        .dos-donts > div:last-child {
            border-left: 3px solid var(--error);
            padding-left: 1rem;
        }

        .dos-donts p:first-child {
            font-family: var(--font-heading);
            font-weight: 700;
            font-size: 0.875rem;
            margin-bottom: 0.75rem;
        }

        .dos-donts > div:first-child p:first-child {
            color: var(--success);
        }

        .dos-donts > div:last-child p:first-child {
            color: var(--error);
        }

        .dos-donts ul {
            margin-bottom: 0;
            padding-left: 1.25rem;
        }

        .dos-donts li {
            font-size: 0.95rem;
        }

        /* =====================================================
           COMPONENT: SECTION-BRIDGE
           ===================================================== */
        .section-bridge {
            text-align: center;
            font-style: italic;
            color: var(--accent);
            margin: 2rem 0;
            position: relative;
        }

        .section-bridge::before,
        .section-bridge::after {
            content: '· · ·';
            color: var(--border-strong);
            font-style: normal;
            margin: 0 0.75rem;
        }

        /* =====================================================
           COMPONENT: AUTHOR-BIO
           ===================================================== */
        .author-bio {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.875rem;
            color: var(--text-secondary);
            font-style: italic;
            border-top: 1px solid var(--border);
            padding-top: 1rem;
            margin-top: 2rem;
        }

        /* =====================================================
           FAQ SECTION
           ===================================================== */
        [data-content="faq"] details {
            border-bottom: 1px solid var(--border);
        }

        [data-content="faq"] details:first-of-type {
            border-top: 1px solid var(--border);
        }

        [data-content="faq"] summary {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1.25rem 0;
            cursor: pointer;
            font-family: var(--font-heading);
            font-weight: 600;
            font-size: 1.05rem;
            color: var(--text-primary);
            list-style: none;
            transition: color var(--transition-fast);
        }

        [data-content="faq"] summary::-webkit-details-marker {
            display: none;
        }

        [data-content="faq"] summary::after {
            content: '+';
            font-size: 1.5rem;
            font-weight: 400;
            color: var(--accent);
            flex-shrink: 0;
            margin-left: 1rem;
            transition: transform var(--transition-base);
        }

        [data-content="faq"] details[open] summary::after {
            content: '−';
        }

        [data-content="faq"] summary:hover {
            color: var(--accent);
        }

        [data-content="faq"] details > div {
            overflow: hidden;
            max-height: 0;
            opacity: 0;
            transition: max-height 0.35s ease, opacity 0.3s ease;
        }

        [data-content="faq"] details[open] > div {
            max-height: 500px;
            opacity: 1;
        }

        [data-content="faq"] details > div p {
            padding-bottom: 1.25rem;
            color: var(--text-secondary);
        }

        /* =====================================================
           FOOTER
           ===================================================== */
        .site-footer {
            background-color: var(--bg-footer);
            color: var(--text-inverse);
            padding: 3rem 1.5rem 1.5rem;
            margin-top: var(--section-gap);
        }

        .footer-grid {
            max-width: 1000px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer-col h4 {
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--text-inverse);
            margin-bottom: 1rem;
        }

        .footer-col p,
        .footer-col li {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.6;
        }

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

        .footer-col li {
            margin-bottom: 0.5rem;
        }

        .footer-col a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            transition: color var(--transition-fast);
        }

        .footer-col a:hover {
            color: var(--accent);
        }

        .footer-bottom {
            max-width: 1000px;
            margin: 0 auto;
            padding-top: 1.5rem;
            text-align: center;
        }

        .footer-bottom p {
            font-size: 0.75rem;
            color: rgba(255, 255, 255, 0.5);
            margin-bottom: 0.5rem;
        }

        .footer-logo img {
            height: 28px;
            width: auto;
            opacity: 0.8;
            filter: brightness(0) invert(1);
            margin-bottom: 0.75rem;
        }

        /* =====================================================
           MEDIA QUERIES
           ===================================================== */
        @media (max-width: 900px) {
            .at-a-glance {
                grid-template-columns: repeat(2, 1fr);
            }

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

        @media (max-width: 768px) {
            :root {
                --section-gap: 3rem;
            }

            [data-content] {
                padding-left: 1rem;
                padding-right: 1rem;
            }

            .header-inner {
                flex-wrap: wrap;
            }

            .site-logo img {
                height: 32px;
            }

            [data-content="hero"] {
                padding-top: 2rem;
                padding-bottom: 2rem;
            }

            [data-content="hero"] .hero-container {
                padding: 0 1rem;
            }

            .comparison {
                grid-template-columns: 1fr;
            }

            .at-a-glance {
                grid-template-columns: 1fr;
            }

            .dos-donts {
                grid-template-columns: 1fr;
            }

            .glossary-term {
                flex-direction: column;
                gap: 0.25rem;
            }

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

            .tldr {
                padding: 1.25rem 1.5rem;
            }
        }

        @media (max-width: 480px) {
            body {
                font-size: 1rem;
            }

            .header-meta {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
            }

            .odds-example,
            .worked-example {
                padding: 1rem;
            }

            [data-content="faq"] summary {
                font-size: 0.95rem;
            }
        }

/* =========================================
   UNIVERSAL DESKTOP & MOBILE MENU + LOGO
   ========================================= */

/* Header Base */
.site-header {
    background-color: var(--color-bg, #121212);
    border-bottom: 1px solid var(--color-border, #333333);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Mobile defaults for navigation bar */
.top-navigation-bar {
    width: 100%;
    margin: 0 auto;
    padding: 15px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Fixes */
.site-logo img {
    max-height: 55px; 
    width: auto !important; 
    display: block;
    transition: transform 0.2s ease;
}

.site-logo img:hover {
    transform: scale(1.02);
}

/* Desktop Menu */
.site-nav--desktop {
    display: none; 
}

/* Desktop Grid Layout: Logo left, Menu center */
@media (min-width: 1024px) {
    .top-navigation-bar {
        max-width: 100%;
        padding: 15px 40px; 
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }
    
    .site-logo {
        grid-column: 1;
        justify-self: start; 
        margin: 0;
    }

    .site-nav--desktop {
        display: block;
        grid-column: 2;
        justify-self: center; 
    }

    .mobile-controls {
        display: none; 
    }
    
    .menu-desktop {
        display: flex;
        gap: 30px;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .menu-desktop a {
        text-decoration: none;
        color: var(--color-text, #ffffff);
        font-family: var(--font-body, sans-serif);
        font-weight: 500;
        font-size: 16px;
        transition: color 0.2s ease;
    }
    
    .menu-desktop a:hover {
        color: var(--color-accent, #eab308);
    }
}

/* Mobile Burger Button */
.burger {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
    z-index: 1000;
}

.burger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--color-text, #ffffff);
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 2px;
}

/* Burger Animation to X */
.burger.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.burger.is-active span:nth-child(2) {
    opacity: 0;
}
.burger.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Slider */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%; 
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--color-bg, #121212);
    box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
    padding: 60px 30px;
}

.mobile-menu.is-open {
    right: 0; 
}

.mobile-menu__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 36px;
    line-height: 1;
    color: var(--color-text, #ffffff);
    cursor: pointer;
    transition: color 0.2s ease;
}

.mobile-menu__close:hover {
    color: var(--color-accent, #eab308);
}

.menu-mobile {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.menu-mobile a {
    text-decoration: none;
    color: var(--color-text, #ffffff);
    font-size: 20px;
    font-family: var(--font-display, sans-serif);
    font-weight: 600;
    display: block;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.menu-mobile a:hover {
    color: var(--color-accent, #eab308);
    padding-left: 10px; 
}

/* Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px); 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
    z-index: 998;
}

.mobile-menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
}





.sitemap-main{
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
}

.sitemap-title{
  margin: 0 0 8px;
  text-align: center;
}

.sitemap-subtitle{
  margin: 0 0 24px;
  text-align: center;
  opacity: 0.75;
}

.sitemap-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.sitemap-link{
  display: block;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  text-decoration: none;
}

.sitemap-link:hover{
  border-color: rgba(255,255,255,0.2);
}

/* ===== Universal hub (NO body_class needed) ===== */

main.hub-children-main{
  padding-bottom: 48px;
}

/* Article wrapper */
main.hub-children-main .hub-children-article{
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* Header */
main.hub-children-main .hub-children-header{
  text-align: center;
  margin-top: 24px;
  margin-bottom: 24px;
}

main.hub-children-main .hub-children-title{
  margin: 0 0 10px;
}

main.hub-children-main .hub-children-intro{
  max-width: 900px;
  margin: 0 auto;
  opacity: .9;
}

/* Grid */
main.hub-children-main .hub-children-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 12px;
}

/* Card */
main.hub-children-main .hub-children-card{
  display: block;
  text-decoration: none;
}

main.hub-children-main .hub-children-card__media{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
  transition: transform .22s ease, box-shadow .22s ease;
}

main.hub-children-main .hub-children-card:hover .hub-children-card__media{
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
}

/* Image */
main.hub-children-main .hub-children-card__img{
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
}

/* Overlay */
main.hub-children-main .hub-children-card__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0.42) 55%,
    rgba(0,0,0,0.70) 100%
  );
}

/* Text */
main.hub-children-main .hub-children-card__content{
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
}

main.hub-children-main .hub-children-card__title{
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 6px 18px rgba(0,0,0,.55);
}

/* Responsive */
@media (max-width: 1024px){
  main.hub-children-main .hub-children-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 640px){
  main.hub-children-main .hub-children-grid{
    grid-template-columns: 1fr;
  }
}

#crumbs {
    padding: 10px 0;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
    text-align: center; 
}

#crumbs a {
    text-decoration: none;
    color: #0073aa; 
}

#crumbs a:hover {
    text-decoration: underline;
}

#crumbs .current {
    font-weight: bold;
    color: rgb(0, 0, 0);
}

.home main > *:not([data-content="hero"]):not(.cl-header):not(header):not(.cl-hero),
.home main article > *:not([data-content="hero"]):not(.cl-header):not(header):not(.cl-hero) {
    max-width: var(--content-max-width, 940px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    box-sizing: border-box !important;
}

.home main iframe,
.home main article iframe {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
    width: 100% !important;
}

header,
.top-navigation-bar {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.menu-desktop a,
.site-header a,
.top-navigation-bar a,
.site-title,
.site-logo {
    color: #111827 !important;
    font-weight: 500;
}

.menu-desktop a:hover,
.site-header a:hover {
    color: #dc2626 !important; 
}

.burger span {
    background-color: #111827 !important;
}

.cl-hero img,
.content-article img,
img.article-image,
img.wp-post-image {
    max-width: 100%;
    width: 100%;
    height: auto !important; /* Forces height to scale proportionally with width */
    object-fit: cover; /* Prevents any remaining distortion */
    border-radius: 8px; /* Optional: adds modern rounded corners */
    display: block;
    margin: 0 auto;
}