/**
 * Theme Name: sportnieuws
 * Version: 1.0
 */

/* dm-sans-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: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/dm-sans-v17-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-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: 'DM Sans';
  font-style: italic;
  font-weight: 500;
  src: url('fonts/dm-sans-v17-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-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: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/dm-sans-v17-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-800 - 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 Sans';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/dm-sans-v17-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-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: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/dm-sans-v17-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-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: 'DM Sans';
  font-style: italic;
  font-weight: 500;
  src: url('fonts/dm-sans-v17-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-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: 'DM Sans';
  font-style: italic;
  font-weight: 600;
  src: url('fonts/dm-sans-v17-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-700italic - 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 Sans';
  font-style: italic;
  font-weight: 700;
  src: url('fonts/dm-sans-v17-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-800italic - 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 Sans';
  font-style: italic;
  font-weight: 800;
  src: url('fonts/dm-sans-v17-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* ============================================
   1. CSS VARIABLES & RESET
   ============================================ */
:root {
  --color-primary: #0D1B2A;
  --color-accent: #00C853;
  --color-neutral: #F4F5F7;
  --color-amber: #FFB300;
  --color-text: #1A1A2E;
  --color-text-secondary: #5A6070;
  --color-bg: #FFFFFF;
  --color-bg-surface: #F4F5F7;
  --color-border: #D8DCE3;
  --color-success: #00C853;
  --color-danger: #E53935;
  --color-hero-bg: #0D1B2A;
  --color-hero-text: #E8EAED;

  --font-body: "Inter", "DM Sans", system-ui, sans-serif;
  --font-display: "DM Sans", "Inter", system-ui, sans-serif;

  --size-h1: clamp(2rem, 5vw, 3.5rem);
  --size-h2: clamp(1.5rem, 3vw, 2.25rem);
  --size-h3: clamp(1.2rem, 2.5vw, 1.75rem);
  --size-body: clamp(0.95rem, 1.5vw, 1.1rem);
  --size-small: 0.8rem;

  --weight-h1: 800;
  --weight-h2: 700;
  --weight-h3: 600;
  --weight-body: 400;
  --weight-label: 500;

  --line-height-body: 1.7;
  --letter-spacing-label: 0.04em;

  --content-width: 740px;
  --section-gap: clamp(3.5rem, 6vw, 6rem);
  --sidebar-width: 220px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-text: #E8EAED;
    --color-text-secondary: #9AA0AD;
    --color-bg: #0F1923;
    --color-bg-surface: #162029;
    --color-border: #2A3545;
    --color-neutral: #162029;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--size-body);
  font-weight: var(--weight-body);
  line-height: var(--line-height-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ============================================
   2. GENERAL TYPOGRAPHY
   ============================================ */
h1 {
  font-family: var(--font-display);
  font-size: var(--size-h1);
  font-weight: var(--weight-h1);
  line-height: 1.1;
  letter-spacing: -0.02em;
      max-width: 1005px;
    margin: 0 auto;
    text-align: center;
}

h2 {
  font-family: var(--font-display);
  font-size: var(--size-h2);
  font-weight: var(--weight-h2);
  line-height: 1.2;
  text-align: left;
  scroll-margin-top: 2rem;
}

h3 {
  font-family: var(--font-display);
  font-size: var(--size-h3);
  font-weight: var(--weight-h3);
  line-height: 1.3;
  text-align: left;
  scroll-margin-top: 2rem;
}

p {
  text-align: left;
  margin-bottom: 1.2em;
}

ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.2em;
}

li {
  text-align: left;
  margin-bottom: 0.4em;
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

blockquote {
  text-align: left;
  border-left: 3px solid var(--color-accent);
  padding-left: 1.2em;
  margin: 1.5em 0;
  color: var(--color-text-secondary);
  font-style: italic;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.92em;
}

th, td {
  text-align: left;
  padding: 0.75em 1em;
  border-bottom: 1px solid var(--color-border);
}

th {
  font-weight: 600;
  background-color: var(--color-bg-surface);
  font-size: var(--size-small);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-label);
}

figure {
  margin: 2em auto;
  max-width: 100%;
}

figcaption {
  text-align: center;
  font-size: var(--size-small);
  color: var(--color-text-secondary);
  margin-top: 0.6em;
}

hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2em 0;
}

