/**
 * 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-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: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/inter-v20-latin-500.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+ */
}
/* ============================================================
   1. CSS VARIABLES & RESET
   ============================================================ */
:root {
  /* Colors — light mode */
  --color-bg:             #F4F6F8;
  --color-surface:        #FFFFFF;
  --color-text:           #2C3E50;
  --color-text-secondary: #5A6B7C;
  --color-accent:         #00C853;
  --color-accent-dim:     rgba(0, 200, 83, 0.12);
  --color-border:         #D8DDE3;
  --color-hero-start:     #0D1B2A;
  --color-hero-end:       #1A2E4A;
  --color-hero-text:      #E8ECF0;
  --color-success:        #1B8A3A;
  --color-success-bg:     #E8F5ED;
  --color-danger:         #C0392B;
  --color-danger-bg:      #FDECEA;

  /* Typography */
  --font-family:          'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:            'JetBrains Mono', 'Fira Code', monospace;

  /* Sizing */
  --content-max-width:    1000px;
  --section-gap:          4rem;
  --component-radius:     4px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(13,27,42,0.08), 0 1px 2px rgba(13,27,42,0.04);
  --shadow-md:  0 4px 12px rgba(13,27,42,0.10), 0 2px 4px rgba(13,27,42,0.06);
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg:             #0D1B2A;
    --color-surface:        #142233;
    --color-text:           #E8ECF0;
    --color-text-secondary: #8FA3B8;
    --color-accent:         #00C853;
    --color-accent-dim:     rgba(0, 200, 83, 0.10);
    --color-border:         #243448;
    --color-hero-start:     #060F18;
    --color-hero-end:       #0D1B2A;
    --color-success:        #2ECC71;
    --color-success-bg:     rgba(46,204,113,0.10);
    --color-danger:         #E74C3C;
    --color-danger-bg:      rgba(231,76,60,0.10);
    --shadow-sm:  0 1px 3px rgba(0,0,0,0.25);
    --shadow-md:  0 4px 12px rgba(0,0,0,0.35);
  }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   2. GLOBAL TYPOGRAPHY
   ============================================================ */
p {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.75;
  text-align: left;
  color: var(--color-text);
 
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 2rem auto;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  letter-spacing: -0.01em;
  color: var(--color-text);
  scroll-margin-top: 2rem;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  color: var(--color-text);
  scroll-margin-top: 2rem;
}

ul, ol {
  padding-left: 1.5rem;
  max-width: var(--content-max-width);
}

li {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.7;
  margin-bottom: 0.35rem;
  text-align: left;
}

strong { font-weight: 600; }
em { font-style: italic; }

a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}
a:hover { text-decoration-color: var(--color-accent); }
a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 2px; }

blockquote {
  border-left: 3px solid var(--color-accent);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  color: var(--color-text-secondary);
  font-style: italic;
  max-width: var(--content-max-width);
}

table {
  width: 100%;
  max-width: var(--content-max-width);
  border-collapse: collapse;
  font-size: clamp(0.85rem, 1.3vw, 0.95rem);
}
th {
  background: var(--color-surface);
  color: var(--color-text);
  font-weight: 600;
  text-align: left;
  padding: 0.65rem 0.85rem;
  border-bottom: 2px solid var(--color-accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
td {
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  text-align: left;
  vertical-align: top;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--color-accent-dim); }

figure {
  margin: 2rem auto;
  max-width: var(--content-max-width);
}
figure img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--component-radius);
}
figcaption {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  text-align: center;
  margin-top: 0.5rem;
}

/* ============================================================
   3. LAYOUT — SECTIONS
   ============================================================ */
main {
  width: 100%;
  display: block;
}

.container {
  padding: 0 15px;
  max-width: calc(var(--content-max-width) + clamp(2rem, 10vw, 5rem));
  margin: 0 auto;
}

