/**
 * Theme Name: sportnieuws
 * Version: 1.0
 */
/* poppins-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: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/poppins-v24-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
 /* barlow-condensed-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/barlow-condensed-v13-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

 /* jetbrains-mono-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/jetbrains-mono-v24-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* source-sans-3-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/source-sans-3-v19-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* source-sans-3-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: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/source-sans-3-v19-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* === 1. CSS Variables & Reset === */
:root {
  --color-bg: #ffffff;
  --color-bg-header: #ffffff;
  --color-bg-footer: #1a1a1a;
  --color-text: #1a1a1a;
  --color-accent: #10c65b;
  --color-accent-secondary: #0a8f3f;
  --color-border: #e2e8f0;
  --color-muted: #64748b;
  --color-surface: #f8fafc;
  --color-hover: #0eda65;
  --color-danger: #dc2626;
  --color-success: #10c65b;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-logo: 'Poppins', sans-serif;
  --h1-size: clamp(2rem, 4vw + 0.5rem, 2.625rem);
  --h2-size: clamp(1.5rem, 3vw + 0.4rem, 2rem);
  --h3-size: clamp(1.25rem, 2vw + 0.3rem, 1.5rem);
  --body-size: clamp(1rem, 1.2vw + 0.2rem, 1.125rem);
  --mono-size: 15px;
  --line-height-body: 1.7;
  --line-height-heading: 1.2;
  --content-width: 1100px;
  --letter-spacing-heading: -0.02em;
  --section-gap: clamp(3rem, 6vw, 4.5rem);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--body-size);
  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 {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-accent-secondary);
  text-decoration: none;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent);
}

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* === 2. General Typography === */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--line-height-heading);
  letter-spacing: var(--letter-spacing-heading);
  color: var(--color-text);
  text-align: left;
}

h2 {
  font-size: var(--h2-size);
 
  margin: 1rem 0;
  scroll-margin-top: 2rem;
}

h3 {
  font-size: var(--h3-size);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  scroll-margin-top: 2rem;
}

p {
  text-align: left;
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  text-align: left;
}

li {
  margin-bottom: 0.4rem;
}

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

blockquote {
  border-left: 3px solid var(--color-accent);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: var(--color-muted);
  font-style: italic;
}

figure {
  margin: 1.5em auto;
}

figure img {
  display: block;
  max-width: 100%;
  height: auto;
}

figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

thead th {
  background-color: var(--color-surface);
  font-family: var(--font-heading);
  font-weight: 700;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--color-border);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

tbody tr:last-child td {
  border-bottom: none;
}

/* === 3. Layout: Sections === */
main {
  width: 100%;
}

.container {
  max-width: var(--content-width);
  margin: 0 auto;
 padding: 0 15px;
}

/* === 4. Site Header === */

.site-logo img {
  width: 180px;
  height: auto;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-trust {
  font-size: 0.7rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
}

.header-date {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--color-muted);
  background-color: var(--color-surface);
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  border: 1px solid var(--color-border);
}

/* === 5. Components === */