/* ============================================
   3. LAYOUT — HEADER, MAIN, SECTIONS
   ============================================ */
header {
  position: relative;
  z-index: 10;
}

.home main {
  width: 100%;
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  gap: 0 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

article {
  /* display: contents; */
}

.container {
 max-width: 1000px;
 margin: 0 auto;
 padding: 0 15px;
}
.content {
  margin-top: 2.5rem;
}

[data-content] + [data-content] {
  border-top: 1px solid var(--color-border);
}

[data-content="hero"] {


  width: 100vw;
 
  padding: 0;
  border-top: none;
}

[data-content="toc"] {
  grid-column: 1;
  grid-row: 2 / 100;
  padding-top: var(--section-gap);
  border-top: none;
}

[data-content] h2 {
  margin-bottom: 1.2em;
}

[data-content] h3 {
  margin-top: 2em;
  margin-bottom: 0.8em;
}

[data-content] p + p {
  margin-top: 0;
}

/* ============================================
   4. COMPONENTS
   ============================================ */

/* --- Info Box --- */
.info-box {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: 4px;
  padding: 1.25em 1.5em;
  margin: 1.8em 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.info-box p {
  text-align: left;
  color: var(--color-text);
  font-size: var(--size-body);
  line-height: var(--line-height-body);
  margin-bottom: 0.6em;
}

.info-box p:last-child {
  margin-bottom: 0;
}

/* --- Odds Example --- */
.odds-example {
  background-color: var(--color-primary);
  color: var(--color-hero-text);
  border-radius: 6px;
  padding: 1.5em 2em;
  margin: 1.8em 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.odds-example p {
  text-align: center;
  color: var(--color-hero-text);
  background-color: transparent;
  font-size: var(--size-body);
  line-height: var(--line-height-body);
  margin-bottom: 0.6em;
}

.odds-example p:last-child {
  margin-bottom: 0;
}

.odds-example strong {
  color: var(--color-accent);
}

@media (prefers-color-scheme: dark) {
  .odds-example {
    background-color: #1A2A3C;
    color: #E8EAED;
  }
  .odds-example p {
    color: #E8EAED;
  }
  .odds-example strong {
    color: var(--color-accent);
  }
}

/* --- Callout --- */
.callout {
  border-left: 4px solid var(--color-amber);
  background-color: rgba(255,179,0,0.06);
  padding: 1.2em 1.5em;
  margin: 1.8em 0;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.callout p {
  text-align: left;
  color: var(--color-text);
  font-size: var(--size-body);
  line-height: var(--line-height-body);
  margin-bottom: 0.6em;
}

.callout p:last-child {
  margin-bottom: 0;
}

@media (prefers-color-scheme: dark) {
  .callout {
    background-color: rgba(255,179,0,0.08);
  }
  .callout p {
    color: var(--color-text);
  }
}

/* --- Card Grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2em;
  margin: 1.8em 0;
}

.card-grid > div {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1.2em;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-grid > div:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.card-grid p {
  text-align: left;
  color: var(--color-text);
  font-size: var(--size-body);
  line-height: var(--line-height-body);
  margin-bottom: 0.4em;
}

.card-grid p:last-child {
  margin-bottom: 0;
}

.card-grid h3, .card-grid h4 {
  font-size: 1rem;
  margin-bottom: 0.5em;
  margin-top: 0;
}

/* --- Comparison --- */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
  margin: 1.8em 0;
}

.comparison > div {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1.2em;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.comparison p {
  text-align: left;
  color: var(--color-text);
  font-size: var(--size-body);
  line-height: var(--line-height-body);
  margin-bottom: 0.4em;
}

.comparison p:last-child {
  margin-bottom: 0;
}

.comparison h3, .comparison h4 {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 0.5em;
}

@media (max-width: 600px) {
  .comparison {
    grid-template-columns: 1fr;
  }
}

/* --- TL;DR --- */
.tldr {
  background-color: var(--color-bg-surface);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 4px 4px 0;
  padding: 1.5em 2em;
  margin: 0;
}

.tldr h2 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 700;
  margin-bottom: 0.8em;
}

.tldr ul {
  margin-bottom: 0;
}

.tldr li {
  text-align: left;
  color: var(--color-text);
  margin-bottom: 0.5em;
}

.tldr li:last-child {
  margin-bottom: 0;
}

/* --- Key Takeaway --- */
.key-takeaway {
  border-top: 2px solid var(--color-accent);
  padding-top: 1em;
  margin: 2em 0;
}

.key-takeaway p {
  text-align: left;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0;
}

/* --- Fun Fact --- */
.fun-fact {
  position: relative;
  padding-left: 1.5em;
  margin: 1.8em 0;
}

.fun-fact::before {
  content: "\2014";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.fun-fact p {
  text-align: left;
  color: var(--color-text-secondary);
  font-style: italic;
  font-size: var(--size-body);
  line-height: var(--line-height-body);
  margin-bottom: 0;
}

/* --- Glossary Term --- */
.glossary-term {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 1.4em 0;
}

.glossary-term p {
  text-align: left;
  color: var(--color-text-secondary);
  font-size: var(--size-body);
  line-height: var(--line-height-body);
  margin-bottom: 0;
}

.glossary-term strong {
  font-family: "DM Sans", monospace;
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .glossary-term {
    flex-direction: column;
    gap: 4px;
  }
}

/* --- Dos and Donts --- */
.dos-donts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
  margin: 1.8em 0;
}

.dos-donts > div:first-child {
  border-left: 3px solid var(--color-success);
  padding-left: 1em;
}

.dos-donts > div:last-child {
  border-left: 3px solid var(--color-danger);
  padding-left: 1em;
}

.dos-donts h4 {
  font-size: var(--size-small);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-label);
  margin-bottom: 0.6em;
  margin-top: 0;
}

.dos-donts > div:first-child h4 {
  color: var(--color-success);
}

.dos-donts > div:last-child h4 {
  color: var(--color-danger);
}

.dos-donts p, .dos-donts li {
  text-align: left;
  color: var(--color-text);
  font-size: var(--size-body);
  line-height: var(--line-height-body);
}

@media (max-width: 600px) {
  .dos-donts {
    grid-template-columns: 1fr;
  }
}

/* --- Pre-Bet Checklist --- */
.pre-bet-checklist {
  margin: 1.8em 0;
}

.pre-bet-checklist h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-label);
  font-size: var(--size-small);
  color: var(--color-accent);
  margin-bottom: 0.8em;
}

