/**
 * Theme Name: sportnieuws
 * Version: 1.0
 */
/* inter-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: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-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: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/inter-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-700 - 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: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/inter-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

 /* dm-serif-display-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: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/dm-serif-display-v17-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-500italic - 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: 500;
  src: url('fonts/source-sans-3-v19-latin-500italic.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+ */
}



/* 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+ */
}
/* jetbrains-mono-500 - 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: 500;
  src: url('fonts/jetbrains-mono-v24-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


:root {
    /* Color System */
    --color-primary: #1B5E20;
    --color-primary-light: #2E7D32;
    --color-primary-dark: #0D3B13;
    --color-accent: #F9A825;
    --color-accent-dark: #F57F17;
    --color-neutral-900: #1A1A2E;
    --color-neutral-800: #2D2D44;
    --color-neutral-700: #4A4A5A;
    --color-neutral-600: #6B6B7B;
    --color-neutral-500: #8E8E9E;
    --color-neutral-400: #B0B0BE;
    --color-neutral-300: #D1D1DB;
    --color-neutral-200: #ECEDF1;
    --color-neutral-100: #F5F5F8;
    --color-neutral-50: #FAFAFE;
    --color-white: #FFFFFF;
    --color-semantic-red: #D32F2F;
    --color-semantic-red-bg: #FFEBEE;
    --color-semantic-green: #2E7D32;
    --color-semantic-green-bg: #E8F5E9;
    --color-info-blue: #1565C0;
    --color-info-blue-bg: #E3F2FD;
    --color-fun-fact-bg: #FFF8E1;

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;
    --space-2xl: 64px;
    --space-3xl: 96px;

    /* Borders & Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(26, 26, 46, 0.08);
    --shadow-md: 0 4px 12px rgba(26, 26, 46, 0.1);
    --shadow-lg: 0 8px 24px rgba(26, 26, 46, 0.12);
    --shadow-xl: 0 12px 40px rgba(26, 26, 46, 0.16);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease-out;

    /* Layout */
    --content-max-width: 760px;
    --pillar-max-width: 1200px;
    --toc-width: 240px;
}

/* ========== DARK MODE ========== */
@media (prefers-color-scheme: dark) {
    :root {
        --color-primary: #4CAF50;
        --color-primary-light: #66BB6A;
        --color-primary-dark: #388E3C;
        --color-accent: #FFB300;
        --color-accent-dark: #FFA000;
        --color-neutral-900: #E8E8F0;
        --color-neutral-800: #D1D1DB;
        --color-neutral-700: #B0B0BE;
        --color-neutral-600: #8E8E9E;
        --color-neutral-500: #6B6B7B;
        --color-neutral-400: #4A4A5A;
        --color-neutral-300: #2D2D44;
        --color-neutral-200: #232338;
        --color-neutral-100: #1E1E30;
        --color-neutral-50: #1A1A2E;
        --color-white: #141424;
        --color-semantic-red: #EF5350;
        --color-semantic-red-bg: #3E1A1A;
        --color-semantic-green: #66BB6A;
        --color-semantic-green-bg: #1A3E1C;
        --color-info-blue: #42A5F5;
        --color-info-blue-bg: #1A2A3E;
        --color-fun-fact-bg: #3E3520;
        --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35);
        --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
        --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.5);
    }

    body {
        background-color: #141424;
        color: var(--color-neutral-900);
    }

    .hero {
        background-color: #0D1117;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(13, 17, 23, 0.92) 0%, rgba(26, 26, 46, 0.88) 100%);
    }

    .comparison-table th {
        background-color: var(--color-primary-dark);
        color: var(--color-neutral-900);
    }

    .comparison-table td {
        background-color: var(--color-neutral-100);
        border-color: var(--color-neutral-300);
    }

    .comparison-table tr:hover td {
        background-color: var(--color-neutral-200);
    }

    .card-grid .card {
        background-color: var(--color-neutral-100);
        border-color: var(--color-neutral-300);
    }

    .toc {
        background-color: var(--color-neutral-100);
        border-color: var(--color-neutral-300);
    }

    .info-box {
        background-color: var(--color-info-blue-bg);
    }

    .key-takeaway {
        background-color: var(--color-neutral-100);
    }

    .warning-box {
        background-color: var(--color-semantic-red-bg);
    }

    .callout-box {
        background-color: var(--color-semantic-green-bg);
    }

    .fun-fact {
        background-color: var(--color-fun-fact-bg);
    }

    .accordion-item {
        background-color: var(--color-neutral-100);
        border-color: var(--color-neutral-300);
    }

    .faq-accordion .faq-item {
        background-color: var(--color-neutral-100);
        border-color: var(--color-neutral-300);
    }

    .cta-block {
        background-color: var(--color-neutral-100);
    }

    a {
        color: var(--color-accent);
    }

    a:hover {
        color: var(--color-accent-dark);
    }

    img {
        opacity: 0.9;
    }
}

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-neutral-900);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-neutral-900);
    letter-spacing: -0.02em;
}

