/**
 * Theme Name: sportnieuws
 * Version: 1.0
 */
/* Sportwetten Anbieter · «Spieltabelle»
   Frische Tabelle statt bunter Karten: Weiß und Mint, kräftiges Türkis, Koralle nur für Ränge 1–3 und A–Z-Buchstaben.
   Wiedererkennung: die Notenleiste – zehn Segmente, gefüllt bis zur Note – im Hero, im Ranking und im Test.
   Schrift: Systemschriften, keine Webfonts (kein Google Fonts, keine eigenen Font-Dateien):
   Trebuchet MS für Überschriften, Marken und Noten; system-ui / Segoe UI für Text. */


:root {
  --bg: #f4f6f8;          /* Seitengrund, kühles Weiß */
  --surface: #ffffff;     /* Flächen */
  --ink: #1c2230;         /* Text */
  --ink-2: #5a6375;       /* Nebentext */
  --line: #e1e5eb;
  --line-strong: #c7cdd7;
  --accent: #007a75;      /* Türkis: Links und Noten (Text) */
  --vivid: #00b3a4;       /* leuchtendes Türkis: Notenleiste, Kanten, Marker – nie für Text */
  --accent-deep: #005e5a;
  --accent-tint: #c9f1e9;
  --mint: #ddf7f1;        /* Karten, Hinweise */
  --hero: linear-gradient(160deg, #c8f3e9 0%, #def9f3 55%, #fdeee6 100%);
  --hot: #f4511e;         /* Koralle: Ränge 1–3, A–Z-Buchstaben – nur groß und sparsam */
  --meter-off: #cfe8e3;
  --grid: rgba(0, 179, 164, .13);  /* Raster der Bild-Platzhalter */
  --caution: #8b3a2c;     /* „Zu beachten“, gedämpft */
  --caution-tint: #f6ebe8;
  --pass: #2f6a4b;
  --pass-tint: #e5f0ea;
  --amber-ink: #7a5513;
  --amber-tint: #f5eedf;
  --footer: #004a46;

  /* Aliase für ältere Templates */
  --paper: var(--bg); --card: var(--surface); --muted: var(--ink-2); --link: var(--accent);
  --pitch: var(--accent); --tint: var(--accent-tint); --signal: var(--accent); --dark: var(--footer); --light: #fff;

  --display: "Trebuchet MS", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r: 14px;
  --r-s: 8px;
  --maxw: 75rem;
  --read: 44rem;
  --gutter: max(1.25rem, calc((100% - var(--maxw)) / 2));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
}
main.page { min-height: 60dvh; }
p, li { max-width: 68ch; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); text-underline-offset: .2em; }
a:hover { color: var(--accent-deep); text-decoration-color: currentColor; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
img { max-width: 100%; }
/* Bildplatzhalter: Raster, Rahmen und Alternativtext */
main img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background-color: var(--surface);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 18px 18px;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.5;
}
h1, h2, h3 { margin-top: 0; color: inherit; font-family: var(--display); font-weight: 700; text-wrap: balance; }
h1 { max-width: 17ch; margin-bottom: 1.25rem; font-size: clamp(2.35rem, 4.6vw, 3.9rem); letter-spacing: -.025em; line-height: 1.05; }
h2 { margin-bottom: .9rem; font-size: clamp(1.55rem, 2.4vw, 2.05rem); letter-spacing: -.02em; line-height: 1.15; }
h3 { margin-bottom: .45rem; font-size: 1.12rem; letter-spacing: -.01em; line-height: 1.3; }
ul, ol { padding-left: 1.25rem; }
::selection { background: var(--accent-tint); color: var(--ink); }

/* ---------- Chrome ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .5rem 2rem; min-height: 4rem;
  padding: .45rem var(--gutter);
  border-top: 3px solid var(--vivid);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: saturate(1.3) blur(10px);
}
.site-name { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; color: var(--ink); font-family: var(--display); font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; text-decoration: none; }
.site-name:hover { color: var(--accent); }
.site-logo { display: block; flex: none; width: 2.25rem; height: 2.25rem; object-fit: contain; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.25rem; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); font-size: .95rem; font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--vivid); }
.site-footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem 2rem; padding: 2.25rem var(--gutter);
  background: var(--footer); color: #bfe0dc;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration-color: rgba(255,255,255,.3); }
.site-footer a:hover { color: #fff; text-decoration-color: #fff; }
.site-footer p { margin: 0; font-size: .9rem; }
.site-header a:focus-visible, .site-footer a:focus-visible { outline-color: currentColor; }

/* ---------- Notenleiste (Signatur) ----------
   <span class="sa-score" style="--score:7.2">7,2<small>/10</small></span>
   Ohne style="--score:…" wird keine Leiste gezeigt. */
.sa-score, .score { --score: 0; }
.sa-score[style*="--score"]::after, .score[style*="--score"]::after {
  content: "";
  display: block;
  width: 100%;
  min-width: 6.5rem;
  height: .45rem;
  margin-top: .55rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--vivid) calc(var(--score) * 10%), var(--meter-off) 0);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 calc(10% - 3px), transparent 0 10%);
          mask: repeating-linear-gradient(90deg, #000 0 calc(10% - 3px), transparent 0 10%);
}