[data-content] > h2 { margin: 1.5rem 0; }
[data-content] > h3 { margin: 1.75rem 0 0.75rem; }
[data-content] > p  { margin: 1rem 0; }
[data-content] > ul,
[data-content] > ol { margin-bottom: 1rem; }
[data-content] > table { margin: 1.5rem 0; }

/* Section separators */
[data-content] + [data-content] {
  border-top: 1px solid var(--color-border);
}

/* ============================================================
   4. COMPONENTS
   ============================================================ */

/* --- info-box --- */
.info-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--component-radius);
  padding: 1.25rem 0.5rem;
  margin: 1.75rem 0;
  max-width: var(--content-max-width);
  box-shadow: var(--shadow-sm);
}
.info-box p {
  margin: 0;
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  color: var(--color-text);
  text-align: left;
  max-width: none;
}
.info-box p + p { margin-top: 0.75rem; }

/* --- callout --- */
.callout {
  background: var(--color-accent-dim);
  border: 1px solid rgba(0,200,83,0.25);
  border-radius: var(--component-radius);
  padding: 1.25rem 0.5rem;
  margin: 1.75rem 0;
  max-width: var(--content-max-width);
  box-shadow: var(--shadow-sm);
}
.callout p {
  margin: 0;
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  color: var(--color-text);
  text-align: left;
  max-width: none;
}
.callout p + p { margin-top: 0.75rem; }

/* --- card-grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.75rem 0;
  max-width: var(--content-max-width);
}
.card-grid > * {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--component-radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  font-size: clamp(0.88rem, 1.3vw, 0.98rem);
  color: var(--color-text);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-grid > *:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* --- comparison --- */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 1.75rem 0;
  max-width: var(--content-max-width);
  border: 1px solid var(--color-border);
  border-radius: var(--component-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.comparison-col {
  padding: 1.25rem;
}
.comparison-col:first-child {
  border-right: 1px solid var(--color-border);
}
.comparison-col h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-accent);
}
.comparison-col p,
.comparison-col li {
  font-size: clamp(0.88rem, 1.3vw, 0.98rem);
  color: var(--color-text);
  text-align: left;
  max-width: none;
}

/* --- tldr --- */
.tldr {
  background: var(--color-surface);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--component-radius);
  padding: 1.5rem 1.75rem;
  margin: 1.75rem 0;
  max-width: var(--content-max-width);
  box-shadow: var(--shadow-sm);
}
.tldr h2 {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-text);
  text-align: left;
}
.tldr ul { padding-left: 1.25rem; max-width: none; }
.tldr li {
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  color: var(--color-text);
  margin-bottom: 0.5rem;
  text-align: left;
  max-width: none;
}

/* --- key-takeaway --- */
.key-takeaway {
  border-top: 2px solid var(--color-accent);
  padding: 1.25rem 0 0;
  margin: 2rem 0;
  max-width: var(--content-max-width);
}
.key-takeaway p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-text);
  text-align: left;
  max-width: none;
}

/* --- fun-fact --- */
.fun-fact {
  position: relative;
  padding-left: 1.25rem;
  margin: 1.75rem 0;
  max-width: var(--content-max-width);
}
.fun-fact::before {
  content: '—';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: 700;
}
.fun-fact p {
  font-style: italic;
  color: var(--color-text-secondary);
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  text-align: left;
  max-width: none;
}

