/**
 * Theme Name: sportnieuws
 * Version: 1.0
 */
/* 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+ */
}
/* 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-800 - 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: 800;
  src: url('fonts/inter-v20-latin-800.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+ */
}
/* jetbrains-mono-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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/jetbrains-mono-v24-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

      :root {
        --color-primary: #1b2a4a;
        --color-accent: #006633;
        --color-neutral: #f4f5f7;
        --color-gold: #d4a843;
        --color-text: #2c2c2c;
        --color-text-secondary: #6b7280;
        --color-bg: #ffffff;
        --color-surface: #f4f5f7;
        --color-border: #e5e7eb;
        --color-success: #16a34a;
        --color-danger: #dc2626;

        --font-body: "Inter", system-ui, sans-serif;
        --font-mono: "JetBrains Mono", monospace;

        --fs-h1: clamp(28px, 4vw, 48px);
        --fs-h2: clamp(22px, 3vw, 32px);
        --fs-h3: clamp(18px, 2.5vw, 24px);
        --fs-body: clamp(15px, 1.8vw, 18px);
        --fs-caption: 13px;
        --fs-stat: clamp(28px, 3.5vw, 40px);

        --fw-h1: 800;
        --fw-h2: 700;
        --fw-h3: 600;
        --fw-body: 400;

        --max-width-content: 1200px;
        --section-gap: clamp(3rem, 6vw, 5rem);
        --content-padding: clamp(1rem, 4vw, 2rem);

        --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
        --shadow-md:
          0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
        --shadow-lg:
          0 10px 15px -3px rgba(0, 0, 0, 0.08),
          0 4px 6px -2px rgba(0, 0, 0, 0.04);

        --transition-base: 0.2s ease;
        --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      }

      @media (prefers-color-scheme: dark) {
        :root {
          --color-primary: #a3b8d9;
          --color-accent: #34d399;
          --color-neutral: #1f2937;
          --color-gold: #f59e0b;
          --color-text: #f3f4f6;
          --color-text-secondary: #9ca3af;
          --color-bg: #111827;
          --color-surface: #1f2937;
          --color-border: #374151;
          --color-success: #34d399;
          --color-danger: #f87171;
        }
      }

      *,
      *::before,
      *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }

      html {
        scroll-behavior: smooth;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
      }

      body {
        font-family: var(--font-body);
        font-size: var(--fs-body);
        font-weight: var(--fw-body);
        line-height: 1.7;
        color: var(--color-text);
        background-color: var(--color-bg);
      }

      /* Typography */
      h1,
      h2,
      h3,
      h4,
      h5,
      h6 {
        font-family: var(--font-body);
        line-height: 1.25;
        text-align: left;
      }

      h1 {
        font-size: var(--fs-h1);
        font-weight: var(--fw-h1);
      }

      h2 {
        font-size: var(--fs-h2);
        font-weight: var(--fw-h2);
        margin-bottom: 1.25rem;
        scroll-margin-top: 2rem;
      }

      h3 {
        font-size: var(--fs-h3);
        font-weight: var(--fw-h3);
        margin-bottom: 1rem;
        scroll-margin-top: 2rem;
      }

      p {
        text-align: left;
        margin-bottom: 1.25rem;
      }

      p:last-child {
        margin-bottom: 0;
      }

      a {
        color: var(--color-accent);
        text-decoration:none;
        text-underline-offset: 2px;
        transition: opacity var(--transition-base);
      }

      a:hover {
        opacity: 0.8;
      }

      a:focus {
        outline: 2px solid var(--color-accent);
        outline-offset: 2px;
      }

      strong {
        font-weight: 600;
      }

      blockquote {
        text-align: left;
        border-left: 3px solid var(--color-accent);
        padding-left: 1.25rem;
        margin: 1.5rem 0;
        font-style: italic;
        color: var(--color-text-secondary);
      }

      ul,
      ol {
        text-align: left;
       
        margin-bottom: 1.25rem;
      }

      li {
        margin-bottom: 0.5rem;
      }

      li:last-child {
        margin-bottom: 0;
      }

      table {
        width: 100%;
        border-collapse: collapse;
        margin: 1.5rem 0;
        font-size: 0.9em;
      }

      th,
      td {
        text-align: left;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--color-border);
      }

      th {
        font-weight: 600;
        background-color: var(--color-surface);
      }

      tbody tr:hover {
        background-color: var(--color-surface);
      }

      figure {
        margin: 2rem auto;
        max-width: 100%;
      }

      figure img {
        display: block;
        max-width: 100%;
        height: auto;
        margin: 0 auto;
      }

      figcaption {
        text-align: center;
        font-size: var(--fs-caption);
        color: var(--color-text-secondary);
        margin-top: 0.75rem;
      }

      /* Header */
      header {
        padding: 0;
      }

      /* Main layout */
      main {
        width: 100%;
      }

      /* Content wrapper - centered content with left sidebar */
      .main-content-area {
        display: flex;
        justify-content: center;
        gap: 3rem;
        padding: 2rem var(--content-padding);
        max-width: 1200px;
        margin: 0 auto;
      }

      .main-content-area > [data-content="toc"] {
        flex-shrink: 0;
        width: 200px;
        position: sticky;
        top: 2rem;
        align-self: flex-start;
        height: fit-content;
      }

      .main-content-area > .main-content {
        max-width: var(--max-width-content);
        width: 100%;
      }

      @media (max-width: 1100px) {
        .main-content-area {
          flex-direction: column;
          gap: 0;
        }

        .main-content-area > [data-content="toc"] {
          position: static;
          width: 100%;
          max-width: var(--max-width-content);
          margin: 0 auto 2rem;
          padding-bottom: 2rem;
          border-bottom: 1px solid var(--color-border);
        }
      }

      .content-wrapper {
        max-width: var(--max-width-content);
        margin: 0 auto;
        padding: var(--section-gap) var(--content-padding);
      }

      /* Section layout */
      [data-content] {
        max-width: var(--max-width-content);
        margin: 2rem auto 0;
        /* padding: var(--section-gap) var(--content-padding); */
      }

      [data-content] + [data-content] {
        padding-top: 0;
      }

      /* Sections inside wrapper */
      .content-wrapper .content-main [data-content] {
        max-width: 100%;
        padding: 0 0 var(--section-gap) 0;
      }

      .content-wrapper .content-main [data-content]:first-child {
        padding-top: 0;
      }

      /* Hero section */
      [data-content="hero"] {
        max-width: 100%;
        padding: 0;
        margin: 0;
      }

      .hero-inner {
        position: relative;
        background: linear-gradient(135deg, #1b2a4a 0%, #0d1b2a 100%);
       padding: 46px 15px 0;
        overflow: hidden;
      }

      .hero-inner::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image:
          repeating-linear-gradient(
            90deg,
            transparent,
            transparent 49%,
            rgba(255, 255, 255, 0.03) 49%,
            rgba(255, 255, 255, 0.03) 51%,
            transparent 51%
          ),
          repeating-linear-gradient(
            0deg,
            transparent,
            transparent 49%,
            rgba(255, 255, 255, 0.03) 49%,
            rgba(255, 255, 255, 0.03) 51%,
            transparent 51%
          );
        background-size: 60px 60px;
        mask-image: radial-gradient(
          ellipse 80% 60% at 50% 50%,
          black 20%,
          transparent 70%
        );
        -webkit-mask-image: radial-gradient(
          ellipse 80% 60% at 50% 50%,
          black 20%,
          transparent 70%
        );
        pointer-events: none;
        opacity: 0.5;
      }

      .hero-content {
        position: relative;
        max-width: 1100px;
        margin: 0 auto;
        z-index: 1;
        text-align: center;
      }
  .container-page{
    margin: 0 auto;
    padding: 0 15px;
   max-width: var(--max-width-content);
  }
      .hero-meta {
       
        flex-wrap: wrap;
        align-items: center;
        gap: 1rem;
        margin: 2.5rem 0;
      }

      .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        font-size: var(--fs-caption);
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: rgba(255, 255, 255, 0.8);
        background: rgba(255, 255, 255, 0.1);
        padding: 0.375rem 0.75rem;
        border-radius: 4px;
      }

      .hero-badge time {
        color: inherit;
      }

      .trust-marker {
        font-size: var(--fs-caption);
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--color-gold);
      }

      [data-content="hero"] h1 {
        color: #ffffff;
        margin: 0 auto 1rem;
        text-align: center;
        max-width: 1100px;
      }

      .hero-subtitle {
        font-size: clamp(14px, 2vw, 16px);
        font-style: italic;
        color: rgba(255, 255, 255, 0.7);
        letter-spacing: 0.02em;
        margin-bottom: 2rem;
        text-align: center;
      }

      .hero-intro {
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 0;
      }

      .hero-intro p {
        color: inherit;
        margin-bottom: 1rem;
      }

      .hero-intro p:last-child {
        margin-bottom: 0;
      }

      .hero-cta {
        margin-top: 2rem;
      }

      .btn-start {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: var(--color-accent);
        color: #ffffff;
        font-size: var(--fs-caption);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        text-decoration: none;
        padding: 0.75rem 1.5rem;
        border-radius: 4px;
        transition:
          transform var(--transition-base),
          box-shadow var(--transition-base);
      }

      .btn-start:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 102, 51, 0.3);
        opacity: 1;
      }

      .btn-start::after {
        content: "\2193";
        font-size: 1.1em;
      }

      .hero-image {
        margin-top: 2.5rem;
      }

      .hero-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
        border-radius: 8px;
        box-shadow: var(--shadow-lg);
      }

      /* Article Intro */
      .main-content .article-intro {
        margin-bottom: 2rem;
      }

      .article-intro p {
        font-size: var(--fs-body);
        line-height: 1.8;
        color: var(--color-text);
      }

      /* TL;DR section */
      .main-content .tldr {
        background-color: var(--color-surface);
        border-left: 4px solid var(--color-accent);
        padding: 1.5rem;
        border-radius: 0 8px 8px 0;
        margin-bottom: 2rem;
      }

      .tldr h2 {
        font-size: clamp(18px, 2.2vw, 20px);
        font-weight: 700;
        margin-bottom: 1rem;
        color: var(--color-primary);
      }

      @media (prefers-color-scheme: dark) {
        .tldr h2 {
          color: var(--color-text);
        }
      }

      .tldr ul {
        list-style: none;
        padding-left: 0;
      }

      .tldr li {
        position: relative;
        padding-left: 1.25rem;
        margin-bottom: 0.75rem;
      }

      .tldr li::before {
        content: "\2713";
        position: absolute;
        left: 0;
        color: var(--color-accent);
        font-weight: 700;
      }

      /* Table of Contents */
      [data-content="toc"] {
        padding: 2rem 0;
      }

      /* Footer Legal inside main-content */
      .main-content [data-content="footer-legal"] {
        margin-top: 3rem;
        padding-top: 2rem;
        border-top: 1px solid var(--color-border);
      }

      .toc-title {
        font-size: var(--fs-caption);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: var(--color-text-secondary);
        margin-bottom: 1.25rem;
      }

      .toc-list {
        list-style: none;
        padding-left: 0;
        margin: 0;
        font-size: 14px;
      }

      .toc-list li {
        margin-bottom: 0.5rem;
      }

      .toc-list a {
        color: var(--color-text);
        text-decoration: none;
        font-weight: 500;
        transition: color var(--transition-base);
        line-height: 1.4;
      }

      .toc-list a:hover {
        color: var(--color-accent);
        opacity: 1;
      }

      .toc-list ul {
        list-style: none;
        margin-top: 0.375rem;
        margin-bottom: 0;
      }

      .toc-list ul a {
        font-weight: 400;
        font-size: 0.9em;
        color: var(--color-text-secondary);
      }

      .toc-list ul a:hover {
        color: var(--color-accent);
      }

      /* Components */

      /* Info Box */
      .info-box {
        background-color: var(--color-surface);
        border-left: 4px solid var(--color-accent);
        padding: 1.25rem 1.5rem;
        border-radius: 0 6px 6px 0;
        margin: 1.5rem 0;
        box-shadow: var(--shadow-sm);
      }

      .info-box p {
        margin: 0;
        color: var(--color-text);
      }

      /* Odds Example */
      .odds-example {
        background-color: var(--color-primary);
        color: var(--color-bg);
        padding: 1.5rem;
        border-radius: 8px;
        margin: 1.5rem 0;
        box-shadow: var(--shadow-md);
        text-align: center;
      }

      @media (prefers-color-scheme: dark) {
        .odds-example {
          background-color: #2d3e5f;
          color: #f3f4f6;
        }
      }

      .odds-example p {
        text-align: center;
        margin: 0;
        color: inherit;
      }

      .odds-example .odds-value {
        font-family: var(--font-mono);
        font-size: var(--fs-stat);
        font-weight: 700;
        display: block;
        margin-bottom: 0.5rem;
        color: var(--color-gold);
      }

      @media (prefers-color-scheme: dark) {
        .odds-example .odds-value {
          color: #f59e0b;
        }
      }

      .odds-example .odds-label {
        font-size: var(--fs-caption);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        opacity: 0.9;
      }

      /* Callout */
      .callout {
        background-color: #e8f5e9;
        border-radius: 8px;
        padding: 1.25rem 1.5rem;
        margin: 1.5rem 0;
        box-shadow: var(--shadow-sm);
      }

      @media (prefers-color-scheme: dark) {
        .callout {
          background-color: rgba(52, 211, 153, 0.1);
        }
      }

      .callout p {
        margin: 0;
        color: var(--color-text);
      }

      .callout::before {
        content: "\2139";
        display: inline-block;
        width: 24px;
        height: 24px;
        line-height: 24px;
        text-align: center;
        background-color: var(--color-accent);
        color: #ffffff;
        border-radius: 50%;
        font-size: 14px;
        font-weight: 700;
        margin-right: 0.75rem;
        vertical-align: middle;
      }

      /* Key Takeaway */
      .key-takeaway {
        border-top: 2px solid var(--color-accent);
        padding-top: 1rem;
        margin: 2rem 0;
      }

      .key-takeaway p {
        font-size: clamp(18px, 2.2vw, 22px);
        font-weight: 600;
        line-height: 1.5;
        margin: 0;
        color: var(--color-text);
      }

      /* Fun Fact */
      .fun-fact {
        position: relative;
        padding-left: 1.5rem;
        margin: 1.5rem 0;
        font-style: italic;
        color: var(--color-text-secondary);
      }

      .fun-fact::before {
        content: "\2014";
        position: absolute;
        left: 0;
        color: var(--color-gold);
        font-weight: 700;
        font-style: normal;
      }

      .fun-fact p {
        margin: 0;
        color: inherit;
      }

      /* Glossary Term */
      .glossary-term {
        display: flex;
        align-items: baseline;
        gap: 12px;
        margin: 1rem 0;
      }

      .glossary-term .term {
        font-family: var(--font-mono);
        color: var(--color-accent);
        text-decoration: underline;
        text-underline-offset: 3px;
        white-space: nowrap;
      }

      .glossary-term .definition {
        color: var(--color-text-secondary);
      }

      @media (max-width: 600px) {
        .glossary-term {
          flex-direction: column;
          gap: 4px;
        }
      }

      /* Dos and Donts */
      .dos-donts {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        margin: 1.5rem 0;
      }

      .dos-donts .do-column,
      .dos-donts .dont-column {
        padding: 1.25rem;
        border-radius: 8px;
      }

      .dos-donts .do-column {
        background-color: rgba(22, 163, 74, 0.08);
        border-top: 3px solid var(--color-success);
      }

      .dos-donts .dont-column {
        background-color: rgba(220, 38, 38, 0.08);
        border-top: 3px solid var(--color-danger);
      }

      .dos-donts h4 {
        font-size: var(--fs-caption);
        font-weight: 700;
        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: 0;
        padding-left: 1.25rem;
      }

      .dos-donts li {
        font-size: 0.95em;
      }

      @media (max-width: 600px) {
        .dos-donts {
          grid-template-columns: 1fr;
        }
      }

      /* Pre-Bet Checklist */
      .pre-bet-checklist {
        margin: 1.5rem 0;
      }

      .pre-bet-checklist h4 {
        font-size: var(--fs-caption);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: var(--color-accent);
        margin-bottom: 1rem;
      }

      .pre-bet-checklist ul {
        list-style: none;
        padding-left: 1.5rem;
        border-left: 2px solid var(--color-border);
        margin: 0;
      }

      .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: var(--color-bg);
        padding: 0 2px;
      }

      /* At a Glance */
      .at-a-glance {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0;
        margin: 1.5rem 0;
        border: 1px solid var(--color-border);
        border-radius: 8px;
        overflow: hidden;
      }

      .at-a-glance .glance-item {
        padding: 1.25rem;
        text-align: center;
        border-right: 1px solid var(--color-border);
      }

      .at-a-glance .glance-item:last-child {
        border-right: none;
      }

      .at-a-glance .glance-value {
        font-family: var(--font-mono);
        font-size: clamp(22px, 3vw, 28px);
        font-weight: 700;
        color: var(--color-primary);
        display: block;
        margin-bottom: 0.25rem;
      }

      @media (prefers-color-scheme: dark) {
        .at-a-glance .glance-value {
          color: var(--color-text);
        }
      }

      .at-a-glance .glance-label {
        font-size: var(--fs-caption);
        color: var(--color-text-secondary);
        text-align: center;
      }

      @media (max-width: 600px) {
        .at-a-glance {
          grid-template-columns: repeat(2, 1fr);
        }
        .at-a-glance .glance-item {
          border-bottom: 1px solid var(--color-border);
        }
        .at-a-glance .glance-item:nth-child(2n) {
          border-right: none;
        }
        .at-a-glance .glance-item:nth-last-child(-n + 2) {
          border-bottom: none;
        }
      }

      /* Worked Example */
      .worked-example {
        background-color: var(--color-surface);
        padding: 1.5rem;
        border-radius: 8px;
        margin: 1.5rem 0;
        box-shadow: var(--shadow-sm);
      }

      .worked-example h4 {
        font-size: var(--fs-caption);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--color-text-secondary);
        margin-bottom: 1rem;
      }

      .worked-example .step {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px dashed var(--color-border);
      }

      .worked-example .step:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
      }

      .worked-example .step-number {
        font-family: var(--font-mono);
        font-size: var(--fs-caption);
        font-weight: 700;
        color: var(--color-accent);
        margin-right: 0.5rem;
      }

      .worked-example code {
        font-family: var(--font-mono);
        font-size: 0.9em;
        background: rgba(0, 0, 0, 0.05);
        padding: 0.125rem 0.375rem;
        border-radius: 3px;
      }

      @media (prefers-color-scheme: dark) {
        .worked-example code {
          background: rgba(255, 255, 255, 0.1);
        }
      }

      .worked-example .result {
        font-weight: 600;
        color: var(--color-accent);
      }

      /* Section Bridge */
      .section-bridge {
        text-align: center;
        font-style: italic;
        color: var(--color-accent);
        margin: 2.5rem 0;
        position: relative;
      }

      .section-bridge::before,
      .section-bridge::after {
        content: "\2014\2014";
        color: var(--color-border);
        margin: 0 0.75rem;
      }

      /* 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: var(--color-surface);
        border-radius: 8px;
        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;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: var(--color-primary);
      }

      @media (prefers-color-scheme: dark) {
        .card-grid .card h4 {
          color: var(--color-text);
        }
      }

      .card-grid .card p {
        font-size: 0.9em;
        color: var(--color-text-secondary);
        margin: 0;
      }

      /* Comparison */
      .comparison {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        margin: 1.5rem 0;
      }

      .comparison .option {
        border: 1px solid var(--color-border);
        border-radius: 8px;
        padding: 1.25rem;
      }

      .comparison .option h4 {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
        padding-bottom: 0.75rem;
        border-bottom: 2px solid var(--color-accent);
        color: var(--color-text);
      }

      .comparison .option p {
        font-size: 0.95em;
        margin: 0;
        color: var(--color-text);
      }

      @media (max-width: 600px) {
        .comparison {
          grid-template-columns: 1fr;
        }
      }

      /* FAQ Accordion */
      [data-content="faq"] details {
        border-bottom: 1px solid var(--color-border);
      }

      [data-content="faq"] details:first-of-type {
        border-top: 1px solid var(--color-border);
      }

      [data-content="faq"] summary {
        padding: 1.25rem 2rem 1.25rem 0;
        cursor: pointer;
        font-weight: 600;
        position: relative;
        list-style: none;
        transition: color var(--transition-base);
      }

      [data-content="faq"] summary::-webkit-details-marker {
        display: none;
      }

      [data-content="faq"] summary::after {
        content: "+";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.25rem;
        font-weight: 400;
        color: var(--color-text-secondary);
        transition: transform var(--transition-smooth);
      }

      [data-content="faq"] details[open] summary::after {
        transform: translateY(-50%) rotate(45deg);
      }

      [data-content="faq"] summary:hover {
        color: var(--color-accent);
      }

      [data-content="faq"] summary:focus {
        outline: 2px solid var(--color-accent);
        outline-offset: 2px;
      }

      /* Modern details animation using ::details-content */
      @supports selector(::details-content) {
        [data-content="faq"] details {
          interpolate-size: allow-keywords;
        }

        [data-content="faq"] details::details-content {
          opacity: 0;
          block-size: 0;
          overflow: hidden;
          transition:
            opacity 0.3s ease,
            block-size 0.3s ease,
            content-visibility 0.3s ease allow-discrete;
        }

        [data-content="faq"] details[open]::details-content {
          opacity: 1;
          block-size: auto;
        }
      }

      /* Fallback for older browsers */
      @supports not selector(::details-content) {
        @keyframes faq-fade-in {
          from {
            opacity: 0;
            transform: translateY(-8px);
          }
          to {
            opacity: 1;
            transform: translateY(0);
          }
        }

        [data-content="faq"] details[open] > *:not(summary) {
          animation: faq-fade-in 0.25s ease forwards;
        }
      }

      [data-content="faq"] details > div {
        padding: 0 0 1.25rem 0;
      }

      [data-content="faq"] details > div p {
        color: var(--color-text);
        margin: 0;
      }

      /* Images */
      .hero-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
      }

      .article-image {
        display: block;
        max-width: 100%;
        height: auto;
        border-radius: 6px;
      }

      /* Footer */
      footer {
       
        margin: 0 auto;
        padding: var(--section-gap) var(--content-padding) 2rem;
        border-top: 1px solid var(--color-border);
        font-size: 12px;
        color: var(--color-text-secondary);
        line-height: 1.6;
      }

      footer p {
        margin: 0;
      }

      /* Focus styles */
      :focus-visible {
        outline: 2px solid var(--color-accent);
        outline-offset: 2px;
      }

      /* Selection */
      ::selection {
        background-color: var(--color-accent);
        color: #ffffff;
      }

      /* Responsive */
      @media (max-width: 768px) {
        :root {
          --section-gap: 2.5rem;
        }

      }
    /* ==========================================================================
   Images Styles - Wimbledon Betting Article
   ========================================================================== */

