/**
 * Theme Name: sportnieuws
 * Version: 1.0
 */
/* playfair-display-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/playfair-display-v40-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-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: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/playfair-display-v40-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-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: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/playfair-display-v40-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-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: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/playfair-display-v40-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* source-serif-4-300 - 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 Serif 4';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/source-serif-4-v14-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* source-serif-4-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 Serif 4';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/source-serif-4-v14-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* source-serif-4-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 Serif 4';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/source-serif-4-v14-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* source-serif-4-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: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/source-serif-4-v14-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ============================================================
   1. CSS VARIABLES & RESET
   ============================================================ */
:root {
  /* Colors – light theme */
  --color-primary:        #1A3D2B;
  --color-accent:         #F0A500;
  --color-bg:             #F9F7F2;
  --color-surface:        #FFFFFF;
  --color-text:           #1C1C1E;
  --color-text-secondary: #6B6B6B;
  --color-border:         #D8D4CA;
  --color-danger:         #D62828;
  --color-success:        #1A6B3A;
  --color-info:           #1A4D7A;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Serif 4', Georgia, serif;

  --h1:   clamp(2rem, 4vw + 1rem, 3.5rem);
  --h2:   clamp(1.5rem, 2.5vw + 0.75rem, 2.25rem);
  --h3:   clamp(1.125rem, 1.5vw + 0.5rem, 1.5rem);
  --body: clamp(1rem, 0.5vw + 0.875rem, 1.125rem);
  --small: 0.875rem;

  --line-height-body:    1.7;
  --line-height-heading: 1.2;

  /* Spacing */
  --section-gap:    clamp(3rem, 6vw, 5rem);
  --content-width:  1000px;
  --content-pad:    clamp(1.25rem, 5vw, 2.5rem);

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 8px 24px rgba(0,0,0,0.10), 0 3px 6px rgba(0,0,0,0.05);
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg:             #121A14;
    --color-surface:        #1C2920;
    --color-text:           #EDE9E0;
    --color-text-secondary: #9A9590;
    --color-border:         #2E3D32;
    --color-primary:        #2A5C40;
    --color-info:           #1A4D7A;
    --color-success:        #1E7A44;
    --shadow-sm:  0 1px 3px rgba(0,0,0,0.30);
    --shadow-md:  0 4px 12px rgba(0,0,0,0.40);
    --shadow-lg:  0 8px 24px rgba(0,0,0,0.50);
  }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: var(--line-height-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   2. GENERAL TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: var(--line-height-heading);
  color: var(--color-text);
  text-align: left;
}

h1 { font-size: var(--h1); font-weight: 700; }
h2 { font-size: var(--h2); font-weight: 600; scroll-margin-top: 2rem; }
h3 { font-size: var(--h3); font-weight: 600; scroll-margin-top: 2rem; }

p { text-align: left; }
p + p { margin-top: 1.25em; }


li { margin-top: 0.5em; }


strong { font-weight: 600; }
em { font-style: italic; }

a {
  color: var(--color-primary);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 0.2s ease, opacity 0.2s ease;
}
a:hover { opacity: 0.75; }
a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}
@media (prefers-color-scheme: dark) {
  a { color: var(--color-accent); }
}

blockquote {
  border-left: 3px solid var(--color-accent);
  padding-left: 1.25em;
  margin: 1.5em 0;
  font-style: italic;
  color: var(--color-text-secondary);
}

figure {
  margin: 2em auto;
  max-width: 100%;
}
figcaption {
  font-size: var(--small);
  color: var(--color-text-secondary);
  text-align: center;
  margin-top: 0.5em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95em;
  text-align: left;
}
th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--small);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background-color: var(--color-primary);
  color: #FFFFFF;
  padding: 0.75em 1em;
  text-align: left;
}
td {
  padding: 0.75em 1em;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  text-align: left;
  color: var(--color-text);
}
tr:last-child td { border-bottom: none; }
tbody tr { background-color: var(--color-surface); transition: background-color 0.15s ease; }
tbody tr:hover { background-color: color-mix(in srgb, var(--color-accent) 6%, var(--color-surface)); }
tbody tr:nth-child(even) { background-color: color-mix(in srgb, var(--color-bg) 60%, var(--color-surface)); }
tbody tr:nth-child(even):hover { background-color: color-mix(in srgb, var(--color-accent) 8%, var(--color-surface)); }