/* --- info-box --- */
.info-box {
  background-color: var(--color-surface);
  border-left: 3px solid var(--color-accent);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.info-box p {
  text-align: left;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.info-box p:last-child {
  margin-bottom: 0;
}

.info-box strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: var(--letter-spacing-heading);
}

/* --- callout --- */
.callout {
  background-color: #fef9ed;
  border-left: 3px solid #e6a817;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.callout p {
  text-align: left;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: var(--letter-spacing-heading);
  color: #92610a;
}

/* --- key-takeaway --- */
.key-takeaway {
  border-top: 2px solid var(--color-accent);
  padding-top: 1rem;
  margin: 2rem 0;
}

.key-takeaway p {
  text-align: left;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.5vw + 0.3rem, 1.35rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: var(--letter-spacing-heading);
  color: var(--color-text);
}

/* --- fun-fact --- */
.fun-fact {
  position: relative;
  padding-left: 1.5rem;
  margin: 1.5rem 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;
  font-style: italic;
  color: var(--color-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --- glossary-term --- */
.glossary-term {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 1.25rem 0;
}

.glossary-term p {
  margin-bottom: 0;
}
.tc-brand-list {
    max-width: none;
    padding: 0 15px;
}
.glossary-term strong {
  font-family: var(--font-mono);
  font-size: var(--mono-size);
  color: var(--color-accent-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.glossary-term p {
  text-align: left;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* --- odds-example --- */
.odds-example {
  background-color: #f1f5f9;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.odds-example p {
  text-align: center;
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: var(--mono-size);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.odds-example p:first-child {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

.odds-example p:last-child {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 0;
}

/* --- comparison --- */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 1.75rem 0;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

.comparison > div {
  padding: 1.25rem;
}

.comparison > div:first-child {
  border-right: 1px solid var(--color-border);
}

.comparison p {
  text-align: left;
  color: var(--color-text);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.comparison strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

/* --- pre-bet-checklist --- */
.pre-bet-checklist {
  margin: 2rem 0;
}

.pre-bet-checklist > p:first-child {
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-secondary);
  margin-bottom: 1rem;
}

.pre-bet-checklist ul {
  list-style: none;
  padding-left: 1.75rem;
  border-left: 2px solid var(--color-border);
}

.pre-bet-checklist li {
  position: relative;
  padding-left: 0.25rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text);
  text-align: left;
}

.pre-bet-checklist li::before {
  content: '\2610';
  position: absolute;
  left: -1.5rem;
  color: var(--color-accent);
  font-size: 1rem;
  background-color: var(--color-bg);
  padding: 0 2px;
}

/* --- at-a-glance --- */
.at-a-glance {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 1.75rem 0;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

.at-a-glance > div {
  padding: 1rem;
  text-align: center;
  border-right: 1px solid var(--color-border);
}

.at-a-glance > div:last-child {
  border-right: none;
}

.at-a-glance p {
  text-align: center;
  margin-bottom: 0.25rem;
  color: var(--color-text);
}

.at-a-glance p:first-child {
  text-align: center;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  font-family: var(--font-heading);
}

.at-a-glance p:last-child {
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--mono-size);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 0;
}

/* --- dos-donts --- */
.dos-donts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 1.75rem 0;
  border-radius: 4px;
  overflow: hidden;
}

.dos-donts > div:first-child {
  border: 1px solid var(--color-success);
  border-radius: 4px 0 0 4px;
  padding: 1.25rem;
}

.dos-donts > div:last-child {
  border: 1px solid var(--color-danger);
  border-left: none;
  border-radius: 0 4px 4px 0;
  padding: 1.25rem;
}

.dos-donts > div:first-child > p:first-child {
  color: var(--color-success);
}

.dos-donts > div:last-child > p:first-child {
  color: var(--color-danger);
}

.dos-donts p {
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.dos-donts ul {
  list-style: none;
  padding-left: 0;
}

.dos-donts li {
  text-align: left;
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  padding-left: 1.25rem;
  position: relative;
}

.dos-donts > div:first-child li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}

.dos-donts > div:last-child li::before {
  content: '\2717';
  position: absolute;
  left: 0;
  color: var(--color-danger);
  font-weight: 700;
}

/* --- worked-example --- */
.worked-example {
  background-color: var(--color-surface);
  padding: 1.5rem 1.75rem;
  margin: 1.75rem 0;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.worked-example p {
  text-align: left;
  font-family: var(--font-mono);
  font-size: var(--mono-size);
  color: var(--color-text);
  margin-bottom: 0.4rem;
  line-height: 1.8;
}

.worked-example p:first-child {
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.worked-example p:last-child {
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
  margin-bottom: 0;
}

/* --- section-bridge --- */
.section-bridge {
  text-align: center;
  margin: 1.5rem 0;
  position: relative;
  padding: 0.5rem 0;
}

.section-bridge::before,
.section-bridge::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background-color: var(--color-border);
}

.section-bridge::before {
  right: calc(50% + 8rem);
}

.section-bridge::after {
  left: calc(50% + 8rem);
}

.section-bridge p {
  text-align: center;
  font-style: italic;
  color: var(--color-accent-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --- card-grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.75rem 0;
}

.card-grid > div {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.card-grid p {
  text-align: left;
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.card-grid p:last-child {
  margin-bottom: 0;
}

/* --- tldr --- */
.tldr {
  background-color: var(--color-surface);
  border-left: 3px solid var(--color-accent);
  padding: 1.5rem 1.75rem;
  border-radius: 0 4px 4px 0;
}

.tldr h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.4vw + 0.2rem, 1.25rem);
  font-weight: 700;
  letter-spacing: var(--letter-spacing-heading);
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--color-text);
  text-align: left;
}

.tldr ul {
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.tldr li {
  text-align: left;
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

.tldr li:last-child {
  margin-bottom: 0;
}

/* --- author-bio --- */
.author-bio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  margin-top: 2rem;
  font-size: 0.8rem;
  color: var(--color-muted);
  font-style: italic;
}

/* === 6. Hero Section === */
[data-content="hero"] {
  max-width: 100%;
  width: 100%;

  text-align: center;
  position: relative;
  overflow: hidden;
}

[data-content="hero"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, var(--color-text) 0.6px, transparent 0.6px);
  background-size: 60px 60px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

[data-content="hero"] > * {
  position: relative;
  z-index: 1;
}

[data-content="hero"] .hero-rubric {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent-secondary);
  margin-bottom: 1rem;
  text-align: center;
}

[data-content="hero"] h1 {
  font-size: var(--h1-size);
  text-align: center;
  max-width: var(--content-width);
  margin: 0 auto 0.75rem;
}

[data-content="hero"] .hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-muted);
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  text-align: center;
}

[data-content="hero"] .hero-byline {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
  text-align: center;
}

[data-content="hero"] figure {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--content-width);
}

[data-content="hero"] figure img {
  border-radius: 4px;
}

/* === 7. TOC === */
[data-content="toc"] {
  margin: 2rem auto;
}

.toc-container {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 1.5rem 1.75rem;
  background-color: var(--color-surface);
}

.toc-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  margin-bottom: 1rem;
  text-align: left;
}

.toc-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  column-count: 2;
  column-gap: 2rem;
}

.toc-list > li {
  break-inside: avoid;
  margin-bottom: 0.6rem;
}

.toc-list a {
  font-size: 0.9rem;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.5;
}

.toc-list a:hover {
  color: var(--color-accent);
}

.toc-list .toc-sub {
  list-style: none;
  padding-left: 1rem;
  margin-top: 0.3rem;
  margin-bottom: 0;
}

.toc-list .toc-sub li {
  margin-bottom: 0.3rem;
}

.toc-list .toc-sub a {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.toc-list .toc-sub a:hover {
  color: var(--color-accent);
}

/* === 8. FAQ Accordion === */
[data-content="faq"] details {
  border-bottom: 1px solid var(--color-border);
  interpolate-size: allow-keywords;
}

[data-content="faq"] details:first-of-type {
  border-top: 1px solid var(--color-border);
}

[data-content="faq"] summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.2vw + 0.2rem, 1.1rem);
  font-weight: 700;
  letter-spacing: var(--letter-spacing-heading);
  color: var(--color-text);
  list-style: none;
  user-select: none;
  transition: color 0.2s ease;
}

[data-content="faq"] summary:hover {
  color: var(--color-accent-secondary);
}

[data-content="faq"] summary::-webkit-details-marker {
  display: none;
}

[data-content="faq"] summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--color-muted);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.3s ease;
}

