/**
 * Theme Name: sportnieuws
 * Version: 1.0
 */
/* 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+ */
}
/* barlow-condensed-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: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/barlow-condensed-v13-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* barlow-condensed-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: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/barlow-condensed-v13-latin-700.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+ */
}
/* ============================================
   1. CSS Variables & Reset
   ============================================ */
:root {
  --color-accent: #0077B6;
  --color-bg: #FAFAF8;
  --color-text: #1A1A1A;
  --color-text-secondary: #4A4A4A;
  --color-surface: #F0F0EC;
  --color-border: #D4D4D0;
  --color-accent-rgb: 0, 119, 182;
  --color-success: #2E7D32;
  --color-danger: #C62828;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Source Serif 4', serif;
  --font-mono: 'JetBrains Mono', monospace;

  --content-width: 1000px;
  --section-gap: clamp(64px, 8vw, 96px);
  --content-padding: clamp(20px, 4vw, 40px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #141413;
    --color-text: #E8E8E6;
    --color-text-secondary: #A0A09C;
    --color-surface: #1E1E1C;
    --color-border: #3A3A37;
    --color-accent: #3DA5DB;
    --color-accent-rgb: 61, 165, 219;
  }
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 100%;
  scroll-behavior: smooth;
  interpolate-size: allow-keywords;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   2. General Typography
   ============================================ */
h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 64px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text);
}

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 40px);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text);
  text-align: left;
  margin-bottom: 24px;
  scroll-margin-top: 2rem;
}

h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(22px, 2.5vw, 26px);
  line-height: 1.25;
  color: var(--color-text);
  text-align: left;
  margin-bottom: 16px;
  scroll-margin-top: 2rem;
}

p {
  text-align: left;
  margin-bottom: 1.25em;
  color: var(--color-text);
}

ul, ol {
  text-align: left;
  padding-left: 1.5em;
  margin-bottom: 1.25em;
}

li {
  text-align: left;
  margin-bottom: 0.5em;
}

strong { font-weight: 600; }
em { font-style: italic; }

a {
  color: var(--color-accent);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

a:hover { opacity: 0.75; }

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

blockquote {
  text-align: left;
  border-left: 3px solid var(--color-accent);
  padding-left: 20px;
  margin: 1.5em 0;
  font-style: italic;
  color: var(--color-text-secondary);
}

figure {
  margin: 2em 0;
}

figcaption {
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
  text-align: center;
  margin-top: 12px;
}

hr {
  border: none;
  height: 1px;
  background-color: var(--color-border);
  margin: 2em 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 16px;
}

th, td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
}

th {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 13px;
  color: var(--color-text-secondary);
}

/* ============================================
   3. Layout — Sections [data-content]
   ============================================ */
header {
  padding: 0;
  margin: 0;
}

main {
  width: 100%;
}

.container{
  max-width: var(--content-width);
 margin: 0 auto;
 padding: 0 15px;
}

[data-content] img {
  max-width: 100%;
  height: auto;
  display: block;
}

[data-content] figure {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   4. Components
   ============================================ */

/* --- info-box --- */
.info-box {
  border-left: 4px solid var(--color-accent);
  background: var(--color-surface);
  padding: 24px 28px;
  border-radius: 0;
  margin: 2em 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.info-box p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  text-align: left;
  margin-bottom: 0.75em;
  background: transparent;
}

.info-box p:last-child { margin-bottom: 0; }

.info-box p strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
}

/* --- odds-example --- */
.odds-example {
  background: #1A1A1A;
  color: #FAFAF8;
  padding: 28px 32px;
  border-radius: 4px;
  margin: 2em 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.odds-example p {
  text-align: center;
  color: #FAFAF8;
  background: transparent;
  margin-bottom: 0.75em;
  font-family: var(--font-body);
  font-size: 16px;
}

.odds-example p:last-child { margin-bottom: 0; }

.odds-example p strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  color: #FAFAF8;
}

.odds-example .quote-chip {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 18px;
  border-radius: 3px;
  margin: 4px;
}

.odds-example .quote-label {
  font-family: var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
  color: #999;
  letter-spacing: 0.05em;
}

