/**
 * Theme Name: sportnieuws
 * Version: 1.0
 */

 /* orbitron-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: 'Orbitron';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/orbitron-v35-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-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 & Reset
       ========================================================================== */
    :root {
      /* Colors - Light theme base (inverts in dark) */
      --color-bg: #0D0D12;
      --color-bg-card: #16161D;
      --color-bg-surface: #1A1A24;
      --color-bg-elevated: #1E1E28;
      --color-text: #E8E8EC;
      --color-text-secondary: #9090A0;
      --color-border: #2A2A3A;
      
      /* Accent colors - consistent across themes */
      --color-accent: #00D4FF;
      --color-accent-secondary: #FF00FF;
      --color-warning: #FFB800;
      --color-success: #00FF85;
      --color-danger: #FF4757;
      
      /* Typography */
      --font-display: 'Orbitron', 'Share Tech Mono', monospace;
      --font-heading: 'Rajdhani', 'Exo 2', sans-serif;
      --font-body: 'Inter', system-ui, sans-serif;
      --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
      
      /* Sizing */
      --content-max-width: 1000px;
      --section-gap: clamp(3rem, 6vw, 5rem);
      --container-padding: clamp(1rem, 4vw, 2rem);
      
      /* Typography Scale */
      --text-xs: 0.75rem;
      --text-sm: 0.875rem;
      --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
      --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
      --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
      --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
      --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
      --text-hero: clamp(2.5rem, 2rem + 4vw, 4.5rem);
    }

    @media (prefers-color-scheme: light) {
      :root {
        --color-bg: #F5F5F7;
        --color-bg-card: #FFFFFF;
        --color-bg-surface: #FAFAFA;
        --color-bg-elevated: #FFFFFF;
        --color-text: #1A1A24;
        --color-text-secondary: #5A5A6A;
        --color-border: #E0E0E8;
      }
    }

    *,
    *::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(--text-base);
      line-height: 1.7;
      color: var(--color-text);
      background-color: var(--color-bg);
      min-height: 100vh;
    }

    /* ==========================================================================
       2. General Typography
       ========================================================================== */
    h1, h2, h3, h4, h5, h6 {
      font-family: var(--font-heading);
      font-weight: 600;
      line-height: 1.2;
      color: var(--color-text);
      text-align: left;
    }

    h2 {
      font-size: var(--text-2xl);
      margin-top: 2rem;
      margin-bottom: 1.5rem;
      scroll-margin-top: 2rem;
    }

    h3 {
      font-size: var(--text-xl);
      margin-top: 2.5rem;
      margin-bottom: 1rem;
      scroll-margin-top: 2rem;
    }

    p {
      margin-bottom: 1.25rem;
      text-align: left;
    }

    a {
      color: var(--color-accent);
      text-decoration: none;
      transition: opacity 0.2s ease;
    }

    a:hover {
      opacity: 0.8;
    }

    a:focus {
      outline: 2px solid var(--color-accent);
      outline-offset: 2px;
    }

    ul, ol {
      margin-bottom: 1.25rem;

      text-align: left;
    }

    li {
      margin-bottom: 0.5rem;
    }

    strong {
      font-weight: 600;
    }

    em {
      font-style: italic;
    }

    blockquote {
      border-left: 3px solid var(--color-accent);
      padding-left: 1rem;
      margin: 1.5rem 0;
      font-style: italic;
      color: var(--color-text-secondary);
    }

    table {
      width: 100%;
      border-collapse: collapse;
      margin: 1.5rem 0;
      font-size: var(--text-sm);
    }

    th, td {
      padding: 0.75rem 1rem;
      text-align: left;
      border-bottom: 1px solid var(--color-border);
    }

    th {
      font-family: var(--font-heading);
      font-weight: 600;
      color: var(--color-text-secondary);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      font-size: var(--text-xs);
    }

    /* ==========================================================================
       3. Layout - Sections
       ========================================================================== */
    header {
      position: relative;
    }

    main {
      width: 100%;
    }

    .container{
      max-width: var(--content-max-width);
     margin: 0 auto;
	 padding: 0 15px;
    }

    /* ==========================================================================
       4. Components
       ========================================================================== */
    
    /* --- info-box --- */
    .info-box {
      background: var(--color-bg-elevated);
      border-left: 4px solid var(--color-accent);
      padding: 1.5rem 2rem;
      margin: 2rem 0;
      border-radius: 0 8px 8px 0;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }

    .info-box p {
      font-family: var(--font-body);
      color: var(--color-text);
      line-height: 1.7;
      margin-bottom: 0;
      text-align: left;
    }

    .info-box p strong {
      font-family: var(--font-heading);
      font-weight: 600;
      font-size: 1.125rem;
      color: var(--color-accent);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      display: block;
      margin-bottom: 0.75rem;
    }

    /* --- odds-example --- */
    .odds-example {
      background: linear-gradient(135deg, var(--color-bg-surface) 0%, var(--color-bg) 100%);
      border: 1px solid var(--color-border);
      border-radius: 12px;
      padding: 2rem;
      margin: 2rem 0;
      box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    }

    .odds-example p {
      text-align: center;
      margin-bottom: 1rem;
    }

    .odds-example p strong {
      font-family: var(--font-heading);
      font-size: 1rem;
      color: var(--color-text-secondary);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .odds-example table {
      margin: 0;
    }

    .odds-example th {
      background: transparent;
      color: var(--color-text-secondary);
    }

    .odds-example td {
      font-family: var(--font-mono);
      color: var(--color-accent);
      font-size: 1.125rem;
    }

    .odds-example td:first-child {
      font-family: var(--font-heading);
      font-weight: 600;
      color: var(--color-text);
    }

    /* --- callout --- */
    .callout {
      background: rgba(255, 184, 0, 0.08);
      border: 1px solid var(--color-warning);
      border-radius: 8px;
      padding: 1.25rem 1.5rem;
      margin: 1.5rem 0;
      box-shadow: 0 2px 12px rgba(255, 184, 0, 0.1);
    }

    .callout p {
      font-family: var(--font-body);
      color: var(--color-text);
      line-height: 1.6;
      margin-bottom: 0;
      text-align: left;
    }

    .callout p strong {
      color: var(--color-warning);
    }

    /* --- key-takeaway --- */
    .key-takeaway {
      border-top: 3px solid var(--color-accent);
      padding-top: 1.5rem;
      margin: 2.5rem 0;
    }

    .key-takeaway p {
      font-family: var(--font-heading);
      font-size: var(--text-xl);
      font-weight: 600;
      color: var(--color-text);
      line-height: 1.4;
      margin-bottom: 0;
      text-align: left;
    }

    /* --- fun-fact --- */
    .fun-fact {
      position: relative;
      padding-left: 1.5rem;
      margin: 1.5rem 0;
    }

    .fun-fact::before {
      content: '—';
      position: absolute;
      left: 0;
      color: var(--color-accent);
      font-weight: bold;
    }

    .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 p {
      margin-bottom: 0;
      text-align: left;
    }

    .glossary-term p strong {
      font-family: var(--font-mono);
      color: var(--color-accent);
      text-decoration: underline;
      text-underline-offset: 3px;
      text-decoration-color: var(--color-accent);
    }

    @media (max-width: 600px) {
      .glossary-term {
        flex-direction: column;
        gap: 0.25rem;
      }
    }

    /* --- dos-donts --- */
    .dos-donts {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
      margin: 2rem 0;
    }

    .dos-donts > div {
      padding: 1.5rem;
      border-radius: 8px;
    }

    .dos-donts > div:first-child {
      background: rgba(0, 255, 133, 0.06);
      border: 1px solid rgba(0, 255, 133, 0.25);
    }

    .dos-donts > div:last-child {
      background: rgba(255, 71, 87, 0.06);
      border: 1px solid rgba(255, 71, 87, 0.25);
    }

    .dos-donts p {
      margin-bottom: 1rem;
      text-align: left;
    }

    .dos-donts > div:first-child p strong {
      font-family: var(--font-heading);
      font-weight: 600;
      font-size: 1rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--color-success);
    }

    .dos-donts > div:last-child p strong {
      font-family: var(--font-heading);
      font-weight: 600;
      font-size: 1rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--color-danger);
    }

    .dos-donts ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .dos-donts li {
      color: var(--color-text);
      padding-left: 1.5rem;
      position: relative;
      margin-bottom: 0.75rem;
      line-height: 1.5;
    }

    .dos-donts > div:first-child li::before {
      content: '\2713';
      position: absolute;
      left: 0;
      color: var(--color-success);
      font-weight: bold;
    }

    .dos-donts > div:last-child li::before {
      content: '\2717';
      position: absolute;
      left: 0;
      color: var(--color-danger);
      font-weight: bold;
    }

    @media (max-width: 700px) {
      .dos-donts {
        grid-template-columns: 1fr;
      }
    }

    /* --- pre-bet-checklist --- */
    .pre-bet-checklist {
      margin: 2rem 0;
      padding-left: 1.5rem;
      border-left: 2px solid var(--color-accent);
    }

    .pre-bet-checklist p {
      margin-bottom: 1rem;
      text-align: left;
    }

    .pre-bet-checklist p strong {
      font-family: var(--font-heading);
      font-weight: 600;
      font-size: 1.125rem;
      color: var(--color-accent);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .pre-bet-checklist ul {
      list-style: none;
      padding: 0;
      margin: 0;
      position: relative;
    }

    .pre-bet-checklist li {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
      margin-bottom: 0.75rem;
      color: var(--color-text);
      line-height: 1.5;
      position: relative;
      padding-left: 2rem;
    }

    .pre-bet-checklist li::before {
      content: '\2610';
      position: absolute;
      left: 0;
      color: var(--color-accent);
      font-size: 1.1rem;
      background: var(--color-bg);
      padding-right: 0.25rem;
    }

    /* --- at-a-glance --- */
    .at-a-glance {
      display: flex;
      justify-content: space-between;
      gap: 1rem;
      margin: 2rem 0;
      padding: 1.25rem 0;
      border-top: 1px solid var(--color-border);
      border-bottom: 1px solid var(--color-border);
    }

    .at-a-glance > div {
      flex: 1;
      text-align: center;
      padding: 0 1rem;
      border-right: 1px solid var(--color-border);
    }

    .at-a-glance > div:last-child {
      border-right: none;
    }

    .at-a-glance p {
      margin-bottom: 0;
      text-align: center;
    }

    .at-a-glance p strong {
      font-family: var(--font-mono);
      font-size: 1.75rem;
      color: var(--color-accent);
      font-weight: 500;
      display: block;
    }

    .at-a-glance p:last-child {
      font-size: var(--text-sm);
      color: var(--color-text-secondary);
      margin-top: 0.25rem;
    }

    @media (max-width: 600px) {
      .at-a-glance {
        flex-direction: column;
        gap: 1.5rem;
      }

      .at-a-glance > div {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding-bottom: 1.5rem;
      }

      .at-a-glance > div:last-child {
        border-bottom: none;
        padding-bottom: 0;
      }
    }

    /* --- worked-example --- */
    .worked-example {
      background: var(--color-bg-surface);
      border-radius: 8px;
      padding: 2rem;
      margin: 2rem 0;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }

    .worked-example p {
      margin-bottom: 0.75rem;
      text-align: left;
    }

    .worked-example p strong {
      font-family: var(--font-heading);
      font-weight: 600;
      font-size: 1.125rem;
      color: var(--color-text);
      display: block;
      margin-bottom: 1.25rem;
    }

    .worked-example p:not(:first-child) {
      font-family: var(--font-mono);
      color: var(--color-text);
      background: var(--color-bg);
      padding: 0.75rem 1rem;
      border-radius: 4px;
      font-size: var(--text-sm);
    }

    .worked-example p:last-child {
      background: rgba(0, 212, 255, 0.1);
      border: 1px solid var(--color-accent);
      color: var(--color-accent);
    }

    /* --- section-bridge --- */
    .section-bridge {
      text-align: center;
      margin: 3rem 0;
      padding: 1rem 0;
      position: relative;
    }

    .section-bridge::before,
    .section-bridge::after {
      content: '';
      position: absolute;
      top: 50%;
      width: 30%;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--color-border), transparent);
    }

    .section-bridge::before {
      left: 0;
    }

    .section-bridge::after {
      right: 0;
    }

    .section-bridge p {
      font-family: var(--font-body);
      font-style: italic;
      color: var(--color-text-secondary);
      display: inline-block;
      padding: 0 1.5rem;
      background: var(--color-bg);
      margin-bottom: 0;
      text-align: center;
    }

    /* --- card-grid --- */
    .card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
      margin: 2rem 0;
    }

    .card-grid > div {
      background: var(--color-bg-card);
      border: 1px solid var(--color-border);
      border-radius: 8px;
      padding: 1.5rem;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .card-grid > div:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    }

    /* --- comparison --- */
    .comparison {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
      margin: 2rem 0;
    }

    .comparison > div {
      background: var(--color-bg-card);
      border: 1px solid var(--color-border);
      border-radius: 8px;
      padding: 1.5rem;
    }

    .comparison h4 {
      font-family: var(--font-heading);
      font-size: 1rem;
      color: var(--color-accent);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 1rem;
      text-align: left;
    }

    .comparison p {
      text-align: left;
    }

    @media (max-width: 700px) {
      .comparison {
        grid-template-columns: 1fr;
      }
    }

    /* ==========================================================================
       5. Hero Section
       ========================================================================== */
    [data-content="hero"] {
      max-width: none;
      padding: 0;
      padding-bottom: 0;
      position: relative;
      overflow: hidden;
    }

    .hero-inner {
      position: relative;
     
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      
      background: 
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 212, 255, 0.12) 0%, transparent 60%),
        var(--color-bg);
    }
    .home .hero-inner{
      padding-top: 2.2rem;
    }
    /* Hexagon pattern overlay */
    .hero-inner::before {
      content: '';
      position: absolute;
      inset: 0;
      opacity: 0.04;
      pointer-events: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='52' viewBox='0 0 60 52'%3E%3Cpath fill='none' stroke='%2300D4FF' stroke-width='0.5' d='M30 1L55 14v24L30 51 5 38V14z M30 1v50 M5 14l50 24 M55 14L5 38'/%3E%3C/svg%3E");
      background-size: 60px 52px;
      mask-image: radial-gradient(ellipse 100% 80% at 50% 50%, black 20%, transparent 70%);
      -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 50%, black 20%, transparent 70%);
    }

    .hero-label {
      font-family: var(--font-heading);
      font-size: var(--text-xs);
      font-weight: 600;
      color: var(--color-text-secondary);
      text-transform: uppercase;
      letter-spacing: 0.2em;
      margin-bottom: 1.5rem;
    }

    .hero-inner h1 {
      font-family: var(--font-display);
      font-size: var(--text-hero);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--color-text);
      margin-bottom: 1rem;
      text-align: center;
      line-height: 1.1;
    }

    .hero-subtitle {
      font-family: var(--font-heading);
      font-size: var(--text-xl);
      font-weight: 500;
      color: var(--color-text-secondary);
      margin-bottom: 2rem;
      text-align: center;
    }

    .hero-divider {
      width: 120px;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
      margin: 1.2rem auto 0.8rem;
    }

    .hero-meta {
      display: flex;
      align-items: center;
      gap: 1rem;
      font-size: var(--text-sm);
      color: var(--color-text-secondary);
      margin-bottom: 3rem;
      flex-wrap: wrap;
      justify-content: center;
    }

    .hero-meta time {
      font-family: var(--font-mono);
    }

    .hero-badge {
      background: rgba(0, 212, 255, 0.1);
      color: var(--color-accent);
      padding: 0.25rem 0.75rem;
      border-radius: 4px;
      font-family: var(--font-heading);
      font-weight: 600;
      font-size: var(--text-xs);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    [data-content="hero"] figure {
      max-width: var(--content-max-width);
      margin: 0 auto;
      padding: 0 var(--container-padding);
      position: relative;
    }

    [data-content="hero"] figure img {
      width: 100%;
      max-width: 100%;
      height: auto;
      display: block;
      border-radius: 12px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    }

    [data-content="hero"] figcaption {
      font-size: var(--text-sm);
      color: var(--color-text-secondary);
      text-align: center;
      margin-top: 1rem;
      font-style: italic;
    }

    /* ==========================================================================
       6. Table of Contents (Vertical List)
       ========================================================================== */
    [data-content="toc"] {
      
      padding-bottom: calc(var(--section-gap) / 2);
    }

    .toc-title {
      font-family: var(--font-heading);
      font-size: var(--text-lg);
      font-weight: 600;
      color: var(--color-text-secondary);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 1.5rem;
    }

    .toc-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .toc-list > li {
      margin-bottom: 0.5rem;
    }

    .toc-list > li > a {
      font-family: var(--font-heading);
      font-size: var(--text-base);
      font-weight: 600;
      color: var(--color-text);
      display: inline-block;
      padding: 0.5rem 0;
      transition: color 0.2s ease, transform 0.2s ease;
    }

    .toc-list > li > a:hover {
      color: var(--color-accent);
      transform: translateX(4px);
      opacity: 1;
    }

    .toc-list ul {
      list-style: none;
     
      margin-top: 0.25rem;
      margin-bottom: 0;
    }

    .toc-list ul li {
      margin-bottom: 0.25rem;
    }

    .toc-list ul a {
      font-size: var(--text-sm);
      font-weight: 400;
      color: var(--color-text-secondary);
      padding: 0.25rem 0;
      display: inline-block;
      transition: color 0.2s ease;
    }

    .toc-list ul a:hover {
      color: var(--color-accent);
      opacity: 1;
    }

    /* ==========================================================================
       7. FAQ Accordion
       ========================================================================== */
    details {
      border-bottom: 1px solid var(--color-border);
      interpolate-size: allow-keywords;
    }

    details:first-of-type {
      border-top: 1px solid var(--color-border);
    }

    summary {
      font-family: var(--font-heading);
      font-size: var(--text-lg);
      font-weight: 600;
      color: var(--color-text);
      padding: 1.25rem 2.5rem 1.25rem 0;
      cursor: pointer;
      position: relative;
      list-style: none;
      transition: color 0.2s ease;
    }

    summary::-webkit-details-marker {
      display: none;
    }

    summary::after {
      content: '+';
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      font-family: var(--font-mono);
      font-size: 1.5rem;
      color: var(--color-accent);
      transition: transform 0.3s ease;
    }

    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;
    }

    /* Modern CSS accordion animation */
    ::details-content {
      display: block;
      opacity: 0;
      block-size: 0;
      overflow: hidden;
      transition: 
        opacity 0.3s ease,
        block-size 0.3s ease,
        content-visibility 0.3s ease allow-discrete;
    }

    details[open]::details-content {
      opacity: 1;
      block-size: auto;
    }

    details > div {
      padding-bottom: 1.25rem;
    }

    details > div p {
      color: var(--color-text-secondary);
      line-height: 1.7;
      margin-bottom: 0;
    }

    /* Fallback for older browsers */
    @supports not selector(::details-content) {
      details[open] > *:not(summary) {
        animation: faq-fade-in 0.3s ease forwards;
      }

      @keyframes faq-fade-in {
        from {
          opacity: 0;
          transform: translateY(-8px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
    }

    /* ==========================================================================
       8. Images
       ========================================================================== */
    figure {
      margin: 2rem auto;
      max-width: 100%;
    }

    figcaption {
      font-size: var(--text-sm);
      color: var(--color-text-secondary);
      text-align: center;
      margin-top: 0.75rem;
      font-style: italic;
    }

    .hero-image,
    .article-image {
      max-width: 100%;
      height: auto;
      display: block;
      margin: 0 auto;
      border-radius: 8px;
    }

    .article-image {
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }


    /* ==========================================================================
       10. Media Queries
       ========================================================================== */
    @media (max-width: 768px) {
      :root {
        --section-gap: 3rem;
      }

     .hero-inner h1 {
  
    font-size:35px;
   
   
    }
      h2 {
        margin-top: 3rem;
      }

      h3 {
        margin-top: 2rem;
      }

      [data-content="hero"] figure {
        padding: 0 1rem;
      }
    }

    @media (max-width: 480px) {
      .hero-inner h1 {
        letter-spacing: 0.05em;
      }

      .hero-meta {
        flex-direction: column;
        gap: 0.5rem;
      }
    }

    /* Dark mode explicit overrides for inverted components */
    @media (prefers-color-scheme: dark) {
      .section-bridge p {
        background: var(--color-bg);
      }

      .pre-bet-checklist li::before {
        background: var(--color-bg);
      }
    }

    /* Light mode adjustments */
    @media (prefers-color-scheme: light) {
      .hero-inner {
        background: 
          radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 212, 255, 0.08) 0%, transparent 60%),
          var(--color-bg);
      }

      .hero-inner::before {
        opacity: 0.03;
      }

      [data-content="hero"] figure img {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
      }

      .info-box {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      }

      .odds-example {
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
        background: linear-gradient(135deg, var(--color-bg-surface) 0%, var(--color-bg-card) 100%);
      }

      .worked-example {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      }

      .article-image {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
      }

      .section-bridge p {
        background: var(--color-bg);
      }

      .pre-bet-checklist li::before {
        background: var(--color-bg);
      }
    }
  
/* ==========================================================================
   Images Styles for E-Sport Wetten Pillar Article
   ========================================================================== */

/* Hero Image */
.hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image:hover {
  transform: scale(1.01);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

/* Article Images */
.article-image {
  margin: 2.5rem auto;
  max-width: 100%;
  text-align: center;
}

.article-image img {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-image img:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.article-image figcaption {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #9090A0;
  font-style: italic;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Light mode adjustments */
@media (prefers-color-scheme: light) {
  .hero-image {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  }

  .hero-image:hover {
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
  }

  .article-image img {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }

  .article-image img:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  }

  .article-image figcaption {
    color: #5A5A6A;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .article-image {
    margin: 2rem auto;
  }

  .article-image img {
    border-radius: 6px;
  }

  .article-image figcaption {
    padding: 0 1rem;
    font-size: 0.8125rem;
  }
}

@media (max-width: 480px) {
  .hero-image {
    border-radius: 8px;
  }

  .article-image img {
    border-radius: 4px;
  }

  .article-image figcaption {
    font-size: 0.75rem;
  }
}



/*  */

img {
	width: 100%;
	object-fit: cover;
	max-height: 700px;
}

.wp-block-image img {

	margin-bottom: 2rem;
}



/* ---. menu --- */
.header-top {
	position: fixed;

	width: 100%;
	color: #fff;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 11px;
 background: var(--color-accent);
	z-index: 1001;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}



.burger-logo {
	margin: 0;
	padding: 0;
}



.logo-wrapper {
	flex-wrap: nowrap !important;
	;
	display: flex !important;
	align-items: center !important;

	text-decoration: none;
}



.main-logo-img {

	max-height: 45px;
	width: auto;
	flex-shrink: 0;
}


.logo-text {
	
	white-space: nowrap;
	font-size: 1.4rem;
	font-weight: 700;
	text-transform: capitalize;
  color: #fff;
}


.logo-wrapper {
	display: flex !important;
	align-items: center !important;
	flex-wrap: nowrap !important;
	column-gap: 0.5rem !important;
}


.main-menu {
	gap: 1.2rem;
	display: flex;
}



.main-menu a {
	padding: 0 10px;
	display: inline-block;
	transition: color 0.3s;
}

.main-menu a:hover {
	color: inherit;

}

.menu-item__inner {
	display: inline-flex;
	justify-content: space-between;
	align-items: center;
	position: relative
}



.menu-toggle.active .icon-chevron {
	transform: rotate(180deg);
}

.menu-item-has-children>.sub-menu {
	display: none;
}

.menu-item-has-children>.sub-menu.active {
	display: block;
}

.sub-menu {
	display: none;
	min-width: 220px;
	width: 100%;
}

.main-navigation {
	top: 0;
	position: absolute;
	width: 100%;
	left: -100%;
	background-color: inherit;
	z-index: -1;
	overflow: auto;
}

.has-overlay {
	overflow: hidden;
}

.main-navigation.active {
	position: relative;
	color: inherit;
	background-color: inherit;
	left: 0;
	top: 3.5rem;
	height: 100vh;
	z-index: 9;
}

.main-navigation ul {
	margin: 0;
	padding: 0;
}

.menu-link {
	color: inherit;
	font-size: 0.9rem;
}

.menu-item-has-children:last-child .sub-menu,
.menu-item-has-children:nth-last-child(2) .sub-menu {
	right: 0;
	left: auto;
	padding: 0.9rem;
}

.sub-menu--level-2 {
	right: 100% !important;
	top: 0 !important;
	left: auto !important;
}

.sub-menu .sub-menu--level-2 li {
	margin-bottom: 0.9rem;
}


.main-menu li {
	position: relative;
	cursor: pointer;
	list-style-type: none;
	margin: 0;

}

.main-menu li.active {
	font-weight: 600;
	padding: 10px ;
  background:  #01090a1f;
	border-bottom: 4px solid rgb(255 255 255);

}

.burger-line {
	width: 100%;
	height: 3px;
	background-color: #fff;
	border-radius: 2px;
	transition: all 0.3s ease;
	position: absolute;
	left: 0;

}

.burger-line:nth-child(1) {
	top: 0;
}

.burger-line:nth-child(2) {
	top: 48%;
	transform: translateY(-50%);
}

.burger-line:nth-child(3) {
	bottom: 2px;
}

.js-burger {
	flex-direction: column;
	cursor: pointer;
	width: 30px;
	height: 25px;
	position: absolute;
	z-index: 1003;
	background: none;
	border: none;
	padding: 0.5rem;
	right: 2rem;
	top: 1rem;


}

.js-burger.active .burger-line:nth-child(1) {
	transform: rotate(45deg) translate(6px, 7px);
}

.js-burger.active .burger-line:nth-child(2) {
	opacity: 0;
}

.js-burger.active .burger-line:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -8px);
}

.main-navigation::after {
	display: block;
	content: '';
	position: relative;
	width: 100%;
	height: 5rem;
}


.main-navigation::after {
	display: block;
	content: '';
	position: relative;
	width: 100%;
	height: 5rem;
}

.main-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	column-gap: 1.4rem;
	row-gap: 1rem;
	margin: 0;
	padding: 0;
}