details { text-align: left; }
summary {
  cursor: pointer;
  list-style: none;
  text-align: left;
}
summary::-webkit-details-marker { display: none; }

/* ============================================================
   3. LAYOUT – MAIN & SECTIONS
   ============================================================ */
main {
  width: 100%;
  max-width: none;
}

.container{
  max-width: var(--content-width);
  margin: 2.5rem auto;
  padding: 0 15px;
}

[data-content]:last-of-type {
  padding-bottom: var(--section-gap);
}

[data-content] h2 {
  margin-bottom: 1.25em;
}
[data-content] h3 {
  margin-top: 1.75em;
  margin-bottom: 0.75em;
}

/* Nested provider sections inside top-providers */
[data-content="top-providers"] [data-content] {
  max-width: none;
  padding: 0;
  margin: var(--section-gap) 0 0;
}
[data-content="top-providers"] [data-content]:first-of-type {
  margin-top: 1.5em;
}

/* ============================================================
   4. COMPONENTS
   ============================================================ */

/* .info-box */
.info-box {
  border: 1.5px solid var(--color-info);
  border-left: 4px solid var(--color-info);
  background-color: color-mix(in srgb, var(--color-info) 6%, var(--color-surface));
  border-radius: 4px;
  padding: 1.25em 1.5em;
  margin: 2em 0;
  box-shadow: var(--shadow-sm);
}
.info-box p {
  text-align: left;
  color: var(--color-text);
  margin: 0;
}
.info-box p + p { margin-top: 0.75em; }

/* .callout / .callout-warning */
.callout,
.callout-warning {
  border-left: 4px solid var(--color-danger);
  background-color: color-mix(in srgb, var(--color-danger) 5%, var(--color-surface));
  border-radius: 0 4px 4px 0;
  padding: 1.25em 1.5em;
  margin: 2em 0;
  box-shadow: var(--shadow-sm);
}
.callout p,
.callout-warning p {
  text-align: left;
  color: var(--color-text);
  margin: 0;
}
.callout p + p,
.callout-warning p + p { margin-top: 0.75em; }

/* .key-takeaway */
.key-takeaway {
  border-top: 2px solid var(--color-accent);
  padding: 1.25em 0 0;
  margin: 2em 0;
}
.key-takeaway p {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.5vw + 0.5rem, 1.375rem);
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  color: var(--color-text);
  margin: 0;
}

/* .fun-fact */
.fun-fact {
  position: relative;
  padding-left: 1.5em;
  margin: 1.75em 0;
}
.fun-fact::before {
  content: '—';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: 700;
  line-height: var(--line-height-body);
}
.fun-fact p {
  font-style: italic;
  color: var(--color-text-secondary);
  text-align: left;
  margin: 0;
}

/* .glossary-term */
.glossary-term {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 1.75em 0;
}
.glossary-term strong {
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  flex-shrink: 0;
}
@media (prefers-color-scheme: dark) {
  .glossary-term strong { color: var(--color-accent); }
}
.glossary-term p {
  color: var(--color-text-secondary);
  text-align: left;
  margin: 0;
}
@media (max-width: 600px) {
  .glossary-term { flex-direction: column; gap: 4px; }
}

/* .dos-donts */
.dos-donts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5em;
  margin: 2em 0;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.dos-donts .do,
