/**
 * Theme Name: sportnieuws
 * Version: 1.0
 */
/* inter-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/inter-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/inter-v20-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/inter-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

    /* ========================================
       1. CSS Variables and Reset
       ======================================== */
    :root {
      /* Colors - Light Theme */
      --color-primary: #1B4D3E;
      --color-accent: #D4A253;
      --color-text: #5A6875;
      --color-text-secondary: #7A8A97;
      --color-bg: #F8F9FA;
      --color-surface: #FFFFFF;
      --color-danger: #C9302C;
      --color-success: #2E7D4A;
      --color-border: #E2E5E9;
      
      /* Typography */
      --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      --font-size-body: clamp(1rem, 2vw, 1.125rem);
      --font-size-h1: clamp(2rem, 5vw, 3rem);
      --font-size-h2: clamp(1.5rem, 4vw, 2.25rem);
      --font-size-h3: clamp(1.25rem, 3vw, 1.75rem);
      --font-size-caption: 0.875rem;
      --font-size-small: 0.8125rem;
      --line-height-body: 1.7;
      --line-height-heading: 1.2;
      
      /* Spacing */
      --section-gap: clamp(3rem, 8vw, 5rem);
      --content-max-width: 1100px;
      --content-padding: clamp(1rem, 4vw, 2rem);
      
      /* Effects */
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
      --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
      --radius-sm: 4px;
      --radius-md: 8px;
      --transition-base: 0.2s ease;
    }

    /* Dark Theme */
    @media (prefers-color-scheme: dark) {
      :root {
        --color-primary: #4A9A7C;
        --color-accent: #E5B96A;
        --color-text: #D1D5DB;
        --color-text-secondary: #9CA3AF;
        --color-bg: #111827;
        --color-surface: #1F2937;
        --color-border: #374151;
      }
    }

    /* Reset */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: var(--font-family);
      font-size: var(--font-size-body);
      line-height: var(--line-height-body);
      color: var(--color-text);
      background-color: var(--color-bg);
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    /* ========================================
       2. General Typography
       ======================================== */
    h1, h2, h3, h4 {
      color: var(--color-primary);
      line-height: var(--line-height-heading);
      font-weight: 600;
      text-align: left;
    }

    h2 {
      font-size: var(--font-size-h2);
      margin-bottom: 1.5rem;
      scroll-margin-top: 2rem;
    }

    h3 {
      font-size: var(--font-size-h3);
      margin-top: 2rem;
      margin-bottom: 1rem;
      font-weight: 500;
      scroll-margin-top: 2rem;
    }

    p {
      margin-bottom: 1.25rem;
      text-align: left;
    }

    a {
      color: var(--color-primary);
      text-decoration: none;
      text-underline-offset: 2px;
      transition: color var(--transition-base), opacity var(--transition-base);
    }

    a:hover {
      opacity: 0.8;
    }

    a:focus {
      outline: 2px solid var(--color-accent);
      outline-offset: 2px;
    }

    strong {
      font-weight: 600;
      color: var(--color-primary);
    }

    em {
      font-style: italic;
    }

    /* ul, ol {
      margin-bottom: 1.25rem;
      padding-left: 1.5rem;
      text-align: left;
    } */

    li {
      margin-bottom: 0.5rem;
    }

    blockquote {
      border-left: 3px solid var(--color-accent);
      padding-left: 1.25rem;
      margin: 1.5rem 0;
      font-style: italic;
      color: var(--color-text-secondary);
      text-align: left;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      margin: 1.5rem 0;
      font-size: var(--font-size-caption);
      text-align: left;
    }

    th, td {
      padding: 0.75rem 1rem;
      border-bottom: 1px solid var(--color-border);
      text-align: left;
    }

    th {
      background-color: var(--color-surface);
      font-weight: 600;
      color: var(--color-primary);
    }

    tbody tr:nth-child(even) {
      background-color: rgba(27, 77, 62, 0.03);
    }

    @media (prefers-color-scheme: dark) {
      tbody tr:nth-child(even) {
        background-color: rgba(74, 154, 124, 0.05);
      }
    }

    /* ========================================
       3. Layout - Sections
       ======================================== */
    header {
      padding: 0;
    }

    main {
      width: 100%;
    }

   .container 
 {
      max-width: var(--content-max-width);
      margin: 0 auto;
      padding: 0 15px;
    }

 

    /* ========================================
       4. Components
       ======================================== */
    
    /* Info Box */
    .info-box {
      background-color: rgba(27, 77, 62, 0.05);
      border-left: 4px solid var(--color-primary);
      padding: 1.25rem 1.5rem;
      margin: 1.5rem 0;
      border-radius: 0 var(--radius-md) var(--radius-md) 0;
      box-shadow: var(--shadow-sm);
    }

    @media (prefers-color-scheme: dark) {
      .info-box {
        background-color: rgba(74, 154, 124, 0.1);
      }
    }

    .info-box p {
      margin-bottom: 0;
      text-align: left;
    }

    .info-box p strong {
      display: block;
      margin-bottom: 0.5rem;
      color: var(--color-primary);
    }

    /* Stat Callout */
    .stat-callout {
      background-color: var(--color-surface);
      border: 2px solid var(--color-accent);
      border-radius: var(--radius-md);
      padding: 1.5rem 2rem;
      margin: 2rem 0;
      text-align: center;
      box-shadow: var(--shadow-md);
    }

    .stat-callout p {
      margin-bottom: 0;
      text-align: center;
    }

    .stat-callout p strong {
      display: block;
      font-size: clamp(2rem, 5vw, 3rem);
      color: var(--color-accent);
      margin-bottom: 0.5rem;
    }

    /* Odds Example */
    .odds-example {
      background-color: var(--color-primary);
      color: var(--color-bg);
      padding: 1.5rem 2rem;
      border-radius: var(--radius-md);
      margin: 1.5rem 0;
      box-shadow: var(--shadow-md);
    }

    @media (prefers-color-scheme: dark) {
      .odds-example {
        background-color: #1B4D3E;
        color: #F8F9FA;
      }
    }

    .odds-example p {
      text-align: center;
      color: var(--color-bg);
      margin-bottom: 0.5rem;
    }

    @media (prefers-color-scheme: dark) {
      .odds-example p {
        color: #F8F9FA;
      }
    }

    .odds-example p:last-child {
      margin-bottom: 0;
    }

    .odds-example strong {
      color: var(--color-accent);
    }

    /* Callout */
    .callout {
      border-left: 4px solid var(--color-accent);
      padding: 1rem 1.5rem;
      margin: 1.5rem 0;
      background-color: rgba(212, 162, 83, 0.08);
      border-radius: 0 var(--radius-md) var(--radius-md) 0;
    }

    @media (prefers-color-scheme: dark) {
      .callout {
        background-color: rgba(229, 185, 106, 0.1);
      }
    }

    .callout p {
      margin-bottom: 0;
      text-align: left;
    }

    /* Warning Box */
    .warning-box {
      border-left: 4px solid var(--color-danger);
      padding: 1.25rem 1.5rem;
      margin: 1.5rem 0;
      background-color: rgba(201, 48, 44, 0.05);
      border-radius: 0 var(--radius-md) var(--radius-md) 0;
    }

    @media (prefers-color-scheme: dark) {
      .warning-box {
        background-color: rgba(201, 48, 44, 0.1);
      }
    }

    .warning-box p {
      margin-bottom: 0;
      text-align: left;
    }

    .warning-box p strong {
      color: var(--color-danger);
    }

    /* Key Takeaway */
    .key-takeaway {
      border-top: 2px solid var(--color-accent);
      padding-top: 1rem;
      margin: 2rem 0 1.5rem 0;
    }

    .key-takeaway p {
      font-size: clamp(1.125rem, 2.5vw, 1.25rem);
      font-weight: 500;
      color: var(--color-primary);
      margin-bottom: 0;
      text-align: left;
    }

    /* Fun Fact */
    .fun-fact {
      position: relative;
      padding-left: 1.5rem;
      margin: 1.5rem 0;
    }

    .fun-fact::before {
      content: '\2014';
      position: absolute;
      left: 0;
      top: 0;
      color: var(--color-accent);
      font-weight: 600;
    }

    .fun-fact p {
      font-style: italic;
      color: var(--color-text-secondary);
      margin-bottom: 0;
      text-align: left;
    }

    /* Glossary Term */
    .glossary-term {
      display: flex;
      align-items: baseline;
      gap: 12px;
      margin: 1rem 0;
    }

    .glossary-term .term {
      font-family: 'Courier New', monospace;
      color: var(--color-primary);
      text-decoration: underline;
      text-underline-offset: 3px;
      flex-shrink: 0;
    }

    .glossary-term .definition {
      color: var(--color-text-secondary);
    }

    @media (max-width: 480px) {
      .glossary-term {
        flex-direction: column;
        gap: 4px;
      }
    }

    /* Dos and Don'ts */
    .dos-donts {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
      margin: 1.5rem 0;
    }

    @media (max-width: 600px) {
      .dos-donts {
        grid-template-columns: 1fr;
      }
    }

    .dos-donts .do-column,
    .dos-donts .dont-column {
      padding: 1.25rem;
      border-radius: var(--radius-md);
    }

    .dos-donts .do-column {
      background-color: rgba(46, 125, 74, 0.08);
      border-top: 3px solid var(--color-success);
    }

    .dos-donts .dont-column {
      background-color: rgba(201, 48, 44, 0.05);
      border-top: 3px solid var(--color-danger);
    }

    .dos-donts h4 {
      font-size: 0.875rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 0.75rem;
    }

    .dos-donts .do-column h4 {
      color: var(--color-success);
    }

    .dos-donts .dont-column h4 {
      color: var(--color-danger);
    }

    .dos-donts ul {
      margin-bottom: 0;
      padding-left: 1.25rem;
    }

    .dos-donts li {
      font-size: var(--font-size-caption);
      margin-bottom: 0.5rem;
      text-align: left;
    }

    /* Pre-Bet Checklist */
    .pre-bet-checklist {
      margin: 1.5rem 0;
    }

    .pre-bet-checklist h4 {
      font-size: var(--font-size-small);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--color-accent);
      margin-bottom: 1rem;
    }

    .pre-bet-checklist ul {
      border-left: 2px solid var(--color-border);
      padding-left: 1.5rem;
      margin-bottom: 0;
      list-style: none;
    }

    .pre-bet-checklist li {
      position: relative;
      padding-left: 0.5rem;
      margin-bottom: 0.75rem;
    }

    .pre-bet-checklist li::before {
      content: '\2610';
      position: absolute;
      left: -1.5rem;
      color: var(--color-accent);
      background-color: var(--color-bg);
      padding: 0 2px;
    }

    /* At a Glance */
    .at-a-glance {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 0;
      margin: 1.5rem 0;
      border: 1px solid var(--color-border);
      border-radius: var(--radius-md);
      overflow: hidden;
    }

    .at-a-glance .glance-item {
      padding: 1.25rem;
      text-align: center;
      border-right: 1px solid var(--color-border);
      border-bottom: 1px solid var(--color-border);
    }

    .at-a-glance .glance-item:last-child {
      border-right: none;
    }

    @media (max-width: 600px) {
      .at-a-glance {
        grid-template-columns: 1fr 1fr;
      }
      .at-a-glance .glance-item {
        border-right: 1px solid var(--color-border);
      }
      .at-a-glance .glance-item:nth-child(2n) {
        border-right: none;
      }
    }

    .at-a-glance .glance-item h4 {
      font-size: clamp(1.25rem, 3vw, 1.5rem);
      color: var(--color-primary);
      margin-bottom: 0.25rem;
    }

    .at-a-glance .glance-item p {
      font-size: var(--font-size-small);
      color: var(--color-text-secondary);
      margin-bottom: 0;
      text-align: center;
    }

    /* Worked Example */
    .worked-example {
      background-color: var(--color-surface);
      padding: 1.5rem 2rem;
      border-radius: var(--radius-md);
      margin: 1.5rem 0;
      box-shadow: var(--shadow-md);
    }

    .worked-example h4 {
      font-size: var(--font-size-small);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--color-text-secondary);
      margin-bottom: 1rem;
    }

    .worked-example .step {
      font-family: 'Courier New', monospace;
      font-size: var(--font-size-caption);
      margin-bottom: 0.75rem;
      padding-bottom: 0.75rem;
      border-bottom: 1px dashed var(--color-border);
      text-align: left;
    }

    .worked-example .step:last-of-type {
      border-bottom: none;
      margin-bottom: 0;
      padding-bottom: 0;
    }

    .worked-example .result {
      font-weight: 600;
      color: var(--color-accent);
      font-size: 1.125rem;
    }

    /* Section Bridge */
    .section-bridge {
      text-align: center;
      font-style: italic;
      color: var(--color-accent);
      margin: 2rem 0;
      position: relative;
      padding: 0 2rem;
    }

    .section-bridge::before,
    .section-bridge::after {
      content: '\2014\2014\2014';
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      color: var(--color-border);
      font-style: normal;
      letter-spacing: -2px;
    }

    .section-bridge::before {
      left: 0;
    }

    .section-bridge::after {
      right: 0;
    }

    /* Card Grid */
    .card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1rem;
      margin: 1.5rem 0;
    }

    .card-grid .card {
      background-color: var(--color-surface);
      border: 1px solid var(--color-border);
      border-radius: var(--radius-md);
      padding: 1.25rem;
      box-shadow: var(--shadow-sm);
      transition: transform var(--transition-base), box-shadow var(--transition-base);
    }

    .card-grid .card:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }

    .card-grid .card h4 {
      font-size: 1rem;
      margin-bottom: 0.5rem;
    }

    .card-grid .card p {
      font-size: var(--font-size-caption);
      color: var(--color-text-secondary);
      margin-bottom: 0;
      text-align: left;
    }

    /* Comparison */
    .comparison {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      margin: 1.5rem 0;
      border: 1px solid var(--color-border);
      border-radius: var(--radius-md);
      overflow: hidden;
    }

    @media (max-width: 500px) {
      .comparison {
        grid-template-columns: 1fr;
      }
    }

    .comparison .option {
      padding: 1.25rem;
    }

    .comparison .option:first-child {
      border-right: 1px solid var(--color-border);
      background-color: rgba(27, 77, 62, 0.03);
    }

    @media (prefers-color-scheme: dark) {
      .comparison .option:first-child {
        background-color: rgba(74, 154, 124, 0.05);
      }
    }

    @media (max-width: 500px) {
      .comparison .option:first-child {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
      }
    }

    .comparison .option h4 {
      font-size: 0.875rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 0.75rem;
    }

    .comparison .option p {
      font-size: var(--font-size-caption);
      margin-bottom: 0;
      text-align: left;
    }

    /* TL;DR */
    .tldr {
      background-color: var(--color-surface);
      border-left: 4px solid var(--color-accent);
      padding: 1.5rem 2rem;
      border-radius: 0 var(--radius-md) var(--radius-md) 0;
      box-shadow: var(--shadow-sm);
    }

    .tldr h2 {
      font-size: clamp(1.125rem, 2.5vw, 1.25rem);
      margin-bottom: 1rem;
      color: var(--color-primary);
    }

    .tldr ul {
      margin-bottom: 0;
    }

    .tldr li {
      margin-bottom: 0.75rem;
    }

    .tldr li:last-child {
      margin-bottom: 0;
    }

    /* ========================================
       5. Hero Section
       ======================================== */
    [data-content="hero"] {
      max-width: none;
      width: 100vw;
      margin-left: calc(50% - 50vw);
      padding: 0;
      position: relative;
      overflow: hidden;
    }

    .hero-inner {
      background: linear-gradient(135deg, #1B4D3E 0%, #0F2E25 100%);
      padding: 2.5rem 15px;
      position: relative;
    }

    /* Turf pattern overlay */
    .hero-inner::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: 
        repeating-linear-gradient(
          0deg,
          transparent,
          transparent 8px,
          rgba(255,255,255,0.02) 8px,
          rgba(255,255,255,0.02) 9px
        ),
        repeating-linear-gradient(
          90deg,
          transparent,
          transparent 40px,
          rgba(255,255,255,0.01) 40px,
          rgba(255,255,255,0.01) 41px
        );
      pointer-events: none;
      opacity: 0.5;
    }

    /* Gradient mask for pattern */
    .hero-inner::after {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(27,77,62,0.8) 0%, transparent 100%);
      pointer-events: none;
    }

    .hero-content {
      max-width: var(--content-max-width);
      margin: 0 auto;
      text-align: center;
      position: relative;
      z-index: 1;
    }

    .hero-meta {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      flex-wrap: wrap;
      margin-bottom: 1.5rem;
    }

    .date-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: var(--font-size-small);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: rgba(255,255,255,0.8);
      background-color: rgba(255,255,255,0.1);
      padding: 0.375rem 0.75rem;
      border-radius: var(--radius-sm);
    }

    .trust-marker {
      font-size: var(--font-size-small);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--color-accent);
    }

    [data-content="hero"] h1 {
      font-size: var(--font-size-h1);
      color: #FFFFFF;
      margin: 1.2rem 0;
      text-align: center;
    }

    .hero-subtitle {
      font-size: var(--font-size-caption);
      font-style: italic;
      color: var(--color-accent);
      letter-spacing: 0.02em;
      margin-bottom: 2rem;
    }

    .hero-image-container {
      margin-top: 2rem;
    }

    [data-content="hero"] figure {
      margin: 0;
      max-width: 100%;
    }

    [data-content="hero"] img {
      width: 100%;
  
      height: auto;
      display: block;
      margin: 0 auto;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-md);
    }

    [data-content="hero"] figcaption {
      font-size: var(--font-size-small);
      color: rgba(255,255,255,0.6);
      text-align: center;
      margin-top: 0.75rem;
    }

    .hero-cta {
      margin-top: 2rem;
    }

    .btn-start {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background-color: var(--color-accent);
      color: #1B4D3E;
      font-weight: 600;
      font-size: var(--font-size-caption);
      text-decoration: none;
      padding: 0.75rem 1.5rem;
      border-radius: var(--radius-md);
      transition: transform var(--transition-base), box-shadow var(--transition-base);
    }

    .btn-start:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(212, 162, 83, 0.4);
      opacity: 1;
    }

    .btn-start::after {
      content: '\2193';
    }

    /* ========================================
       6. Table of Contents
       ======================================== */
    [data-content="toc"] {
      background-color: var(--color-surface);
      border-radius: var(--radius-md);
      padding: 2rem var(--content-padding);
      box-shadow: var(--shadow-sm);
      border: 1px solid var(--color-border);
      margin: 2rem 0;
    }

    [data-content="toc"] h2 {
      font-size: 1.125rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 1.25rem;
      color: var(--color-primary);
    }

    .toc-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .toc-list > li {
      margin-bottom: 0.75rem;
    }

    .toc-list > li > a {
      font-weight: 500;
      color: var(--color-primary);
      text-decoration: none;
      display: block;
      padding: 0.25rem 0;
      transition: color var(--transition-base);
    }

    .toc-list > li > a:hover {
      color: var(--color-accent);
      opacity: 1;
    }

    .toc-sublist {
      list-style: none;
      padding-left: 1.25rem;
      margin-top: 0.5rem;
      margin-bottom: 0;
    }

    .toc-sublist li {
      margin-bottom: 0.375rem;
    }

    .toc-sublist a {
      font-size: var(--font-size-caption);
      color: var(--color-text-secondary);
      text-decoration: none;
      display: block;
      padding: 0.125rem 0;
    }

    .toc-sublist a:hover {
      color: var(--color-accent);
      opacity: 1;
    }

    /* ========================================
       7. FAQ Section
       ======================================== */
    details {
      border-bottom: 1px solid var(--color-border);
      interpolate-size: allow-keywords;
    }

    details:last-of-type {
      border-bottom: none;
    }

    summary {
      cursor: pointer;
      padding: 1rem 2rem 1rem 0;
      font-weight: 500;
      color: var(--color-primary);
      position: relative;
      list-style: none;
      transition: color var(--transition-base);
    }

    summary::-webkit-details-marker {
      display: none;
    }

    summary::after {
      content: '+';
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      font-size: 1.25rem;
      font-weight: 300;
      color: var(--color-accent);
      transition: transform var(--transition-base);
    }

    details[open] summary::after {
      transform: translateY(-50%) rotate(45deg);
    }

    summary:hover {
      color: var(--color-accent);
    }

    summary:focus {
      outline: 2px solid var(--color-accent);
      outline-offset: 2px;
    }

    ::details-content {
      opacity: 0;
      block-size: 0;
      overflow: hidden;
      transition: 
        opacity var(--transition-base),
        block-size var(--transition-base) allow-discrete,
        content-visibility var(--transition-base) allow-discrete;
    }

    details[open]::details-content {
      opacity: 1;
      block-size: auto;
    }

    details > div {
      padding-bottom: 1rem;
    }

    details > div > p {
      margin-bottom: 0;
      text-align: left;
    }

    /* Fallback for browsers without ::details-content support */
    @supports not selector(::details-content) {
      details > div {
        animation: none;
      }
      details[open] > div {
        animation: fade-in 0.3s ease forwards;
      }
      @keyframes fade-in {
        from {
          opacity: 0;
        }
        to {
          opacity: 1;
        }
      }
    }

    /* ========================================
       8. Images
       ======================================== */
    figure {
      margin: 1.5rem auto;
      max-width: 100%;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .hero-image {
      width: 100%;
      max-width: 100%;
      height: auto;
      display: block;
      margin: 0 auto;
    }

    .article-image {
      max-width: 100%;
      height: auto;
      display: block;
      margin: 0 auto;
      border-radius: var(--radius-md);
    }

    figcaption {
      font-size: var(--font-size-small);
      color: var(--color-text-secondary);
      text-align: center;
      margin-top: 0.75rem;
    }
    .site-titlecontainer-casa {
       text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    }

    /* ========================================
       9. Footer
       ======================================== */
    footer {
     
      margin: 0 auto;
      padding: 2rem var(--content-padding);
      border-top: 1px solid var(--color-border);
      font-size: var(--font-size-small);
      color: var(--color-text-secondary);
    }

   
    /* ========================================
       11. Media Queries
       ======================================== */
    @media (max-width: 768px) {
      :root {
        --section-gap: clamp(2rem, 6vw, 3rem);
      }

      .hero-inner {
        padding: clamp(2rem, 8vw, 4rem) var(--content-padding);
      }


      .dos-donts {
        gap: 1rem;
      }

      .at-a-glance .glance-item {
        padding: 1rem;
      }
    }

    @media (max-width: 480px) {
      .hero-meta {
        flex-direction: column;
        gap: 0.5rem;
      }

      .stat-callout {
        padding: 1.25rem 1.5rem;
      }

      .worked-example {
        padding: 1.25rem;
      }
    }
  /* ========================================
   Images Styles for Cesarewitch Betting Guide
   ======================================== */

/* Hero Image */
.hero-image-container {
  margin: 2rem 0;
  overflow: hidden;
}

.hero-image-container figure {
  margin: 0;
}

.hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.hero-image-container figcaption {
  font-size: var(--font-size-small);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin-top: 0.75rem;
  font-style: italic;
}

/* Article Images */
figure {
  margin: 2rem 0;
  padding: 0;
}

.article-image {
  width: 100%;

  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}

.article-image:hover {
  box-shadow: var(--shadow-md);
}

figcaption {
  font-size: var(--font-size-small);
  color: var(--color-text-secondary);
  text-align: center;
  margin-top: 0.75rem;
  font-style: italic;
  line-height: 1.5;
}

/* Dark Theme Adjustments */
@media (prefers-color-scheme: dark) {
  .hero-image,
  .article-image {
    opacity: 0.95;
  }
  
  .hero-image:hover,
  .article-image:hover {
    opacity: 1;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {

  .article-image {
    border-radius: 0;
    max-width: 100vw;
  }
  

}

@media (max-width: 480px) {

  .hero-image {
    border-radius: 0;
  }
  

}

/* Aspect Ratio Helpers */
figure[data-aspect="hero"] {
  aspect-ratio: 1200 / 630;
}

figure[data-aspect="article"] {
  aspect-ratio: 800 / 533;
}

/* Loading State */
.article-image,
.hero-image {
  background-color: var(--color-surface);
  background-image: linear-gradient(
    90deg,
    var(--color-surface) 0%,
    var(--color-border) 50%,
    var(--color-surface) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.article-image[src],
.hero-image[src] {
  animation: none;
  background: none;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Print Styles */
@media print {
  .hero-image,
  .article-image {
    box-shadow: none;
    max-width: 100%;
    page-break-inside: avoid;
  }
  
  figure {
    page-break-inside: avoid;
  }
  
  figcaption {
    color: #333;
  }
}

/*  */

img {
	width: 100%;
	object-fit: cover;
	max-height: 700px;
}

.wp-block-image img {

	margin-bottom: 2rem;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	column-gap: 3rem;
	list-style: none;
	font-size: 1.1rem;
}



.post-thumbnail{
  margin: 2.5rem 0;
}


.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 {
  border-radius: 10px;
	max-height: 45px;
	width: auto;
	flex-shrink: 0;
}


.logo-text {
	color: inherit;
	white-space: nowrap;
	font-size: 1.4rem;
	font-weight: 700;
	text-transform: capitalize;

}


.logo-wrapper {
	display: flex !important;
	align-items: center !important;
	flex-wrap: nowrap !important;
	column-gap: 0.5rem !important;
}

/* --- HEADER & LOGO --- */
.header-top {
    position: relative;
  
    padding: 16px 20px;
    min-height: 70px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
    z-index: 1001;
    color: #fff;
}

.logo-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    text-decoration: none !important;
    color: #fff !important;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
}

/* --- DESKTOP MENU (993px+) --- */
@media (min-width: 993px) {
    .js-burger { display: none !important; }

    .main-navigation { display: block !important; }

    .main-menu {
        display: flex;
        gap: 20px;
        list-style: none;
    }

    .main-menu a {
        color: #fff !important;
        font-weight: 600;
        text-decoration: none !important;
  
    }

    .menu-item-has-children { position: relative; }

    .sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        min-width: 220px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        display: none;
        padding: 10px 0;
        border-radius: 4px;
    }

    .menu-item-has-children:hover > .sub-menu {
        display: block;
    }

    .sub-menu a {
        color: #333 !important;
        display: block;
        padding: 8px 20px;
        font-size: 14px;
    }

    .sub-menu a:hover { background: #f5f5f5; }
}

/* --- MOBILE MENU (до 992px) --- */
@media (max-width: 992px) {
    .js-burger {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1100;
    }

    .burger-line {
        width: 30px;
        height: 3px;
        background-color: #fff;
        transition: 0.3s;
    }

    /* Мобильная навигация */
    .main-navigation {
        position: fixed !important;
        top: 0;
        right: -100% !important; /* Скрыто */
        width: 300px;
        height: 100vh;
        background: #1e293b !important; /* Темный фон для мобилки */
        padding: 80px 50px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
        display: block !important;
        overflow-y: auto;
    }

    .main-navigation.active {
        right: 0 !important; /* Показываем */
    }

    .main-menu {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .main-menu a {
        color: #fff !important;
        font-size: 1.2rem;
        font-weight: 600;
        display: block;
    }

    /* Выпадающее меню в мобилке */
    .sub-menu {
        display: none !important; /* Скрыто по умолчанию */
        padding-left: 20px;
        margin-top: 10px;
        border-left: 2px solid var(--color-primary);
    }

    /* Когда открыто через JS класс .is-open */
    .menu-item-has-children.is-open > .sub-menu {
        display: block !important;
    }
}

.header-nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Оверлей (затемнение фона) */
body.has-overlay::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999;
}

.container-casa p {
	text-align: center;

	max-width: 700px;
	margin: 1rem auto 0;
}

.sitemap-content {
	margin: 30px 0;
}

.sitemap-section {
	margin-bottom: 40px;
	padding: 20px;
	border-radius: 8px;
}

.sitemap-section h2 {
	color: inherit;
	padding-bottom: 10px;
	margin-bottom: 15px;
}

.sitemap-section h3 {
	color: #555;
	margin: 15px 0 10px 0;
}

.sitemap-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.breadcrumbs {
	display: flex;
	justify-content: center;
	align-items: center;
  margin: 14px 0 1rem;
	gap: 0.8rem;
}

.breadcrumbs-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;
	}
   .main-navigation {

        width: 100%;
      
    }

}

.sitemap-list li {
	margin-bottom: 8px;
	padding-left: 15px;
	position: relative;
}



.sitemap-list a {
	text-decoration: none;
	color: inherit;
	transition: color 0.3s;
}

.sitemap-list a:hover {
	color: #007cba;
}

.category-group {
	margin-bottom: 20px;
}

.tags-cloud {
	line-height: 2;
}

.tag {
	display: inline-block;
	background: #e9e9e9;
	padding: 5px 10px;
	margin: 3px;
	border-radius: 3px;
	text-decoration: none;
	color: #333;
	font-size: 14px;
	transition: all 0.3s;
}

.tag:hover {
	background: #007cba;
	color: white;
}


@media (max-width: 768px) {
	.sitemap-section {
		padding: 15px;
	}

	.tag {
		font-size: 12px;
		padding: 3px 8px;
	}
}



@media (max-width: 1100px) {


	.wide-image-container {
		margin-left: calc(-2 * var(--space-xl));
		margin-right: calc(-2 * var(--space-xl));
		border-radius: var(--img-radius);
	}


	.site-branding nav {

		background: none;
		border-radius: var(--radius);

		margin-bottom: calc(var(--gap) * 1.5);
		box-shadow: none;
		border: none;
	}



}


header p {
	font-size: var(--font-md);

}

.toc-wrap {
	padding: 1rem;

}



.back-to-top {
	bottom: 1rem;
	right: 1rem;
	width: 45px;
	height: 45px;
}




/* articulos */
.articulos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 32px;
	padding-top: 30px;

	max-width: var(--max-width);
	margin: 0 auto;
}

.articulos-card {
	background: #ffffff;
	border-radius: 18px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	border: 1px solid rgba(0, 0, 0, 0.03);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
	padding: 0;
}

.articulos-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}


.articulos-card__image-link img {
	width: 100%;
	height: 170px;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.articulos-card:hover .articulos-card__image-link img {
	transform: scale(1.08);
}

/* Контент */


.articulos-card__content {
	padding: 0 17px 16px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;

}

.articulos-card__title {
	margin-top: 10px;
	font-size: 1rem;
	line-height: 1.3;
	font-weight: 700;

	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 1.6rem;
}

.articulos-card__title a {
	text-decoration: none;

}

.articulos-card__excerpt {
	margin-top: auto;

	margin-bottom: 0;
	color: #6e6e73;
	font-size: 0.95rem;
	line-height: 1.5;


	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
}


.articulos-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: #1d1d1f;
	font-weight: 600;
	font-size: 0.9rem;
	transition: gap 0.3s;
}

.articulos-card__link svg {
	transition: transform 0.3s;
}

.articulos-card__link:hover {
	color: #0073aa;
	gap: 12px;
}


.articulos-card__image-link {
	display: block;
	overflow: hidden;
	border-radius: 6px 6px 0 0;
	height: 170px;
}


.articulos-card__image-link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.6s ease;
}