.burger-logo {

	white-space: nowrap;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	column-gap: 0.5rem;

}

.burger-logo a {
	font-size: clamp(0.5rem, 1.1rem + 1.1vw, 1.5rem) !important;

	z-index: 2;
	color: var(--color-primary);
	text-decoration: none;
}

.burger-logo a:hover {
	color: #fff !important;
}



/* Responsive */
@media(min-width: 1100px) {


	.container-casa {
		padding: 7rem 0 2rem;
		text-align: center;
		max-width: 80rem;
		margin: auto;
	}

	.menu-toggle {
		padding: 3px;

	}

	.main-navigation {
		overflow: visible;
		justify-content: end;
		display: flex;
	}

	.header-nav {
		display: flex;
		align-items: center;
		margin: auto;
  
		padding: 0 2rem;
		width: 100%;
	}

	.header-nav a {
		display: flex;
		text-transform: capitalize;

		text-decoration: none;
		transition: color var(--transition);
		font-size: 1.1rem;
		flex-wrap: wrap;

		align-items: center;
		column-gap: 1.4rem;
		row-gap: 1rem;
		margin: 0;
		padding: 0 3px;

		z-index: 1000;

		margin-bottom: 0;
	}


	.sub-menu {
		display: none;
		min-width: 280px;
		max-width: 320px;
		width: 100%;
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 8;
		
	}

	.sub-menu a {
		color: #fff;
	}

	.header>.container {
		flex-wrap: nowrap;
	}

	.main-navigation::after {
		display: none;
	}

	.menu-item-has-children:hover>.sub-menu {
		display: block;
	}

	.main-navigation {

		top: 0;
		position: absolute;
		left: -100%;
		background-color: inherit;
		z-index: 9;

	}

	.icon-chevron {
		width: 1.2em;
		height: 1.2em;
		vertical-align: middle;
	}



	.js-burger {
		display: none;
	}

	.main-navigation {
		position: inherit;
	}

	.wp-block-image {
		margin: 2rem 0;
	}
}