.dos-donts .dont {
  padding: 1.25em 1.5em;
}
.dos-donts .do {
  background-color: color-mix(in srgb, var(--color-success) 8%, var(--color-surface));
  border-right: 1px solid var(--color-border);
}
.dos-donts .dont {
  background-color: color-mix(in srgb, var(--color-danger) 5%, var(--color-surface));
}
.dos-donts .do h4,
.dos-donts .dont h4 {
  font-family: var(--font-body);
  font-size: var(--small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75em;
}
.dos-donts .do h4 { color: var(--color-success); }
.dos-donts .dont h4 { color: var(--color-danger); }
.dos-donts ul { padding-left: 1.25em; margin: 0; }
.dos-donts li { color: var(--color-text); margin-top: 0.4em; font-size: 0.95em; text-align: left; }
@media (max-width: 600px) {
  .dos-donts { grid-template-columns: 1fr; }
  .dos-donts .do { border-right: none; border-bottom: 1px solid var(--color-border); }
}

/* .tldr */
.tldr {
  background-color: var(--color-surface);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 6px 6px 0;
  padding: 1.5em 6px;
  margin: 2em 0;
  box-shadow: var(--shadow-sm);
}
.tldr h2 {
  font-size: clamp(1rem, 1.2vw + 0.6rem, 1.25rem);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1em;
}
@media (prefers-color-scheme: dark) {
  .tldr h2 { color: var(--color-accent); }
}
.tldr ul { padding-left: 1.25em; }
.tldr li { font-size: 0.95em; color: var(--color-text); margin-top: 0.5em; text-align: left; }

/* .pre-bet-checklist */
.pre-bet-checklist {
  position: relative;
  margin: 2em 0;
  padding-left: 0;
}
.pre-bet-checklist h3 {
  font-family: var(--font-body);
  font-size: var(--small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 1em;
  margin-top: 0;
}
.pre-bet-checklist ul {
  list-style: none;
  padding: 0;
  border-left: 2px solid var(--color-border);
  padding-left: 1.5em;
}
.pre-bet-checklist li {
  position: relative;
  margin-top: 0.6em;
  text-align: left;
  font-size: 0.95em;
}
.pre-bet-checklist li::before {
  content: '☐';
  position: absolute;
  left: -1.75em;
  top: 0.05em;
  color: var(--color-accent);
  background-color: var(--color-bg);
  font-size: 0.85em;
  line-height: 1.7;
}

/* .at-a-glance */
.at-a-glance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  margin: 2em 0;
  box-shadow: var(--shadow-sm);
  background: var(--color-surface);
}
.at-a-glance .cell {
  padding: 1.25em 10px;
  border-right: 1px solid var(--color-border);
}
.at-a-glance .cell:last-child { border-right: none; }
.at-a-glance .cell-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
  color: var(--color-primary);
  display: block;
  text-align: center;
}
@media (prefers-color-scheme: dark) {
  .at-a-glance .cell-title { color: var(--color-accent); }
}
.at-a-glance .cell p {
  font-size: 0.875em;
  color: var(--color-text-secondary);
  margin: 0.4em 0 0;
  text-align: center;
}
@media (max-width: 600px) {
  .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: 6px;
  padding: 1.75em 10px;
  margin: 2em 0;
  box-shadow: var(--shadow-md);
}
.worked-example h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1em;
}
@media (prefers-color-scheme: dark) {
  .worked-example h4 { color: var(--color-accent); }
}
.worked-example .step {
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: var(--color-text);
  text-align: left;
  padding: 0.6em 0;
  border-bottom: 1px dashed var(--color-border);
}
.worked-example .step:last-of-type { border-bottom: none; }
.worked-example .result {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: left;
  margin-top: 1em;
}
@media (prefers-color-scheme: dark) {
  .worked-example .result { color: var(--color-accent); }
}

/* .section-bridge */
.section-bridge {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-accent);
  font-size: 0.95em;
  margin: 1.75em 0 0.75em;
  position: relative;
}
.section-bridge::before,
.section-bridge::after {
  content: '——';
  opacity: 0.4;
  margin: 0 0.75em;
  font-style: normal;
  letter-spacing: -0.1em;
}
.section-bridge p {
  display: inline;
  text-align: center;
}

/* .odds-example */
.odds-example {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border-radius: 6px;
  padding: 1.5em 1.75em;
  margin: 2em 0;
  box-shadow: var(--shadow-md);
}
.odds-example p {
  color: #FFFFFF;
  text-align: center;
  margin: 0;
}
.odds-example p + p { margin-top: 0.5em; }
.odds-example .odds-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-accent);
  display: block;
  text-align: center;
}
.odds-example .odds-label {
  font-size: var(--small);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  text-align: center;
  display: block;
}
@media (prefers-color-scheme: dark) {
  .odds-example {
    background-color: #0F2A1D;
    border: 1px solid var(--color-border);
  }
  .odds-example p { color: #EDE9E0; }
}

/* .comparison */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  margin: 2em 0;
  box-shadow: var(--shadow-sm);
}
.comparison .col {
  padding: 1.25em 1.5em;
  background: var(--color-surface);
}
.comparison .col:first-child {
  border-right: 1px solid var(--color-border);
}
.comparison .col-header {
  font-size: var(--small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-primary);
  margin-bottom: 0.75em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid var(--color-accent);
  text-align: left;
}
@media (prefers-color-scheme: dark) {
  .comparison .col-header { color: var(--color-accent); }
}
.comparison .col p { text-align: left; color: var(--color-text); font-size: 0.95em; margin: 0; }
.comparison .col p + p { margin-top: 0.5em; }
@media (max-width: 600px) {
  .comparison { grid-template-columns: 1fr; }
  .comparison .col:first-child { border-right: none; border-bottom: 1px solid var(--color-border); }
}