.pre-bet-checklist ul {
  border-left: 2px solid var(--color-border);
  padding-left: 1.8em;
  list-style: none;
}

.pre-bet-checklist li {
  position: relative;
  text-align: left;
  color: var(--color-text);
  font-size: var(--size-body);
  line-height: var(--line-height-body);
  margin-bottom: 0.6em;
  padding-left: 0;
}

.pre-bet-checklist li::before {
  content: "\2610";
  position: absolute;
  left: -1.6em;
  top: 0;
  color: var(--color-accent);
  background-color: var(--color-bg);
  font-size: 1em;
}

/* --- At a Glance --- */
.at-a-glance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  margin: 1.8em 0;
}

.at-a-glance > div {
  padding: 1em 1.2em;
  border-right: 1px solid var(--color-border);
}

.at-a-glance > div:last-child {
  border-right: none;
}

.at-a-glance h4 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  margin-bottom: 0.3em;
  margin-top: 0;
  color: var(--color-text);
}

.at-a-glance p {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .at-a-glance {
    grid-template-columns: 1fr;
  }
  .at-a-glance > div {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }
  .at-a-glance > div:last-child {
    border-bottom: none;
  }
}

/* --- Worked Example --- */
.worked-example {
  background-color: var(--color-bg-surface);
  padding: 1.8em 2em;
  border-radius: 6px;
  margin: 1.8em 0;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

.worked-example p {
  text-align: left;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: var(--line-height-body);
  margin-bottom: 0.8em;
}

.worked-example p:last-child {
  margin-bottom: 0;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1.05em;
}

.worked-example p + p {
  padding-top: 0;
}

.worked-example strong {
  font-family: "DM Sans", monospace;
}

.worked-example hr {
  border-top: 1px dashed var(--color-border);
  margin: 0.8em 0;
}

/* --- Section Bridge --- */
.section-bridge {
  text-align: center;
  margin: 2.5em 0;
  position: relative;
  padding: 0 2em;
}

.section-bridge::before,
.section-bridge::after {
  content: "\2014\2014";
  color: var(--color-border);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8em;
  letter-spacing: 0.1em;
}

.section-bridge::before {
  left: 0;
}

.section-bridge::after {
  right: 0;
}

.section-bridge p {
  text-align: center;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--size-body);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================
   5. HERO SECTION
   ============================================ */
.hero-section {
  background-color: var(--color-hero-bg);
  color: var(--color-hero-text);
  position: relative;
  overflow: hidden;
 
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(255,255,255,0.03) 39px,
      rgba(255,255,255,0.03) 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(255,255,255,0.03) 39px,
      rgba(255,255,255,0.03) 40px
    );
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 80%);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(0,200,83,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;

  margin: 0 auto;
}