@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);
	}

	.burger-logo {
		display: flex;
		align-items: center;
		text-transform: uppercase;
		top: 0.5rem;
		left: 1.1rem;
		z-index: 2;
		position: absolute;
	}

	.burger-logo a {
		color: #ffffff !important;

	}

	.main-navigation ul {
		display: block;
	}

	.site-branding nav {

		background: none;
		border-radius: var(--radius);

		margin-bottom: calc(var(--gap) * 1.5);
		box-shadow: none;
		border: none;
	}


	.header-nav {
		display: flex;

	}

	.main-menu li {
		text-align: left;
		margin-top: 21px;
	}

	.sub-menu li {
		margin-top: 0 !important;
		padding: 0.2rem 1rem;
	}

	.main-menu li.active {
		border-bottom: none;

	}

	.header-nav a {
		font-size: 1.2rem;
	}

	.menu-item-has-children>.sub-menu.active {
		margin-left: 0.8rem;
	}


	.header-top {
		position: relative;
		min-height: 57px;
		display: flex;
		align-items: center;
	
	}
}

/* end menu */

.container-casa p {
	text-align: center;
	font-size: 1.3rem;
	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: 0 0 3rem ;
	gap: 0.5rem;
}

.breadcrumbs-content {
	display: contents;
}

@media (max-width: 1024px) {
	.sitemap-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.25rem;
	}
}