/* .card-grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25em;
  margin: 2em 0;
}
.card-grid .card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1.25em 1.5em;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-grid .card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card-grid .card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5em;
  text-align: left;
}
@media (prefers-color-scheme: dark) {
  .card-grid .card h4 { color: var(--color-accent); }
}
.card-grid .card p { color: var(--color-text); font-size: 0.9em; text-align: left; margin: 0; }

/* ============================================================
   5. HERO SECTION
   ============================================================ */
[data-content="hero"] {
  max-width: none;
  padding: 0;
  margin: 0;
 
  position: relative;
  overflow: hidden;
  background-color: var(--color-primary);
}

/* Lawn texture pattern */
[data-content="hero"]::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 18px,
      rgba(255,255,255,1) 18px,
      rgba(255,255,255,1) 19px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.6) 40px,
      rgba(255,255,255,0.6) 41px
    );
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 20%, transparent 80%);
}

/* Glow */
[data-content="hero"]::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(240,165,0,0.06) 0%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-width);
  margin: 0 auto;
  
  text-align: center;
}

.hero-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5em;
  margin-bottom: 1.5em;
}

.hero-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.75rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.08);
  padding: 0.3em 0.75em;
  border-radius: 2em;
  border: 1px solid rgba(255,255,255,0.12);
}

.hero-trust {
  font-size: 0.72rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
}

[data-content="hero"] h1 {
  font-size: var(--h1);
  color: #FFFFFF;
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.6em;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 1.2vw + 0.5rem, 1.0625rem);
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
  margin-bottom: 2em;
}

.hero-cta {
  display: inline-block;
  background-color: var(--color-accent);
  color: #1C1C1E;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-decoration: none;
  padding: 0.85em 2em;
  border-radius: 3px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 4px 16px rgba(240,165,0,0.30);
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240,165,0,0.40);
  opacity: 1;
  color: #1C1C1E;
}

.hero-img-wrap {
  max-width: var(--content-width);
  margin: 2.5em auto 0;
  padding: 0 var(--content-pad);
}

.hero-img-wrap figure {
  margin: 0;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px 6px 0 0;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}

/* Hero-to-page fade */
[data-content="hero"] + [data-content] {
  padding-top: var(--section-gap);
}

/* ============================================================
   6. TOC
   ============================================================ */
[data-content="toc"] {
  padding-top: var(--section-gap);
}
[data-content="toc"] nav {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1.5em 10px;
  box-shadow: var(--shadow-sm);
}
[data-content="toc"] nav h2 {
  font-size: 0.8rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-secondary);
  margin-bottom: 1em;
}
[data-content="toc"] > nav > ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
[data-content="toc"] > nav > ul > li {
  margin-top: 0.6em;
}
[data-content="toc"] > nav > ul > li:first-child {
  margin-top: 0;
}
[data-content="toc"] a {
  font-family: var(--font-body);
  font-size: 0.9375em;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.15s ease;
}
[data-content="toc"] a:hover {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (prefers-color-scheme: dark) {
  [data-content="toc"] a:hover { color: var(--color-accent); }
}

/* Sub-items (H3) */
[data-content="toc"] ul ul {
  list-style: none;

  margin: 0.35em 0 0;
}
[data-content="toc"] ul ul li {
  margin-top: 0.3em;
}
[data-content="toc"] ul ul a {
  font-size: 0.875em;
  color: var(--color-text-secondary);
}

/* ============================================================
   7. HEADER & FOOTER
   ============================================================ */
header {
  background-color: var(--color-primary);
  /* zero height if empty – no gap before hero */
  min-height: 0;
}

footer {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);

  margin: 0 auto;
  padding: 2.5rem var(--content-pad);
  border-top: 1px solid var(--color-border);
}