h1 {
    font-size: var(--text-5xl);
    margin: 0 auto var(--space-lg);
    max-width: 1000px;
    text-align: center;
}

h2 {
    font-size: var(--text-3xl);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 3px solid var(--color-accent);
}

h3 {
    font-size: var(--text-2xl);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--color-primary);
}

h4 {
    font-size: var(--text-xl);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

p {
    margin-bottom: var(--space-md);

}

a {
    color: var(--color-primary);
    text-decoration: none;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

a:hover {
    color: var(--color-accent-dark);
    text-decoration-color: var(--color-accent);
}

a:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

strong {
    font-weight: 600;
    color: var(--color-neutral-800);
}

.text-mono {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
}

.odds-value {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--color-primary);
}

/* ========== READING PROGRESS BAR ========== */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--color-accent);
    z-index: 9999;
    transition: width 100ms linear;
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--text-sm);
    color: var(--color-neutral-500);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--color-neutral-500);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 var(--space-xs);
    color: var(--color-neutral-400);
}

.breadcrumb .current {
    color: var(--color-neutral-700);
    font-weight: 500;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    width: 100%;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--space-3xl) var(--space-lg);
    background-color: var(--color-primary-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 59, 19, 0.92) 0%, rgba(26, 26, 46, 0.88) 100%);
    z-index: 2;
}

.hero-texture {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='1.5' fill='%23ffffff' fill-opacity='0.04'/%3E%3C/svg%3E");
    background-repeat: repeat;
    z-index: 3;
}
.article-header{
  padding: 2.5rem 15px;
}
.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 800px;
}

.hero-content h1 {
    color: var(--color-white);
    font-size: var(--text-5xl);
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@media (prefers-color-scheme: dark) {
    .hero-content h1 {
        color: #F5F5F8;
    }
}

.hero-subtitle {
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 500;
    font-style: italic;
    margin-bottom: var(--space-lg);
}

.hero-meta {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    margin-bottom: var(--space-lg);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-full);
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--text-base);
    text-decoration: none;
    background: transparent;
    cursor: pointer;
    transition: background var(--transition-base), color var(--transition-base), transform var(--transition-fast);
}

.hero-cta:hover {
    background: var(--color-accent);
    color: var(--color-primary-dark);
    transform: scale(1.03);
    text-decoration: none;
}

.hero-cta:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}

/* ========== LAYOUT ========== */
.page-wrapper {
    max-width: var(--pillar-max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.pillar-layout {
    display: grid;
    grid-template-columns: var(--toc-width) 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.content-area {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: var(--space-xl) 0;
}

.full-width {
    max-width: 100%;
}

/* ========== STICKY TOC ========== */
.toc {
    position: sticky;
    top: var(--space-lg);
    max-height: calc(100vh - var(--space-xl));
    overflow-y: auto;
    padding: var(--space-lg) var(--space-md);
    background: var(--color-neutral-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-neutral-200);
}

.toc-title {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-neutral-600);
    margin-bottom: var(--space-md);
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: var(--space-xs);
}

.toc-list a {
    display: block;
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--text-sm);
    color: var(--color-neutral-600);
    text-decoration: none;
    border-left: 3px solid transparent;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    transition: all var(--transition-fast);
    line-height: 1.4;
}

.toc-list a:hover {
    color: var(--color-primary);
    background: var(--color-neutral-100);
}

.toc-list a.active {
    color: var(--color-primary);
    font-weight: 600;
    border-left-color: var(--color-accent);
    background: var(--color-neutral-100);
}

/* ========== INFO BOX ========== */
.info-box {
    background: var(--color-neutral-200);
    border-left: 4px solid var(--color-info-blue);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
}

.info-box .info-box-heading {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-info-blue);
    margin-bottom: var(--space-sm);
}

.info-box .info-box-heading .icon {
    font-size: var(--text-xl);
    flex-shrink: 0;
}

.info-box p,
.info-box ul,
.info-box table {
    font-size: var(--text-sm);
    color: var(--color-neutral-800);
    margin-bottom: var(--space-sm);
}

.info-box p:last-child,
.info-box ul:last-child {
    margin-bottom: 0;
}

