/**
 * Theme Name: sportnieuws
 * Version: 1.0
 */
/* oswald-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/oswald-v57-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
 /* jetbrains-mono-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/jetbrains-mono-v24-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
 /* source-sans-3-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/source-sans-3-v19-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* source-sans-3-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/source-sans-3-v19-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* source-sans-3-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 600;
  src: url('fonts/source-sans-3-v19-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
    :root {
            --color-bg: #FAF9F7;
            --color-text: #1A1A1A;
            --color-text-secondary: #4A4A4A;
            --color-accent: #00875A;
            --color-accent-hover: #006644;
            --color-border: #E5E5E5;
            --color-surface: #F5F3EF;
            --color-success: #00875A;
            --color-danger: #C53030;
            --font-display: 'Oswald', sans-serif;
            --font-body: 'Source Serif 4', Georgia, serif;
            --font-mono: 'JetBrains Mono', monospace;
            --max-width: 1100px;
            --section-gap: 80px;
        }

        @media (prefers-color-scheme: dark) {
            :root {
                --color-bg: #1A1A1A;
                --color-text: #FAF9F7;
                --color-text-secondary: #B0B0B0;
                --color-accent: #2DD4A0;
                --color-accent-hover: #5AE8BC;
                --color-border: #333333;
                --color-surface: #252525;
            }
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            overflow-x: hidden;
        }

        body {
            margin: 0;
            padding: 0;
            background-color: var(--color-bg);
            color: var(--color-text);
            font-family: var(--font-body);
            font-size: 18px;
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

        /* Typography */
        h1, h2, h3 {
            font-family: var(--font-display);
            font-weight: 600;
            text-align: left;
        }

        h1 {
            font-size: clamp(36px, 8vw, 56px);
            line-height: 1.1;
            text-transform: uppercase;
            letter-spacing: -0.02em;
                margin: 18px auto;
            text-align: center;
        }

        h2 {
            font-size: clamp(28px, 5vw, 36px);
            line-height: 1.2;
            margin: 64px 0 24px 0;
            scroll-margin-top: 2rem;
        }

        h3 {
            font-family: var(--font-body);
            font-size: clamp(20px, 3vw, 24px);
            font-weight: 600;
            line-height: 1.3;
            margin: 40px 0 16px 0;
            scroll-margin-top: 2rem;
        }

        p {
            margin: 0 0 24px 0;
            text-align: left;
        }

        a {
            color: var(--color-accent);
            text-decoration: none;
            text-underline-offset: 3px;
            transition: color 0.2s ease;
        }

        a:hover {
            color: var(--color-accent-hover);
        }

        a:focus {
            outline: 2px solid var(--color-accent);
            outline-offset: 2px;
        }

        ul, ol {
            margin: 0 0 24px 0;
            padding-left: 24px;
            text-align: left;
        }

        li {
            margin-bottom: 8px;
        }

        strong {
            font-weight: 600;
        }

        blockquote {
            margin: 24px 0;
            padding: 16px 24px;
            border-left: 4px solid var(--color-accent);
            background: var(--color-surface);
            font-style: italic;
            text-align: left;
        }

        figure {
            margin: 32px auto;
            max-width: 100%;
        }

        figcaption {
            font-size: 14px;
            color: var(--color-text-secondary);
            text-align: center;
            margin-top: 12px;
            line-height: 1.5;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        .hero-image {
            width: 100%;
            max-width: 100%;
            height: auto;
            display: block;
            margin: 0 auto;
            border-radius: 4px;
        }

        .article-image {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 0 auto;
            border-radius: 4px;
        }

        /* Layout */
        header {
            margin: 0;
            padding: 0;
        }

        main {
            width: 100%;
        }

        .container{
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 15px;
        }

        [data-content]:first-of-type {
            padding-top: 0;
        }

        /* Hero Section */
        [data-content="hero"] {
            max-width: 100%;
            padding: 0;
            margin: 0;
            position: relative;
            overflow: hidden;
        }

        .hero-inner {
            position: relative;
            
            background: linear-gradient(
                to bottom,
                rgba(0, 135, 90, 0.03) 0%,
                var(--color-bg) 100%
            );
        }

        .hero-inner::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                conic-gradient(
                    from 0deg at 50% 50%,
                    rgba(26, 26, 26, 0.04) 0deg,
                    rgba(200, 30, 30, 0.03) 9.73deg,
                    rgba(26, 26, 26, 0.04) 19.46deg,
                    rgba(200, 30, 30, 0.03) 29.19deg,
                    rgba(26, 26, 26, 0.04) 38.92deg,
                    rgba(200, 30, 30, 0.03) 48.65deg,
                    rgba(26, 26, 26, 0.04) 58.38deg,
                    rgba(0, 135, 90, 0.05) 68.11deg,
                    rgba(26, 26, 26, 0.04) 77.84deg,
                    rgba(200, 30, 30, 0.03) 87.57deg,
                    rgba(26, 26, 26, 0.04) 97.3deg,
                    rgba(200, 30, 30, 0.03) 107.03deg,
                    rgba(26, 26, 26, 0.04) 116.76deg,
                    rgba(200, 30, 30, 0.03) 126.49deg,
                    rgba(26, 26, 26, 0.04) 136.22deg,
                    rgba(200, 30, 30, 0.03) 145.95deg,
                    rgba(26, 26, 26, 0.04) 155.68deg,
                    rgba(200, 30, 30, 0.03) 165.41deg,
                    rgba(26, 26, 26, 0.04) 175.14deg,
                    rgba(200, 30, 30, 0.03) 184.87deg,
                    rgba(26, 26, 26, 0.04) 194.6deg,
                    rgba(200, 30, 30, 0.03) 204.33deg,
                    rgba(26, 26, 26, 0.04) 214.06deg,
                    rgba(200, 30, 30, 0.03) 223.79deg,
                    rgba(26, 26, 26, 0.04) 233.52deg,
                    rgba(200, 30, 30, 0.03) 243.25deg,
                    rgba(26, 26, 26, 0.04) 252.98deg,
                    rgba(0, 135, 90, 0.05) 262.71deg,
                    rgba(26, 26, 26, 0.04) 272.44deg,
                    rgba(200, 30, 30, 0.03) 282.17deg,
                    rgba(26, 26, 26, 0.04) 291.9deg,
                    rgba(200, 30, 30, 0.03) 301.63deg,
                    rgba(26, 26, 26, 0.04) 311.36deg,
                    rgba(200, 30, 30, 0.03) 321.09deg,
                    rgba(26, 26, 26, 0.04) 330.82deg,
                    rgba(200, 30, 30, 0.03) 340.55deg,
                    rgba(26, 26, 26, 0.04) 350.28deg,
                    rgba(26, 26, 26, 0.04) 360deg
                );
            mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 0%, transparent 70%);
            -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 0%, transparent 70%);
            pointer-events: none;
            opacity: 0.7;
        }

        @media (prefers-color-scheme: dark) {
            .hero-inner::before {
                background: 
                    conic-gradient(
                        from 0deg at 50% 50%,
                        rgba(250, 249, 247, 0.03) 0deg,
                        rgba(200, 60, 60, 0.04) 9.73deg,
                        rgba(250, 249, 247, 0.03) 19.46deg,
                        rgba(200, 60, 60, 0.04) 29.19deg,
                        rgba(250, 249, 247, 0.03) 38.92deg,
                        rgba(200, 60, 60, 0.04) 48.65deg,
                        rgba(250, 249, 247, 0.03) 58.38deg,
                        rgba(45, 212, 160, 0.06) 68.11deg,
                        rgba(250, 249, 247, 0.03) 77.84deg,
                        rgba(200, 60, 60, 0.04) 87.57deg,
                        rgba(250, 249, 247, 0.03) 97.3deg,
                        rgba(200, 60, 60, 0.04) 107.03deg,
                        rgba(250, 249, 247, 0.03) 116.76deg,
                        rgba(200, 60, 60, 0.04) 126.49deg,
                        rgba(250, 249, 247, 0.03) 136.22deg,
                        rgba(200, 60, 60, 0.04) 145.95deg,
                        rgba(250, 249, 247, 0.03) 155.68deg,
                        rgba(200, 60, 60, 0.04) 165.41deg,
                        rgba(250, 249, 247, 0.03) 175.14deg,
                        rgba(200, 60, 60, 0.04) 184.87deg,
                        rgba(250, 249, 247, 0.03) 194.6deg,
                        rgba(200, 60, 60, 0.04) 204.33deg,
                        rgba(250, 249, 247, 0.03) 214.06deg,
                        rgba(200, 60, 60, 0.04) 223.79deg,
                        rgba(250, 249, 247, 0.03) 233.52deg,
                        rgba(200, 60, 60, 0.04) 243.25deg,
                        rgba(250, 249, 247, 0.03) 252.98deg,
                        rgba(45, 212, 160, 0.06) 262.71deg,
                        rgba(250, 249, 247, 0.03) 272.44deg,
                        rgba(200, 60, 60, 0.04) 282.17deg,
                        rgba(250, 249, 247, 0.03) 291.9deg,
                        rgba(200, 60, 60, 0.04) 301.63deg,
                        rgba(250, 249, 247, 0.03) 311.36deg,
                        rgba(200, 60, 60, 0.04) 321.09deg,
                        rgba(250, 249, 247, 0.03) 330.82deg,
                        rgba(200, 60, 60, 0.04) 340.55deg,
                        rgba(250, 249, 247, 0.03) 350.28deg,
                        rgba(250, 249, 247, 0.03) 360deg
                    );
            }
        }

        .hero-content {
            max-width: var(--max-width);
            margin: 0 auto;
            text-align: center;
            position: relative;
            z-index: 1;
        }

        .hero-rubric {
            font-family: var(--font-body);
            font-size: 14px;
            font-weight: 400;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            color: var(--color-accent);
            margin: 0 0 16px 0;
            text-align: center;
        }

        .hero-content h1 {
            text-align: center;
            margin: 0 0 20px 0;
        }

        .hero-subtitle {
            font-size: clamp(18px, 2.5vw, 20px);
            color: var(--color-text-secondary);
            max-width: 600px;
            margin: 0 auto 32px auto;
            line-height: 1.6;
            text-align: center;
        }

        .hero-divider {
            width: 60px;
            height: 3px;
            background: var(--color-accent);
            margin: 0 auto 32px auto;
            border: none;
        }

        .hero-meta {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 16px;
            flex-wrap: wrap;
            font-size: 14px;
            color: var(--color-text-secondary);
            margin-bottom: 40px;
        }

        .hero-meta time {
            font-family: var(--font-body);
        }

        .updated-badge {
            display: inline-block;
            padding: 4px 12px;
            background: var(--color-accent);
            color: var(--color-bg);
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            border-radius: 2px;
        }

        .hero-figure {
           
            padding-bottom: 2.5rem;
        }

        .hero-figure img {
            border-radius: 4px;
            box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
        }

        .hero-cta {
            margin-top: 32px;
        }

        .btn-primary {
            display: inline-block;
            padding: 14px 32px;
            background: var(--color-accent);
            color: var(--color-bg);
            font-family: var(--font-display);
            font-size: 16px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            text-decoration: none;
            border-radius: 4px;
            transition: background-color 0.2s ease, transform 0.2s ease;
        }

        .btn-primary:hover {
            background: var(--color-accent-hover);
            color: var(--color-bg);
            transform: translateY(-2px);
        }

        .btn-primary:focus {
            outline: 2px solid var(--color-accent);
            outline-offset: 4px;
        }

        /* TOC Section - Grid Layout */
        [data-content="toc"] {
            max-width: 860px;
            padding-top: 48px;
            padding-bottom: 48px;
            border-bottom: 1px solid var(--color-border);
        }

        .toc-title {
            font-family: var(--font-display);
            font-size: 14px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--color-text-secondary);
            margin: 0 0 24px 0;
        }

        .toc-list {
            column-count: 2;
            column-gap: 48px;
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .toc-item {
            break-inside: avoid;
            margin-bottom: 20px;
        }

        .toc-link {
            font-family: var(--font-body);
            font-size: 17px;
            font-weight: 600;
            color: var(--color-text);
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .toc-link:hover {
            color: var(--color-accent);
        }

        .toc-sublist {
            list-style: none;
            padding: 8px 0 0 16px;
            margin: 0;
        }

        .toc-sublist li {
            margin-bottom: 8px;
        }

        .toc-sublist a {
            font-size: 15px;
            font-weight: 400;
            color: var(--color-text-secondary);
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .toc-sublist a:hover {
            color: var(--color-accent);
        }

        @media (max-width: 600px) {
            .toc-list {
                column-count: 1;
            }
        }

        /* Components */
        
        /* Info Box */
        .info-box {
            border-left: 4px solid var(--color-accent);
            background: var(--color-surface);
            padding: 24px 28px;
            margin: 48px 0;
        }

        .info-box p {
            margin: 0 0 16px 0;
            text-align: left;
        }

        .info-box p:last-child {
            margin-bottom: 0;
        }

        .info-box strong {
            font-family: var(--font-body);
            font-size: 16px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            color: var(--color-text-secondary);
        }

        .info-box ul,
        .info-box ol {
            margin: 0;
            padding-left: 20px;
            text-align: left;
        }

        .info-box li {
            margin-bottom: 8px;
        }

        .info-box li:last-child {
            margin-bottom: 0;
        }

        /* Calc Example */
        .calc-example {
            background: #1A1A1A;
            color: #FAF9F7;
            padding: 32px;
            margin: 48px 0;
            border-radius: 4px;
        }

        @media (prefers-color-scheme: dark) {
            .calc-example {
                background: #0D0D0D;
                color: #FAF9F7;
            }
        }

        .calc-example p {
            font-family: var(--font-mono);
            font-size: 15px;
            line-height: 1.8;
            margin: 0 0 12px 0;
            text-align: left;
            color: #FAF9F7;
        }

        .calc-example p:first-child {
            font-family: var(--font-body);
            font-weight: 600;
            font-size: 16px;
            margin-bottom: 20px;
            padding-bottom: 16px;
            border-bottom: 1px solid rgba(250, 249, 247, 0.2);
            color: #FAF9F7;
        }

        .calc-example p:last-child {
            margin-top: 20px;
            padding-top: 16px;
            border-top: 1px solid rgba(250, 249, 247, 0.2);
            color: #2DD4A0;
            margin-bottom: 0;
        }

        .calc-example strong {
            color: #2DD4A0;
        }

        /* Callout */
        .callout {
            border: 2px solid var(--color-accent);
            background: transparent;
            padding: 20px 24px 20px 60px;
            margin: 48px 0;
            position: relative;
        }

        .callout::before {
            content: '';
            position: absolute;
            left: 20px;
            top: 22px;
            width: 24px;
            height: 24px;
            background: var(--color-accent);
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
            -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
            mask-size: contain;
            -webkit-mask-size: contain;
        }

        .callout p {
            font-style: italic;
            margin: 0 0 12px 0;
            text-align: left;
        }

        .callout p:last-child {
            margin-bottom: 0;
        }

        .callout strong {
            font-style: normal;
            display: block;
            margin-bottom: 8px;
        }

        /* Glossary Term */
        .glossary-term {
            display: flex;
            align-items: baseline;
            gap: 12px;
            margin: 24px 0;
        }

        .glossary-term p {
            margin: 0;
            text-align: left;
        }

        .glossary-term strong {
            font-family: var(--font-mono);
            color: var(--color-accent);
            text-decoration: underline;
            text-decoration-style: dotted;
            text-underline-offset: 4px;
            white-space: nowrap;
        }

        @media (max-width: 500px) {
            .glossary-term {
                flex-direction: column;
                gap: 4px;
            }
        }

        /* Worked Example */
        .worked-example {
            background: var(--color-surface);
            border-top: 4px solid var(--color-accent);
            padding: 32px;
            margin: 48px 0;
        }

        .worked-example p {
            font-family: var(--font-mono);
            font-size: 15px;
            line-height: 1.8;
            margin: 0 0 16px 0;
            text-align: left;
            position: relative;
            padding-left: 32px;
        }

        .worked-example p:first-child {
            font-family: var(--font-body);
            font-weight: 600;
            font-size: 17px;
            padding-left: 0;
            margin-bottom: 24px;
        }

        .worked-example p:not(:first-child):not(:last-child)::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--color-accent);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .worked-example p:last-child {
            font-family: var(--font-body);
            font-weight: 600;
            margin-top: 24px;
            padding-top: 16px;
            padding-left: 0;
            border-top: 2px solid var(--color-accent);
            color: var(--color-accent);
            margin-bottom: 0;
        }

        .worked-example strong {
            color: var(--color-accent);
        }

        /* Pre-game Checklist */
        .pre-game-checklist {
            margin: 48px 0;
        }

        .pre-game-checklist p {
            font-family: var(--font-display);
            font-size: 14px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--color-accent);
            margin: 0 0 20px 0;
            text-align: left;
        }

        .pre-game-checklist ul {
            list-style: none;
            padding: 0 0 0 24px;
            margin: 0;
            border-left: 2px solid var(--color-border);
        }

        .pre-game-checklist li {
            position: relative;
            padding-left: 28px;
            margin-bottom: 16px;
        }

        .pre-game-checklist li:last-child {
            margin-bottom: 0;
        }

        .pre-game-checklist li::before {
            content: '\2610';
            position: absolute;
            left: -13px;
            top: 0;
            font-size: 18px;
            color: var(--color-accent);
            background: var(--color-bg);
            padding: 0 4px;
        }

        /* Fun Fact */
        .fun-fact {
            position: relative;
            padding-left: 20px;
            margin: 32px 0;
        }

        .fun-fact::before {
            content: '\2014';
            position: absolute;
            left: 0;
            top: 0;
            color: var(--color-accent);
            font-weight: 600;
        }

        .fun-fact p {
            font-style: italic;
            font-size: 16px;
            color: var(--color-text-secondary);
            margin: 0;
            text-align: left;
        }

        /* Comparison */
        .comparison {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0;
            margin: 48px 0;
            border: 1px solid var(--color-border);
        }

        .comparison > div {
            padding: 24px;
        }

        .comparison > div:first-child {
            border-right: 1px solid var(--color-border);
        }

        .comparison p {
            margin: 0 0 16px 0;
            text-align: left;
        }

        .comparison strong {
            font-family: var(--font-display);
            font-size: 18px;
            font-weight: 600;
        }

        .comparison ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .comparison li {
            padding: 8px 0;
            border-bottom: 1px solid var(--color-border);
            font-size: 15px;
        }

        .comparison li:last-child {
            border-bottom: none;
        }

        @media (max-width: 600px) {
            .comparison {
                grid-template-columns: 1fr;
            }

            .comparison > div:first-child {
                border-right: none;
                border-bottom: 1px solid var(--color-border);
            }
        }

        /* Key Takeaway */
        .key-takeaway {
            border-top: 3px solid var(--color-accent);
            padding-top: 24px;
            margin: 48px 0 24px 0;
        }

        .key-takeaway p {
            font-family: var(--font-display);
            font-size: clamp(20px, 3vw, 24px);
            font-weight: 600;
            line-height: 1.4;
            margin: 0;
            text-align: left;
        }

        /* Dos and Donts */
        .dos-donts {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0;
            margin: 48px 0;
        }

        .dos-donts > div {
            padding: 24px;
        }

        .dos-donts > div:first-child {
            background: rgba(0, 135, 90, 0.08);
            border: 1px solid var(--color-success);
        }

        .dos-donts > div:last-child {
            background: rgba(197, 48, 48, 0.08);
            border: 1px solid var(--color-danger);
        }

        .dos-donts p {
            font-family: var(--font-display);
            font-size: 16px;
            font-weight: 600;
            margin: 0 0 16px 0;
            text-align: left;
        }

        .dos-donts > div:first-child p {
            color: var(--color-success);
        }

        .dos-donts > div:last-child p {
            color: var(--color-danger);
        }

        .dos-donts ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .dos-donts li {
            padding: 8px 0;
            font-size: 15px;
        }

        @media (max-width: 600px) {
            .dos-donts {
                grid-template-columns: 1fr;
            }
        }

        /* At a Glance */
        .at-a-glance {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0;
            margin: 48px 0;
            border: 1px solid var(--color-border);
        }

        .at-a-glance > div {
            padding: 24px;
            border-right: 1px solid var(--color-border);
            text-align: center;
        }

        .at-a-glance > div:last-child {
            border-right: none;
        }

        .at-a-glance p:first-child {
            font-family: var(--font-display);
            font-size: 20px;
            font-weight: 600;
            margin: 0 0 8px 0;
            text-align: center;
        }

        .at-a-glance p {
            font-size: 14px;
            color: var(--color-text-secondary);
            margin: 0;
            text-align: center;
        }

        @media (max-width: 700px) {
            .at-a-glance {
                grid-template-columns: 1fr;
            }

            .at-a-glance > div {
                border-right: none;
                border-bottom: 1px solid var(--color-border);
            }

            .at-a-glance > div:last-child {
                border-bottom: none;
            }
        }

        /* Section Bridge */
        .section-bridge {
            text-align: center;
            margin: 48px 0;
            position: relative;
        }

        .section-bridge p {
            font-family: var(--font-body);
            font-style: italic;
            font-size: 18px;
            color: var(--color-accent);
            margin: 0;
            display: inline-block;
            padding: 0 24px;
            background: var(--color-bg);
            position: relative;
            z-index: 1;
            text-align: center;
        }

        .section-bridge::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background: var(--color-border);
        }

        /* Card Grid */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
            margin: 48px 0;
        }

        .card-grid > div {
            background: var(--color-surface);
            padding: 24px;
            border-radius: 4px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        }

        .card-grid p {
            margin: 0 0 12px 0;
            text-align: left;
        }

        .card-grid p:last-child {
            margin-bottom: 0;
        }

        .card-grid strong {
            font-family: var(--font-display);
            font-size: 18px;
        }

        /* FAQ Section */
        [data-content="faq"] details {
            border-bottom: 1px solid var(--color-border);
            interpolate-size: allow-keywords;
        }

        [data-content="faq"] details:first-of-type {
            border-top: 1px solid var(--color-border);
        }

        [data-content="faq"] summary {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
            cursor: pointer;
            font-family: var(--font-body);
            font-size: 17px;
            font-weight: 600;
            list-style: none;
        }

        [data-content="faq"] summary::-webkit-details-marker {
            display: none;
        }

        [data-content="faq"] summary::after {
            content: '+';
            font-family: var(--font-mono);
            font-size: 24px;
            font-weight: 400;
            color: var(--color-accent);
            transition: transform 0.3s ease;
            flex-shrink: 0;
            margin-left: 16px;
        }

        [data-content="faq"] details[open] summary::after {
            transform: rotate(45deg);
        }

        [data-content="faq"] summary:hover {
            color: var(--color-accent);
        }

        [data-content="faq"] summary:focus {
            outline: 2px solid var(--color-accent);
            outline-offset: 2px;
        }

        [data-content="faq"] details::details-content {
            opacity: 0;
            block-size: 0;
            overflow: hidden;
            transition: opacity 0.3s ease, block-size 0.3s ease, content-visibility 0.3s ease allow-discrete;
        }

        [data-content="faq"] details[open]::details-content {
            opacity: 1;
            block-size: auto;
        }

        [data-content="faq"] details > div {
            padding: 0 0 24px 0;
        }

        [data-content="faq"] details > div p {
            margin: 0 0 16px 0;
            text-align: left;
        }

        [data-content="faq"] details > div p:last-child {
            margin-bottom: 0;
        }

        @supports not selector(::details-content) {
            @keyframes faq-fade-in {
                from {
                    opacity: 0;
                    transform: translateY(-8px);
                }
                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }

            [data-content="faq"] details[open] > *:not(summary) {
                animation: faq-fade-in 0.3s ease forwards;
            }
        }

   
        /* Responsive */
        @media (max-width: 768px) {
            :root {
                --section-gap: 56px;
            }

            h2 {
                margin-top: 48px;
            }

            h3 {
                margin-top: 32px;
            }

          

            .callout {
                padding-left: 20px;
            }

            .callout::before {
                display: none;
            }
        }
    /* Image Styles for Roulette Not on GamStop Pillar Page */