/* ============================================================
   8. ARTICLE IMAGE
   ============================================================ */
.article-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
}

/* ============================================================
   9. FAQ ACCORDION
   ============================================================ */
[data-content="faq"] details {
  border-bottom: 1px solid var(--color-border);
  padding: 0.25em 0;
}
[data-content="faq"] details:first-of-type {
  border-top: 1px solid var(--color-border);
}

[data-content="faq"] summary {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.2vw + 0.5rem, 1.125rem);
  font-weight: 600;
  color: var(--color-text);
  padding: 1.1em 2.5em 1.1em 0;
  position: relative;
  transition: color 0.2s ease;
}
[data-content="faq"] summary:hover {
  color: var(--color-primary);
}
@media (prefers-color-scheme: dark) {
  [data-content="faq"] summary:hover { color: var(--color-accent); }
}

[data-content="faq"] summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4em;
  font-weight: 300;
  color: var(--color-accent);
  transition: transform 0.25s ease;
  font-family: var(--font-body);
}
[data-content="faq"] details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

/* Modern animation – Chrome 131+, Firefox 143+, Safari 18.4+ */
[data-content="faq"] details {
  interpolate-size: allow-keywords;
}
[data-content="faq"] details::details-content {
  opacity: 0;
  block-size: 0;
  overflow: hidden;
  transition:
    opacity 0.3s ease,
    block-size 0.3s ease,
    content-visibility 0.3s ease allow-discrete;
}
[data-content="faq"] details[open]::details-content {
  opacity: 1;
  block-size: auto;
}

/* 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.25s ease forwards;
  }
}

[data-content="faq"] details div {
  padding: 0 0 1.25em;
}
[data-content="faq"] details div p {
  color: var(--color-text);
  text-align: left;
  margin: 0;
}
[data-content="faq"] details div p + p { margin-top: 0.75em; }

/* ============================================================
   10. DISCLAIMER
   ============================================================ */
[data-content="disclaimer"] {
  border-top: 1px solid var(--color-border);
  padding-top: 2.5rem;
}
[data-content="disclaimer"] p {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  text-align: left;
}

/* ============================================================
   11. BACK TO TOP (not Back to Top – disabled by randomizer)
   START READING – enabled by randomizer
   ============================================================ */
.start-reading-wrap {
  text-align: center;
  margin-top: 2em;
}
.btn-start-reading {
  display: inline-block;
  background: transparent;
  border: 1.5px solid var(--color-accent);
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 0.65em 1.5em;
  border-radius: 3px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn-start-reading:hover {
  background: var(--color-accent);
  color: #1C1C1E;
  transform: translateY(-1px);
  text-decoration: none;
  opacity: 1;
}

/* ============================================================
   12. RESPONSIVE
   ============================================================ */



/* ============================================================
   images-styles.css
   Стили для изображений: index.html — Fußball Wettanbieter DE
   ============================================================ */

/* ---- Hero image ---- */
.hero-img-wrap {
  width: 100%;
  margin-top: 2.5rem;
  line-height: 0;
}

.hero-img-wrap figure {
  margin: 0;
}

.hero-image {
  width: 100%;
  height: auto;

  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: 0;
}

.hero-img-wrap figcaption {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  line-height: 1.4;
}

/* ---- Article figures (images 2–6) ---- */
.article-figure {
  margin: 2.25rem auto;
  max-width: 100%;
  display: block;
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10), 0 1px 4px rgba(0, 0, 0, 0.06);
  background-color: #e8e4dc;
}