[data-content="faq"] details[open] summary::after {
  transform: rotate(45deg);
}

[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;
  content-visibility: hidden;
}

[data-content="faq"] details[open] ::details-content {
  opacity: 1;
  block-size: auto;
  content-visibility: visible;
}

@supports not selector(::details-content) {
  [data-content="faq"] details[open] > *:not(summary) {
    animation: faqFadeIn 0.3s ease forwards;
  }
  @keyframes faqFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}

[data-content="faq"] details > div {
  padding-bottom: 1rem;
}

[data-content="faq"] details > div p {
  text-align: left;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: var(--line-height-body);
}

/* === 9. Footer === */
.site-footer {
  background-color: var(--color-bg-footer);
  color: #94a3b8;
  padding: 3rem 1.5rem 1.5rem;
  font-size: 0.8rem;
  line-height: 1.6;
  margin-top: var(--section-gap);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
 
  margin: 0 auto 2rem;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #e2e8f0;
  margin-bottom: 0.75rem;
  text-align: left;
}

.footer-col p {
  text-align: left;
  color: #94a3b8;
  font-size: 0.78rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-col a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.78rem;
  display: block;
  margin-bottom: 0.4rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--color-accent);
}

.footer-col ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.footer-col li {
  margin-bottom: 0.35rem;
}