@media (prefers-color-scheme: dark) {
  .odds-example {
    background: #0D0D0C;
    border: 1px solid #2A2A27;
  }
  .odds-example p { color: #FAFAF8; }
  .odds-example p strong { color: #FAFAF8; }
}

/* --- callout --- */
.callout {
  border: 2px solid var(--color-accent);
  padding: 20px 24px;
  background: transparent;
  margin: 2em 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.callout p {
  font-family: var(--font-body);
  font-size: 16px;
  font-style: italic;
  color: var(--color-text);
  text-align: left;
  margin-bottom: 0;
  background: transparent;
}

/* --- card-grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 2em 0;
}

.card-grid > div {
  background: var(--color-surface);
  padding: 20px 24px;
  border-radius: 4px;
  border-top: 3px solid var(--color-accent);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.card-grid > div p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  text-align: left;
  background: transparent;
}

.card-grid > div p strong {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 15px;
}

/* --- comparison --- */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 2em 0;
}

.comparison > div {
  border-top: 3px solid var(--color-accent);
  padding-top: 16px;
}

.comparison > div:last-child {
  border-top-color: var(--color-text);
}

.comparison > div p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  text-align: left;
  background: transparent;
}

.comparison > div p strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  color: var(--color-text);
}

.comparison > div ul {
  text-align: left;
  padding-left: 1.2em;
}

.comparison > div li {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  text-align: left;
  margin-bottom: 6px;
}

@media (max-width: 600px) {
  .comparison {
    grid-template-columns: 1fr;
  }
}

/* --- key-takeaway --- */
.key-takeaway {
  border-top: 2px solid var(--color-accent);
  padding-top: 16px;
  margin: 2em 0;
}

.key-takeaway p {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
  text-align: left;
  background: transparent;
  margin-bottom: 0;
}

/* --- fun-fact --- */
.fun-fact {
  position: relative;
  padding-left: 24px;
  margin: 2em 0;
}

.fun-fact::before {
  content: '\2014';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.75;
}

.fun-fact p {
  font-family: var(--font-body);
  font-size: 15px;
  font-style: italic;
  color: var(--color-text-secondary);
  text-align: left;
  background: transparent;
  margin-bottom: 0;
}

/* --- glossary-term --- */
.glossary-term {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 1.25em 0;
}

.glossary-term .term {
  font-family: var(--font-mono);
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
  font-size: 16px;
}

.glossary-term .definition {
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  font-size: 16px;
}

@media (max-width: 600px) {
  .glossary-term { flex-direction: column; gap: 4px; }
}

/* --- dos-donts --- */
.dos-donts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 2em 0;
}

.dos-donts > div {
  padding-top: 12px;
}

.dos-donts > div:first-child {
  border-top: 3px solid var(--color-success);
}

.dos-donts > div:last-child {
  border-top: 3px solid var(--color-danger);
}

.dos-donts > div p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  text-align: left;
  background: transparent;
}

.dos-donts > div p strong {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 16px;
}

.dos-donts > div:first-child p strong { color: var(--color-success); }
.dos-donts > div:last-child p strong { color: var(--color-danger); }

.dos-donts > div ul {
  padding-left: 1.2em;
  text-align: left;
}

.dos-donts > div li {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  text-align: left;
  margin-bottom: 6px;
}

@media (max-width: 600px) {
  .dos-donts { grid-template-columns: 1fr; }
}

/* --- pre-bet-checklist --- */
.pre-bet-checklist {
  margin: 2em 0;
}

.pre-bet-checklist p strong {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 15px;
  color: var(--color-accent);
}

.pre-bet-checklist p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  text-align: left;
  background: transparent;
}

.pre-bet-checklist ul {
  border-left: 2px solid var(--color-border);
  padding-left: 28px;
  list-style: none;
  text-align: left;
}

.pre-bet-checklist li {
  position: relative;
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  text-align: left;
}

.pre-bet-checklist li::before {
  content: '\2610';
  position: absolute;
  left: -28px;
  top: 12px;
  font-size: 16px;
  color: var(--color-accent);
  background: var(--color-bg);
  padding: 0 4px;
  transform: translateX(-50%);
}

/* --- at-a-glance --- */
.at-a-glance {
  display: flex;
  justify-content: space-between;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  margin: 2em 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.at-a-glance > div {
  padding: 16px 20px;
  border-right: 1px solid var(--color-border);
  flex: 1;
}

.at-a-glance > div:last-child { border-right: none; }

.at-a-glance > div p {
  text-align: center;
  margin-bottom: 4px;
  background: transparent;
  color: var(--color-text);
}

.at-a-glance > div p:last-child { margin-bottom: 0; }

.at-a-glance > div p strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.at-a-glance > div p:last-child {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-text);
}

@media (max-width: 700px) {
  .at-a-glance {
    flex-direction: column;
  }
  .at-a-glance > div {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }
  .at-a-glance > div:last-child { border-bottom: none; }
}

/* --- worked-example --- */
.worked-example {
  background: var(--color-surface);
  padding: 28px 32px;
  border-radius: 4px;
  margin: 2em 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.worked-example p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  text-align: left;
  background: transparent;
  margin-bottom: 0.75em;
}

.worked-example p:last-child { margin-bottom: 0; }