.hero-section .hero-label {
  display: inline-block;
  font-size: var(--size-small);
  font-weight: var(--weight-label);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-label);
  color: rgba(232,234,237,0.6);
  margin-bottom: 1.5em;
}

.hero-section h1 {
  color: var(--color-hero-text);
  margin-bottom: 0.5em;
  text-align: center;
}

.hero-subtitle {
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--size-small);
  font-weight: var(--weight-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 2em;
  opacity: 0.9;
}

.hero-section figure {
  margin: 2em auto 0;
  max-width: 100%;
}

.hero-image {
  width: 1200px;
  height: 630px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
}

.hero-section figcaption {
  color: rgba(232,234,237,0.5);
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2em;
  margin-bottom: 2em;
  flex-wrap: wrap;
  padding-top: 6rem;
}

.date-badge {
  font-size: var(--size-small);
  font-weight: var(--weight-label);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-label);
  color: rgba(232,234,237,0.7);
  background: rgba(255,255,255,0.06);
  padding: 0.3em 0.8em;
  border-radius: 3px;
}

.trust-marker {
  font-size: var(--size-small);
  font-weight: var(--weight-label);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-label);
  color: rgba(232,234,237,0.5);
}

/* ============================================
   6. TOC — STICKY SIDEBAR
   ============================================ */
[data-content="toc"] {
  position: sticky;
  top: 2rem;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
  padding-right: 1em;
}

[data-content="toc"]::-webkit-scrollbar {
  width: 4px;
}

[data-content="toc"]::-webkit-scrollbar-thumb {
  background-color: var(--color-border);
  border-radius: 2px;
}

[data-content="toc"]::-webkit-scrollbar-track {
  background: transparent;
}

.toc-nav {
  font-size: 0.85rem;
}

.toc-nav > ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.toc-nav > ul > li {
  margin-bottom: 0.6em;
}

.toc-nav > ul > li > a {
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1.4;
  display: block;
  padding: 0.15em 0;
  transition: color 0.2s ease;
}

.toc-nav > ul > li > a:hover {
  color: var(--color-accent);
  opacity: 1;
}

.toc-nav ul ul {
  list-style: none;
  padding-left: 0.9em;
  margin-top: 0.3em;
  margin-bottom: 0.3em;
}

.toc-nav ul ul li {
  margin-bottom: 0.25em;
}

.toc-nav ul ul a {
  color: var(--color-text-secondary);
  font-weight: 400;
  font-size: 0.8rem;
  line-height: 1.4;
  display: block;
  padding: 0.1em 0;
}

.toc-nav ul ul a:hover {
  color: var(--color-accent);
  opacity: 1;
}

/* ============================================
   7. FAQ ACCORDION
   ============================================ */
details {
  border-bottom: 1px solid var(--color-border);
  interpolate-size: allow-keywords;
}