/* Hero Image */
.hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

@media (prefers-color-scheme: dark) {
    .hero-image {
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.24);
    }
}

/* Article Images */
.article-image {
    margin: 40px auto;
    max-width: 100%;
    text-align: center;
}

.article-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.article-image img:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
    .article-image img {
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    }
    
    .article-image img:hover {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    }
}

.article-image figcaption {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 14px;
    line-height: 1.5;
    color: #4A4A4A;
    text-align: center;
    margin-top: 12px;
    padding: 0 16px;
}

@media (prefers-color-scheme: dark) {
    .article-image figcaption {
        color: #B0B0B0;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .article-image {
        margin: 32px auto;
    }
    
    .article-image figcaption {
        font-size: 13px;
        padding: 0 8px;
    }
}


/*  */

img {
	width: 100%;
	object-fit: cover;
	max-height: 700px;
}

.wp-block-image img {

	margin-bottom: 2rem;
}



/* ---. menu --- */
.header-top {
	position: fixed;

	width: 100%;
	color: #fff;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 11px;
 background: var(--color-accent);
	z-index: 1001;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}



.burger-logo {
	margin: 0;
	padding: 0;
}



.logo-wrapper {
	flex-wrap: nowrap !important;
	;
	display: flex !important;
	align-items: center !important;

	text-decoration: none;
}