.worked-example p strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  text-transform: uppercase;
  color: var(--color-text);
}

.worked-example .step-num {
  font-family: var(--font-mono);
  color: var(--color-accent);
  font-weight: 400;
}

.worked-example .step-divider {
  display: block;
  text-align: center;
  color: var(--color-accent);
  font-size: 20px;
  line-height: 1;
  margin: 8px 0;
}

.worked-example .result {
  font-weight: 600;
  font-size: 18px;
  color: var(--color-accent);
}

/* --- section-bridge --- */
.section-bridge {
  text-align: center;
  padding: 32px 0;
  margin: 40px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-bridge p {
  font-family: var(--font-body);
  font-size: 16px;
  font-style: italic;
  color: var(--color-text-secondary);
  text-align: center;
  background: transparent;
  margin-bottom: 0;
}

/* ============================================
   5. Hero Section
   ============================================ */
[data-content="hero"] {
  max-width: 100%;
  width: 100vw;
 
 padding: 82px 0 0 ;
  background-color: var(--color-bg);
  position: relative;
  overflow: hidden;
  text-align: center;
 
}

/* Hero SVG pattern */
[data-content="hero"]::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='500' viewBox='0 0 800 500'%3E%3Ccircle cx='400' cy='250' r='80' stroke='%230077B6' stroke-opacity='0.08' fill='none' stroke-width='1.5'/%3E%3Ccircle cx='400' cy='250' r='120' stroke='%230077B6' stroke-opacity='0.06' fill='none' stroke-width='1.5'/%3E%3Ccircle cx='400' cy='250' r='45' stroke='%230077B6' stroke-opacity='0.07' fill='none' stroke-width='1'/%3E%3Cline x1='400' y1='0' x2='400' y2='500' stroke='%230077B6' stroke-opacity='0.06' stroke-width='2'/%3E%3Cline x1='0' y1='160' x2='800' y2='160' stroke='%230077B6' stroke-opacity='0.05' stroke-width='1.5'/%3E%3Cline x1='0' y1='340' x2='800' y2='340' stroke='%230077B6' stroke-opacity='0.05' stroke-width='1.5'/%3E%3Ccircle cx='200' cy='160' r='6' fill='%230077B6' fill-opacity='0.07'/%3E%3Ccircle cx='600' cy='160' r='6' fill='%230077B6' fill-opacity='0.07'/%3E%3Ccircle cx='200' cy='340' r='6' fill='%230077B6' fill-opacity='0.07'/%3E%3Ccircle cx='600' cy='340' r='6' fill='%230077B6' fill-opacity='0.07'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  mask-image: radial-gradient(ellipse 70% 70% at center, transparent 20%, black 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at center, transparent 20%, black 80%);
}

@media (prefers-color-scheme: dark) {
  [data-content="hero"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='500' viewBox='0 0 800 500'%3E%3Ccircle cx='400' cy='250' r='80' stroke='%233DA5DB' stroke-opacity='0.08' fill='none' stroke-width='1.5'/%3E%3Ccircle cx='400' cy='250' r='120' stroke='%233DA5DB' stroke-opacity='0.06' fill='none' stroke-width='1.5'/%3E%3Ccircle cx='400' cy='250' r='45' stroke='%233DA5DB' stroke-opacity='0.07' fill='none' stroke-width='1'/%3E%3Cline x1='400' y1='0' x2='400' y2='500' stroke='%233DA5DB' stroke-opacity='0.06' stroke-width='2'/%3E%3Cline x1='0' y1='160' x2='800' y2='160' stroke='%233DA5DB' stroke-opacity='0.05' stroke-width='1.5'/%3E%3Cline x1='0' y1='340' x2='800' y2='340' stroke='%233DA5DB' stroke-opacity='0.05' stroke-width='1.5'/%3E%3Ccircle cx='200' cy='160' r='6' fill='%233DA5DB' fill-opacity='0.07'/%3E%3Ccircle cx='600' cy='160' r='6' fill='%233DA5DB' fill-opacity='0.07'/%3E%3Ccircle cx='200' cy='340' r='6' fill='%233DA5DB' fill-opacity='0.07'/%3E%3Ccircle cx='600' cy='340' r='6' fill='%233DA5DB' fill-opacity='0.07'/%3E%3C/svg%3E");
  }
}