.article-figure figcaption {
  font-size: 0.8125rem;
  color: var(--color-text-secondary, #6B6B6B);
  text-align: center;
  margin-top: 0.6rem;
  line-height: 1.5;
  padding: 0 0.5rem;
}

/* ---- Dark mode adjustments ---- */
@media (prefers-color-scheme: dark) {
  .article-figure img {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45), 0 1px 4px rgba(0, 0, 0, 0.25);
    background-color: #1c2920;
  }

  .article-figure figcaption {
    color: var(--color-text-secondary, #9A9590);
  }

  .hero-img-wrap figcaption {
    color: rgba(255, 255, 255, 0.55);
  }
}

/* ---- Responsive ---- */
@media (max-width: 760px) {
  .hero-image {
    max-height: 320px;
  }

  .article-figure {
    margin: 1.75rem auto;
  }
}

@media (max-width: 480px) {
  .hero-image {
    max-height: 240px;
    border-radius: 0;
  }

  .article-figure img {
    border-radius: 2px;
  }
}

/*  */

img {
	width: 100%;
	object-fit: cover;
	max-height: 700px;
}

.wp-block-image img {

	margin-bottom: 2rem;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	column-gap: 3rem;
	list-style: none;
	font-size: 1.1rem;
}






.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 {
	color: inherit;
	white-space: nowrap;
	font-size: 1.4rem;
	font-weight: 700;
	text-transform: capitalize;

}


.logo-wrapper {
	display: flex !important;
	align-items: center !important;
	flex-wrap: nowrap !important;
	column-gap: 0.5rem !important;
}

/* --- HEADER & LOGO --- */
.header-top {
    position: relative;
  
    padding: 12px 20px;
    min-height: 70px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
    z-index: 1001;
    color: #fff;
}

.logo-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    text-decoration: none !important;
    color: #fff !important;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
}

/* --- DESKTOP MENU (993px+) --- */
@media (min-width: 993px) {
    .js-burger { display: none !important; }

    .main-navigation { display: block !important; }

    .main-menu {
        display: flex;
        gap: 20px;
        list-style: none;
    }

    .main-menu a {
        color: #fff !important;
        font-weight: 600;
        text-decoration: none !important;
  
    }

    .menu-item-has-children { position: relative; }

    .sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        min-width: 220px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        display: none;
        padding: 10px 0;
        border-radius: 4px;
    }

    .menu-item-has-children:hover > .sub-menu {
        display: block;
    }

    .sub-menu a {
        color: #333 !important;
        display: block;
        padding: 8px 20px;
        font-size: 14px;
    }

    .sub-menu a:hover { background: #f5f5f5; }
}

/* --- MOBILE MENU (до 992px) --- */
@media (max-width: 992px) {
    .js-burger {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1100;
    }

    .burger-line {
        width: 30px;
        height: 3px;
        background-color: #fff;
        transition: 0.3s;
    }

    /* Мобильная навигация */
    .main-navigation {
        position: fixed !important;
        top: 0;
        right: -100% !important; 
        width: 300px;
        height: 100vh;
        background: var(--color-primary);
        padding: 66px 10px 0 38px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
        display: block !important;
        overflow-y: auto;
    }

    .main-navigation.active {
        right: 0 !important; 
    }

    .main-menu {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .main-menu a {
        color: #fff !important;
        font-size: 1.2rem;
        font-weight: 600;
        display: block;
    }

    /* Выпадающее меню в мобилке */
    .sub-menu {
        display: none !important; /* Скрыто по умолчанию */
        padding-left: 20px;
        margin-top: 10px;
        border-left: 2px solid var(--color-primary);
    }

    /* Когда открыто через JS класс .is-open */
    .menu-item-has-children.is-open > .sub-menu {
        display: block !important;
    }
}

.header-nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Оверлей (затемнение фона) */
body.has-overlay::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999;
}

.container-casa p {
	text-align: center;

	max-width: 700px;
	margin: 1rem auto 0;
}

.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: 14px 0 1rem;
	gap: 0.8rem;
}
.breadcrumbs .current{
  color: #fff;
}
	
.breadcrumbs a{
  color: var(--color-accent);
}
	
.breadcrumbs .separator{
  color: var(--color-accent);
}
	


.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;
}


@media (max-width: 768px) {
	.sitemap-section {
		padding: 15px;
	}

	.tag {
		font-size: 12px;
		padding: 3px 8px;
	}
}



@media (max-width: 1100px) {
	.site-titlecontainer-casa {
		margin-top: 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;

    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: 17px;
    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: 20px;
    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: 59px;
    
    
}
.footer-grid{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer-logo-text {

    font-size: 18px;
    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;
}