/* ========== KEY TAKEAWAY ========== */
.key-takeaway {
    background: var(--color-white);
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
}

.key-takeaway .key-takeaway-heading {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-neutral-900);
    margin-bottom: var(--space-md);
}

.key-takeaway .key-takeaway-heading .icon {
    font-size: var(--text-xl);
}

.key-takeaway ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.key-takeaway ul li {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-sm);
    font-size: var(--text-base);
    line-height: 1.6;
}

.key-takeaway ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.key-takeaway ul li:last-child {
    margin-bottom: 0;
}

/* ========== CALLOUT / TIPP BOX ========== */
.callout-box {
    background: linear-gradient(135deg, var(--color-semantic-green-bg) 0%, #F1F8E9 100%);
    border-left: 4px solid var(--color-semantic-green);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
}

.callout-box .callout-heading {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-semantic-green);
    margin-bottom: var(--space-sm);
}

.callout-box .callout-heading .icon {
    font-size: var(--text-xl);
}

.callout-box p,
.callout-box ol,
.callout-box ul {
    font-size: var(--text-base);
    color: var(--color-neutral-800);
}

.callout-box ol,
.callout-box ul {
    padding-left: var(--space-lg);
}

.callout-box ol li,
.callout-box ul li {
    margin-bottom: var(--space-xs);
}

/* ========== FUN FACT / WUSSTEST DU ========== */
.fun-fact {
    background: var(--color-fun-fact-bg);
    border: 1px dashed var(--color-accent);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
}

.fun-fact .fun-fact-heading {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-accent-dark);
    margin-bottom: var(--space-sm);
}

.fun-fact .fun-fact-heading .icon {
    font-size: var(--text-xl);
}

.fun-fact p {
    font-size: var(--text-base);
    color: var(--color-neutral-800);
    margin-bottom: 0;
}

/* ========== WARNING BOX ========== */
.warning-box {
    background: var(--color-semantic-red-bg);
    border-left: 4px solid var(--color-semantic-red);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
}

.warning-box.full-width {
    border-radius: var(--radius-md);
    border-left-width: 4px;
}

.warning-box .warning-heading {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-semantic-red);
    margin-bottom: var(--space-sm);
}

.warning-box .warning-heading .icon {
    font-size: var(--text-xl);
}

.warning-box p {
    font-size: var(--text-sm);
    color: var(--color-neutral-800);
    margin-bottom: 0;
}

/* ========== COMPARISON TABLE ========== */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: var(--space-lg) 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
    white-space: nowrap;
}

.comparison-table th {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--text-sm);
    padding: var(--space-md) var(--space-md);
    text-align: left;
    position: sticky;
    top: 0;
    z-index: 2;
}

.comparison-table td {
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-neutral-200);
    background: var(--color-white);
    vertical-align: middle;
    transition: background var(--transition-fast);
}

.comparison-table tr:hover td {
    background: var(--color-neutral-100);
}

.comparison-table .sticky-col {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--color-white);
    font-weight: 600;
}

.comparison-table tr:hover .sticky-col {
    background: var(--color-neutral-100);
}

.comparison-table .best-value {
    background: rgba(249, 168, 37, 0.12);
}

.comparison-table .best-value-badge {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 700;
    padding: 2px var(--space-sm);
    border-radius: var(--radius-full);
    margin-left: var(--space-xs);
}

.comparison-table .cta-cell a {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--text-xs);
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.comparison-table .cta-cell a:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
}

.comparison-table .stars {
    color: var(--color-accent);
    letter-spacing: 1px;
}

/* ========== CARD GRID ========== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin: var(--space-lg) 0;
}

.card {
    background: var(--color-white);
    border: 1px solid var(--color-neutral-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.card-top-bar {
    height: 4px;
    width: 100%;
}

.card-top-bar.masters {
    background: #006747;
}

.card-top-bar.pga {
    background: #00205B;
}

.card-top-bar.us-open {
    background: #003865;
}

.card-top-bar.open {
    background: #1D1D1B;
}

.card-top-bar.ryder-cup {
    background: #C8102E;
}

.card-top-bar.default {
    background: var(--color-primary);
}

.card-body {
    padding: var(--space-lg);
}

.card-body h3 {
    font-size: var(--text-xl);
    margin-top: 0;
    margin-bottom: var(--space-sm);
}

.card-body p {
    font-size: var(--text-sm);
    color: var(--color-neutral-700);
    margin-bottom: var(--space-sm);
}

.card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-xs);
    color: var(--color-neutral-500);
    margin-top: var(--space-sm);
}

.card-meta .icon {
    font-size: var(--text-sm);
}

/* ========== ACCORDION ========== */
.accordion {
    margin: var(--space-lg) 0;
}