.main-logo-img {

	max-height: 45px;
	width: auto;
	flex-shrink: 0;
}


.logo-text {
	
	white-space: nowrap;
	font-size: 1.4rem;
	font-weight: 700;
	text-transform: capitalize;
  color: #fff;
}


.logo-wrapper {
	display: flex !important;
	align-items: center !important;
	flex-wrap: nowrap !important;
	column-gap: 0.5rem !important;
}


.main-menu {
	gap: 1.2rem;
	display: flex;
}



.main-menu a {
	padding: 0 10px;
	display: inline-block;
	transition: color 0.3s;
}

.main-menu a:hover {
	color: inherit;

}

.menu-item__inner {
	display: inline-flex;
	justify-content: space-between;
	align-items: center;
	position: relative
}



.menu-toggle.active .icon-chevron {
	transform: rotate(180deg);
}

.menu-item-has-children>.sub-menu {
	display: none;
}

.menu-item-has-children>.sub-menu.active {
	display: block;
}

.sub-menu {
	display: none;
	min-width: 220px;
	width: 100%;
}

.main-navigation {
	top: 0;
	position: absolute;
	width: 100%;
	left: -100%;
	background-color: inherit;
	z-index: -1;
	overflow: auto;
}

.has-overlay {
	overflow: hidden;
}

