    :root {
      /* Colors - Dark Theme (default) */
      --color-accent: #C8102E;
      --color-accent-rgb: 200, 16, 46;

      --color-bg: #121212;
      --color-bg-hero: #1A1515;
      --color-text: #E8E8E8;
      --color-text-secondary: #A0A0A0;
      --color-surface: #1E1E1E;
      --color-surface-alt: #252525;
      --color-border: #333333;
      --color-white: #FFFFFF;

      --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
      --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);

      /* Typography */
      --font-display: 'Oswald', sans-serif;
      --font-body: 'Inter', sans-serif;
      --font-mono: 'Space Mono', monospace;

      /* Spacing */
      --section-gap: clamp(3rem, 6vw, 5rem);
      --content-max-width: 720px;
      --content-padding: clamp(1.25rem, 4vw, 2rem);

      /* Hint to the browser: forms/scrollbars in dark */
      color-scheme: dark;
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: var(--font-body);
      font-size: 18px;
      line-height: 1.7;
      color: var(--color-text);
      background-color: var(--color-bg);
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      overflow-x: hidden;
    }

    /* ========================================
       2. GENERAL TYPOGRAPHY
    ======================================== */
    h1 {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: clamp(2.5rem, 5vw, 4rem);
      line-height: 1.1;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: var(--color-text);
    }

    h2 {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: clamp(1.5rem, 3vw, 2.25rem);
      line-height: 1.2;
      letter-spacing: 0.03em;
      text-transform: uppercase;
      color: var(--color-text);
      margin-bottom: 1.5rem;
      text-align: left;
      scroll-margin-top: 2rem;
    }

    h3 {
      font-family: var(--font-body);
      font-weight: 600;
      font-size: clamp(1.15rem, 2vw, 1.5rem);
      line-height: 1.3;
      color: var(--color-text);
      margin-top: 2.5rem;
      margin-bottom: 1rem;
      text-align: left;
      scroll-margin-top: 2rem;
    }

    p {
      margin-bottom: 1.25rem;
      text-align: left;
    }

    p:last-child {
      margin-bottom: 0;
    }

    a {
      color: var(--color-accent);
      text-decoration: underline;
      text-underline-offset: 3px;
      transition: opacity 0.2s ease;
    }

    a:hover {
      opacity: 0.8;
    }

    a:focus {
      outline: 2px solid var(--color-accent);
      outline-offset: 2px;
    }

    strong {
      font-weight: 600;
    }

    em {
      font-style: italic;
    }

    ul, ol {
      margin-bottom: 1.25rem;
      padding-left: 1.5rem;
      text-align: left;
    }

    li {
      margin-bottom: 0.5rem;
    }

    blockquote {
      border-left: 3px solid var(--color-accent);
      padding-left: 1.5rem;
      margin: 2rem 0;
      font-style: italic;
      color: var(--color-text-secondary);
      text-align: left;
    }

    figure {
      margin: 2rem 0;
      max-width: 100%;
    }

    figcaption {
      font-size: 0.875rem;
      color: var(--color-text-secondary);
      margin-top: 0.75rem;
      text-align: center;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      margin: 1.5rem 0;
      text-align: left;
    }

    th, td {
      padding: 0.75rem 1rem;
      border-bottom: 1px solid var(--color-border);
      text-align: left;
    }

    th {
      font-weight: 600;
      background-color: var(--color-surface);
    }

    tr:nth-child(even) td {
      background-color: var(--color-surface-alt);
    }

    /* ========================================
       3. LAYOUT - DATA-CONTENT SECTIONS
    ======================================== */
    header {
      /* Empty header should not create visual gap */
    }

    main {
      width: 100%;
    }

    [data-content] {
      max-width: var(--content-max-width);
      margin-left: auto;
      margin-right: auto;
      padding-left: var(--content-padding);
      padding-right: var(--content-padding);
      padding-top: var(--section-gap);
      padding-bottom: var(--section-gap);
    }

    [data-content="hero"] {
      max-width: none;
      padding: 0;
    }

    [data-content="toc"] {
      padding-top: calc(var(--section-gap) * 0.75);
      padding-bottom: calc(var(--section-gap) * 0.75);
    }

    /* ========================================
       4. VISUAL COMPONENTS
    ======================================== */
    
    /* Info Box */
    .info-box {
      background-color: var(--color-surface);
      border-left: 4px solid var(--color-accent);
      padding: 24px 28px;
      margin: 40px 0;
      box-shadow: var(--shadow-sm);
    }

    .info-box p:first-child strong,
    .info-box > strong:first-child {
      display: block;
      font-family: var(--font-body);
      font-weight: 600;
      font-size: 16px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--color-accent);
      margin-bottom: 0.75rem;
    }

    .info-box p {
      font-size: 17px;
      color: var(--color-text);
      text-align: left;
    }

    /* Odds Example */
    .odds-example {
      background-color: #1A1A1A;
      padding: 32px;
      border-radius: 4px;
      margin: 40px 0;
      box-shadow: var(--shadow-md);
    }

    @media (prefers-color-scheme: dark) {
      .odds-example {
        background-color: #0A0A0A;
        border: 1px solid #333;
      }
    }

    .odds-example p:first-child strong,
    .odds-example > strong:first-child {
      display: block;
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--color-accent);
      margin-bottom: 1rem;
    }

    .odds-example p {
      font-family: var(--font-body);
      font-size: 14px;
      color: #AAAAAA;
      margin-bottom: 0.75rem;
      text-align: center;
    }

    .odds-example p strong {
      font-family: var(--font-mono);
      font-weight: 700;
      font-size: 28px;
      color: #FFFFFF;
    }

    .odds-example hr {
      border: none;
      border-top: 1px dashed #333;
      margin: 1rem 0;
    }

    /* Callout */
    .callout {
      background-color: transparent;
      border: 2px solid var(--color-accent);
      padding: 24px 28px;
      margin: 40px 0;
    }

    .callout::before {
      content: '';
      display: none;
    }

    .callout p {
      font-family: var(--font-body);
      font-weight: 500;
      font-size: 17px;
      color: var(--color-text);
      text-align: left;
    }

    /* Comparison */
    .comparison {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      margin: 40px 0;
    }

    .comparison > div {
      background-color: var(--color-surface);
      padding: 24px;
    }

    .comparison > div:first-child {
      border-top: 3px solid var(--color-accent);
    }

    .comparison > div:last-child {
      border-top: 3px solid var(--color-text-secondary);
    }

    .comparison p:first-child strong {
      display: block;
      font-family: var(--font-body);
      font-weight: 600;
      font-size: 16px;
      text-transform: uppercase;
      margin-bottom: 1rem;
      color: var(--color-text);
    }

    .comparison ul {
      list-style: none;
      padding-left: 0;
    }

    .comparison li {
      position: relative;
      padding-left: 1.25rem;
      font-size: 16px;
      color: var(--color-text);
    }

    .comparison li::before {
      content: '\2013';
      position: absolute;
      left: 0;
      color: var(--color-text-secondary);
    }

    @media (max-width: 600px) {
      .comparison {
        grid-template-columns: 1fr;
      }
    }

    /* Card Grid */
    .card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 20px;
      margin: 40px 0;
    }

    .card-grid > div {
      background-color: var(--color-white);
      border: 1px solid var(--color-border);
      padding: 24px;
      box-shadow: var(--shadow-sm);
      transition: box-shadow 0.2s ease, transform 0.2s ease;
    }

    @media (prefers-color-scheme: dark) {
      .card-grid > div {
        background-color: var(--color-surface);
      }
    }

    .card-grid > div:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-2px);
    }

    .card-grid p:first-child strong {
      display: block;
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 32px;
      color: var(--color-accent);
      margin-bottom: 0.5rem;
    }

    .card-grid p:nth-child(2) {
      font-family: var(--font-body);
      font-weight: 600;
      font-size: 17px;
      color: var(--color-text);
    }

    .card-grid p:last-child {
      font-size: 15px;
      color: var(--color-text-secondary);
    }

    /* Fun Fact */
    .fun-fact {
      position: relative;
      padding-left: 20px;
      margin: 40px 0;
    }

    .fun-fact::before {
      content: '\2014';
      position: absolute;
      left: 0;
      top: 0;
      color: var(--color-accent);
      font-weight: 700;
    }

    .fun-fact p {
      font-family: var(--font-body);
      font-style: italic;
      font-size: 16px;
      color: var(--color-text-secondary);
      text-align: left;
    }

    /* Pre-bet Checklist */
    .pre-bet-checklist {
      margin: 40px 0;
    }

    .pre-bet-checklist p:first-child strong {
      display: block;
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--color-accent);
      margin-bottom: 1.25rem;
    }

    .pre-bet-checklist ul {
      list-style: none;
      padding-left: 2rem;
      border-left: 2px solid var(--color-border);
    }

    .pre-bet-checklist li {
      position: relative;
      padding-left: 0.5rem;
      font-size: 16px;
      margin-bottom: 16px;
      color: var(--color-text);
    }

    .pre-bet-checklist li::before {
      content: '\2610';
      position: absolute;
      left: -1.75rem;
      color: var(--color-accent);
      font-size: 18px;
      background-color: var(--color-bg);
      padding: 0 2px;
    }

    /* Key Takeaway */
    .key-takeaway {
      margin: 32px 0 40px;
      padding-top: 1.25rem;
      border-top: 2px solid var(--color-accent);
      max-width: 80px;
      border-width: 2px;
    }

    .key-takeaway p {
      font-family: var(--font-body);
      font-weight: 600;
      font-size: clamp(1.2rem, 2.5vw, 1.6rem);
      line-height: 1.4;
      color: var(--color-text);
      text-align: left;
      max-width: none;
      width: calc(var(--content-max-width) - 2 * var(--content-padding));
    }

    /* Glossary Term (inline) */
    .glossary-term {
      display: inline;
    }

    .glossary-term strong {
      font-family: var(--font-mono);
      font-weight: 400;
      text-decoration: underline;
      text-underline-offset: 3px;
      color: var(--color-text);
    }

    /* Dos and Donts (styling available but not used per randomization) */
    .dos-donts {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      margin: 40px 0;
    }

    .dos-donts > div:first-child {
      border-top: 3px solid #2E7D32;
    }

    .dos-donts > div:last-child {
      border-top: 3px solid #C62828;
    }

    .dos-donts > div {
      background-color: var(--color-surface);
      padding: 24px;
    }

    @media (max-width: 600px) {
      .dos-donts {
        grid-template-columns: 1fr;
      }
    }

    /* At a Glance (styling available but not used) */
    .at-a-glance {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 0;
      margin: 40px 0;
      border: 1px solid var(--color-border);
    }

    .at-a-glance > div {
      padding: 24px;
      border-right: 1px solid var(--color-border);
      text-align: center;
    }

    .at-a-glance > div:last-child {
      border-right: none;
    }

    @media (max-width: 600px) {
      .at-a-glance {
        grid-template-columns: 1fr;
      }
      .at-a-glance > div {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
      }
      .at-a-glance > div:last-child {
        border-bottom: none;
      }
    }

    /* Worked Example (styling available but not used) */
    .worked-example {
      background-color: var(--color-surface);
      padding: 32px;
      margin: 40px 0;
      box-shadow: var(--shadow-sm);
    }

    .worked-example code,
    .worked-example .mono {
      font-family: var(--font-mono);
    }

    /* Section Bridge (styling available but not used) */
    .section-bridge {
      text-align: center;
      margin: 2rem 0;
      font-style: italic;
      color: var(--color-accent);
    }

    .section-bridge::before,
    .section-bridge::after {
      content: '\2014\2014';
      margin: 0 1rem;
      color: var(--color-border);
    }

    /* ========================================
       5. HERO SECTION
    ======================================== */
    .hero {
      width: 100vw;
      margin-left: calc(50% - 50vw);
      background:
        radial-gradient(ellipse at 50% 60%, rgba(var(--color-accent-rgb), 0.06) 0%, transparent 70%),
        repeating-linear-gradient(
          0deg,
          transparent,
          transparent 38px,
          rgba(var(--color-accent-rgb), 0.05) 38px,
          rgba(var(--color-accent-rgb), 0.05) 40px
        ),
        var(--color-bg-hero);
      padding: clamp(3rem, 8vw, 6rem) var(--content-padding) clamp(2rem, 5vw, 4rem);
      text-align: center;
    }

    @media (prefers-color-scheme: dark) {
      .hero {
        background:
          radial-gradient(ellipse at 50% 60%, rgba(var(--color-accent-rgb), 0.08) 0%, transparent 70%),
          repeating-linear-gradient(
            0deg,
            transparent,
            transparent 38px,
            rgba(var(--color-accent-rgb), 0.06) 38px,
            rgba(var(--color-accent-rgb), 0.06) 40px
          ),
          var(--color-bg-hero);
      }
    }

    .hero-inner {
      max-width: var(--content-max-width);
      margin: 0 auto;
    }

    .hero-label {
      display: inline-block;
      font-family: var(--font-body);
      font-weight: 600;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.15em;
      color: var(--color-accent);
      margin-bottom: 1.5rem;
    }

    .hero h1 {
      margin-bottom: 1.5rem;
      text-align: center;
    }

    .hero-subtitle {
      font-family: var(--font-body);
      font-weight: 400;
      font-size: 20px;
      color: var(--color-text-secondary);
      margin-bottom: 2rem;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
      text-align: center;
    }

    .hero-divider {
      width: 60px;
      height: 3px;
      background-color: var(--color-accent);
      margin: 0 auto 2rem;
    }

    .hero-meta {
      font-family: var(--font-body);
      font-size: 14px;
      color: var(--color-text-secondary);
      margin-bottom: 2.5rem;
    }

    .hero-meta time {
      margin-right: 0.5rem;
    }

    .hero-meta .badge {
      display: inline-block;
      background-color: var(--color-surface);
      padding: 0.25rem 0.75rem;
      border-radius: 2px;
      font-size: 13px;
    }

    .hero figure {
      max-width: 1000px;
      margin: 0 auto;
    }

    .hero figure img {
      width: 100%;
      height: auto;
      display: block;
      margin: 0 auto;
      box-shadow: var(--shadow-md);
    }

    .hero figure figcaption {
      margin-top: 1rem;
    }

    /* ========================================
       6. TABLE OF CONTENTS - VERTICAL STYLE
    ======================================== */
    .toc {
      background-color: var(--color-surface);
      padding: 2rem;
      border-left: 4px solid var(--color-accent);
    }

    .toc-title {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 1rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--color-text);
      margin-bottom: 1.25rem;
    }

    .toc nav ul {
      list-style: none;
      padding-left: 0;
      margin-bottom: 0;
    }

    .toc nav > ul > li {
      margin-bottom: 0.75rem;
    }

    .toc nav a {
      font-family: var(--font-body);
      font-weight: 500;
      font-size: 16px;
      color: var(--color-text);
      text-decoration: none;
      transition: color 0.2s ease;
    }

    .toc nav a:hover {
      color: var(--color-accent);
    }

    .toc nav ul ul {
      margin-top: 0.5rem;
      margin-bottom: 0;
      padding-left: 1.25rem;
    }

    .toc nav ul ul li {
      margin-bottom: 0.4rem;
    }

    .toc nav ul ul a {
      font-weight: 400;
      font-size: 14px;
      color: var(--color-text-secondary);
    }

    

    /* ========================================
       9. RESPONSIVE ADJUSTMENTS
    ======================================== */
    @media (max-width: 768px) {
      body {
        font-size: 16px;
      }

      .hero-subtitle {
        font-size: 18px;
      }

      .card-grid {
        grid-template-columns: 1fr;
      }

      .comparison {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 480px) {
      :root {
        --content-padding: 1rem;
      }

      .toc {
        padding: 1.5rem;
      }
    }

    /* ========================================
       10. UTILITIES & ACCESSIBILITY
    ======================================== */
    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    :focus-visible {
      outline: 2px solid var(--color-accent);
      outline-offset: 2px;
    }

    /* Article image classes */
    .hero-image {
      width: 100%;
      height: auto;
      display: block;
      margin: 0 auto;
    }

    .article-image {
      max-width: 100%;
      height: auto;
      display: block;
      margin: 0 auto;
    }

    /* ==========================================================================
   Desktop Header & Navigation Styles
   ========================================================================== */

/* Main header wrapper */
.site-header {
    background-color: #1a1a1a; /* Dark background matching your theme */
    border-bottom: 1px solid #333; /* Subtle border at the bottom */
    padding: 0 20px;
}

/* Flexbox container to align items properly */
.top-navigation-bar {
    display: flex;
    align-items: center;
    justify-content: center; /* Centers the menu. Use 'space-between' if you add a logo later */
    max-width: 1200px;
    margin: 0 auto;
    min-height: 80px; /* Gives the header some height */
}

/* ------------------------------------
   Desktop Menu Base
   ------------------------------------ */
.menu-desktop {
    display: flex;
    align-items: center;
    list-style: none; /* Removes the bullet points */
    margin: 0;
    padding: 0;
    gap: 30px; /* Space between menu items */
}

/* Menu Item Links */
.menu-desktop li a {
    display: block;
    color: #ffffff; /* White text color */
    text-decoration: none; /* Removes underlines */
    font-size: 16px;
    font-weight: 600; /* Semi-bold */
    text-transform: uppercase; /* Makes text all caps, good for sports sites */
    letter-spacing: 1px;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

/* ------------------------------------
   Hover Effects
   ------------------------------------ */

/* Change color to red on hover */
.menu-desktop li a:hover {
    color: #e63946; /* A nice sporty red color */
}

/* Optional: Add a cool animated underline effect on hover */
.menu-desktop li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 0;
    background-color: #e63946; /* Red underline */
    transition: width 0.3s ease;
}

.menu-desktop li a:hover::after {
    width: 100%;
}

/* Highlight the current active page */
.menu-desktop li.current-menu-item a {
    color: #e63946;
}

/* ------------------------------------
   Hide Mobile elements on Desktop
   ------------------------------------ */
@media screen and (min-width: 992px) {
    .mobile-controls,
    .mobile-menu-overlay,
    .mobile-menu {
        display: none !important;
    }
}

/* Hide Desktop menu on Mobile */
@media screen and (max-width: 991px) {
    .site-nav--desktop {
        display: none;
    }
    .top-navigation-bar {
        justify-content: flex-end; /* Align burger menu to the right */
    }
}

/* ==========================================================================
   Mobile Menu & Burger Styles
   ========================================================================== */

/* ------------------------------------
   Burger Button (Mobile Toggle)
   ------------------------------------ */
.mobile-controls {
    display: flex;
    align-items: center;
}

.burger {
    display: block;
    width: 30px;
    height: 24px;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 100; /* Ensure it's above other header elements */
    padding: 0;
}

/* The three lines of the burger menu */
.burger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: #ffffff; /* White lines */
    border-radius: 2px;
    transition: all 0.3s ease-in-out; /* Smooth animation */
}