.accordion-item {
    border: 1px solid var(--color-neutral-200);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    overflow: hidden;
    background: var(--color-white);
    transition: box-shadow var(--transition-base);
}

.accordion-item:hover {
    box-shadow: var(--shadow-sm);
}

.accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-neutral-900);
    text-align: left;
    gap: var(--space-md);
    transition: color var(--transition-fast);
}

.accordion-trigger:hover {
    color: var(--color-primary);
}

.accordion-trigger:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: -3px;
}

.accordion-trigger .accordion-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-slow);
}

.accordion-item[open] .accordion-trigger .accordion-icon,
.accordion-item.is-open .accordion-trigger .accordion-icon {
    transform: rotate(180deg);
}

.accordion-trigger .wettart-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.accordion-summary {
    font-size: var(--text-sm);
    color: var(--color-neutral-600);
    font-weight: 400;
    margin-left: var(--space-xs);
}

.accordion-content {
    padding: 0 var(--space-lg) var(--space-lg);
    animation: accordionOpen var(--transition-slow) forwards;
}

@keyframes accordionOpen {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.accordion-content p {
    font-size: var(--text-base);
    color: var(--color-neutral-800);
}

/* ========== LIVE INDICATOR PULSE ========== */
.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    margin-left: var(--space-sm);
}

.live-dot {
    width: 10px;
    height: 10px;
    background: var(--color-semantic-red);
    border-radius: var(--radius-full);
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.5);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(211, 47, 47, 0);
    }
}

.live-label {
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-semantic-red);
}

/* ========== FAQ ACCORDION ========== */
.faq-accordion {
    margin: var(--space-lg) 0;
}

.faq-item {
    border: 1px solid var(--color-neutral-200);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    overflow: hidden;
    background: var(--color-white);
}

.faq-question {
    display: flex;
    align-items: center;
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-neutral-900);
    text-align: left;
    gap: var(--space-md);
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-question:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: -3px;
}

.faq-question .faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-dark);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 700;
}

.faq-answer {
    padding: 0 var(--space-lg) var(--space-lg);
    padding-left: calc(var(--space-lg) + 28px + var(--space-md));
    font-size: var(--text-base);
    color: var(--color-neutral-700);
    line-height: 1.7;
}

/* ========== CTA BLOCK ========== */
.cta-block {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    margin: var(--space-2xl) 0;
    background: var(--color-neutral-50);
    border-radius: var(--radius-xl);
}

.cta-block h3 {
    font-size: var(--text-2xl);
    color: var(--color-neutral-900);
    margin-bottom: var(--space-lg);
    margin-top: 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--text-lg);
    text-decoration: none;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.cta-button:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    color: var(--color-primary-dark);
}

.cta-button:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 4px;
}

/* ========== CALENDAR TABLE ========== */
.calendar-table-wrapper {
    overflow-x: auto;
    margin: var(--space-lg) 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
}

.calendar-table th {
    background: var(--color-primary-dark);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: var(--space-md);
    text-align: left;
}

.calendar-table td {
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-neutral-200);
    background: var(--color-white);
}

.calendar-table tr:hover td {
    background: var(--color-neutral-100);
}

.calendar-table .major-row td {
    background: rgba(249, 168, 37, 0.08);
    font-weight: 600;
}

.calendar-table .major-row:hover td {
    background: rgba(249, 168, 37, 0.15);
}

.calendar-table .stars {
    color: var(--color-accent);
    letter-spacing: 2px;
}

/* ========== SCROLL TO TOP ========== */
.scroll-to-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-base);
    z-index: 100;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--color-accent);
    color: var(--color-primary-dark);
}

.scroll-to-top:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}

/* ========== IMAGES ========== */
.content-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: var(--space-lg) 0;
    box-shadow: var(--shadow-sm);
}

.content-image-caption {
    font-size: var(--text-xs);
    color: var(--color-neutral-500);
    text-align: center;
    margin-top: var(--space-xs);
    font-style: italic;
}

/* ========== MINI TABLE (inline) ========== */
.mini-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
    margin: var(--space-md) 0;
}

.mini-table th {
    background: var(--color-neutral-200);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    border-bottom: 2px solid var(--color-neutral-300);
}

.mini-table td {
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid var(--color-neutral-200);
}

.mini-table .odds-col {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--color-primary);
}

