/**
 * Theme Name: sportnieuws
 * Version: 1.0
 */
/* outfit-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: 'Outfit';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/outfit-v15-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+ */
}
/* jetbrains-mono-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/jetbrains-mono-v24-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/inter-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ========================================
   CSS Variables & Reset
======================================== */
:root {
    /* Colors - Dark Theme */
    --color-bg: #0a0a0a;
    --color-surface: #151515;
    --color-surface-hover: #1a1a1a;
    --color-header: #111111;
    --color-footer: #0d0d0d;
    --color-text: #e8e8e8;
    --color-text-muted: #a0a0a0;
    --color-accent: #00e599;
    --color-accent-secondary: #00cc88;
    --color-border: #2a2a2a;
    --color-success: #22c55e;
    --color-danger: #ef4444;
    
    /* Typography */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Source Sans 3', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-logo: 'Outfit', sans-serif;
    
    --fs-h1: clamp(32px, 5vw, 56px);
    --fs-h2: clamp(28px, 4vw, 42px);
    --fs-h3: clamp(20px, 3vw, 28px);
    --fs-body: clamp(16px, 2vw, 18px);
    --fs-small: 14px;
    --fs-mono: 16px;
    
    --lh-body: 1.7;
    --lh-heading: 1.3;
    --ls-heading: -0.02em;
    
    /* Layout */
    --content-width: 1100px;
    --content-wide: 1000px;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;
    --space-2xl: 64px;
    --section-gap: 4rem;
    
    /* Borders */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   General Typography
======================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: var(--lh-heading);
    letter-spacing: var(--ls-heading);
    color: var(--color-text);
    text-align: left;
}

h1 {
    font-size: var(--fs-h1);
        text-align: center;
    margin: 1rem auto;
    max-width:1000px
}

h2 {
    font-size: var(--fs-h2);
    margin-bottom: 1.5rem;
    scroll-margin-top: 2rem;
}

h3 {
    font-size: var(--fs-h3);
    margin-top: 2rem;
    margin-bottom: 1rem;
    scroll-margin-top: 2rem;
}

p {
    text-align: left;
    margin-bottom: 1.25em;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-accent-secondary);
}

a:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

strong {
    font-weight: 600;
}

ul, ol {
    text-align: left;
    margin-bottom: 1.25em;
    padding-left: 1.5em;
}

li {
    margin-bottom: 0.5em;
}

blockquote {
    border-left: 3px solid var(--color-accent);
    padding-left: var(--space-lg);
    margin: 1.5em 0;
    font-style: italic;
    color: var(--color-text-muted);
}
img{
  width: 100%;
  object-fit: cover;
  max-height: 700px;
  height: auto;
}
figure {
    margin: 1.5em auto;
}

figure img {
    display: block;
    max-width: 100%;
    height: auto;
}

figcaption {
    text-align: center;
    font-size: var(--fs-small);
    color: var(--color-text-muted);
    margin-top: var(--space-sm);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: var(--fs-small);
}

thead {
    background-color: var(--color-surface);
}

th, td {
    text-align: left;
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

th {
    font-weight: 600;
    color: var(--color-text);
}

/* ========================================
   Layout - Main & Article
======================================== */
main {
    width: 100%;
}

article {
    width: 100%;
}

/* ========================================
   Layout - Data-Content Sections
======================================== */
.container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 15px;
  
}

[data-content="hero"] {
    max-width: 100%;
    padding: 0;
    margin-bottom: 0;
}

/* ========================================
   Components - Info Box
======================================== */
.info-box {
    background-color: var(--color-surface);
    border-left: 3px solid var(--color-accent);
    border-radius: var(--radius-sm);
    padding: var(--space-lg);
    margin: 1.5em 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.info-box p {
    text-align: left;
    margin-bottom: 0.75em;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.info-box ul {
    margin-bottom: 0;
}

/* ========================================
   Components - Odds Example
======================================== */
.odds-example {
    background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-hover) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin: 1.5em 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.odds-example p {
    text-align: center;
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    margin-bottom: 0.5em;
    color: var(--color-text);
}

.odds-example p:first-child {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 1em;
}

.odds-example p:last-child {
    margin-bottom: 0;
    font-size: var(--fs-small);
    color: var(--color-text-muted);
}

/* ========================================
   Components - Callout
======================================== */
.callout {
    background-color: var(--color-surface);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin: 1.5em 0;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.callout::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-secondary) 100%);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.callout p {
    text-align: left;
    margin-bottom: 0.75em;
    color: var(--color-text);
}

.callout p:last-child {
    margin-bottom: 0;
}

/* ========================================
   Components - Card Grid
======================================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin: 1.5em 0;
}

.card-grid > div {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-grid > div:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.card-grid p {
    text-align: left;
    margin-bottom: 0.5em;
    color: var(--color-text);
}

/* ========================================
   Components - Comparison
======================================== */
.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin: 1.5em 0;
}