/* ---------- Testseiten, Hub, Technik ---------- */
.page--review, .page--tech, .page--hub {
  margin: 2.5rem auto 4rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.page--review, .page--tech { max-width: var(--read); }
.page--hub { max-width: var(--maxw); }
.page--review > section, .page--tech > section { margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.lead { color: var(--ink-2); font-size: 1.18rem; line-height: 1.6; }
.page--review h1 { max-width: 20ch; font-size: clamp(2.05rem, 4.2vw, 3.2rem); }
.breadcrumbs { margin-bottom: 1.75rem; color: var(--ink-2); font-size: .88rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .6rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; min-height: 32px; }
.breadcrumbs li + li::before { margin-right: .6rem; color: var(--line-strong); content: "/"; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 36px; }
.hero { margin: 1.5rem 0 0; }
.rg-note {
  max-width: var(--maxw);
  margin: 3rem auto;
  padding: 1.1rem 1.35rem;
  border-left: 3px solid var(--vivid);
  border-radius: 0 var(--r-s) var(--r-s) 0;
  background: var(--mint);
}
.page--home > .rg-note { margin-inline: var(--gutter); }
.rg-note p { max-width: none; margin: 0; font-size: .95rem; }
.rg-note a { font-weight: 600; }
.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.data-table, .quick-facts { width: 100%; border-collapse: collapse; }
.data-table { margin: 0; background: var(--surface); font-size: .95rem; }
.page--tech .data-table:has(th:nth-child(4)) { min-width: 48rem; }
.data-table th, .data-table td, .quick-facts th, .quick-facts td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: break-word; }
.data-table tbody tr:last-child td, .data-table tbody tr:last-child th { border-bottom: 0; }
.data-table thead { background: var(--accent-tint); color: var(--accent-deep); }
.data-table thead th { font-size: .82rem; font-weight: 600; }
.quick-facts { margin: 1.25rem 0 0; }
.quick-facts th { width: 34%; color: var(--ink-2); font-size: .9rem; font-weight: 600; }
.callout { margin: 1.5rem 0; padding: 1rem 1.25rem; border-left: 3px solid var(--accent); border-radius: 0 var(--r-s) var(--r-s) 0; background: var(--accent-tint); }
.example { margin: 1.5rem 0; padding: 1rem 1.25rem; border: 1px dashed var(--line-strong); border-radius: var(--r-s); background: var(--bg); }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.stat { padding: 1rem 0; border-top: 2px solid var(--ink); }
.stat strong { display: block; color: var(--accent); font-family: var(--display); font-size: 2rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
ul.checklist { margin: 1.25rem 0; padding: 0; list-style: none; }
ul.checklist li { position: relative; min-height: 44px; padding: .65rem .5rem .65rem 1.6rem; border-bottom: 1px solid var(--line); }
ul.checklist li::before { position: absolute; top: 1.2rem; left: .2rem; width: .5rem; height: .5rem; border-radius: 50%; background: var(--vivid); content: ""; }

/* Verdict und Navigation im Test */
.verdict-box {
  display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: .5rem 1.75rem;
  margin-top: 1.5rem !important; padding: 1.5rem !important;
  border: 1px solid var(--line) !important; border-radius: var(--r);
  background: var(--bg);
}
.score { grid-column: 1; grid-row: 1 / 3; align-self: start; color: var(--ink); font-family: var(--display); font-size: 3.6rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.score span { color: var(--ink-2); font-size: 1rem; font-weight: 400; letter-spacing: 0; }
.best-for { justify-self: start; width: fit-content; margin: 0; padding: .15rem .65rem; border-radius: 999px; background: var(--accent-tint); color: var(--accent-deep); font-size: .88rem; font-weight: 600; }
.best-for::before { display: inline-block; width: .45rem; height: .45rem; margin-right: .45rem; border-radius: 50%; background: var(--vivid); vertical-align: .08em; content: ""; }
.verdict-box .best-for { grid-column: 2; }
.verdict-box .quick-facts { grid-column: 1 / -1; }
.toc { margin-top: 2rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.toc ol { columns: 2; column-gap: 2rem; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { break-inside: avoid; border-bottom: 1px solid var(--line); counter-increment: toc; }
.toc li::before { display: inline-block; width: 1.6rem; color: var(--ink-2); font-size: .8rem; font-variant-numeric: tabular-nums; content: counter(toc) "."; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 0; text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* Zusammenfassungen im Test */
.trust-list { margin: 0; padding: 0; list-style: none; }
.trust-row { display: grid; grid-template-columns: 7.5rem 9.5rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.trust-status { justify-self: start; padding: .1rem .55rem; border-radius: 4px; font-size: .8rem; font-weight: 600; }
.trust-label { font-weight: 600; }
.trust-row--pass .trust-status { background: var(--pass-tint); color: var(--pass); }
.trust-row--caution .trust-status { background: var(--amber-tint); color: var(--amber-ink); }
.trust-row--concern .trust-status { background: var(--caution-tint); color: var(--caution); }
.fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.fit-col { padding: 1.25rem 0 0; border-top: 2px solid var(--line-strong); }
.fit-col--yes { border-top-color: var(--accent); }
.fit-col--no { border-top-color: var(--caution); }
.fit-col ul { margin: 0; }
.fit-col li { margin-bottom: .8rem; }
.alt-list { margin: 0; padding: 0; list-style: none; }
.alt-list li { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.faq details, .sa-faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type, .sa-faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary, .sa-faq summary { position: relative; display: flex; align-items: center; min-height: 54px; padding: .9rem 2.5rem .9rem 0; cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker, .sa-faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .sa-faq summary::after {
  position: absolute; top: 50%; right: .4rem; width: .7rem; height: .7rem;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; content: "";
}
.faq details[open] summary::after, .sa-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p, .sa-faq details p { padding: 0 0 1.1rem; color: var(--ink-2); }

/* ---------- A–Z-Hub ---------- */
.page--hub > h1 { max-width: 20ch; }
.page--hub > .lead { max-width: 64ch; }
.az-jump { margin: 2rem 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.az-jump summary { display: flex; align-items: center; min-height: 48px; padding: .65rem 1rem; cursor: pointer; font-weight: 600; }
.az-jump nav { display: flex; flex-wrap: wrap; gap: .3rem; padding: 0 1rem 1rem; }
.az-jump a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border-radius: var(--r-s); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-family: var(--display); font-weight: 700; text-decoration: none; }
.az-jump a:hover { background: var(--accent); color: #fff; }
.az-group { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: 1.5rem; padding: 1.5rem 0; border-top: 1px solid var(--line); scroll-margin-top: 6rem; }
.az-group h2 { margin: 0; color: var(--accent); font-size: 2.5rem; line-height: 1; white-space: nowrap; }
.az-group ul { columns: 3; column-gap: 2rem; margin: 0; padding: 0; list-style: none; }
.az-group li { display: flex; break-inside: avoid; align-items: center; gap: .5rem; min-height: 44px; border-bottom: 1px solid var(--line); }
.az-group li > a { display: inline-flex; flex: 1; align-items: center; min-width: 0; min-height: 44px; overflow-wrap: anywhere; }
.cat-score { margin-left: auto; color: var(--ink-2); font-family: var(--display); font-size: .95rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.az-status { flex: none; padding: .05rem .5rem; border-radius: 4px; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.az-status--warning { background: var(--caution-tint); color: var(--caution); }
.az-status--closed { background: #eceef1; color: var(--ink-2); }

/* ---------- Technische Seiten ---------- */
.page--tech h1 { font-size: clamp(2.05rem, 4vw, 3.1rem); }
.page--tech h2 { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 1.45rem; }
.page--tech h3 { margin-top: 1.5rem; }
.page--tech .table-wrap { margin: 1.5rem 0; }
.page--tech .data-table tbody th { font-weight: 600; }
.page--tech address { padding: 1rem; border-radius: var(--r-s); background: var(--bg); font-style: normal; }

/*
HOME MARKUP CONTRACT (prefix sa-)
main.page.page--home
  section#intro.sa-hero > .sa-hero__grid > .sa-hero__content (+ figure) + aside.sa-hero__index (h2 + ol.sa-podium)
  nav#toc.sa-toc
  section#top-list.sa-section.sa-ranking > .sa-section__head + .sa-top3 + .sa-list
    article.sa-row(.sa-row--lead) > .sa-rank, .sa-brand, .sa-score[style=--score], .best-for, p.sa-copy, dl.sa-facts, p.sa-caveat
  section#compare.sa-section.sa-compare > .table-wrap > table.data-table + aside.sa-payout
  section#categories > .sa-categories > article.sa-category
  .sa-guides > section.sa-guide
  section#how-we-rate.sa-section.sa-method
  section#az.sa-section.sa-az > .sa-az__groups > .sa-az__group
  section#faq.sa-section.sa-faq
  aside.rg-note
Signatur: Notenleiste (.sa-score::after) mit zehn Segmenten.
*/

/* Hero */
.sa-hero { padding: clamp(2.5rem, 6vw, 4.75rem) var(--gutter) clamp(2.25rem, 4vw, 3.5rem); background: var(--hero); }
.sa-hero__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(18rem, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.sa-hero__content, .sa-hero__index { min-width: 0; }
.sa-kicker { margin-bottom: 1rem; color: var(--ink-2); font-size: .95rem; }
.sa-hero h1 { color: #006e68; }
.sa-hero__lead { max-width: 54ch; font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.55; }
.sa-hero__content > p:not(.sa-kicker):not(.sa-hero__lead) { max-width: 58ch; color: var(--ink-2); font-size: 1rem; }
.sa-hero > figure { margin: clamp(2rem, 4vw, 3rem) 0 0; }
.sa-hero figure img { aspect-ratio: 16 / 9; border-radius: 20px; box-shadow: 0 1px 0 rgba(0,65,62,.06), 0 24px 48px -28px rgba(0,65,62,.4); }
.sa-hero__index { padding: 1.4rem 1.6rem 1.5rem; border-top: 4px solid var(--hot); border-radius: var(--r); background: var(--surface); box-shadow: 0 1px 0 rgba(0,65,62,.06), 0 18px 40px -24px rgba(0,65,62,.35); }
.sa-hero__index h2 { margin-bottom: .25rem; font-size: 1.15rem; letter-spacing: -.01em; }
.sa-hero__index > p { margin: 1.1rem 0 0; color: var(--ink-2); font-size: .92rem; }
.sa-podium { margin: 0; padding: 0; list-style: none; }
.sa-podium li {
  display: grid; grid-template-columns: 2.25rem minmax(0, 1fr) 7.5rem; align-items: center; gap: .25rem 1rem;
  max-width: none; padding: 1.05rem 0; border-bottom: 1px solid var(--line);
}
.sa-podium li:last-child { border-bottom: 0; }
.sa-podium__rank { color: var(--hot); font-family: var(--display); font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.sa-podium a { color: var(--ink); font-family: var(--display); font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; text-decoration: none; }
.sa-podium a:hover { color: var(--accent); }
.sa-podium .sa-score { grid-area: auto; font-size: 1.15rem; text-align: right; }
.sa-podium .sa-score::after { margin-top: .4rem; }
.sa-podium__note { grid-column: 2 / -1; color: var(--ink-2); font-size: .88rem; }

/* Sprungleiste */
.sa-toc {
  position: sticky; top: 4rem; z-index: 10;
  display: flex; gap: 1.5rem;
  padding: 0 var(--gutter);
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(8px);
  scrollbar-width: none;
}
.sa-toc::-webkit-scrollbar { display: none; }
.sa-toc a { display: inline-flex; flex: none; align-items: center; min-height: 46px; color: var(--ink-2); font-size: .92rem; font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; }
.sa-toc a:hover { color: var(--accent-deep); border-bottom-color: var(--vivid); }

/* Sektionen */
.sa-section { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) 1.25rem 0; }
.sa-section > h2 { max-width: 26ch; }
.sa-section > p { color: var(--ink-2); }
.sa-section__head { max-width: 46rem; margin-bottom: 2rem; }
.sa-section__head h2 { margin-bottom: .6rem; }
.sa-section__head p { margin: 0; color: var(--ink-2); }

/* Ranking: eine Tabelle aus Zeilen statt Kartenstapel */
.sa-ranking { min-width: 0; }
.sa-top3, .sa-list { border: 1px solid var(--line); background: var(--surface); }
.sa-top3 { border-radius: var(--r) var(--r) 0 0; }
.sa-list { border-top: 0; border-radius: 0 0 var(--r) var(--r); }
.sa-row {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) 9rem;
  grid-template-areas: "rank brand score" "rank best score" "rank copy copy" "rank facts facts" "rank caveat caveat";
  gap: .3rem 1.5rem;
  padding: 1.6rem clamp(1.25rem, 3vw, 2.25rem);
  border-top: 1px solid var(--line);
}
.sa-top3 > .sa-row:first-child { border-top: 0; }
.sa-rank { grid-area: rank; color: var(--accent); font-family: var(--display); font-size: 2.1rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.sa-row--lead { padding-block: 2.1rem; box-shadow: inset 4px 0 0 var(--hot); }
.sa-row--lead .sa-rank { color: var(--hot); font-size: 3rem; }
.sa-brand { grid-area: brand; min-width: 0; margin: 0; font-size: 1.4rem; }
.sa-row--lead .sa-brand { font-size: clamp(1.65rem, 2.6vw, 2.05rem); }
.sa-brand a { color: var(--ink); text-decoration: none; }
.sa-brand a:hover { color: var(--accent); text-decoration: underline; text-decoration-color: currentColor; }
.sa-score { grid-area: score; align-self: start; color: var(--accent-deep); font-family: var(--display); font-size: 1.85rem; font-weight: 700; letter-spacing: -.02em; line-height: 1; text-align: right; font-variant-numeric: tabular-nums; }
.sa-row--lead .sa-score { font-size: clamp(2.2rem, 3.4vw, 2.7rem); }
.sa-score small { margin-left: .15rem; color: var(--ink-2); font-family: var(--text); font-size: .85rem; font-weight: 400; letter-spacing: 0; }
.sa-row .best-for { grid-area: best; }
.sa-copy { grid-area: copy; max-width: 70ch; margin: .85rem 0 .35rem; }
.sa-facts { grid-area: facts; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1.75rem; margin: .5rem 0 0; padding: .9rem 0 0; border-top: 1px dashed var(--line); }
.sa-fact { min-width: 0; }
.sa-fact dt { margin-bottom: .15rem; color: var(--ink-2); font-size: .8rem; font-weight: 600; }
.sa-fact dd { margin: 0; font-size: .94rem; line-height: 1.45; overflow-wrap: break-word; }
.sa-caveat { grid-area: caveat; margin: .9rem 0 0; color: var(--ink-2); font-size: .93rem; }
.sa-caveat strong { color: var(--caution); font-weight: 600; }

/* Vergleich + Auszahlungsfenster */
.sa-compare .data-table { min-width: 64rem; }
.sa-compare .data-table tbody th { position: sticky; left: 0; z-index: 1; background: var(--surface); font-family: var(--display); font-size: 1rem; font-weight: 700; white-space: nowrap; }
.sa-compare .data-table tbody th a { color: var(--ink); text-decoration: none; }
.sa-compare .data-table tbody th a:hover { color: var(--accent); text-decoration: underline; }
.sa-compare .data-table td:nth-child(2) { color: var(--accent); font-family: var(--display); font-weight: 700; white-space: nowrap; }
.sa-payout { margin: 3rem 0 0; padding: clamp(1.5rem, 3.5vw, 2.5rem); border-radius: var(--r); background: linear-gradient(135deg, #006b65, #007a73); color: #fff; }
.sa-payout > h3 { font-size: 1.35rem; }
.sa-payout > p { max-width: 62ch; color: #e0f6f2; }
.sa-payout__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; margin-top: 1.25rem; }
.sa-payout__item { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 0 1rem; padding: .85rem 0; border-top: 1px solid rgba(255,255,255,.18); }
.sa-payout__item strong { grid-row: 1 / 3; font-family: var(--display); font-weight: 700; }
.sa-payout__source { color: #d6f2ed; font-size: .82rem; }

/* Kategorien */
.sa-categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1rem; }
.sa-category { display: flex; flex-direction: column; padding: 1.35rem 1.4rem .6rem; border-top: 4px solid var(--vivid); border-radius: 4px 4px var(--r) var(--r); background: var(--mint); }
.sa-category h3 { font-size: 1.2rem; }
.sa-category p { color: var(--ink-2); font-size: .97rem; }
.sa-category__links { margin: auto 0 0; padding: 0; list-style: none; }
.sa-category__links li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; border-top: 1px solid #b9ebe2; }
.sa-category__links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.sa-categories + p { margin-top: 1.75rem; color: var(--ink-2); font-size: .95rem; }

/* Ratgeber: Überschrift links, Text rechts */
.sa-guides { max-width: var(--maxw); margin: clamp(3rem, 6vw, 5rem) auto 0; padding: 0 1.25rem; }
.sa-guide {
  display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); column-gap: clamp(2rem, 5vw, 5rem);
  align-items: start; padding: clamp(2.25rem, 4vw, 3.25rem) 0; border-top: 2px solid var(--accent-tint);
}
.sa-guide > * { grid-column: 2; max-width: var(--read); }
.sa-guide > h2 { grid-column: 1; grid-row: 2 / span 40; max-width: none; position: sticky; top: 8.5rem; font-size: clamp(1.4rem, 2.1vw, 1.75rem); }
.sa-guide > figure { grid-column: 1 / -1; grid-row: 1; max-width: none; margin: 0 0 clamp(1.5rem, 3vw, 2.25rem); }
.sa-guide > figure img { border-radius: 20px; }
.sa-guide ol, .sa-guide ul { margin: 1.25rem 0; }
.sa-guide li { margin-bottom: .4rem; }
.sa-guide .table-wrap { margin: 1.25rem 0; }
.sa-guide .callout { font-weight: 600; }

/* Methode */
.sa-method { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, var(--read)); column-gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.sa-method > * { grid-column: 2; }
.sa-method > h2 { grid-column: 1; grid-row: 1 / span 10; }
.sa-method .table-wrap { margin: 1.5rem 0; }
.sa-weights td:last-child, .sa-weights th:last-child { text-align: right; font-variant-numeric: tabular-nums; }

/* A–Z */
.sa-az__groups { columns: 4 13rem; column-gap: 2.25rem; margin-top: 1.5rem; }
.sa-az__group { break-inside: avoid; margin: 0 0 1.75rem; }
.sa-az__group h3 { margin: 0 0 .25rem; padding-bottom: .35rem; border-bottom: 2px solid var(--vivid); color: var(--hot); font-size: 1.25rem; }
.sa-az__group ul { margin: 0; padding: 0; list-style: none; }
.sa-az__group li { display: flex; align-items: center; min-height: 36px; border-bottom: 1px solid var(--line); }
.sa-az__group a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.sa-az__group a:hover { color: var(--accent); text-decoration: underline; }

/* FAQ */
.sa-faq { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, var(--read)); column-gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-bottom: 1rem; }
.sa-faq > * { grid-column: 2; }
.sa-faq > h2 { grid-column: 1; grid-row: 1 / span 20; }

@media (max-width: 64rem) {
  .sa-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 60rem) {
  .az-group ul { columns: 2; }
  .sa-hero__grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .sa-hero__index { max-width: 34rem; }
  .sa-guide, .sa-method, .sa-faq { grid-template-columns: 1fr; }
  .sa-guide > *, .sa-method > *, .sa-faq > * { grid-column: 1; }
  .sa-guide > h2, .sa-method > h2, .sa-faq > h2 { grid-row: auto; position: static; }
  .sa-guide > figure { grid-row: auto; }
  .sa-payout__grid { grid-template-columns: 1fr; }
}
@media (max-width: 40rem) {
  body { font-size: 1rem; }
  html { scroll-padding-top: 4rem; }
  .site-header { position: relative; gap: 0 1rem; padding-block: .35rem; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .sa-toc { top: 0; gap: 1.1rem; }
  .page--review, .page--tech, .page--hub { margin: 0; padding: 1.25rem 1rem 2rem; border: 0; border-radius: 0; }
  h1 { font-size: 2.2rem; }
  .page--review h1 { font-size: 2rem; }
  .verdict-box { grid-template-columns: 1fr; padding: 1.1rem !important; }
  .score { grid-row: auto; font-size: 3rem; max-width: 12rem; }
  .verdict-box .best-for, .verdict-box .quick-facts { grid-column: 1; }
  .quick-facts th { width: 42%; }
  .data-table th, .data-table td, .quick-facts th, .quick-facts td { padding: .6rem .7rem; font-size: .88rem; }
  .toc ol { columns: 1; }
  .stat-row, .fit-grid { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr; gap: .3rem; }
  .az-group { grid-template-columns: 1fr; gap: .75rem; scroll-margin-top: 2rem; }
  .az-group h2 { font-size: 2rem; }
  .az-group ul { columns: 1; }
  .sa-hero { padding: 2rem 1rem 2.25rem; }
  .sa-podium li { grid-template-columns: 1.75rem minmax(0, 1fr) 6rem; gap: .25rem .75rem; }
  .sa-section { padding: 2.75rem 1rem 0; }
  .sa-top3, .sa-list { margin-inline: -1rem; border-inline: 0; border-radius: 0; }
  .sa-row, .sa-row--lead {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "rank score" "brand score" "best best" "copy copy" "facts facts" "caveat caveat";
    padding: 1.4rem 1rem; gap: .3rem 1rem;
  }
  .sa-rank, .sa-row--lead .sa-rank { font-size: 1.1rem; }
  .sa-rank::before { content: "Platz "; font-family: var(--text); font-size: .85rem; font-weight: 600; }
  .sa-brand, .sa-row--lead .sa-brand { font-size: 1.45rem; }
  .sa-score, .sa-row--lead .sa-score { font-size: 1.7rem; }
  .sa-score::after { min-width: 5.5rem; }
  .sa-facts { grid-template-columns: 1fr; gap: .6rem; }
  .sa-categories { grid-template-columns: 1fr; }
  .sa-payout__item { grid-template-columns: 1fr; }
  .sa-payout__item strong { grid-row: auto; }
  .sa-guides { padding: 0 1rem; }
  .sa-az__groups { columns: 2; column-gap: 1.25rem; }
  .page--home > .rg-note { margin-inline: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .site-header, .sa-toc { position: static; backdrop-filter: none; }
}

.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: contain;
  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;
}



.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: 48px;
    width: 174px;
}



.main-menu {
  gap: 1.2rem;
  display: flex;
}

.menu-item__inner {
position: relative;
  display: flex;
  align-items: baseline;

  
}

.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 {
padding: 0 20px;
  color: inherit;
  background: var(--surface);
  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;
 
}
.main-menu li.active {
  color:  var(--accent);
  padding: 10px;
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
  width: fit-content;
}

.burger-line {
  width: 100%;
  height: 3px;
  background-color: var(--accent);
  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:hover {
  color: rgb(1, 12, 12) !important;
}







.menu-toggle.active .icon-chevron {
  transform: rotate(180deg);
}


.menu-item-has-children > .sub-menu {
  display: none;
  width: 100%;
  padding: 0;
  margin: 0;
}


.menu-item-has-children > .sub-menu.active {
  display: block !important;
}

.sub-menu {
  display: none;
  min-width: 220px;
  width: 100%;
}

.has-overlay {
  overflow: hidden;
}

.main-navigation.active {
  padding: 0 20px;
  color: inherit;
  	background: var(--surface);
	
  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;
}

.main-menu li {
  position: relative;
  cursor: pointer;
  list-style-type: none;
}

.main-menu li.active {
  color: var(--hero-accent);
  padding: 10px;
  font-weight: 600;
  border-bottom: 2px solid var(--hero-accent);
  width: fit-content;
}


@media (max-width: 991px) {
  .main-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 0.5rem;
    column-gap: 0;
    margin: 0;
    padding: 20px 0 0 0;
    width: 100%;
  }

  .main-menu li {
    width: 100%;
  }

  
  .menu-item-has-children > .sub-menu.active {
    background: rgba(0, 0, 0, 0.02); 
    padding-left: 15px !important;
    margin-top: 5px;
    margin-bottom: 10px;
  }

  .sub-menu li {
    padding: 8px 0;
  }
}

@media (max-width: 991px) {
  
  .main-navigation .main-menu {
    display: block !important; 
    width: 100% !important;
    margin: 0 !important;
    padding: 20px 0 0 0 !important;
  }

  
  .main-navigation .main-menu > li {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    float: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); 
    margin: 0 !important;
    padding: 0 !important;
  }

  
  .main-navigation .menu-item-has-children {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  
  .main-navigation .main-menu > li > a,
  .main-navigation .main-menu > li > .menu-link {
    display: inline-block !important;
    
    font-size: 1.6rem !important;

    text-decoration: none !important;
  
    width: auto !important;
    flex: 1 !important; 
  }
.menu-link{
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
  
  .main-navigation .menu-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important; 
    height: 48px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  
  .main-navigation .main-menu .sub-menu {
    display: none; 
    width: 100% !important;
    flex-basis: 100% !important; 
    position: relative !important; 
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    margin: 0 !important;
    padding: 5px 0 15px 15px !important; 
    background: rgba(0, 0, 0, 0.02) !important; 
    box-shadow: none !important;
  }

  
  .main-navigation .main-menu .sub-menu.active {
    display: block !important;
  }

  
  .main-navigation .sub-menu li {
    display: block !important;
    width: 100% !important;
    padding: 10px 0 !important;
    border: none !important;
  }

  .main-navigation .sub-menu li a {
    display: block !important;
    font-size: 1.4rem !important;
  
    text-decoration: none !important;
    font-weight: 600 !important;
  }

  
  .main-navigation .menu-item-has-children.active .menu-toggle {
    transform: rotate(180deg);
    transition: transform 0.2s ease-in-out;
  }
  
  .main-navigation .menu-toggle {
    transition: transform 0.2s ease-in-out;
  }
}
@media (max-width: 991px) {
  
  .main-navigation .menu-toggle img,
  .main-navigation .menu-toggle svg {
    width: 20px !important;  
    height: 20px !important; 
  }
}


.burger-line {
  width: 100%;
  height: 3px;
  background-color:var(--hero-accent);
  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: 1rem;
  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;
}

.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, 0.6rem + 1.1vw, 1.5rem) !important;
  z-index: 2;
font-weight: 600;
  text-decoration: none;
}



.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;
  flex-wrap: wrap;
  margin: 1rem auto ;
  
      gap: .4rem;
    font-family: var(--font-mono);
    font-size: .94rem;
    font-weight: 500;
    letter-spacing: .03em;
    color: var(--accent-dark);
    background: var(--surface);
    border: 1px solid var(--muted);
    border-radius: 999px;
    padding: .3rem .8rem;
    width: fit-content;
}
.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;
}



@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;
    }
}




  @keyframes slideDown {
    from {
      transform: translateY(-100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

@media (min-width: 1100px) {

  .menu-toggle {
    padding: 3px;
  }

  .main-navigation {
    overflow: visible;
    justify-content: end;
    display: flex;
  }

  .header-nav {

    margin: auto;
   max-width: 1600px;
   width: 100%;
  display: flex;
    padding:0 15px;
  justify-content: space-between;
    transition: all 0.4s ease;
  }


  .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;


    z-index: 1000;
font-weight: 600;
    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(--surface);
	border-bottom: 0px;
	box-shadow: 0 1px 0 var(--border),0 3px 0 -1px color-mix(in srgb,var(--accent) 40%,transparent);
    padding: 15px;
  }

  .sub-menu a {
     color: inherit;
     margin: 14px;
  }
  .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;
  }

}

@media (max-width: 1100px) {


  .main-navigation {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    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;
  
    z-index: 2;
    position: absolute;
  }

  .main-navigation ul {
    display: block;
  }

  .site-branding nav {
    border-radius: var(--radius);
    display: flex;
        align-items: center;
   
    box-shadow: none;
    border: none;
  }

  .header-nav {
   
       
        height: 59px;
  }
  .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.6rem;
  } */

  .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-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;
}



.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);
  }
}

.article-image img{
  margin-bottom: 2rem;
}
/* ==========================================
   Images Styles — Tour de France Wedden
   ========================================== */


.hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 2rem;
  border-radius: 0;
}


.article-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}


[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;
}


[data-content="hero"] figure {
  margin: 0 auto;
  max-width: 860px;
}

[data-content="hero"] figure figcaption {
  margin-top: 12px;
}


@media (max-width: 900px) {
  [data-content] figure {
    margin: 1.5em auto;
  }

  .article-image {
    border-radius: 2px;
  }
}


@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-grid{
  display: flex;
  margin: 0 auto;
  max-width: 1200px;
}

.footer-inner{
  max-width: 1200px;
  margin: 2rem auto 0;
}

.site-footer {
   background: #1a1a2e;

    color: #ffffff;
    padding: 60px 15px 30px;
    font-family: 'Source Serif 4', serif; 
    margin-top: 2.5rem;
}


.footer-col h3 {
 
    font-size: 16px;
    text-transform: uppercase;
    margin:0 0 15px;
    color: var(--color-accent);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}


.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-logo {

    font-size: 24px;
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 30px 15px 0;
    font-size: 13px;
    color: #888;
    margin: auto;
    max-width: 1200px;
    text-align: center;
}

.safety-icons {
    display: flex;
    font-size: 16px;
 
    font-weight: bold;
    flex-direction: column;
}


@media (max-width: 992px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr);
        display: grid;
        gap: 16px;
     }

}
@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;
}
.footer-col{
  max-width: 300px;
  width: 100%;
}
.footer-col a{
 color: #88bfa7;
}
.footer-col ul{
 padding-left: 0;
}
.footer-col li{
list-style: none;
}


.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;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: #245746;
  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);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  background: #245746;
  color: white;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.similar-posts-grid {
  display: flex;
  flex-wrap: wrap;

  gap: 20px;
  margin: 3rem auto;
}

.similar-post-item {
  flex: 1 1 calc(33.333% - 20px);

  min-width: 250px;
}

.similar-post-date {
  color: var(--text-secondary);
  font-size: small;
}

:root {
  --nb-on-surface: #1c1b1b;
  --nb-on-surface-variant: #424752;
  --nb-primary: #00478d;
  --nb-secondary-container: #d7e4ec;
  --nb-on-secondary-variant: #3c494f;
}

@media (prefers-color-scheme: dark) {
  :root {
    --nb-on-surface: #fcf9f8;
    --nb-on-surface-variant: #c2c6d4;
    --nb-primary: #a9c7ff;
    --nb-secondary-container: #3c494f;
    --nb-on-secondary-variant: #d7e4ec;
  }
}

.news-container {
  max-width: 1236px;
  margin: 0 auto;
  padding: 2rem 15px;
  padding-top: 6rem;
  padding-bottom: 5rem;
  background-color: transparent;
  color: var(--nb-on-surface);
}

.news-header {
  margin-bottom: 5rem;
}

.news-header h1 {
  font-weight: 800;

  letter-spacing: -0.025em;

  font-family: "Roboto", sans-serif;

  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1em;
  font-size: clamp(0.9rem, 5vw, 3rem);
  text-wrap: balance;
  text-align: center;
  color: #60a5fa;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.news-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.news-card__image {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  background-color: transparent;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: all 0.5s ease;
}

.news-card:hover .news-card__image img {
  transform: scale(1);
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.news-badge {
  padding: 0.125rem 0.5rem;
  background-color: var(--nb-secondary-container);
  color: var(--nb-on-secondary-variant);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 0.125rem;
  text-transform: uppercase;
}

.news-date {
  font-size: 0.75rem;
  color: var(--nb-on-surface-variant);
  font-weight: 500;
}

.news-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 1rem 0;
  color: var(--nb-on-surface);
  transition: color 0.3s;
}

.news-card:hover .news-card__title {
  color: var(--nb-primary);
}

.news-card__excerpt {
  color: var(--nb-on-surface-variant);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more-link {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--nb-primary);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: -0.025em;
  text-decoration: none;
  transition: opacity 0.3s;
}

.read-more-link:hover {
  opacity: 0.7;
}

.ico-arrow {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  background-color: currentColor;

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://w3.org' viewBox='0 0 24 24'%3E%3Cpath d='M12.2929 4.29289C12.6834 3.90237 13.3166 3.90237 13.7071 4.29289L20.7071 11.2929C21.0976 11.6834 21.0976 12.3166 20.7071 12.7071L13.7071 19.7071C13.3166 20.0976 12.6834 20.0976 12.2929 19.7071C11.9024 19.3166 11.9024 18.6834 12.2929 18.2929L17.5858 13H4C3.44772 13 3 12.5523 3 12C3 11.4477 3.44772 11 4 11H17.5858L12.2929 5.70711C11.9024 5.31658 11.9024 4.68342 12.2929 4.29289Z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;

  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://w3.org' viewBox='0 0 24 24'%3E%3Cpath d='M12.2929 4.29289C12.6834 3.90237 13.3166 3.90237 13.7071 4.29289L20.7071 11.2929C21.0976 11.6834 21.0976 12.3166 20.7071 12.7071L13.7071 19.7071C13.3166 20.0976 12.6834 20.0976 12.2929 19.7071C11.9024 19.3166 11.9024 18.6834 12.2929 18.2929L17.5858 13H4C3.44772 13 3 12.5523 3 12C3 11.4477 3.44772 11 4 11H17.5858L12.2929 5.70711C11.9024 5.31658 11.9024 4.68342 12.2929 4.29289Z'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.news-pagination-container {
  margin-top: 6rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(194, 198, 212, 0.2);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .news-pagination-container {
    flex-direction: row;
    justify-content: space-between;
  }
}

.pagination-info {
  font-size: 0.875rem;
  color: var(--nb-on-surface-variant);
  font-weight: 500;
}

.pagination-info b {
  color: var(--nb-on-surface);
}

.news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--nb-on-surface);
  margin: 0 0.125rem;
  transition: background-color 0.2s;
  padding: 0 0.5rem;
}