/* Positioning the burger lines */
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 11px; }
.burger span:nth-child(3) { top: 22px; }

/* Optional: Burger animation when active (turns into an 'X' if you keep it visible) */
.burger.is-active span:nth-child(1) {
    top: 11px;
    transform: rotate(135deg);
}
.burger.is-active span:nth-child(2) {
    opacity: 0;
    left: -60px; /* Slides out */
}
.burger.is-active span:nth-child(3) {
    top: 11px;
    transform: rotate(-135deg);
}

/* ------------------------------------
   Mobile Menu Overlay (Dark Background)
   ------------------------------------ */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dark semi-transparent background */
    z-index: 998; /* Below the menu, above everything else */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

/* Reveal overlay when JS adds .is-active */
.mobile-menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

/* ------------------------------------
   Mobile Menu Slide-out Panel
   ------------------------------------ */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden off-screen to the right by default */
    width: 300px; /* Width of the mobile menu */
    max-width: 85vw; /* Prevents it from being wider than small screens */
    height: 100vh;
    background-color: #121212; /* Very dark background */
    z-index: 999;
    overflow-y: auto; /* Allows scrolling inside the menu if items are too many */
    transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1); /* Smooth sliding effect */
    padding: 60px 20px 30px; /* Space for close button and bottom */
    box-shadow: -5px 0 15px rgba(0,0,0,0.5); /* Shadow on the left edge */
}