/* --- glossary-term --- */
.glossary-term {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 1.25rem 0;
  max-width: var(--content-max-width);
}
.glossary-term strong {
  font-family: var(--font-mono);
  color: var(--color-accent);
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.glossary-term p {
  color: var(--color-text-secondary);
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  margin: 0;
  max-width: none;
  text-align: left;
}
@media (max-width: 560px) { .glossary-term { flex-direction: column; gap: 0.25rem; } }

/* --- dos-donts --- */
.dos-donts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 1.75rem 0;
  max-width: var(--content-max-width);
  border: 1px solid var(--color-border);
  border-radius: var(--component-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.dos-donts-col {
  padding: 1.25rem;
}
.dos-donts-col:first-child {
  border-right: 1px solid var(--color-border);
}
.dos-donts-col h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.dos-donts-col.dos h4 { color: var(--color-success); }
.dos-donts-col.donts h4 { color: var(--color-danger); }
.dos-donts-col ul { padding-left: 1.1rem; max-width: none; }
.dos-donts-col li {
  font-size: clamp(0.88rem, 1.3vw, 0.96rem);
  color: var(--color-text);
  text-align: left;
  max-width: none;
}
@media (max-width: 560px) { .dos-donts { grid-template-columns: 1fr; } .dos-donts-col:first-child { border-right: none; border-bottom: 1px solid var(--color-border); } }

/* --- pre-bet-checklist --- */
.pre-bet-checklist {
  margin: 1.75rem 0;
  max-width: var(--content-max-width);
}
.pre-bet-checklist > p {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  max-width: none;
}
.pre-bet-checklist ul {
  list-style: none;
  padding-left: 0;
  border-left: 2px solid var(--color-border);

  max-width: none;
}
.pre-bet-checklist li {
  position: relative;
  padding-left: 1.5rem;
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  color: var(--color-text);
  text-align: left;
  margin-bottom: 0.6rem;
  max-width: none;
}
.pre-bet-checklist li::before {
  content: '☐';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  background: var(--color-bg);
  line-height: 1.7;
}

/* --- at-a-glance --- */
.at-a-glance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 1.75rem 0;
  max-width: var(--content-max-width);
  border: 1px solid var(--color-border);
  border-radius: var(--component-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.at-a-glance-cell {
  padding: 1.25rem;
  border-right: 1px solid var(--color-border);
  text-align: center;
}
.at-a-glance-cell:last-child { border-right: none; }
.at-a-glance-cell strong {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-accent);
  text-align: center;
  margin-bottom: 0.35rem;
}
.at-a-glance-cell p {
  font-size: 0.78rem;
  color: var(--color-text-secondary);
  text-align: center;
  max-width: none;
  margin: 0;
}
@media (max-width: 560px) { .at-a-glance { grid-template-columns: 1fr; } .at-a-glance-cell { border-right: none; border-bottom: 1px solid var(--color-border); } .at-a-glance-cell:last-child { border-bottom: none; } }

/* --- worked-example --- */
.worked-example {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--component-radius);
  padding: 1.75rem 0.5rem;
  margin: 1.75rem 0;
  max-width: var(--content-max-width);
  box-shadow: var(--shadow-md);
}
.worked-example > p {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--color-text);
  text-align: left;
  max-width: none;
  line-height: 1.6;
}
.worked-example > p:first-child {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  color: var(--color-text);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.75rem;
}
.worked-example > p + p { margin-top: 0.75rem; }
.worked-example hr {
  border: none;
  border-top: 1px dashed var(--color-border);
  margin: 1rem 0;
  position: relative;
}
.worked-example hr::after {
  content: '↓';
  position: absolute;
  left: 50%;
  top: -0.6em;
  transform: translateX(-50%);
  background: var(--color-surface);
  padding: 0 0.35rem;
  color: var(--color-text-secondary);
  font-size: 0.75rem;
}

/* --- section-bridge --- */
.section-bridge {
  text-align: center;
  margin: 2rem 0;
  position: relative;
  max-width: var(--content-max-width);
}
.section-bridge::before,
.section-bridge::after {
  content: '—';
  color: var(--color-accent);
  margin: 0 0.75rem;
  font-weight: 700;
}
.section-bridge p {
  display: inline;
  font-style: italic;
  color: var(--color-accent);
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  text-align: center;

}

/* ============================================================
   5. HERO SECTION
   ============================================================ */
[data-content="hero"] {

  padding: 0;

  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--color-hero-start) 0%, var(--color-hero-end) 100%);
  border-top: none;
}