.hero-label {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

[data-content="hero"] h1 {
  max-width: 1000px;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto 28px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-divider {
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  border: none;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.hero-meta {
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

[data-content="hero"] figure {
  max-width: var(--content-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

[data-content="hero"] figure img.hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}

[data-content="hero"] figure figcaption {
  margin-top: 12px;
}

.start-reading-btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  padding: 12px 28px;
  text-decoration: none;
  margin-top: 32px;
  position: relative;
  z-index: 1;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.start-reading-btn:hover {
  background: var(--color-accent);
  color: var(--color-bg);
  opacity: 1;
  transform: translateY(-1px);
}

/* ============================================
   5b. TOC — Compact Horizontal Strip
   ============================================ */
[data-content="toc"] {
  max-width: 100%;
  width: 100vw;

  padding: 20px var(--content-padding);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 2.5rem;
  background: var(--color-surface);
}

[data-content="toc"] nav {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  align-items: center;
}

[data-content="toc"] nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-secondary);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 3px;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

[data-content="toc"] nav a:hover {
  color: var(--color-accent);
  background: rgba(var(--color-accent-rgb), 0.08);
  opacity: 1;
}

/* ============================================
   6. FAQ — Details/Summary Accordion
   ============================================ */
[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 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  color: var(--color-text);
  padding: 20px 40px 20px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color 0.2s ease;
}

[data-content="faq"] summary::-webkit-details-marker { display: none; }
[data-content="faq"] summary::marker { content: ''; }

[data-content="faq"] summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 20px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

[data-content="faq"] details[open] summary::after {
  transform: rotate(45deg);
}

[data-content="faq"] summary:hover { color: var(--color-accent); }

[data-content="faq"] summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Modern ::details-content animation */
[data-content="faq"] ::details-content {
  transition: opacity 0.3s ease, block-size 0.3s ease, content-visibility 0.3s ease allow-discrete;
  opacity: 0;
  block-size: 0;
  overflow: clip;
}

[data-content="faq"] details[open] ::details-content {
  opacity: 1;
  block-size: auto;
}

/* Fallback for older browsers */
@supports not selector(::details-content) {
  @keyframes faq-fade-in {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
  }
  [data-content="faq"] details[open] > *:not(summary) {
    animation: faq-fade-in 0.3s ease forwards;
  }
}

[data-content="faq"] details div {
  padding: 0 0 20px;
}

[data-content="faq"] details div p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  text-align: left;
  line-height: 1.75;
}


/* ============================================
   8. Media Queries
   ============================================ */
@media (max-width: 768px) {
  h1 { font-size: clamp(36px, 9vw, 48px); }
  h2 { font-size: clamp(26px, 6vw, 32px); }
  h3 { font-size: clamp(20px, 4vw, 22px); }

  

  .hero-subtitle { font-size: 17px; }

  .info-box { padding: 20px 20px; }
  .odds-example { padding: 20px 20px; }
  .worked-example { padding: 20px 20px; }

  [data-content="toc"] nav {
    gap: 6px 10px;
  }

  [data-content="toc"] nav a {
    font-size: 12px;
    padding: 5px 8px;
  }
}

.container-footer{
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
}

.site-footer {
  margin-top: 3rem;
}
.footer-links {

  align-items: center;
 
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--color-secondary);
  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;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-accent);
  color: white;
  border-radius: var(--radius);
  z-index: 200;
}

.skip-link:focus {
  top: var(--space-md);
}

/*  */

.wp-block-image img {
  margin-bottom: 2rem;
}

.footer-menu {
  list-style: none;
}

.container-casa {
  /* margin: 6rem auto 1rem; */
  text-align: center;
}
.container-casa p {
  margin: 2.5rem auto;
  text-align: center;
}

.main-logo a {
  color: var(--color-text);
  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;
  
}

.logo-text {
  color: var(--color-text);
  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: var(--color-text);
  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 !important;
}
.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: var(--color-text);
  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: var(--c-primary);
}

.menu-item-has-children > a {
  display: flex !important;
  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 !important;
  padding-left: 20px !important;
  margin: 0 !important;
  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 !important;

  font-weight: 400 !important;
}

.menu-item-has-children > a {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.menu-item-has-children:hover > .sub-menu {
  max-height: 1000px !important;
  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 !important;
}

.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 !important;
}

.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;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  margin:0 0 3rem ;
  gap: 0.8rem;
}
.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 !important;
  }

  .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 !important;
  -webkit-tap-highlight-color: transparent;
}

footer p{
color: #ccc;
}
.site-footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 30px;
 
    margin-top: 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {

    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 a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-logo {

    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-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: 74px;
    
    
}

.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;
}

/* ============================================
   Images Styles — Eishockey Live Wetten Pillar
   ============================================ */

/* Hero image */
.hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}

/* Article images within sections */
.article-image {
  margin: 2.5em 0;
  text-align: center;
}

.article-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.article-image img:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.article-image figcaption {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary, #4A4A4A);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
  .article-image img {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .article-image img:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .article-image {
    margin: 2em 0;
  }

  .article-image img {
    border-radius: 2px;
  }
}