.comparison > div {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

.comparison p {
    text-align: left;
    color: var(--color-text);
}

/* ========================================
   Components - TL;DR
======================================== */
.tldr {
    background-color: var(--color-surface);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius-sm);
    padding: var(--space-lg) var(--space-xl);
    margin-top: 0;
    margin-bottom: var(--section-gap);
}

.tldr h2 {
    font-size: clamp(18px, 2.5vw, 20px);
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.tldr ul {
    margin-bottom: 0;
}

.tldr li {
    margin-bottom: 0.75em;
}

.tldr li:last-child {
    margin-bottom: 0;
}

/* ========================================
   Components - Key Takeaway
======================================== */
.key-takeaway {
    border-top: 2px solid var(--color-accent);
    padding-top: var(--space-lg);
    margin: 2em 0;
}

.key-takeaway p {
    font-family: var(--font-heading);
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--color-text);
    margin-bottom: 0;
}

/* ========================================
   Components - Fun Fact
======================================== */
.fun-fact {
    position: relative;
    padding-left: var(--space-lg);
    margin: 1.5em 0;
}

.fun-fact::before {
    content: '—';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.fun-fact p {
    font-style: italic;
    color: var(--color-text-muted);
    text-align: left;
    margin-bottom: 0;
}

/* ========================================
   Components - Glossary Term
======================================== */
.glossary-term {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 1.5em 0;
}

.glossary-term p {
    margin-bottom: 0;
    text-align: left;
    color: var(--color-text);
}

.glossary-term strong {
    font-family: var(--font-mono);
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

/* ========================================
   Components - Dos & Don'ts
======================================== */
.dos-donts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin: 1.5em 0;
}

.dos-donts > div {
    padding: var(--space-lg);
    border-radius: var(--radius-md);
}

.dos-donts > div:first-child {
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.dos-donts > div:last-child {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.dos-donts > div:first-child p strong {
    color: var(--color-success);
}

.dos-donts > div:last-child p strong {
    color: var(--color-danger);
}

.dos-donts p {
    text-align: left;
    margin-bottom: 0.75em;
    color: var(--color-text);
}

.dos-donts ul {
    margin-bottom: 0;
}

/* ========================================
   Components - Pre-Bet Checklist
======================================== */
.pre-bet-checklist {
    margin: 1.5em 0;
}

.pre-bet-checklist > p {
    font-family: var(--font-heading);
    font-size: var(--fs-small);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 1em;
    text-align: left;
}

.pre-bet-checklist ul {
    border-left: 2px solid var(--color-border);
    padding-left: var(--space-xl);
    margin-bottom: 0;
    list-style: none;
}

.pre-bet-checklist li {
    position: relative;
    margin-bottom: 0.75em;
}

.pre-bet-checklist li::before {
    content: '☐';
    position: absolute;
    left: calc(-1 * var(--space-xl) + 4px);
    color: var(--color-accent);
    background-color: var(--color-bg);
    padding: 0 4px;
}

/* ========================================
   Components - At A Glance
======================================== */
/* .at-a-glance {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 1.5em 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
} */

.at-a-glance > div {
    padding: var(--space-lg);
    background-color: var(--color-surface);
    border-right: 1px solid var(--color-border);
    margin-bottom: 2rem;
}

.at-a-glance > div:last-child {
    border-right: none;
}

.at-a-glance p {
    text-align: center;
    margin-bottom: 0.5em;
    color: var(--color-text);
}

.at-a-glance p:first-child {
    font-family: var(--font-heading);
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 600;
    color: var(--color-accent);
}

.at-a-glance p:last-child {
    margin-bottom: 0;
    font-size: var(--fs-small);
    color: var(--color-text-muted);
}

/* ========================================
   Components - Worked Example
======================================== */
.worked-example {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    margin: 1.5em 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.worked-example p {
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    margin-bottom: 0.75em;
    text-align: left;
    color: var(--color-text);
}

.worked-example p:first-child {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 1em;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.75em;
}

.worked-example p:last-child {
    margin-bottom: 0;
    padding-top: 0.75em;
    border-top: 1px solid var(--color-border);
    color: var(--color-accent);
    font-weight: 500;
}

/* ========================================
   Components - Section Bridge
======================================== */
.section-bridge {
    text-align: center;
    margin: 2.5em 0;
    position: relative;
}

.section-bridge::before,
.section-bridge::after {
    content: '···';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-border);
    letter-spacing: 0.5em;
}

.section-bridge::before {
    left: 0;
}

.section-bridge::after {
    right: 0;
}

.section-bridge p {
    display: inline-block;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-accent);
    padding: 0 var(--space-xl);
    background-color: var(--color-bg);
    text-align: center;
    margin-bottom: 0;
}

/* ========================================
   Components - Author Bio
======================================== */
.author-bio {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    border-top: 1px solid var(--color-border);
    padding-top: 1rem;
    margin-top: 2rem;
    font-size: 0.8rem;
    font-style: italic;
    color: var(--color-text-muted);
}

/* ========================================
   Header
======================================== */
.site-header {
    background-color: var(--color-header);

    position: relative;
    z-index: 100;
}

.header-inner {
    max-width: var(--content-wide);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo img {
    display: block;
    width: 180px;
    height: auto;
}

.header-meta {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--fs-small);
    color: var(--color-text-muted);
}

.header-badge time {
    color: var(--color-text);
}

.trust-marker {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

/* ========================================
   Hero Section
======================================== */
[data-content="hero"] {
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #111111 50%, #0d1a14 100%);
  
    overflow: hidden;
}

[data-content="hero"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(0, 229, 153, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.hero-container {
    max-width: var(--content-width);
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-rubric {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
}

.hero-container h1 {
    text-align: center;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 400;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
}

.hero-hook {
    font-family: var(--font-heading);
    font-size: clamp(14px, 2vw, 16px);
    font-style: italic;
    color: var(--color-accent);
    letter-spacing: 0.02em;
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 1;
}

.hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    font-size: var(--fs-small);
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 1;
}

.hero-figure {
    margin: var(--space-xl) auto;
    max-width: var(--content-width);
    position: relative;
    z-index: 1;
}

.hero-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-secondary) 100%);
    color: #0a0a0a;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--fs-body);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    z-index: 1;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 229, 153, 0.3);
    color: #0a0a0a;
}

/* ========================================
   Table of Contents
======================================== */
[data-content="toc"] {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
}

.toc-title {
    font-family: var(--font-heading);
    font-size: var(--fs-h3);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    color: var(--color-text);
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    column-count: 2;
    column-gap: var(--space-xl);
}

.toc-list > li {
    break-inside: avoid;
    margin-bottom: var(--space-md);
}

.toc-list > li > a {
    font-weight: 600;
    color: var(--color-text);
    transition: color 0.2s ease;
}

.toc-list > li > a:hover {
    color: var(--color-accent);
}

.toc-sublist {
    list-style: none;
    padding-left: var(--space-lg);
    margin-top: var(--space-sm);
}

.toc-sublist li {
    margin-bottom: var(--space-xs);
}

.toc-sublist a {
    font-size: var(--fs-small);
    color: var(--color-text-muted);
}

.toc-sublist a:hover {
    color: var(--color-accent);
}

/* ========================================
   FAQ - Details/Summary
======================================== */
details {
    border-bottom: 1px solid var(--color-border);
    interpolate-size: allow-keywords;
}

details:first-of-type {
    border-top: 1px solid var(--color-border);
}

summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) 0;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(16px, 2vw, 18px);
    color: var(--color-text);
    cursor: pointer;
    list-style: none;
    transition: color 0.2s ease;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    font-size: 1.5em;
    font-weight: 400;
    color: var(--color-accent);
    transition: transform 0.3s ease;
}