/* Slide in when JS adds .is-open */
.mobile-menu.is-open {
    right: 0;
}

/* Close Button inside the menu */
.mobile-menu__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-menu__close:hover {
    color: #e63946; /* Red on hover */
}

/* ------------------------------------
   Mobile Menu Navigation List
   ------------------------------------ */
.menu-mobile {
    list-style: none; /* Removes bullets */
    margin: 0;
    padding: 0;
}

.menu-mobile li {
    border-bottom: 1px solid #2a2a2a; /* Subtle divider between items */
}

.menu-mobile li:last-child {
    border-bottom: none; /* No border for the last item */
}

.menu-mobile li a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px; /* Larger font for mobile readability */
    font-weight: 600;
    text-transform: uppercase;
    padding: 15px 0;
    transition: color 0.3s ease;
}

/* Active and Hover states */
.menu-mobile li a:hover,
.menu-mobile li.current-menu-item > a {
    color: #e63946; /* Sporty red */
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */

.site-footer {
    background-color: #1a1a1a; /* Dark background */
    color: #cccccc; /* Light grey text for readability */
    padding: 60px 20px 20px;
    border-top: 1px solid #333;
    font-family: sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ------------------------------------
   4-Column CSS Grid Layout
   ------------------------------------ */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns on desktop */
    gap: 40px;
    margin-bottom: 40px;
}

/* ------------------------------------
   Typography & Elements
   ------------------------------------ */
.footer-col-title {
    color: #fca311; /* Yellow color from your example */
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 0;
}

/* Common list styles for custom lists and WP menu */
.footer-list,
.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li,
.footer-menu-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

/* Red bullet point styling */
.bullet-red {
    color: #e63946; /* Red bullet */
    margin-right: 8px;
    font-weight: bold;
}

/* Links */
.footer-list a,
.footer-menu-list a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-list a:hover,
.footer-menu-list a:hover {
    color: #ffffff; /* White on hover */
    text-decoration: underline;
}

/* Make help link in column 1 red to stand out */
.footer-list a[href*="joueurs-info"] {
    color: #e63946;
}
.footer-list a[href*="joueurs-info"]:hover {
    color: #ff4d5a;
}

/* ------------------------------------
   Footer Bottom (Copyright area)
   ------------------------------------ */
.footer-bottom {
    border-top: 1px solid #333; /* Separator line */
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #999999;
}

.footer-bottom p {
    margin: 0;
    text-align: center;
}

/* ------------------------------------
   Responsive Design
   ------------------------------------ */
/* Tablet */
@media screen and (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
}

/* Mobile */
@media screen and (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
        gap: 30px;
    }
    .footer-col-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
}