.main-navigation.active {
	position: relative;
	color: inherit;
	background-color: inherit;
	left: 0;
	top: 3.5rem;
	height: 100vh;
	z-index: 9;
}

.main-navigation ul {
	margin: 0;
	padding: 0;
}

.menu-link {
	color: inherit;
	font-size: 0.9rem;
}

.menu-item-has-children:last-child .sub-menu,
.menu-item-has-children:nth-last-child(2) .sub-menu {
	right: 0;
	left: auto;
	padding: 0.9rem;
}

.sub-menu--level-2 {
	right: 100% !important;
	top: 0 !important;
	left: auto !important;
}

.sub-menu .sub-menu--level-2 li {
	margin-bottom: 0.9rem;
}


.main-menu li {
	position: relative;
	cursor: pointer;
	list-style-type: none;
	margin: 0;

}

.main-menu li.active {
	font-weight: 600;
	padding: 10px ;
  background:  #01090a1f;
	border-bottom: 4px solid rgb(255 255 255);

}

.burger-line {
	width: 100%;
	height: 3px;
	background-color: #fff;
	border-radius: 2px;
	transition: all 0.3s ease;
	position: absolute;
	left: 0;

}

.burger-line:nth-child(1) {
	top: 0;
}

.burger-line:nth-child(2) {
	top: 48%;
	transform: translateY(-50%);
}