/* Hero Image */
.hero-image {
  margin-top: 2.5rem;
  margin-bottom: 0;
}

.hero-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 
              0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

.hero-image figcaption {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.75rem;
  font-style: italic;
}

/* Article Images */
.article-image {
  margin: 2rem 0;
  max-width: 100%;
}

.article-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 
              0 2px 4px -1px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-image img:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 
              0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.article-image figcaption {
  text-align: center;
  font-size: 13px;
  color: #6B7280;
  margin-top: 0.75rem;
  line-height: 1.5;
  font-style: italic;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .hero-image figcaption {
    color: rgba(255, 255, 255, 0.7);
  }
  
  .article-image figcaption {
    color: #9CA3AF;
  }
  
  .article-image img {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 
                0 2px 4px -1px rgba(0, 0, 0, 0.1);
  }
  
  .article-image img:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.25), 
                0 4px 6px -2px rgba(0, 0, 0, 0.15);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-image {
    margin-top: 1.5rem;
  }
  
  .article-image {
    margin: 1.5rem 0;
  }
  
  .hero-image img,
  .article-image img {
    border-radius: 6px;
  }
  
  .hero-image figcaption,
  .article-image figcaption {
    font-size: 12px;
    padding: 0 0.5rem;
  }
}

/* Lazy loading fade-in animation */
.article-image img {
  opacity: 1;
  transition: opacity 0.3s ease-in-out, box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-image img[loading="lazy"] {
  opacity: 0;
}

.article-image img[loading="lazy"].loaded,
.article-image img[loading="lazy"]:not([src=""]) {
  opacity: 1;
}

/* Aspect ratio containers for CLS prevention */
.hero-image {
  aspect-ratio: 1200 / 630;
  overflow: hidden;
}

.article-image {
  aspect-ratio: 800 / 450;
  overflow: hidden;
}

.hero-image img,
.article-image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Reset aspect ratio for figcaption visibility */
.hero-image,
.article-image {
  aspect-ratio: auto;
}


/* --- Responsive --- */
@media (max-width: 600px) {
  figure {
    margin: 1.5em auto;
  }

  figure .article-image {
    border-radius: 4px;
  }
}

img{
  width: 100%;
  object-fit: cover;
  max-height: 700px;
}

.hero-figure{
  margin: 2.5rem auto;
}
/*  */

.wp-block-image img {
  margin-bottom: 2rem;
}

.footer-menu {
  list-style: none;
}

.container-casa {

  text-align: center;
  /* padding-top: 2rem; */
}

.container-casa p {
  margin: 0 auto 2.5rem;
  text-align: center;
  max-width: 800px;
}

.main-logo a {
  color: #fff;
  font-size: 1.5rem;
}

/* --- 1. menu --- */
.header-top {
  background: var(--color-accent);

  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;
  width: 52px;
  flex-shrink: 0;
  border-radius: 5%;
}

.logo-text {
  color: #fff;
  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: #fff;
  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: var(--color-accent);
  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: #fff;
  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: #fff;
}

.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-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;
}
.sitemap-grid{
  margin: 2.5rem 0;
}
@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;
}
.separator, .current{
  color: #fff;
}
.site-footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 60px 15px 30px;
    font-family: 'Source Serif 4', serif; 
    margin-top: 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
        gap: 25px;  
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col div {
   
    font-size: 17px;
    text-transform: uppercase;
    margin:0 0 15px;
    color: var(--color-accent);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-logo {
  
    font-size: 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-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: 50px;
    border-radius: 5%;
    
}

.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;
}
.entry-content{
  margin-top: 2rem;
}