summary {
  cursor: pointer;
  padding: 1em 2em 1em 0;
  font-weight: 600;
  font-size: 1.05em;
  line-height: 1.4;
  position: relative;
  list-style: none;
  color: var(--color-text);
  transition: color 0.2s ease;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  font-weight: 400;
  color: var(--color-text-secondary);
  transition: transform 0.3s ease;
}

details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

summary:hover {
  color: var(--color-accent);
}

summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

::details-content {
  opacity: 0;
  block-size: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, block-size 0.3s ease, content-visibility 0.3s ease allow-discrete;
  content-visibility: hidden;
}

details[open]::details-content {
  opacity: 1;
  block-size: auto;
  content-visibility: visible;
}

@supports not selector(::details-content) {
  @keyframes faq-fade-in {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
  }
  details[open] > *:not(summary) {
    animation: faq-fade-in 0.3s ease forwards;
  }
}

details div {
  padding-bottom: 1em;
}

details div p {
  text-align: left;
  color: var(--color-text);
  font-size: var(--size-body);
  line-height: var(--line-height-body);
}

/* ============================================
   8. ARTICLE IMAGE STYLES
   ============================================ */
.hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.article-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  loading: lazy;
}

[data-content] figure {
  margin: 2em auto;
}


/* ============================================
   10. MEDIA QUERIES
   ============================================ */
@media (max-width: 900px) {
  .home main {
    display: block;
    padding: 0 1rem;
  }

  [data-content="toc"] {
    position: static;
    max-height: none;
    overflow-y: visible;
    grid-column: auto;
    grid-row: auto;
    max-width: var(--content-width);
    padding-right: 0;
  }

  [data-content] {
    grid-column: auto;
    max-width: var(--content-width);
  }

  [data-content="hero"] {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    max-width: none;
  }
}

@media (max-width: 600px) {
  :root {
    --section-gap: 2.5rem;
  }

  .hero-section {
    padding: 3rem 1rem 2.5rem;
  }

  .hero-meta {
    flex-direction: column;
    gap: 0.6em;
  }

  table {
    font-size: 0.82rem;
  }

  th, td {
    padding: 0.5em 0.6em;
  }
}
/* ============================================
   IMAGES STYLES — Fußball Wett Tipps
   ============================================ */

/* --- Hero Image --- */
.hero-image {
    max-width: 100%;
    width: 1020px;
    
    display: block;
    margin: 0 auto;
    border-radius: 6px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    max-height: 621px;
    object-fit: cover;
}

.hero-section figure {
  margin: 2em auto 0;
  max-width: 100%;
}

.hero-section figcaption {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(232, 234, 237, 0.5);
  margin-top: 0.8em;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* --- Article Images --- */
.article-image {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.article-image:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

[data-content] figure {
  margin: 2.5em auto;
  max-width: 100%;
}

[data-content] figcaption {
  text-align: center;
  font-size: 0.8rem;
  color: #5A6070;
  margin-top: 0.6em;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.5;
}

@media (prefers-color-scheme: dark) {
  .article-image {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  }

  .article-image:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  [data-content] figcaption {
    color: #9AA0AD;
  }
}
[data-content="hero"] {
    grid-column: 1 / -1;
    max-width: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 0;
    border-top: none;
}
/* --- Responsive --- */
@media (max-width: 600px) {
  .hero-image {
    border-radius: 4px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
  }

  .article-image {
    border-radius: 4px;
  }

  [data-content] figure {
    margin: 1.8em auto;
    padding: 0 10px;
  }
}

/*  */

.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;
  max-width: 785px;
}

.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: 50%;
}

.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 !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: #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 !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: 3rem 0;
  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;
}
.sitemap-grid{
  margin: 7rem 0;
}
.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-size: 1rem;
    text-transform: uppercase;
    margin:0 0 15px;
    color: var(--color-accent);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-logo {
 
    font-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: 61px;
    border-radius: 50%;
    
}
.footer-grid{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.footer-about p{
  font-size: 1rem;
}
.footer-logo-text {

    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    color: #0073aa; 
    display: block;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.footer-disclaimer p{
  text-align: center;
  margin: 1.5rem 0;
}

/* Контейнер для скролла */
.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;
}