.news-pagination .page-numbers.current {
  background-color: var(--nb-primary);
  color: #fff;
}

.news-pagination .prev,
.news-pagination .next {
  color: var(--nb-on-surface-variant);
}

.news-pagination .material-symbols-outlined {
  font-size: 1.25rem;
  line-height: 1;
}

.error-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.25rem;
    text-align: center;
}

.error-inner { max-width: 500px; 
    margin: auto;
    text-align: center;

}

.error-code {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.3;
    text-align: center;
}

.error-title {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.error-text {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.error-link {

    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bg-page);
   background-color: #6ebcaa;
  padding: 0.75rem 1.5rem;
  border-radius: 3px;
  text-decoration: none;
  transition: background-color 0.2s ease;
  display: block;
  margin: auto;
}
.error-link:hover { background-color: var(--accent-secondary); color: var(--bg-page); }


.cps-hero a:hover {
  background-color: unset !important;
  color: unset !important;
  transform: none !important;
}


html {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100dvh;

  display: flex;
  flex-direction: column;
  margin: 0;
  overflow-x: hidden;
}

.main {
  flex-grow: 1;
}

footer {
  flex-shrink: 0;
}

@media (max-width: 768px) {
 


 
  .hero-figure {
   
    margin: auto;
  }
}


.hero-grid {
    display: grid;
    
    grid-template-columns: 1.12fr 0.88fr; 
    
    gap: 120px; 
    align-items: center; 
    width: 100%;
    max-width: 1200px; 
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}


.hero-grid .text-column {
    display: flex;
    flex-direction: column;
    gap: 24px; 
}


.hero-grid .buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 16px; 
    margin-top: 12px;
}