.burger-line:nth-child(3) {
	bottom: 2px;
}

.js-burger {
	flex-direction: column;
	cursor: pointer;
	width: 30px;
	height: 25px;
	position: absolute;
	z-index: 1003;
	background: none;
	border: none;
	padding: 0.5rem;
	right: 2rem;
	top: 1rem;


}

.js-burger.active .burger-line:nth-child(1) {
	transform: rotate(45deg) translate(6px, 7px);
}

.js-burger.active .burger-line:nth-child(2) {
	opacity: 0;
}

.js-burger.active .burger-line:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -8px);
}

.main-navigation::after {
	display: block;
	content: '';
	position: relative;
	width: 100%;
	height: 5rem;
}


.main-navigation::after {
	display: block;
	content: '';
	position: relative;
	width: 100%;
	height: 5rem;
}

.main-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	column-gap: 1.4rem;
	row-gap: 1rem;
	margin: 0;
	padding: 0;
}

.burger-logo {

	white-space: nowrap;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	column-gap: 0.5rem;

}

.burger-logo a {
	font-size: clamp(0.5rem, 1.1rem + 1.1vw, 1.5rem) !important;

	z-index: 2;
	color: var(--color-primary);
	text-decoration: none;
}

.burger-logo a:hover {
	color: #fff !important;
}