/* Grid overlay pattern */
[data-content="hero"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,83,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,83,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Glow */
[data-content="hero"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(0,200,83,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: calc(var(--content-max-width) + clamp(2rem, 10vw, 5rem));
  margin: 2rem auto 0;
 text-align: center;
}

.hero-label {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--color-accent);

  padding-top: 3rem;
}

[data-content="hero"] h1 {
  color: var(--color-hero-text);
  margin-bottom: 1rem;
  
}

.hero-hook {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(232,236,240,0.55);
  margin-bottom: 2rem;
 
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(232,236,240,0.08);
  border: 1px solid rgba(232,236,240,0.15);
  border-radius: 3px;
  padding: 0.3rem 0.65rem;
  font-size: 0.72rem;
  color: rgba(232,236,240,0.7);
  letter-spacing: 0.04em;
}

.hero-badge time {
  color: rgba(232,236,240,0.9);
  font-weight: 500;
}

.hero-trust {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(232,236,240,0.45);
}

/* Hero image */
[data-content="hero"] figure {
  margin: 2.5rem 0 0;
  max-width: 100%;
}
[data-content="hero"] figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  max-width: 100%;
}
[data-content="hero"] figcaption {
  color: rgba(232,236,240,0.45);
  font-size: 0.72rem;
  text-align: center;
  margin-top: 0.5rem;
}

/* ============================================================
   6. STAT-BAR
   ============================================================ */
[data-content="stat-bar"] {
  background: var(--color-hero-end);
  border-top: none;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 5vw, 2.5rem);
  max-width: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.stat-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  flex-wrap: wrap;
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.stat-item {
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

.stat-item span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(232,236,240,0.55);
  margin-top: 0.2rem;
}

/* ============================================================
   7. TOC — VERTICAL LIST
   ============================================================ */
[data-content="toc"] {
  background: var(--color-surface);
  border-top: none;
  border-bottom: 1px solid var(--color-border);
      padding: 20px 16px;
}

.toc-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 1.25rem;
}

nav[aria-label="Inhaltsverzeichnis"] ol {
  list-style: none;
  padding: 0;
  max-width: var(--content-max-width);
}

nav[aria-label="Inhaltsverzeichnis"] > ol > li {
  margin-bottom: 0.35rem;
  font-size: clamp(0.88rem, 1.4vw, 1rem);
}

nav[aria-label="Inhaltsverzeichnis"] > ol > li > a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
nav[aria-label="Inhaltsverzeichnis"] > ol > li > a:hover { color: var(--color-accent); }

nav[aria-label="Inhaltsverzeichnis"] ol ol {
  list-style: none;
  padding-left: 1.25rem;
  margin-top: 0.25rem;
}
nav[aria-label="Inhaltsverzeichnis"] ol ol li {
  margin-bottom: 0.2rem;
  font-size: 0.88rem;
}
nav[aria-label="Inhaltsverzeichnis"] ol ol a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}
nav[aria-label="Inhaltsverzeichnis"] ol ol a:hover { color: var(--color-accent); }

/* ============================================================
   8. FAQ ACCORDION
   ============================================================ */
details {
  border-bottom: 1px solid var(--color-border);
  max-width: var(--content-max-width);
}

details:first-of-type { border-top: 1px solid var(--color-border); }

summary {
  padding: 1rem 0;
  cursor: pointer;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  font-weight: 500;
  color: var(--color-text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: color 0.2s ease;
}
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--color-accent); }

summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.25s ease;
}
details[open] summary::after {
  transform: rotate(45deg);
}

/* Modern accordion animation */
details {
  interpolate-size: allow-keywords;
}

::details-content {
  overflow: hidden;
  transition:
    block-size 0.3s ease,
    opacity 0.3s ease,
    content-visibility 0.3s ease allow-discrete;
  block-size: 0;
  opacity: 0;
  content-visibility: hidden;
}

details[open]::details-content {
  block-size: auto;
  opacity: 1;
  content-visibility: visible;
}