.hero-grid .image-column {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-grid .image-column img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px; 
}


@media (max-width: 992px) {
    .hero-grid {
        
        gap: 40px; 
    }
}

@media (max-width: 768px) {
    .hero-grid {
        
        grid-template-columns: 1fr; 
        gap: 32px;
        text-align: left;
    }
    
    
    .hero-grid .text-column {
        order: 1;
    }
    .hero-grid .image-column {
        order: 2;
    }
}


/* ================= CHEXX TOC ================= */
:root {
    --chx-green:  #1d4231;   /* акцент — как кнопка hero */
    --chx-bg:     #ffffff;
    --chx-border: #e4dfd3;   /* бежевая граница карточек */
    --chx-text:   #1c1c1a;
    --chx-radius: 16px;
    --chx-maxw:   1200px;    /* подгоните под ширину .wrap */
    --chx-offset: 96px;      /* высота липкого хедера */
}

/* --- карточка оглавления --- */
nav[data-content="toc"] {
    background: var(--chx-bg);
    border: 1px solid var(--chx-border);
    border-radius: var(--chx-radius);
    box-shadow: 0 1px 3px rgba(28, 28, 26, .04);
    padding: 22px 28px;
    margin: 36px auto;
    max-width: var(--chx-maxw);
    width: 100%;
}