/* Responsive */
@media(min-width: 1100px) {


	.container-casa {
		padding: 7rem 0 2rem;
		text-align: center;
		max-width: 80rem;
		margin: auto;
	}

	.menu-toggle {
		padding: 3px;

	}

	.main-navigation {
		overflow: visible;
		justify-content: end;
		display: flex;
	}

	.header-nav {
		display: flex;
		align-items: center;
		margin: auto;
  
		padding: 0 2rem;
		width: 100%;
	}

	.header-nav a {
		display: flex;
		text-transform: capitalize;

		text-decoration: none;
		transition: color var(--transition);
		font-size: 1.1rem;
		flex-wrap: wrap;

		align-items: center;
		column-gap: 1.4rem;
		row-gap: 1rem;
		margin: 0;
		padding: 0 3px;

		z-index: 1000;

		margin-bottom: 0;
	}


	.sub-menu {
		display: none;
		min-width: 280px;
		max-width: 320px;
		width: 100%;
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 8;
		
	}

	.sub-menu a {
		color: #fff;
	}

	.header>.container {
		flex-wrap: nowrap;
	}

	.main-navigation::after {
		display: none;
	}

	.menu-item-has-children:hover>.sub-menu {
		display: block;
	}

	.main-navigation {

		top: 0;
		position: absolute;
		left: -100%;
		background-color: inherit;
		z-index: 9;

	}

	.icon-chevron {
		width: 1.2em;
		height: 1.2em;
		vertical-align: middle;
	}



	.js-burger {
		display: none;
	}

	.main-navigation {
		position: inherit;
	}

	.wp-block-image {
		margin: 2rem 0;
	}
}