/* 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); }
  }
  details[open] > *:not(summary) {
    animation: faq-fade-in 0.25s ease forwards;
  }
}

details > div {
  padding: 0 0 1.25rem;
}
details > div p {
  margin-bottom: 0.85rem;
  font-size: clamp(0.93rem, 1.45vw, 1.05rem);
  text-align: left;
  color: var(--color-text);
  max-width: none;
}
details > div p:last-child { margin-bottom: 0; }

/* ============================================================
   9. PREDICTION TABLE (stat-bar style)
   ============================================================ */
[data-content="prediction-table"] {
  background: var(--color-surface);
  border-radius: var(--component-radius);
      padding: 20px 6px;
}
[data-content="prediction-table"] table {
  border: 1px solid var(--color-border);
  border-radius: var(--component-radius);
  overflow: hidden;
}

/* ============================================================
   10. BACK TO TOP
   ============================================================ */



/* ============================================================
   12. FOCUS STYLES
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============================================================
   13. RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
 

  .stat-strip {
    gap: 1.5rem;
  }

  .comparison {
    grid-template-columns: 1fr;
  }
  .comparison-col:first-child {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .hero-meta { gap: 0.75rem; }
}

/* ============================================================
   14. IMAGE HELPERS
   ============================================================ */
.hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.article-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  loading: lazy;
}
/* ============================================================
   images-styles.css
   Стили для изображений: pillar-page (Fußball Vorhersagen / DE)
   ============================================================ */

/* ============================================================
   1. HERO IMAGE
   ============================================================ */
[data-content="hero"] figure {
  margin: 2.5rem 0 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 4px;
}

[data-content="hero"] figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 4px;
  object-fit: cover;
}