/* ==========================================================================
   404 Page Styles
   ========================================================================== */

/* Center everything and give it breathing room */
.error-404 {
    text-align: center;
    padding: 120px 20px;
    min-height: 60vh; /* Ensures footer stays at the bottom even on large screens */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Big impactful K.O. title */
.error-404 .page-title {
    font-size: clamp(5rem, 10vw, 8rem); /* Huge responsive text */
    font-weight: 800;
    color: #e63946; /* Sporty red for K.O. */
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
}

.error-404 .page-subtitle {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #ffffff;
    text-transform: uppercase;
    margin-top: 10px;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

/* Description text */
.error-404 .page-content p {
    font-size: 20px;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

/* ------------------------------------
   Return Home Button
   ------------------------------------ */
.btn-return-home {
    display: inline-block;
    background-color: #e63946;
    color: #ffffff;
    text-decoration: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 2px solid #e63946;
}

/* Hover effect: background becomes transparent, text becomes red */
.btn-return-home:hover {
    background-color: transparent;
    color: #e63946;
    transform: translateY(-3px); /* Slight lift effect */
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.2); /* Soft red shadow */
}

/* ==========================================================================
   Mobile Overflow Fixes
   ========================================================================== */

/* ==========================================================================
   Bulletproof Mobile Overflow Fix
   ========================================================================== */

/* Force hide scroll on the main document */
html, 
body {
    overflow-x: hidden !important;
    position: relative;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

/* Reset the hero section specifically */
@media screen and (max-width: 992px) {
    body .hero, 
    body [data-content="hero"] {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        transform: none !important; /* Disables any potential 3D shifts */
        left: 0 !important;
    }
}


/* ========================================
   7. FAQ ACCORDION (Animated & Polished)
======================================== */
.faq-section details {
  border-bottom: 1px solid var(--color-border);
}

.faq-section details:first-of-type {
  border-top: 1px solid var(--color-border);
}

.faq-section summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  color: var(--color-text);
  list-style: none; /* Hides default marker */
  text-align: left;
}

/* Hide default marker for WebKit browsers */
.faq-section summary::-webkit-details-marker {
  display: none;
}

/* Red Plus icon */
.faq-section summary::after {
  content: '+';
  font-size: 2rem;
  font-weight: 300;
  color: var(--color-accent);
  transition: transform 0.3s ease;
  line-height: 0.8;
  flex-shrink: 0;
  margin-left: 1rem;
}

/* Rotate Plus into a Cross (X) when details is open */
.faq-section details[open] summary::after {
  transform: rotate(45deg);
}

/* Answer content wrapper - hidden and squished by default */
.faq-section details > div {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  color: #cccccc;
  font-size: 16px;
  line-height: 1.6;
  transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
}

/* Reveal answer smoothly when open */
.faq-section details[open] > div {
  max-height: 1000px; /* Arbitrary large max-height for smooth opening */
  opacity: 1;
  padding: 10px 0 20px 0;
}