@media (max-width: 1100px) {


	.wide-image-container {
		margin-left: calc(-2 * var(--space-xl));
		margin-right: calc(-2 * var(--space-xl));
		border-radius: var(--img-radius);
	}

	.burger-logo {
		display: flex;
		align-items: center;
		text-transform: uppercase;
		top: 0.5rem;
		left: 1.1rem;
		z-index: 2;
		position: absolute;
	}

	.burger-logo a {
		color: #ffffff !important;

	}

	.main-navigation ul {
		display: block;
	}

	.site-branding nav {

		background: none;
		border-radius: var(--radius);

		margin-bottom: calc(var(--gap) * 1.5);
		box-shadow: none;
		border: none;
	}


	.header-nav {
		display: flex;

	}

	.main-menu li {
		text-align: left;
		margin-top: 21px;
	}

	.sub-menu li {
		margin-top: 0 !important;
		padding: 0.2rem 1rem;
	}

	.main-menu li.active {
		border-bottom: none;

	}

	.header-nav a {
		font-size: 1.2rem;
	}

	.menu-item-has-children>.sub-menu.active {
		margin-left: 0.8rem;
	}


	.header-top {
		position: relative;
		min-height: 57px;
		display: flex;
		align-items: center;
	
	}
}

/* end menu */

.container-casa p {
	text-align: center;
	font-size: 1.3rem;
	max-width: 700px;
	margin: 1rem auto ;
}

.sitemap-content {
	margin: 30px 0;
}

.sitemap-section {
	margin-bottom: 40px;
	padding: 20px;
	border-radius: 8px;
}

.sitemap-section h2 {
	color: inherit;
	padding-bottom: 10px;
	margin-bottom: 15px;
}

.sitemap-section h3 {
	color: #555;
	margin: 15px 0 10px 0;
}

.sitemap-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.breadcrumbs {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 0 3rem ;
	gap: 0.5rem;
}

.breadcrumbs-content {
	display: contents;
}

@media (max-width: 1024px) {
	.sitemap-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.25rem;
	}
}

@media (max-width: 768px) {
	.sitemap-list {
		grid-template-columns: 1fr;
		gap: 1rem;
	}


}

.sitemap-list li {
	margin-bottom: 8px;
	padding-left: 15px;
	position: relative;
}



.sitemap-list a {
	text-decoration: none;
	color: inherit;
	transition: color 0.3s;
}

.sitemap-list a:hover {
	color: #007cba;
}

.category-group {
	margin-bottom: 20px;
}

.tags-cloud {
	line-height: 2;
}