/* ========== RESPONSIBLE GAMBLING ========== */
.responsible-gambling {
    background: var(--color-semantic-red-bg);
    border: 1px solid rgba(211, 47, 47, 0.2);
    border-left: 4px solid var(--color-semantic-red);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    margin: var(--space-2xl) 0;
}

.responsible-gambling .warning-heading {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-semantic-red);
    margin-bottom: var(--space-md);
}

.responsible-gambling p {
    font-size: var(--text-sm);
    color: var(--color-neutral-800);
    line-height: 1.7;
}

/* ========== UTILITY CLASSES ========== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center {
    text-align: center;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-lg {
    margin-top: var(--space-lg);
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

.mt-xl {
    margin-top: var(--space-xl);
}

.mb-xl {
    margin-bottom: var(--space-xl);
}

.mt-2xl {
    margin-top: var(--space-2xl);
}

.mb-2xl {
    margin-bottom: var(--space-2xl);
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms  ;
        animation-iteration-count: 1  ;
        transition-duration: 0.01ms  ;
        scroll-behavior: auto  ;
    }

    .live-dot {
        animation: none;
        box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.3);
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1199px) {
    .pillar-layout {
        grid-template-columns: 1fr;
    }

    .toc {
        position: sticky;
        top: 0;
        max-height: none;
        overflow-y: visible;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid var(--color-neutral-200);
        background: var(--color-white);
        z-index: 50;
        padding: var(--space-sm) var(--space-md);
    }

    .toc-list {
        display: flex;
        overflow-x: auto;
        gap: var(--space-xs);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .toc-list::-webkit-scrollbar {
        display: none;
    }

    .toc-list li {
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .toc-list a {
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
        border-radius: 0;
        padding: var(--space-xs) var(--space-sm);
    }

    .toc-list a.active {
        border-left-color: transparent;
        border-bottom-color: var(--color-accent);
    }

    @media (prefers-color-scheme: dark) {
        .toc {
            background: var(--color-white);
        }
    }
}

@media (max-width: 767px) {
    html {
        font-size: 15px;
    }

    h1 {
        font-size: var(--text-3xl);
    }

    h2 {
        font-size: var(--text-2xl);
        margin-top: var(--space-xl);
    }

    h3 {
        font-size: var(--text-xl);
    }

    .hero {
        min-height: 400px;
        padding: var(--space-2xl) var(--space-md);
    }

    .hero-content h1 {
        font-size: var(--text-3xl);
    }

    .hero-subtitle {
        font-size: var(--text-lg);
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table-wrapper {
        margin-left: calc(-1 * var(--space-md));
        margin-right: calc(-1 * var(--space-md));
        border-radius: 0;
    }

    .comparison-table .sticky-col {
        position: sticky;
        left: 0;
        z-index: 1;
        min-width: 120px;
    }

    .info-box,
    .key-takeaway,
    .callout-box,
    .fun-fact,
    .warning-box {
        padding: var(--space-md);
    }

    .cta-block {
        padding: var(--space-xl) var(--space-md);
    }

    .cta-button {
        font-size: var(--text-base);
        padding: var(--space-sm) var(--space-lg);
        width: 100%;
        justify-content: center;
    }

    .faq-answer {
        padding-left: var(--space-lg);
    }

    .accordion-trigger {
        padding: var(--space-sm) var(--space-md);
        font-size: var(--text-base);
    }

    .accordion-content {
        padding: 0 var(--space-md) var(--space-md);
    }

    .page-wrapper {
        padding: 0 var(--space-sm);
    }

    .responsible-gambling {
        padding: var(--space-lg) var(--space-md);
    }
}

/* Images Styles */
.hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.article-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.article-image:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

figure {
    margin: 2.5em auto;
    max-width: 100%;
}