.footer-bar {
  border-top: 1px solid #334155;
  padding-top: 1rem;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bar p {
  text-align: left;
  color: #64748b;
  font-size: 0.72rem;
  margin-bottom: 0;
}

.footer-logo img {
  width: 120px;
  height: auto;
  opacity: 0.6;
  filter: brightness(10);
}
.sitemap-grid{
  margin: 2rem 0;
}
/* === 10. Media Queries === */
@media (max-width: 768px) {

  .header-meta {
    gap: 0.5rem;
  }



  .toc-list {
    column-count: 1;
  }

  .at-a-glance {
    grid-template-columns: 1fr 1fr;
  }

  .at-a-glance > div:nth-child(2) {
    border-right: none;
  }

  .at-a-glance > div:nth-child(1),
  .at-a-glance > div:nth-child(2) {
    border-bottom: 1px solid var(--color-border);
  }

  .dos-donts {
    grid-template-columns: 1fr;
  }

  .dos-donts > div:first-child {
    border-radius: 4px 4px 0 0;
  }

  .dos-donts > div:last-child {
    border-left: 1px solid var(--color-danger);
    border-radius: 0 0 4px 4px;
  }

  .comparison {
    grid-template-columns: 1fr;
  }

  .comparison > div:first-child {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .glossary-term {
    flex-direction: column;
    gap: 4px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .section-bridge::before,
  .section-bridge::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .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;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* === Article Images === */
[data-content] figure {
  margin: 2rem 0;
}

[data-content] figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

[data-content] figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0.5rem;
  line-height: 1.5;
}

[data-content="hero"] figure {
  margin: 1.5rem auto 0;
  max-width: 740px;
}

[data-content="hero"] figure img {
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
  [data-content] figure {
    margin: 1.5rem 0;
  }

  [data-content] figure img {
    border-radius: 3px;
  }
}
/* === Article Images === */
[data-content] figure {
  margin: 2rem 0;
}

[data-content] figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

[data-content] figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0.5rem;
  line-height: 1.5;
}

[data-content="hero"] figure {
  margin: 1.5rem auto 0;
  /* max-width: 740px; */
}

[data-content="hero"] figure img {
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
  [data-content] figure {
    margin: 1.5rem 0;
  }

  [data-content] figure img {
    border-radius: 3px;
  }
}

/* ================ */
.site-titlecontainer-casa {
  max-width: 882px;
  margin: 2rem auto 2.5rem;
  text-align: center;
}

.matches h2 {
  text-align: center;
  padding: 2rem;
  justify-content: center;
  display: flex;
  width: fit-content;
  margin: 0 auto 2rem;
}

.logo-wrapper svg {
  width: 40px;
  height: auto;
  display: block;
}

/*  */

img {
  width: 100%;
  object-fit: cover;
  max-height: 700px;
}
/* .content {
  margin-top: 3rem;
} */

.wp-block-image img {
  margin-bottom: 2rem;
}

.footer-menu {
  column-gap: 3rem;
  list-style: none;
  font-size: 1.1rem;
  gap: 1.5rem;
}

/* menu */

.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: clamp(1rem, 2vw + 0.5rem, 1.3rem);
  font-weight: 700;
  text-transform: uppercase;
}

.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;
}

.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%;
}

.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 {
  color: green;

  font-weight: 600;
  border-bottom: 1px solid green;
  width: fit-content;
}

.burger-line {
  width: 100%;
  height: 3px;
  background-color: var(--color-text);
  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: 1.5rem;
}

.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: #fff;
  text-decoration: none;
}
.burger-logo a:hover {
  color: #fff !important;
}

/* end menu */

.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;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-accent);
  color: white;
  border-radius: var(--radius);
  z-index: 200;
}

.skip-link:focus {
  top: var(--space-md);
}

.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: 1.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 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;
}

.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;
  }

  .main {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.main-navigation {
  transition: transform 0.3s ease;
}
@media (max-width: 700px) {
    .container {
      display: block;
    }
}


/* 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 {
    background: linear-gradient(
      135deg,
      var(--color-primary-dark) 0%,
      var(--color-primary) 100%
    );
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    margin: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem 2rem;
  justify-content: space-between;
    transition: all 0.4s ease;
  }

  .header-nav.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 9999;

    animation: slideDown 0.4s ease-out forwards;
    border-radius: 0;

    background: var(--color-surface);
  }

  @keyframes slideDown {
    from {
      transform: translateY(-100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .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;
    background: var(--c-surface);
  }

  .sub-menu a {
    color: #fff;
  }
  .header > .container {
    flex-wrap: nowrap;
  }

  .main-navigation::after {
    display: none;
  }

  .menu-item-has-children:hover > .sub-menu {
    display: block;
  }

  .icon-chevron {
    width: 1.2em;
    height: 1.2em;
    vertical-align: middle;
  }

  .js-burger {
    display: none;
  }

  .wp-block-image {
    margin: 2rem 0;
  }
}

@media (max-width: 1100px) {
  .site-titlecontainer-casa {
    /* margin-top: 7rem; */
  }