.tag {
	display: inline-block;
	background: #e9e9e9;
	padding: 5px 10px;
	margin: 3px;
	border-radius: 3px;
	text-decoration: none;
	color: #333;
	font-size: 14px;
	transition: all 0.3s;
}

.tag:hover {
	background: #007cba;
	color: white;
}

.toc {
	background: rgba(230, 57, 70, 0.1) !important;
	padding: var(--spacing-md) !important;
	border-radius: var(--radius-lg);
	margin-bottom: var(--spacing-sm);
	border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
	.sitemap-section {
		padding: 15px;
	}

	.tag {
		font-size: 12px;
		padding: 3px 8px;
	}
}



@media (max-width: 1100px) {

.breadcrumbs {

	margin: 2.5rem 0 3rem ;

}

	.wide-image-container {
		margin-left: calc(-2 * var(--space-xl));
		margin-right: calc(-2 * var(--space-xl));
		border-radius: var(--img-radius);
	}


	.site-branding nav {

		background: none;
		border-radius: var(--radius);

		margin-bottom: calc(var(--gap) * 1.5);
		box-shadow: none;
		border: none;
	}



}


header p {
	font-size: var(--font-md);

}

.toc-wrap {
	padding: 1rem;

}



.back-to-top {
	bottom: 1rem;
	right: 1rem;
	width: 45px;
	height: 45px;
}




/* articulos */
.articulos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 32px;
	padding-top: 30px;

	max-width: var(--max-width);
	margin: 0 auto;
}

.articulos-card {
	background: #ffffff;
	border-radius: 18px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	border: 1px solid rgba(0, 0, 0, 0.03);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
	padding: 0;
}

.articulos-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}


.articulos-card__image-link img {
	width: 100%;
	height: 170px;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.articulos-card:hover .articulos-card__image-link img {
	transform: scale(1.08);
}

/* Контент */


.articulos-card__content {
	padding: 0 17px 16px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;

}

.articulos-card__title {
	margin-top: 10px;
	font-size: 1rem;
	line-height: 1.3;
	font-weight: 700;

	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 1.6rem;
}

.articulos-card__title a {
	text-decoration: none;

}

.articulos-card__excerpt {
	margin-top: auto;

	margin-bottom: 0;
	color: #6e6e73;
	font-size: 0.95rem;
	line-height: 1.5;


	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
}


.articulos-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: #1d1d1f;
	font-weight: 600;
	font-size: 0.9rem;
	transition: gap 0.3s;
}

.articulos-card__link svg {
	transition: transform 0.3s;
}

.articulos-card__link:hover {
	color: #0073aa;
	gap: 12px;
}


.articulos-card__image-link {
	display: block;
	overflow: hidden;
	border-radius: 6px 6px 0 0;
	height: 170px;
}


.articulos-card__image-link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.6s ease;
}


.articulos-card:hover .articulos-card__image-link img {
	transform: scale(1.08);
}


.articulos-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.load-more-wrapper {
	text-align: center;
	margin: 40px 0;
}

.btn-load-more {
	background-color: #0073aa;
	color: white;
	border: none;
	padding: 12px 30px;
	border-radius: 5px;
	cursor: pointer;
	font-size: 1rem;
	transition: background 0.3s;
}

.btn-load-more:hover {
	background-color: #005177;
}


@media (max-width: 559px) {
	.articulos-grid {
		gap: 17px;

	}

	.articulos-card__image-link {

		height: 17rem;
	}
}

@media (max-width: 768px) {
	.sitemap-list {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
		gap: 5px;
		list-style: none;
		padding: 0;
	}
}

#site-navigation a,
.menu-item a {
	outline: none !important;
	-webkit-tap-highlight-color: transparent;
}

.site-footer {
    background: #1A1E1A;
    color: #ffffff;
    padding: 60px 0 30px;
    font-family: 'Source Serif 4', serif; 
    margin-top: 2.5rem;
    border-top: 1px solid #333;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    margin:0 0 15px;
    color: var(--color-accent);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 24px;
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    font-size: 13px;
    color: #888;
    text-align: center;
}

.safety-icons {
    display: flex;
    gap: 15px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: bold;
}

/* Адаптивность */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-logo-container img {
   
    height: auto;
    display: block;
    margin-bottom: 20px;
    max-width: 84px;
    
    
}

.footer-logo-text {

    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
    color: #0073aa; 
    display: block;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Контейнер для скролла */
.table-container {
    width: 100%;
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
    margin: 20px 0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}
h2[id], 
h3[id], 
[data-content] {
    scroll-margin-top: 80px;
}

.back-to-top {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	width: 44px;
	height: 44px;
	background: var(--color-accent);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shadow-md);
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--transition), transform var(--transition);
	z-index: 100;
}

.back-to-top.visible {
	opacity: 1;
	visibility: visible;
}

.back-to-top:hover {
	transform: translateY(-3px);
	background: var(--c-primary);
}

.back-to-top svg {
	width: 20px;
	height: 20px;
}