[data-content="hero"] figcaption {
  font-size: 0.72rem;
  color: rgba(232, 236, 240, 0.45);
  text-align: center;
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

/* ============================================================
   2. ARTICLE FIGURES (images 2–6)
   ============================================================ */
.article-figure {
  margin: 2.5rem 0;
  width: 100%;
  
  border-radius: 4px;
  overflow: hidden;
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border, #D8DDE3);
  box-shadow: 0 2px 8px rgba(13, 27, 42, 0.06);
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 4px 4px 0 0;
  object-fit: cover;
}

.article-figure figcaption {
  font-size: 0.78rem;
  color: var(--color-text-secondary, #5A6B7C);
  padding: 0.6rem 1rem 0.7rem;
  line-height: 1.5;
  border-top: 1px solid var(--color-border, #D8DDE3);
  background: transparent;
  text-align: left;
}

/* ============================================================
   3. DARK MODE OVERRIDES
   ============================================================ */
@media (prefers-color-scheme: dark) {
  .article-figure {
    background: var(--color-surface, #142233);
    border-color: var(--color-border, #243448);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  }

  .article-figure figcaption {
    color: var(--color-text-secondary, #8FA3B8);
    border-top-color: var(--color-border, #243448);
  }
}

/* ============================================================
   4. RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
  .article-figure {
    margin: 1.75rem 0;
    border-radius: 3px;
  }

  .article-figure figcaption {
    font-size: 0.72rem;
    padding: 0.5rem 0.75rem 0.6rem;
  }

  [data-content="hero"] figure {
    margin-top: 1.75rem;
    border-radius: 3px;
  }
}



/*  */

img {
	width: 100%;
	object-fit: cover;
	max-height: 700px;
}

.wp-block-image img {

	margin-bottom: 2rem;
}



/* ---. menu --- */
.header-top {
	position: fixed;

	width: 100%;
	color: #fff;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 11px;
 background: var(--color-accent);
	z-index: 1001;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}



.burger-logo {
	margin: 0;
	padding: 0;
}



.logo-wrapper {
	flex-wrap: nowrap !important;
	;
	display: flex !important;
	align-items: center !important;

	text-decoration: none;
}



.main-logo-img {

	max-height: 45px;
	width: auto;
	flex-shrink: 0;
}


.logo-text {
	
	white-space: nowrap;
	font-size: 1.4rem;
	font-weight: 700;
	text-transform: capitalize;
  color: #fff;
}


.logo-wrapper {
	display: flex !important;
	align-items: center !important;
	flex-wrap: nowrap !important;
	column-gap: 0.5rem !important;
}


.main-menu {
	gap: 1.2rem;
	display: flex;
}



.main-menu a {
	padding: 0 10px;
	display: inline-block;
	transition: color 0.3s;
}

.main-menu a:hover {
	color: inherit;

}

.menu-item__inner {
	display: inline-flex;
	justify-content: space-between;
	align-items: center;
	position: relative
}



.menu-toggle.active .icon-chevron {
	transform: rotate(180deg);
}

.menu-item-has-children>.sub-menu {
	display: none;
}

.menu-item-has-children>.sub-menu.active {
	display: block;
}

.sub-menu {
	display: none;
	min-width: 220px;
	width: 100%;
}

.main-navigation {
	top: 0;
	position: absolute;
	width: 100%;
	left: -100%;
	background-color: inherit;
	z-index: -1;
	overflow: auto;
}

.has-overlay {
	overflow: hidden;
}

.main-navigation.active {
	position: relative;
	color: inherit;
	background-color: inherit;
	left: 0;
	top: 3.5rem;
	height: 100vh;
	z-index: 9;
}

.main-navigation ul {
	margin: 0;
	padding: 0;
}

.menu-link {
	color: inherit;
	font-size: 0.9rem;
}

.menu-item-has-children:last-child .sub-menu,
.menu-item-has-children:nth-last-child(2) .sub-menu {
	right: 0;
	left: auto;
	padding: 0.9rem;
}

.sub-menu--level-2 {
	right: 100% !important;
	top: 0 !important;
	left: auto !important;
}

.sub-menu .sub-menu--level-2 li {
	margin-bottom: 0.9rem;
}


.main-menu li {
	position: relative;
	cursor: pointer;
	list-style-type: none;
	margin: 0;

}

.main-menu li.active {
	font-weight: 600;
	padding: 10px ;
  background:  #01090a1f;
	border-bottom: 4px solid rgb(255 255 255);

}

.burger-line {
	width: 100%;
	height: 3px;
	background-color: #fff;
	border-radius: 2px;
	transition: all 0.3s ease;
	position: absolute;
	left: 0;

}

.burger-line:nth-child(1) {
	top: 0;
}

.burger-line:nth-child(2) {
	top: 48%;
	transform: translateY(-50%);
}

.burger-line:nth-child(3) {
	bottom: 2px;
}

.js-burger {
	flex-direction: column;
	cursor: pointer;
	width: 30px;
	height: 25px;
	position: absolute;
	z-index: 1003;
	background: none;
	border: none;
	padding: 0.5rem;
	right: 2rem;
	top: 1rem;


}

.js-burger.active .burger-line:nth-child(1) {
	transform: rotate(45deg) translate(6px, 7px);
}

.js-burger.active .burger-line:nth-child(2) {
	opacity: 0;
}

.js-burger.active .burger-line:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -8px);
}

.main-navigation::after {
	display: block;
	content: '';
	position: relative;
	width: 100%;
	height: 5rem;
}


.main-navigation::after {
	display: block;
	content: '';
	position: relative;
	width: 100%;
	height: 5rem;
}

.main-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	column-gap: 1.4rem;
	row-gap: 1rem;
	margin: 0;
	padding: 0;
}

.burger-logo {

	white-space: nowrap;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	column-gap: 0.5rem;

}

.burger-logo a {
	font-size: clamp(0.5rem, 1.1rem + 1.1vw, 1.5rem) !important;

	z-index: 2;
	color: var(--color-primary);
	text-decoration: none;
}

.burger-logo a:hover {
	color: #fff !important;
}



/* Responsive */
@media(min-width: 1100px) {


	.container-casa {
		text-align: center;
	
		margin: auto;
	}

	.menu-toggle {
		padding: 3px;

	}

	.main-navigation {
		overflow: visible;
		justify-content: end;
		display: flex;
	}

	.header-nav {
		display: flex;
		align-items: center;
		margin: auto;
  
		padding: 0 2rem;
		width: 100%;
	}

	.header-nav a {
		display: flex;
		text-transform: capitalize;

		text-decoration: none;
		transition: color var(--transition);
		font-size: 1.1rem;
		flex-wrap: wrap;

		align-items: center;
		column-gap: 1.4rem;
		row-gap: 1rem;
		margin: 0;
		padding: 0 3px;

		z-index: 1000;

		margin-bottom: 0;
	}


	.sub-menu {
		display: none;
		min-width: 280px;
		max-width: 320px;
		width: 100%;
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 8;
		
	}

	.sub-menu a {
		color: #fff;
	}

	.header>.container {
		flex-wrap: nowrap;
	}

	.main-navigation::after {
		display: none;
	}

	.menu-item-has-children:hover>.sub-menu {
		display: block;
	}

	.main-navigation {

		top: 0;
		position: absolute;
		left: -100%;
		background-color: inherit;
		z-index: 9;

	}

	.icon-chevron {
		width: 1.2em;
		height: 1.2em;
		vertical-align: middle;
	}



	.js-burger {
		display: none;
	}

	.main-navigation {
		position: inherit;
	}

	.wp-block-image {
		margin: 2rem 0;
	}
}




@media (max-width: 1100px) {
  .hero-label {

    padding-top: 0;
}

	.wide-image-container {
		margin-left: calc(-2 * var(--space-xl));
		margin-right: calc(-2 * var(--space-xl));
		border-radius: var(--img-radius);
	}

	.burger-logo {
		display: flex;
		align-items: center;
		text-transform: uppercase;
		top: 0.5rem;
		left: 1.1rem;
		z-index: 2;
		position: absolute;
	}

	.burger-logo a {
		color: #ffffff !important;

	}

	.main-navigation ul {
		display: block;
	}

	.site-branding nav {

		background: none;
		border-radius: var(--radius);

		margin-bottom: calc(var(--gap) * 1.5);
		box-shadow: none;
		border: none;
	}


	.header-nav {
		display: flex;

	}

	.main-menu li {
		text-align: left;
		margin-top: 21px;
	}

	.sub-menu li {
		margin-top: 0 !important;
		padding: 0.2rem 1rem;
	}

	.main-menu li.active {
		border-bottom: none;

	}

	.header-nav a {
		font-size: 1.2rem;
	}

	.menu-item-has-children>.sub-menu.active {
		margin-left: 0.8rem;
	}


	.header-top {
		position: relative;
		min-height: 57px;
		display: flex;
		align-items: center;
	
	}
}

/* end menu */

.container-casa p {
	text-align: center;
	max-width: 1000px;

	margin: 2rem auto 2rem;
}

.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: 5rem 0 0 ;
	gap: 0.5rem;
}

.breadcrumbs-content {
	display: contents;
}

@media (max-width: 1024px) {
	.sitemap-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.25rem;
	}
}

@media (max-width: 768px) {
	.sitemap-list {
		grid-template-columns: 1fr;
		gap: 1rem;
	}


}

.sitemap-list li {
	margin-bottom: 8px;
	padding-left: 15px;
	position: relative;
}



.sitemap-list a {
	text-decoration: none;
	color: inherit;
	transition: color 0.3s;
}

.sitemap-list a:hover {
	color: #007cba;
}

.category-group {
	margin-bottom: 20px;
}

.tags-cloud {
	line-height: 2;
}

.tag {
	display: inline-block;
	background: #e9e9e9;
	padding: 5px 10px;
	margin: 3px;
	border-radius: 3px;
	text-decoration: none;
	color: #333;
	font-size: 14px;
	transition: all 0.3s;
}

.tag:hover {
	background: #007cba;
	color: white;
}

.toc {
	background: rgba(230, 57, 70, 0.1) !important;
	padding: var(--spacing-md) !important;
	border-radius: var(--radius-lg);
	margin-bottom: var(--spacing-sm);
	border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
	.sitemap-section {
		padding: 15px;
	}

	.tag {
		font-size: 12px;
		padding: 3px 8px;
	}
}



@media (max-width: 1100px) {

.breadcrumbs {

	margin: 2.5rem 0 3rem ;

}

	.wide-image-container {
		margin-left: calc(-2 * var(--space-xl));
		margin-right: calc(-2 * var(--space-xl));
		border-radius: var(--img-radius);
	}


	.site-branding nav {

		background: none;
		border-radius: var(--radius);

		margin-bottom: calc(var(--gap) * 1.5);
		box-shadow: none;
		border: none;
	}



}


header p {
	font-size: var(--font-md);

}

.toc-wrap {
	padding: 1rem;

}



.back-to-top {
	bottom: 1rem;
	right: 1rem;
	width: 45px;
	height: 45px;
}




/* articulos */
.articulos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 32px;
	padding-top: 30px;

	max-width: var(--max-width);
	margin: 0 auto;
}

.articulos-card {
	background: #ffffff;
	border-radius: 18px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	border: 1px solid rgba(0, 0, 0, 0.03);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
	padding: 0;
}

.articulos-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}


.articulos-card__image-link img {
	width: 100%;
	height: 170px;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.articulos-card:hover .articulos-card__image-link img {
	transform: scale(1.08);
}

/* Контент */


.articulos-card__content {
	padding: 0 17px 16px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;

}

.articulos-card__title {
	margin-top: 10px;
	font-size: 1rem;
	line-height: 1.3;
	font-weight: 700;

	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 1.6rem;
}

.articulos-card__title a {
	text-decoration: none;

}

.articulos-card__excerpt {
	margin-top: auto;

	margin-bottom: 0;
	color: #6e6e73;
	font-size: 0.95rem;
	line-height: 1.5;


	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
}


.articulos-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: #1d1d1f;
	font-weight: 600;
	font-size: 0.9rem;
	transition: gap 0.3s;
}

.articulos-card__link svg {
	transition: transform 0.3s;
}

.articulos-card__link:hover {
	color: #0073aa;
	gap: 12px;
}


.articulos-card__image-link {
	display: block;
	overflow: hidden;
	border-radius: 6px 6px 0 0;
	height: 170px;
}


.articulos-card__image-link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.6s ease;
}