details[open] summary::after {
    transform: rotate(45deg);
}

summary:hover {
    color: var(--color-accent);
}

::details-content {
    opacity: 0;
    block-size: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, block-size 0.3s ease;
    transition-behavior: allow-discrete;
}

details[open]::details-content {
    opacity: 1;
    block-size: auto;
}

details > div {
    padding-bottom: var(--space-lg);
}

details > div > p {
    color: var(--color-text-muted);
}

@supports not selector(::details-content) {
    details > div {
        animation: fade-in 0.3s ease forwards;
    }
    
    @keyframes fade-in {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
}

/* ========================================
   Back to Top Button
======================================== */
.back-to-top {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--fs-small);
    color: var(--color-text-muted);
    margin-top: var(--space-xl);
    transition: color 0.2s ease;
}

.back-to-top:hover {
    color: var(--color-accent);
}

/* ========================================
   Footer
======================================== */
.site-footer {
    background-color: var(--color-footer);
    color: var(--color-text-muted);
    padding: var(--space-2xl) var(--space-lg) var(--space-lg);
    margin-top: var(--section-gap);
}



.footer-col div {
    font-size: var(--fs-small);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    margin-top: 0;
}

.footer-col p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 0.75em;
    color: var(--color-text-muted);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: var(--space-sm);
}