figcaption {
    font-family: var(--font-body, Georgia, serif);
    font-size: 14px;
    color: var(--color-text-muted, #6B6560);
    text-align: center;
    margin-top: 12px;
    line-height: 1.5;
    font-style: italic;
}

/* ==========================================
   Structural Builder Overrides (Fixes)
   ========================================== */
body {
    margin: 0;
    padding: 0;
  
}

.container, .page-wrapper {
    max-width: 1200px  ;
    margin: 0 auto  ;
    padding: 0 15px  ;
    box-sizing: border-box;
}

.content-wrapper, .main-content {
    max-width: 100%  ;
}

@media (min-width: 1024px) {
    .content-wrapper, .page-layout, .main-grid {
        display: grid  ;
        grid-template-columns: 260px minmax(0, 1fr)  ;
        gap: 48px  ;
        align-items: start  ;
    }

    /* Убиваем 30% ширину у TOC */
    .toc-sidebar {
        width: auto  ;
        position: sticky  ;
        top: 2rem  ;
    }
}

@media (max-width: 1023px) {
    .toc-sidebar {
        position: relative  ;
        top: 0  ;
        margin-bottom: 32px  ;
        width: auto  ;
    }
}

.hero {
    position: relative;
}

.hero .container {
    position: relative  ;
    z-index: 10  ;
}

.hero h1, .hero .breadcrumb, .hero .breadcrumb a, .hero .hero-meta, .hero .author-name, .hero span {
    color: #ffffff  ;
    -webkit-text-fill-color: #ffffff  ;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7)  ;
}

.stat-highlight {
    display: block  ;
    width: 100%  ;
}

.table-responsive-wrapper {
    width: 100%  ;
    overflow-x: auto  ;
    margin: 2rem 0  ;
    border-radius: 12px  ;
    box-shadow: 0 4px 12px rgba(10, 22, 40, 0.08)  ;
    display: block  ;
}

table, .comparison-table, .main-content table {
    width: 100%  ;
    min-width: 600px  ;
    border-collapse: collapse  ;
  
    margin: 0  ;
}

th, .comparison-table th, .main-content th {
    background: #0A1628  ;

    font-weight: 600  ;
    padding: 16px 24px  ;
    text-align: left  ;
    white-space: normal  ;
}

td, .comparison-table td, .main-content td {
    padding: 16px 24px  ;
    border-bottom: 1px solid #E2E8F0  ;
  
    font-family: 'JetBrains Mono', monospace  ;
    font-weight: 500  ;
    white-space: normal  ;
    word-wrap: break-word  ;
}

tbody tr:nth-child(even), .comparison-table tbody tr:nth-child(even) {
    
}

.fun-fact, .fun-fact p, .fun-fact span, .fun-fact strong, .fun-fact h3, .fun-fact h4 {
    color: #ffffff  ;
    -webkit-text-fill-color: #ffffff  ;
}

.cta-banner {
    position: relative;
    overflow: hidden;
}

.cta-banner, .cta-banner *, .cta-banner h3, .cta-banner p, .cta-banner span, .cta-banner a, .cta-banner strong {
    color: #ffffff  ;
    -webkit-text-fill-color: #ffffff  ;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3)  ;
}

.cta-banner p:last-child, .cta-banner strong:last-child {
    display: inline-block  ;
    background: #ff6b2c  ;
    color: #ffffff  ;
    padding: 12px 24px  ;
    border-radius: 6px  ;
    margin-top: 16px  ;
    text-transform: uppercase  ;
    font-weight: bold  ;
    text-shadow: none  ;
}

/* --- БРОНЕБОЙНЫЙ FAQ ACCORDION FIX (Без привязки к классам) --- */
.main-content details {
    background-color: #ffffff  ;
    border: 1px solid #e2e8f0  ;
    border-radius: 8px  ;
    margin-bottom: 12px  ;
    overflow: hidden  ;
    transition: box-shadow 0.2s ease  ;
}

.main-content details:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05)  ;
}

.main-content summary {
    padding: 16px 20px  ;
    font-weight: 700  ;
    font-size: 1.05rem  ;
    color: #0a1628  ;
    cursor: pointer  ;
    list-style: none  ;
    display: flex  ;
    justify-content: space-between  ;
    align-items: center  ;
}

.main-content summary::-webkit-details-marker {
    display: none  ;
}

.main-content summary::marker {
    display: none  ;
    content: ""  ;
}

.main-content summary::after {
    content: '+'  ;
    font-size: 1.5rem  ;
    color: #ff6b2c  ;
    line-height: 1  ;
    transition: transform 0.3s ease  ;
    font-weight: 400  ;
}

.main-content details[open] summary::after {
    content: '−'  ;
    transform: rotate(180deg)  ;
}

.main-content details[open] summary {
    border-bottom: 1px solid #e2e8f0  ;
}

.main-content details>div {
    padding: 16px 20px  ;
    color: #334155  ;
    line-height: 1.6  ;
}

.main-content details>div p {
    margin-bottom: 0  ;
}

/* TOC Sidebar Fixes */
.toc-sidebar {
    position: sticky;
    top: 2rem;
    padding-right: 1.5rem;
}

.toc-title {
    font-family: var(--font-heading, sans-serif);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted, #6C757D);
    margin-bottom: 1rem;
}

.toc-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-sidebar li {
    margin-bottom: 0.5rem;
}