.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem 0 2rem;
    gap: 0.5rem;
}
  .main-navigation {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--color-primary-dark);
    z-index: 1000;
    overflow-y: auto;
  }

  .main-navigation.active {
    left: 0;
  }
  .wide-image-container {
    margin-left: calc(-2 * var(--space-xl));
    margin-right: calc(-2 * var(--space-xl));
    border-radius: var(--img-radius);
  }

  .header-inner {
    margin-top: 5rem;
  }
  .burger-logo {
    display: flex;
    align-items: center;
    text-transform: uppercase;
    top: 1rem;
    z-index: 2;
    position: absolute;
  }
  .burger-logo a {
    color: #ffffff !important;
  }
  .container-casa {
    padding: 3rem 1rem 1.5rem;
  }

  .main-navigation ul {
    display: block;
  }

  .site-branding nav {
    border-radius: var(--radius);

    margin-bottom: calc(var(--gap) * 1.5);
    box-shadow: none;
    border: none;
  }

  .header-nav {
    display: flex;
    padding: 0 30px;
  }
  .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 p {
  font-size: var(--font-md);
  max-width: 800px;
  text-align: center;
  margin: auto;
}
.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;
}

/* Images Styles for Voetbal Betting Article */

.hero-image {
  width: 100%;
  margin: 0 0 2rem;
  padding: 0;
}

.hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.article-image {
  margin: 2rem 0;
  text-align: center;
}

.article-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(26, 95, 60, 0.1);
}

@media (max-width: 768px) {
  .hero-image {
    margin: 0 0 1.5rem;
    max-height: 300px;
  }

  .hero-image img {
    border-radius: 8px;
  }

  .article-image {
    margin: 1.5rem 0;
  }

  .article-image img {
    border-radius: 6px;
  }
}

@media (prefers-color-scheme: dark) {
  .article-image img {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
}


/* ==========================================
   Images Styles — Tour de France Wedden
   ========================================== */

/* Hero image */
.hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 0;
}

/* Article images */
.article-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}

/* Figure containers within sections */
[data-content] figure {
  margin: 2em auto;
 
}

[data-content] figure figcaption {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 14px;
  color: var(--color-text-secondary, #5C5C5C);
  text-align: center;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

/* Hero figure — no border-radius, full width */
[data-content="hero"] figure {
  margin: 0 auto;
  
}

[data-content="hero"] figure figcaption {
  margin-top: 12px;
}

/* Responsive */
@media (max-width: 900px) {
  [data-content] figure {
    margin: 1.5em auto;
  }

  .article-image {
    border-radius: 2px;
  }
}

/* Dark theme adjustments */
@media (prefers-color-scheme: dark) {
  .article-image {
    opacity: 0.92;
    transition: opacity 0.3s ease;
  }

  .article-image:hover {
    opacity: 1;
  }

  [data-content] figure figcaption {
    color: var(--color-text-secondary, #A0A09C);
  }
}

.footer-inner{
  max-width: 1200px;
  margin: 2rem auto 0;
}

.site-footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 30px;
  
    margin-top: 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
  
    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-family: 'Barlow Condensed', sans-serif;
    font-size: 24px;
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 30px 15px 0;
    font-size: 13px;
    color: #888;
    margin: auto;
    max-width: 1200px;
    text-align: center;
}

.safety-icons {
    display: flex;
    gap: 15px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: bold;
    flex-direction: column;
}

/* Адаптивность */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-logo-container img {
   
    height: auto;
    display: block;
    margin-bottom: 20px;
    max-width: 50px;
    border-radius: 50%;
    
}

.footer-logo-text {

    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
    color: #0073aa; 
    display: block;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Контейнер для скролла */
.table-container {
    width: 100%;
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
    margin: 20px 0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}
section,
h2[id], 
h3[id], 
[data-content] {
    scroll-margin-top: 80px;
}

/* Добавляет маленькую стрелочку после внешних ссылок */
a[target="_blank"]::after {
    content: " ↗";
    font-size: 0.75em;
    vertical-align: super;
}