/* --- триггер «Contents» --- */
.toc-wrapper { margin: 0; }
.toc-wrapper summary {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--chx-text);
    cursor: pointer;
    user-select: none;
    list-style: none;
}
.toc-wrapper summary::-webkit-details-marker { display: none; }

/* стрелка: закрыто → вправо, открыто → вниз */
.toc-wrapper summary::before {
    content: "";
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    margin-top: 3px;
    border-right: 2.5px solid var(--chx-green);
    border-bottom: 2.5px solid var(--chx-green);
    transform: rotate(-45deg);
    transition: transform .2s ease, margin .2s ease;
}
.toc-wrapper[open] summary::before {
    transform: rotate(45deg);
    margin-top: 0;
}
.toc-wrapper summary:hover { color: var(--chx-green); }

/* --- список: 2 колонки --- */
.toc-list {
    list-style: none;
    columns: 2;
    column-gap: 48px;
    margin: 16px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid var(--chx-border);
}
.toc-list li {
    position: relative;
    break-inside: avoid;
    margin: 0 0 12px;
    padding-left: 22px;
    font-size: 15.5px;
    line-height: 1.45;
}
.toc-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .5em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--chx-green);
}

/* --- ссылки: зелёное подчёркивание «выползает» при ховере --- */
.toc-list a {
    color: var(--chx-text);
    text-decoration: none;
    background-image: linear-gradient(var(--chx-green), var(--chx-green));
    background-repeat: no-repeat;
    background-size: 0% 1.5px;
    background-position: 0 100%;
    transition: background-size .2s ease, color .15s ease;
}
.toc-list a:hover,
.toc-list a:focus-visible {
    color: var(--chx-green);
    background-size: 100% 1.5px;
}
.toc-list a:focus-visible {
    outline: 2px solid var(--chx-green);
    outline-offset: 3px;
    border-radius: 2px;
}

/* --- якоря не уезжают под липкий хедер + плавный скролл --- */
html { scroll-behavior: smooth; }
h2[data-content],
section[data-content] { scroll-margin-top: var(--chx-offset); }

/* --- мобильные: одна колонка --- */
@media (max-width: 760px) {
    nav[data-content="toc"] { padding: 16px 18px; margin: 24px auto; }
    .toc-list { columns: 1; column-gap: 0; }
    .toc-list li { font-size: 15px; }
}