.articulos-card:hover .articulos-card__image-link img {
	transform: scale(1.08);
}


.articulos-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.load-more-wrapper {
	text-align: center;
	margin: 40px 0;
}

.btn-load-more {
	background-color: #0073aa;
	color: white;
	border: none;
	padding: 12px 30px;
	border-radius: 5px;
	cursor: pointer;
	font-size: 1rem;
	transition: background 0.3s;
}

.btn-load-more:hover {
	background-color: #005177;
}


@media (max-width: 559px) {
	.articulos-grid {
		gap: 17px;

	}

	.articulos-card__image-link {

		height: 17rem;
	}
}

@media (max-width: 768px) {
	.sitemap-list {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
		gap: 5px;
		list-style: none;
		padding: 0;
	}
}

#site-navigation a,
.menu-item a {
	outline: none !important;
	-webkit-tap-highlight-color: transparent;
}



footer p{
  color: #ccc;
}
.site-footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 30px;

    margin-top: 2.5rem;
}
.sitemap-grid{
  padding: 2rem 0;
  margin: 3rem 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
   font-size: 18px;
    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: 20px;
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    font-size: 13px;
    color: #888;
    text-align: center;
}

.safety-icons {
    display: flex;
    gap: 15px;
   
    font-weight: bold;
}

/* Адаптивность */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-logo-container img {
   
    height: auto;
    display: block;
    margin-bottom: 20px;
    max-width: 62px;
    border-radius: 10px;
    
}
.footer-grid{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.footer-about p{
  font-size: 13px;
}
.footer-logo-text {

    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    color: #0073aa; 
    display: block;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.footer-disclaimer p{
  text-align: center;
  margin: 1.5rem 0;
}

/* Контейнер для скролла */
.table-container {
    width: 100%;
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
    margin: 20px 0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}
section,
h2[id], 
h3[id], 
[data-content] {
    scroll-margin-top: 80px;
}

.back-to-top {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	width: 44px;
	height: 44px;
	background: var(--color-accent);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shadow-md);
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--transition), transform var(--transition);
	z-index: 100;
}

.back-to-top.visible {
	opacity: 1;
	visibility: visible;
}

.back-to-top:hover {
	transform: translateY(-3px);
	background: var(--c-primary);
}

.back-to-top svg {
	width: 20px;
	height: 20px;
}

/* Добавляет маленькую стрелочку после внешних ссылок */
a[target="_blank"]::after {
    content: " ↗";
    font-size: 0.75em;
    vertical-align: super;
}