.footer-col a {
    font-size: 13px;
    color: var(--color-text-muted);
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    max-width: var(--content-wide);
    margin: 0 auto;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}

.footer-bottom p {
    margin: 0;
    color: var(--color-text-muted);
}

/* ========================================
   Media Queries
======================================== */
@media (max-width: 768px) {
   
    
    .header-inner {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .header-meta {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .hero-meta {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .toc-list {
        column-count: 1;
    }
    
    .dos-donts {
        grid-template-columns: 1fr;
    }
    
    .comparison {
        grid-template-columns: 1fr;
    }
    
    .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;
    }
    
    .glossary-term {
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    table {
        display: block;
        overflow-x: auto;
    }
    
    .section-bridge::before,
    .section-bridge::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .site-logo img {
        width: 150px;
    }
}
   /* ========================================
   Images Styles for VELOWETTE
   Radrennen Wetten Content Images
======================================== */

/* General figure styling */
article figure {
    margin: 2rem 0;
    padding: 0;
}

article figure img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md, 10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

article figure figcaption {
    text-align: center;
    font-size: var(--fs-small, 14px);
    color: var(--color-text-muted, #a0a0a0);
    margin-top: var(--space-sm, 8px);
    padding: 0 var(--space-md, 16px);
    line-height: 1.5;
}

/* Hero image specific styling */
.hero-figure {
    margin: var(--space-xl, 40px) auto;
    max-width: var(--content-width, 760px);
}

.hero-figure img {
    border-radius: var(--radius-lg, 16px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Content images within sections */
[data-content] figure {
    margin: 2rem 0;
}

[data-content] figure img {
    border-radius: var(--radius-md, 10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-content] figure img:hover {
    transform: scale(1.01);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    article figure {
        margin: 1.5rem 0;
    }
    
    article figure figcaption {
        font-size: 13px;
        padding: 0 var(--space-sm, 8px);
    }
    
    .hero-figure {
        margin: var(--space-lg, 24px) auto;
    }
}

@media (max-width: 480px) {
    article figure {
        margin: 1rem 0;
    }
    
    article figure img {
        border-radius: var(--radius-sm, 6px);
    }
    
    article figure figcaption {
        font-size: 12px;
    }
}

/*  */


.wp-block-image img {
  margin-bottom: 2rem;
}

.footer-menu {
  list-style: none;
}

.container-casa {

  text-align: center;
  padding-top: 2rem;
}
.home .container-casa {
margin-top: 3rem;

}
.container-casa p {
  margin: 0 auto 2.5rem;
  text-align: center;
  max-width: 800px;
}

.main-logo a {
  color: var(--color-text);
  font-size: 1.5rem;
}

/* --- 1. menu --- */
.header-top {
  background: linear-gradient(135deg, #0a0a0a 0%, #111111 50%, #0d1a14 100%);

  min-height: var(--space-xl);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 58px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 100px;

  z-index: 1001;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.burger-logo {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  text-decoration: none;
}

.main-logo-img {
  max-height: 63px;
  max-width: 286px;
  flex-shrink: 0;
  border-radius: 50%;
}

.logo-text {
  color: var(--color-text);
  font-size: 1.3rem;
  font-weight: 700;

  white-space: nowrap;
}

.burger-btn {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
}

.burger-btn span,
.burger-btn span::before,
.burger-btn span::after {
  content: "";
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-text);
  position: absolute;
  transition: all 0.3s ease-in-out;
}

.burger-btn span::before {
  top: -8px;
}
.burger-btn span::after {
  top: 8px;
}

.js-burger.active span {
  background-color: transparent !important;
}
.js-burger.active span::before {
  transform: translateY(8px) rotate(45deg);
}
.js-burger.active span::after {
  transform: translateY(-8px) rotate(-45deg);
}

.main-navigation {
  position: fixed;
  top: 0;
  right: 0;
  width: 500px;
  height: auto;
  max-height: 100vh;
  background: #1a5c46;
  z-index: 9999;

  transition:
    visibility 0.6s ease-out,
    transform 0.6s ease-out,
    border-radius 0.6s ease-out;

  padding: 80px 20px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  visibility: hidden;
  overflow-y: auto;
  display: block;
  transform-origin: top right;
  transform: scale(0);
  border-radius: 50%;
}

.main-navigation.active {
  visibility: visible;
  transform: scale(1);
  border-radius: 0 0 15px 15px;
}

@keyframes menuItemFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.main-menu li {
  opacity: 0;
  animation: menuItemFadeIn 0.3s ease-out forwards;
  animation-play-state: paused;
}

.main-navigation.active .main-menu li {
  animation-play-state: running;
}

.main-navigation.active .main-menu li:nth-child(1) {
  animation-delay: 0.2s;
}
.main-navigation.active .main-menu li:nth-child(2) {
  animation-delay: 0.3s;
}
.main-navigation.active .main-menu li:nth-child(3) {
  animation-delay: 0.4s;
}
.main-navigation.active .main-menu li:nth-child(4) {
  animation-delay: 0.5s;
}
.main-navigation.active .main-menu li:nth-child(5) {
  animation-delay: 0.6s;
}
.main-navigation.active .main-menu li:nth-child(6) {
  animation-delay: 0.7s;
}
.main-navigation.active .main-menu li:nth-child(7) {
  animation-delay: 0.8s;
}
.main-navigation.active .main-menu li:nth-child(8) {
  animation-delay: 0.9s;
}
.main-navigation.active .main-menu li:nth-child(9) {
  animation-delay: 1s;
}
.main-navigation.active .main-menu li:nth-child(10) {
  animation-delay: 1.1s;
}

.main-navigation.active .main-menu {
  opacity: 1;
}

.main-menu a {
  text-decoration: none;
  color: var(--color-text);
  font-size: 1.4rem;
  font-weight: 500;
  transition: color 0.2s;
}

.main-menu a:hover {
  color: var(--color-secondary);
}

body.has-overlay {
  overflow: hidden;
}

.btn-close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 2.5rem;
  border: none;
  background: none;
  cursor: pointer;
  line-height: 1;
  color: var(--c-primary);
}

.menu-item-has-children > a {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}

.menu-item-has-children > a::after {
  content: "▼";
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.menu-item-has-children.is-open > a::after {
  transform: rotate(180deg);
  color: #3b9eff;
}

.sub-menu {
  list-style: none !important;
  padding-left: 20px !important;
  margin: 0 !important;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100vh;
}

.sub-menu li {
  padding: 10px 0;
}

.sub-menu a {
  font-size: 1rem !important;

  font-weight: 400 !important;
}

.menu-item-has-children > a {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.menu-item-has-children:hover > .sub-menu {
  max-height: 1000px !important;
  visibility: visible;
  opacity: 1;
}

.main-menu li.current-menu-item > a,
.main-menu li.current_page_item > a,
.main-menu li.current-post-ancestor > a,
.main-menu li.current-menu-ancestor > a,
.main-menu li.current-page-ancestor > a {
  color: var(--c-primary);
  font-weight: 700 !important;
}

.main-menu li.menu-item-has-children.is-open > a {
  color: var(--c-primary);
}

.main-menu li.active > a {
  color: var(--color-secondary);
  font-weight: 700 !important;
}

.main-navigation.active .main-menu .current-menu-item > a {
  color: var(--c-primary);
}

/* end menu */

.sitemap-content {
  margin: 30px 0;
}

.sitemap-section {
  margin-bottom: 40px;
  padding: 20px;
  border-radius: 8px;
}

.sitemap-section h2 {
  color: inherit;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.sitemap-section h3 {
  color: #555;
  margin: 15px 0 10px 0;
}
.sitemap-grid{
  margin: 2rem auto;
}
.sitemap-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.post-thumbnail{
  margin-top: 2.5rem;
}
.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 1rem 0 2rem;
  gap: 0.5rem;
  padding-top: 3rem;
}
.breadcrumbs-content {
  display: contents;
}
@media (max-width: 1024px) {
  .sitemap-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
@media (max-width: 992px) {
  .header-top {
    padding: 0 1rem;
  }
}
@media (max-width: 768px) {
  .sitemap-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  nav[aria-label="Hauptnavigation"] {
    display: none !important;
  }

  .main-navigation {
    width: 100%;
  }
}

.sitemap-list li {
  margin-bottom: 8px;
  padding-left: 15px;
  position: relative;
}

.sitemap-list li:before {
  content: "›";
  position: absolute;
  left: 0;
  color: #007cba;
}

.sitemap-list a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

.sitemap-list a:hover {
  color: #007cba;
}

.category-group {
  margin-bottom: 20px;
}

.tags-cloud {
  line-height: 2;
}

.tag {
  display: inline-block;
  background: #e9e9e9;
  padding: 5px 10px;
  margin: 3px;
  border-radius: 3px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: all 0.3s;
}

.tag:hover {
  background: #007cba;
  color: white;
}

@media (max-width: 768px) {
  .sitemap-section {
    padding: 15px;
  }

  .tag {
    font-size: 12px;
    padding: 3px 8px;
  }

  .container-casa p {
    margin: 0 auto;
    text-align: center;
  }
}

@media (max-width: 1100px) {
  .wide-image-container {
    margin-left: calc(-2 * var(--space-xl));
    margin-right: calc(-2 * var(--space-xl));
    border-radius: var(--img-radius);
  }

  .site-branding nav {
    background: none;
    border-radius: var(--radius);

    margin-bottom: calc(var(--gap) * 1.5);
    box-shadow: none;
    border: none;
  }
}

header p {
  font-size: var(--font-md);
}
.toc-wrap {
  padding: 1rem;
}

/* .back-to-top {
  bottom: 1rem;
  right: 1rem;
  width: 45px;
  height: 45px;
} */

/* articulos */
.articulos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 32px;
  padding-top: 30px;

  max-width: var(--max-width);
  margin: 0 auto;
}

.articulos-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 0;
}

.articulos-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.articulos-card__image-link img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.articulos-card:hover .articulos-card__image-link img {
  transform: scale(1.08);
}

.articulos-card__content {
  padding: 0 17px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.articulos-card__title {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 1.6rem;
}
.articulos-card__title a {
  text-decoration: none;
}

.articulos-card__excerpt {
  margin-top: auto;

  margin-bottom: 0;
  color: #6e6e73;
  font-size: 0.95rem;
  line-height: 1.5;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.articulos-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #1d1d1f;
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.3s;
}

.articulos-card__link svg {
  transition: transform 0.3s;
}

.articulos-card__link:hover {
  color: #0073aa;
  gap: 12px;
}

.articulos-card__image-link {
  display: block;
  overflow: hidden;
  border-radius: 6px 6px 0 0;
  height: 170px;
}

.articulos-card__image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.articulos-card:hover .articulos-card__image-link img {
  transform: scale(1.08);
}

.articulos-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.load-more-wrapper {
  text-align: center;
  margin: 40px 0;
}

.btn-load-more {
  background-color: #0073aa;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.btn-load-more:hover {
  background-color: #005177;
}

@media (max-width: 559px) {
  .articulos-grid {
    gap: 17px;
  }
  .articulos-card__image-link {
    height: 17rem;
  }
}

@media (max-width: 768px) {
  .sitemap-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 5px;
    list-style: none;
    padding: 0;
  }
}

#site-navigation a,
.menu-item a {
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}

.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;
}

.site-footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 30px;
    font-family: 'Source Serif 4', serif; 
    margin-top: 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}



.footer-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-family: 'Barlow Condensed', sans-serif;
    font-size: 24px;
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    font-size: 13px;
    color: #888;
    text-align: center;
}

.safety-icons {
    display: flex;
    gap: 15px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: bold;
}

/* Адаптивность */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-logo-container img {
   
    height: auto;
    display: block;
    margin-bottom: 20px;

    
}

.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;
}