@media (max-width: 768px) {
	.sitemap-list {
		grid-template-columns: 1fr;
		gap: 1rem;
	}


}

.sitemap-list li {
	margin-bottom: 8px;
	padding-left: 15px;
	position: relative;
}



.sitemap-list a {
	text-decoration: none;
	color: inherit;
	transition: color 0.3s;
}

.sitemap-list a:hover {
	color: #007cba;
}

.category-group {
	margin-bottom: 20px;
}

.tags-cloud {
	line-height: 2;
}

.tag {
	display: inline-block;
	background: #e9e9e9;
	padding: 5px 10px;
	margin: 3px;
	border-radius: 3px;
	text-decoration: none;
	color: #333;
	font-size: 14px;
	transition: all 0.3s;
}

.tag:hover {
	background: #007cba;
	color: white;
}

.toc {
	background: rgba(230, 57, 70, 0.1) !important;
	padding: var(--spacing-md) !important;
	border-radius: var(--radius-lg);
	margin-bottom: var(--spacing-sm);
	border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
	.sitemap-section {
		padding: 15px;
	}

	.tag {
		font-size: 12px;
		padding: 3px 8px;
	}
}



@media (max-width: 1100px) {

.breadcrumbs {

	margin: 2.5rem 0 3rem ;

}

	.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;
}

.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-col h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    margin:0 0 15px;
    color: var(--color-accent);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 24px;
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-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;
    max-width: 84px;
    
    
}

.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;
}
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;
}