.toc-sidebar a {
    display: block;
    font-family: var(--font-data, sans-serif);
    font-size: 0.9rem;
    color: var(--color-text-muted, #6C757D);
    text-decoration: none;
    padding-left: 1rem;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
}

.toc-sidebar a:hover {
    color: var(--color-accent, #E63946);
    border-left-color: var(--color-accent, #E63946);
}

.toc-progress {
    width: 100%;
    height: 2px;
    background: var(--color-border, #E9ECEF);
    margin-bottom: 1rem;
    border-radius: 2px;
}

.toc-progress-bar {
    height: 100%;
    background: var(--color-accent, #E63946);
    width: 0%;
    transition: width 0.1s;
}
/* =========================== */
img{
  width: 100%;
  object-fit: cover;
  max-height: 700px;
}
.hero-label{
  font-family:var(--ff-body);
  font-size:calc(var(--caption)*.85);
  font-weight:600;
  letter-spacing:.1em;text-transform:uppercase;
  color:var(--color-muted);
}

.hero-figure{
  margin: 2.5rem auto;
}
/*  */

.wp-block-image img {
  margin-bottom: 2rem;
}

.footer-menu {
  list-style: none;
}

.container-casa {

  text-align: center;
  padding-top: 2rem;
}
.home .container-casa {
margin-top: 3rem;

}
.container-casa p {
  margin: 0 auto ;
  text-align: center;
  max-width: 800px;
}

.main-logo a {
  color: #fff;
  font-size: 1.5rem;
}

/* --- 1. menu --- */
.header-top {
  background: var(--color-accent);

  min-height: var(--space-xl);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 58px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 100px;

  z-index: 1001;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.burger-logo {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  text-decoration: none;
}

.main-logo-img {
  max-height: 63px;
  width: 52px;
  flex-shrink: 0;
  border-radius: 5%;
}

.logo-text {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;

  white-space: nowrap;
}

.burger-btn {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
}

.burger-btn span,
.burger-btn span::before,
.burger-btn span::after {
  content: "";
  display: block;
  width: 25px;
  height: 2px;
  background-color: #fff;
  position: absolute;
  transition: all 0.3s ease-in-out;
}

.burger-btn span::before {
  top: -8px;
}
.burger-btn span::after {
  top: 8px;
}

.js-burger.active span {
  background-color: transparent  ;
}
.js-burger.active span::before {
  transform: translateY(8px) rotate(45deg);
}
.js-burger.active span::after {
  transform: translateY(-8px) rotate(-45deg);
}

.main-navigation {
  position: fixed;
  top: 0;
  right: 0;
  width: 500px;
  height: auto;
  max-height: 100vh;
  background: var(--color-accent);
  z-index: 9999;

  transition:
    visibility 0.6s ease-out,
    transform 0.6s ease-out,
    border-radius 0.6s ease-out;

  padding: 80px 20px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  visibility: hidden;
  overflow-y: auto;
  display: block;
  transform-origin: top right;
  transform: scale(0);
  border-radius: 50%;
}

.main-navigation.active {
  visibility: visible;
  transform: scale(1);
  border-radius: 0 0 15px 15px;
}

@keyframes menuItemFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.main-menu li {
  opacity: 0;
  animation: menuItemFadeIn 0.3s ease-out forwards;
  animation-play-state: paused;
}

.main-navigation.active .main-menu li {
  animation-play-state: running;
}

.main-navigation.active .main-menu li:nth-child(1) {
  animation-delay: 0.2s;
}
.main-navigation.active .main-menu li:nth-child(2) {
  animation-delay: 0.3s;
}
.main-navigation.active .main-menu li:nth-child(3) {
  animation-delay: 0.4s;
}
.main-navigation.active .main-menu li:nth-child(4) {
  animation-delay: 0.5s;
}
.main-navigation.active .main-menu li:nth-child(5) {
  animation-delay: 0.6s;
}
.main-navigation.active .main-menu li:nth-child(6) {
  animation-delay: 0.7s;
}
.main-navigation.active .main-menu li:nth-child(7) {
  animation-delay: 0.8s;
}
.main-navigation.active .main-menu li:nth-child(8) {
  animation-delay: 0.9s;
}
.main-navigation.active .main-menu li:nth-child(9) {
  animation-delay: 1s;
}
.main-navigation.active .main-menu li:nth-child(10) {
  animation-delay: 1.1s;
}

.main-navigation.active .main-menu {
  opacity: 1;
}

.main-menu a {
  text-decoration: none;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
  transition: color 0.2s;
}

.main-menu a:hover {
  color: var(--color-secondary);
}

body.has-overlay {
  overflow: hidden;
}

.btn-close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 2.5rem;
  border: none;
  background: none;
  cursor: pointer;
  line-height: 1;
  color: #fff;
}

.menu-item-has-children > a {
  display: flex  ;
  align-items: center;
  justify-content: space-between;
}

.menu-item-has-children > a::after {
  content: "▼";
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.menu-item-has-children.is-open > a::after {
  transform: rotate(180deg);
  color: #3b9eff;
}

.sub-menu {
  list-style: none  ;
  padding-left: 20px  ;
  margin: 0  ;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100vh;
}

.sub-menu li {
  padding: 10px 0;
}

.sub-menu a {
  font-size: 1rem  ;

  font-weight: 400  ;
}

.menu-item-has-children > a {
  display: flex  ;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.menu-item-has-children:hover > .sub-menu {
  max-height: 1000px  ;
  visibility: visible;
  opacity: 1;
}

.main-menu li.current-menu-item > a,
.main-menu li.current_page_item > a,
.main-menu li.current-post-ancestor > a,
.main-menu li.current-menu-ancestor > a,
.main-menu li.current-page-ancestor > a {
  color: var(--c-primary);
  font-weight: 700  ;
}

.main-menu li.menu-item-has-children.is-open > a {
  color: var(--c-primary);
}

.main-menu li.active > a {
  color: var(--color-secondary);
  font-weight: 700  ;
}

.main-navigation.active .main-menu .current-menu-item > a {
  color: var(--c-primary);
}

/* end menu */

.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;
}
.post-thumbnail{
  margin-top: 2.5rem;
}
.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0 2rem;
  gap: 0.5rem;
  padding-top: 1rem;
}
.breadcrumbs-content {
  display: contents;
}
@media (max-width: 1024px) {
  .sitemap-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
@media (max-width: 992px) {
  .header-top {
    padding: 0 1rem;
  }
}
@media (max-width: 768px) {
  .sitemap-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  nav[aria-label="Hauptnavigation"] {
    display: none  ;
  }

  .main-navigation {
    width: 100%;
  }
}

.sitemap-list li {
  margin-bottom: 8px;
  padding-left: 15px;
  position: relative;
}

.sitemap-list li:before {
  content: "›";
  position: absolute;
  left: 0;
  color: #007cba;
}

.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;
}

@media (max-width: 768px) {
  .sitemap-section {
    padding: 15px;
  }

  .tag {
    font-size: 12px;
    padding: 3px 8px;
  }

  .container-casa p {
    margin: 0 auto;
    text-align: center;
  }
}

@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);
  }

  .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-line-clamp: 2;
  -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-line-clamp: 2;
  -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  ;
  -webkit-tap-highlight-color: transparent;
}

.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;
}

.site-footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 30px;
    font-family: 'Source Serif 4', serif; 
    margin-top: 2.5rem;
}