.articulos-card:hover .articulos-card__image-link img {
	transform: scale(1.08);
}


.articulos-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.load-more-wrapper {
	text-align: center;
	margin: 40px 0;
}

.btn-load-more {
	background-color: #0073aa;
	color: white;
	border: none;
	padding: 12px 30px;
	border-radius: 5px;
	cursor: pointer;
	font-size: 1rem;
	transition: background 0.3s;
}

.btn-load-more:hover {
	background-color: #005177;
}


@media (max-width: 559px) {
	.articulos-grid {
		gap: 17px;

	}

	.articulos-card__image-link {

		height: 17rem;
	}
}

@media (max-width: 768px) {
	.sitemap-list {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
		gap: 5px;
		list-style: none;
		padding: 0;
	}
}

#site-navigation a,
.menu-item a {
	outline: none !important;
	-webkit-tap-highlight-color: transparent;
}
footer p{
  color: #ccc;
}
.site-footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 30px;
    font-family: 'Source Serif 4', serif; 
    margin-top: 2.5rem;
}
.sitemap-grid{
  padding: 2rem 0;
  margin: 3rem 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.2rem;
    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: 84px;
    
    
}
.footer-grid{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.footer-about p{
  font-size: 1rem;
}
.footer-logo-text {

    font-size: 28px;
    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;
}