.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: 17px;
    text-transform: uppercase;
    margin:0 0 15px;
    color: var(--color-accent);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-about p{
    font-size: 12px;
}
.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;
    align-items: baseline;
    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: 50px;
    border-radius: 5%;
    
}

.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;
}
section,
h2[id], 
h3[id], 
[data-content] {
    scroll-margin-top: 80px;
}

/* Добавляет маленькую стрелочку после внешних ссылок */
a[target="_blank"]::after {
    content: " ↗";
    font-size: 0.75em;
    vertical-align: super;
}

/* Базовый класс для блоков с заметками */
.notice-box {
    padding: 16px;
    margin: 24px 0;
    border-radius: 4px; /* Опционально, для красоты */
}

/* 1. Красное предупреждение (Warning) */
.notice-box--warning {
    border-left: 4px solid #D32F2F;
    background: #7e7e7e;
}

/* 2. Желтая рамка "Самое важное" (Key Point) */
.notice-box--key {
    border: 2px solid #F9A825;
    background: #978989;
}

/* 3. Синий блок информации (Info) */
.notice-box--info {
    background: #978989;
    border-left: 4px solid #1565C0;
}

/* 4. Зеленый совет (Tip) */
.notice-box--tip {
      background: linear-gradient(135deg, #768377, #2a3c15);
    border-left: 4px solid #2E7D32;
}

/* 5. Желтый пунктир "Знаете ли вы" (Fun Fact) */
.notice-box--fun-fact {
    background: #978989;
    border: 1px dashed #F9A825;
}

/* Дополнительные стили для таблиц внутри блоков */
.table-responsive-wrapper {
    width: 100%;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.comparison-table th, 
.comparison-table td {
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.comparison-table th {
    background-color: #f2f2f2;
}