:root {
  color-scheme: dark;

  --color-bg: #121212;
  --color-bg-alt: #1E1E1E;
  --color-text: #E8E8E8;
  --color-text-secondary: #A0A0A0;

  --color-accent: #C8102E;
  --color-accent-gold: #D4AF37;
  --color-success: #2E7D32;
  --color-danger: #B71C1C;

  --color-border: #333333;
  --color-surface: #1A2332;
  --color-info-box-bg: #2A2520;

  --font-display: 'Oswald', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --content-width: 720px;
  --section-gap: clamp(3rem, 6vw, 5rem);

  --h1-size: clamp(2.5rem, 5vw, 3rem);
  --h2-size: clamp(1.75rem, 3vw, 2rem);
  --h3-size: clamp(1.25rem, 2vw, 1.5rem);
  --body-size: 18px;
  --caption-size: 14px;
}

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

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: var(--font-body);
      font-size: var(--body-size);
      line-height: 1.7;
      color: var(--color-text);
      background-color: var(--color-bg);
    }

    /* ========================================
       2. General Typography
       ======================================== */
    h1 {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: var(--h1-size);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      line-height: 1.1;
      color: var(--color-text);
    }

    h2 {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: var(--h2-size);
      line-height: 1.2;
      color: var(--color-text);
      text-align: left;
      margin-bottom: 1.5rem;
      scroll-margin-top: 2rem;
    }

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

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

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

    a:hover {
      opacity: 0.8;
    }

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

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

    li {
      margin-bottom: 0.5rem;
    }

    strong {
      font-weight: 600;
    }

    em {
      font-style: italic;
    }

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

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

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

    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);
    }

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

    /* ========================================
       3. Layout — Sections
       ======================================== */
    header {
      position: relative;
    }

    main {
      width: 100%;
    }

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

    /* ========================================
       4. Components
       ======================================== */
    
    /* Info Box */
    .info-box {
      background-color: var(--color-info-box-bg);
      border-left: 4px solid var(--color-accent);
      padding: 24px;
      margin: 1.5rem 0;
    }

    .info-box p {
      margin-bottom: 0;
      text-align: left;
      color: var(--color-text);
    }

    .info-box p:not(:last-child) {
      margin-bottom: 0.75rem;
    }

    .info-box strong {
      font-family: var(--font-body);
      font-weight: 600;
      font-size: 16px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
    }

    /* Odds Example */
    .odds-example {
      background-color: #1A1A1A;
      border-radius: 8px;
      padding: 32px;
      margin: 1.5rem 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .odds-example p {
      text-align: center;
      margin-bottom: 0;
      color: #FFFFFF;
    }

    .odds-example .fighter {
      flex: 1;
      min-width: 120px;
    }

    .odds-example .fighter-name {
      font-family: var(--font-body);
      font-weight: 700;
      font-size: 18px;
      color: #FFFFFF;
      margin-bottom: 0.5rem;
    }

    .odds-example .fighter-odds {
      font-family: var(--font-mono);
      font-size: 28px;
      color: #D4AF37;
    }

    .odds-example .vs {
      font-family: var(--font-body);
      font-size: 14px;
      color: #888888;
      text-transform: uppercase;
      letter-spacing: 0.1em;
    }

    .odds-example .draw {
      width: 100%;
      text-align: center;
      padding-top: 1rem;
      border-top: 1px solid #333333;
      margin-top: 1rem;
      font-size: 14px;
      color: #888888;
    }

    .odds-example .draw span {
      font-family: var(--font-mono);
      color: #D4AF37;
    }

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

    /* Callout */
    .callout {
      background: transparent;
      border: 2px dashed var(--color-accent);
      padding: 20px 24px;
      margin: 1.5rem 0;
    }

    .callout p {
      margin-bottom: 0;
      font-style: italic;
      text-align: left;
      color: var(--color-text);
    }

    .callout::before {
      content: none;
    }

    /* Card Grid */
    .card-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
      margin: 1.5rem 0;
    }

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

    .card-grid > div:hover {
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
      transform: translateY(-2px);
    }

    .card-grid p {
      text-align: left;
      color: var(--color-text);
    }

    .card-grid p:first-child {
      margin-bottom: 0.5rem;
    }

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

    .card-grid p strong {
      font-family: var(--font-body);
      font-weight: 600;
      font-size: 18px;
    }

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

    /* Key Takeaway */
    .key-takeaway {
      border-top: 3px solid var(--color-text);
      padding-top: 24px;
      margin: 2rem auto;
      max-width: 600px;
    }

    .key-takeaway p {
      font-family: var(--font-body);
      font-size: clamp(20px, 3vw, 24px);
      font-weight: 600;
      text-align: left;
      color: var(--color-text);
      margin-bottom: 0;
    }

    /* Fun Fact */
    .fun-fact {
      position: relative;
      padding-left: 1.5rem;
      margin: 1.5rem 0;
    }

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

    .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: 1.5rem 0;
      flex-wrap: wrap;
    }

    .glossary-term p {
      margin-bottom: 0;
      text-align: left;
    }

    .glossary-term strong {
      font-family: var(--font-mono);
      color: var(--color-accent);
      text-decoration: underline;
      text-decoration-style: dotted;
      text-underline-offset: 4px;
    }

    .glossary-term span {
      color: var(--color-text-secondary);
    }

    @media (max-width: 480px) {
      .glossary-term {
        flex-direction: column;
        gap: 4px;
      }
    }

    /* Dos and Donts */
    .dos-donts {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      margin: 1.5rem 0;
      background-color: var(--color-bg-alt);
      padding: 0;
    }

    .dos-donts > div {
      padding: 24px;
    }

    .dos-donts > div:first-child {
      border-top: 4px solid var(--color-success);
    }

    .dos-donts > div:last-child {
      border-top: 4px solid var(--color-danger);
    }

    .dos-donts p {
      text-align: left;
      color: var(--color-text);
    }

    .dos-donts p strong {
      display: block;
      margin-bottom: 1rem;
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .dos-donts > div:first-child p strong {
      color: var(--color-success);
    }

    .dos-donts > div:last-child p strong {
      color: var(--color-danger);
    }

    .dos-donts ul {
      list-style: none;
      padding-left: 0;
      margin-bottom: 0;
    }

    .dos-donts li {
      position: relative;
      padding-left: 1.5rem;
      margin-bottom: 0.75rem;
      text-align: left;
      color: var(--color-text);
    }

    .dos-donts li:last-child {
      margin-bottom: 0;
    }

    .dos-donts li::before {
      position: absolute;
      left: 0;
      font-weight: 700;
    }

    .dos-donts > div:first-child li::before {
      content: "\2713";
      color: var(--color-success);
    }

    .dos-donts > div:last-child li::before {
      content: "\2717";
      color: var(--color-danger);
    }

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

    /* Pre-bet Checklist */
    .pre-bet-checklist {
      margin: 1.5rem 0;
    }

    .pre-bet-checklist p {
      text-align: left;
      color: var(--color-text);
    }

    .pre-bet-checklist p strong {
      font-family: var(--font-display);
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--color-accent);
    }

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

    .pre-bet-checklist li {
      position: relative;
      padding-left: 2rem;
      margin-bottom: 0.75rem;
      text-align: left;
      color: var(--color-text);
    }

    .pre-bet-checklist li::before {
      content: "\2610";
      position: absolute;
      left: 0;
      color: var(--color-accent);
      background-color: var(--color-bg);
      padding-right: 4px;
      margin-left: -4px;
    }

    .pre-bet-checklist li:last-child {
      margin-bottom: 0;
    }

    /* 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);
    }

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

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

    .at-a-glance p {
      text-align: center;
      margin-bottom: 0;
      color: var(--color-text);
    }

    .at-a-glance p:first-child {
      font-family: var(--font-display);
      font-size: 1.25rem;
      margin-bottom: 0.5rem;
    }

    .at-a-glance p:last-child {
      font-size: 14px;
      color: var(--color-text-secondary);
    }

    @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 */
    .worked-example {
      background-color: var(--color-surface);
      border-radius: 8px;
      padding: 32px;
      margin: 1.5rem 0;
    }

    .worked-example p {
      text-align: left;
      color: var(--color-text);
    }

    .worked-example p:first-child {
      font-family: var(--font-body);
      font-weight: 600;
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 1.5rem;
    }

    .worked-example p:not(:first-child):not(:last-child) {
      font-family: var(--font-mono);
      font-size: 16px;
      padding-left: 1.5rem;
      position: relative;
      margin-bottom: 1rem;
    }

    .worked-example p:not(:first-child):not(:last-child)::before {
      content: "\2192";
      position: absolute;
      left: 0;
      color: var(--color-accent);
    }

    .worked-example p:last-child {
      background-color: rgba(212, 175, 55, 0.15);
      padding: 1rem;
      border-radius: 4px;
      margin-top: 1rem;
      margin-bottom: 0;
      font-weight: 600;
    }

    /* Section Bridge */
    .section-bridge {
      text-align: center;
      margin: 2rem 0;
      color: var(--color-accent);
      font-style: italic;
      position: relative;
      padding: 0 2rem;
    }

    .section-bridge::before,
    .section-bridge::after {
      content: "\2014\2014";
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      color: var(--color-border);
    }

    .section-bridge::before {
      left: 0;
    }

    .section-bridge::after {
      right: 0;
    }

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

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

    .comparison > div {
      padding: 24px;
      border: 1px solid var(--color-border);
      border-radius: 8px;
      background-color: var(--color-bg);
    }

    .comparison p {
      text-align: left;
      color: var(--color-text);
    }

    .comparison p strong {
      display: block;
      margin-bottom: 0.75rem;
      padding-bottom: 0.5rem;
      border-bottom: 2px solid var(--color-accent);
    }

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

    /* ========================================
       5. Hero Section
       ======================================== */
    [data-content="hero"] {
      max-width: none;
      padding: 0;
      margin-bottom: 0;
      position: relative;
      background-color: var(--color-bg);
      background-image: repeating-linear-gradient(
        135deg,
        transparent,
        transparent 40px,
        rgba(200, 16, 46, 0.05) 40px,
        rgba(200, 16, 46, 0.05) 42px
      );
    }

    .hero-inner {
      max-width: var(--content-width);
      margin: 0 auto;
      padding: clamp(3rem, 8vw, 5rem) 1.5rem;
      text-align: center;
    }

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

    [data-content="hero"] h1 {
      margin-bottom: 1.5rem;
      text-align: center;
    }

    .hero-subtitle {
      font-size: clamp(1.125rem, 2.5vw, 1.25rem);
      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 {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      flex-wrap: wrap;
      font-size: var(--caption-size);
      color: var(--color-text-secondary);
      margin-bottom: 2.5rem;
    }

    .hero-meta time {
      display: inline;
    }

    .hero-badge {
      display: inline-block;
      background-color: var(--color-accent);
      color: #FFFFFF;
      padding: 4px 12px;
      font-size: 11px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      border-radius: 2px;
    }

    [data-content="hero"] figure {
      margin: 0;
      max-width: 900px;
      margin-left: auto;
      margin-right: auto;
    }

    [data-content="hero"] img {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 4px;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    }

    .hero-start-btn {
      display: inline-block;
      margin-top: 2rem;
      padding: 12px 28px;
      background-color: var(--color-accent);
      color: #FFFFFF;
      text-decoration: none;
      font-weight: 600;
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      border-radius: 4px;
      transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .hero-start-btn:hover {
      opacity: 0.9;
      transform: translateY(-1px);
    }

    .hero-start-btn:focus {
      outline: 2px solid var(--color-accent-gold);
      outline-offset: 2px;
    }

    /* ========================================
       6. Table of Contents (Vertical)
       ======================================== */
    [data-content="toc"] {
      background-color: var(--color-bg-alt);
      border-left: 4px solid var(--color-accent);
      padding: 2rem;
      margin-bottom: var(--section-gap);
    }

    .toc-title {
      font-family: var(--font-display);
      font-size: 1.25rem;
      font-weight: 700;
      margin-bottom: 1.5rem;
      color: var(--color-text);
    }

    [data-content="toc"] nav ul {
      list-style: none;
      padding-left: 0;
      margin-bottom: 0;
    }

    [data-content="toc"] nav > ul > li {
      margin-bottom: 0.75rem;
    }

    [data-content="toc"] nav > ul > li > a {
      font-weight: 600;
      color: var(--color-text);
      text-decoration: none;
      transition: color 0.2s ease;
    }

    [data-content="toc"] nav > ul > li > a:hover {
      color: var(--color-accent);
    }

    [data-content="toc"] nav ul ul {
      padding-left: 1.25rem;
      margin-top: 0.5rem;
    }

    [data-content="toc"] nav ul ul li {
      margin-bottom: 0.5rem;
    }

    [data-content="toc"] nav ul ul a {
      font-weight: 400;
      font-size: 0.9375rem;
      color: var(--color-text-secondary);
      text-decoration: none;
      transition: color 0.2s ease;
    }

    [data-content="toc"] nav ul ul a:hover {
      color: var(--color-accent);
    }

    /* ========================================
       7. FAQ Accordion
       ======================================== */
    [data-content="faq"] details {
      border-bottom: 1px solid var(--color-border);
      interpolate-size: allow-keywords;
    }

    [data-content="faq"] summary {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.25rem 0;
      cursor: pointer;
      font-weight: 600;
      font-size: 1.0625rem;
      color: var(--color-text);
      list-style: none;
      transition: color 0.2s ease;
    }

    [data-content="faq"] summary::-webkit-details-marker {
      display: none;
    }

    [data-content="faq"] summary::after {
      content: "+";
      font-size: 1.5rem;
      font-weight: 400;
      color: var(--color-accent);
      transition: transform 0.3s ease;
    }

    [data-content="faq"] details[open] summary::after {
      transform: 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;
    }

    [data-content="faq"] ::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;
    }

    [data-content="faq"] details > div {
      padding-bottom: 1.25rem;
    }

    [data-content="faq"] details > div p {
      color: var(--color-text-secondary);
      line-height: 1.6;
      text-align: left;
    }

    /* Fallback for browsers without ::details-content */
    @supports not selector(::details-content) {
      [data-content="faq"] details[open] > *:not(summary) {
        animation: fade-in 0.3s ease forwards;
      }

      @keyframes fade-in {
        from {
          opacity: 0;
          transform: translateY(-8px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
    }

 
    /* ========================================
       9. Media Queries
       ======================================== */
    @media (max-width: 768px) {
      :root {
        --section-gap: 3rem;
      }

      [data-content] {
        padding: 0 1rem;
      }

      .hero-inner {
        padding: 2.5rem 1rem;
      }

      [data-content="toc"] {
        padding: 1.5rem;
      }
    }

    @media (max-width: 480px) {
      :root {
        --body-size: 16px;
      }

      .odds-example {
        padding: 24px;
        flex-direction: column;
        text-align: center;
      }

      .odds-example .vs {
        margin: 0.5rem 0;
      }

      .hero-meta {
        flex-direction: column;
        gap: 0.5rem;
      }
    }

    /* ========================================
       10. 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 Navigation Styling --- */

.site-header {
    background-color: #000000; /* Match your dark background */
    padding: 20px 0;
    border-bottom: 1px solid #1a1a1a;
    position: sticky; /* Make header stay at the top */
    top: 0;
    z-index: 1000;
}

.top-navigation-bar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center; /* Center the menu items */
    align-items: center;
    padding: 0 20px;
}

/* Remove default list styles */
.menu-desktop {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px; /* Space between menu items */
}

/* Base link styles */
.menu-desktop li a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 10px 0;
    transition: all 0.3s ease;
    position: relative;
}

/* Hover effect: text turns red */
.menu-desktop li a:hover {
    color: #ff0000; /* Using your accent red color */
}

/* Underline animation on hover */
.menu-desktop li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff0000;
    transition: width 0.3s ease;
}

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

/* --- Mobile Menu Hiding --- */

/* Ensure desktop menu is hidden on small screens */
@media (max-width: 768px) {
    .site-nav--desktop {
        display: none;
    }
}

/* --- Mobile Burger Button Styling --- */
.burger {
    display: none; /* Hidden by default, shown on mobile */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.burger span {
    width: 30px;
    height: 3px;
    background-color: #ffffff; /* White bars */
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

/* Burger animation when menu is open */
.burger.is-active span:nth-child(1) { transform: rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; transform: translateX(20px); }
.burger.is-active span:nth-child(3) { transform: rotate(-45deg); }

/* --- Mobile Menu Panel --- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%; /* Hidden off-screen to the left */
    width: 300px;
    height: 100%;
    background-color: #0e0e0e; /* Dark background matches your site */
    z-index: 1050;
    transition: left 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    padding: 80px 40px;
    box-shadow: 5px 0 15px rgba(0,0,0,0.5);
}

.mobile-menu.is-open {
    left: 0; /* Slide into view */
}

/* Close button style */
.mobile-menu__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #ff0000;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
}

/* Menu list styling */
.menu-mobile {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-mobile li {
    margin-bottom: 25px;
}

.menu-mobile li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.menu-mobile li a:hover {
    color: #ff0000; /* Red accent on hover */
}

/* --- Overlay Background --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 1040;
}

.mobile-menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

/* --- Media Query: Show burger only on mobile --- */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }
}

/* --- Mobile Header Layout --- */
@media (max-width: 768px) {
    .top-navigation-bar {
        /* Align content to the right when desktop nav is hidden */
        justify-content: flex-end;
    }

    .mobile-controls {
        /* Ensure the burger stays on the right side */
        margin-left: auto;
    }
}

/* --- Desktop Header Layout Adjustment --- */
.top-navigation-bar {
    display: flex;
    /* Use space-between to prepare for a logo on the left */
    justify-content: space-between;
    align-items: center;
}

/* Footer Styles */
.site-footer {
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff;
    padding: 60px 20px 30px;
    font-family: sans-serif;
    border-top: 1px solid #333;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

/* Responsive grid for tablets and mobile */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.footer-title {
    color: #e4b200; /* Gold color for boxing theme */
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.4;
}

.footer-list a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: #e4b200;
}

/* Bullet points similar to example but different style */
.footer-column:not(:last-child) .footer-list li::before {
    content: "•";
    color: #d10000; /* Red accents for boxing (gloves) */
    display: inline-block; 
    width: 1em;
    margin-left: -1em;
}

.footer-column:not(:last-child) .footer-list {
    padding-left: 1em;
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 30px;
    text-align: center;
}

.footer-disclaimer {
    font-size: 0.8rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 20px;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #888;
}

.footer-bottom p {
    text-align: center !important; /* Forces centering by overriding global paragraph styles */
    margin-left: auto;
    margin-right: auto;
}

.footer-disclaimer, 
.footer-copyright {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
}

/* 404 Page Styles */
.error-404-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh; /* Centers content vertically in the viewport */
    text-align: center;
    background-color: #000;
    color: #fff;
    padding: 40px 20px;
}

.error-404 .page-title {
    font-size: 8rem;
    margin: 0;
    line-height: 1;
    color: #d10000; /* Boxing glove red */
    font-weight: 900;
}

.error-subtitle {
    font-size: 2rem;
    color: #e4b200; /* Gold/Yellow from your logo/titles */
    text-transform: uppercase;
    margin-bottom: 20px;
}

.error-404 .page-content p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 30px;
}

/* Search form styling on 404 */
.error-search {
    max-width: 400px;
    margin: 0 auto 40px;
}

.error-search .search-field {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 10px;
    color: #fff;
    width: 100%;
}

/* Button Styling */
.btn-back-home {
    display: inline-block;
    background-color: #e4b200;
    color: #000;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.btn-back-home:hover {
    background-color: #fff;
    color: #000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .error-404 .page-title {
        font-size: 5rem;
    }
    .error-subtitle {
        font-size: 1.5rem;
    }
}

/* Container alignment */
.top-navigation-bar {
    display: flex;
    justify-content: center; /* Centers the navigation horizontally */
    align-items: center;
    position: relative;
    padding: 10px 20px;
    width: 100%;
}

/* Desktop menu list styling */
.menu-desktop {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px; /* Space between menu items */
}

.menu-desktop li {
    display: inline-block;
}

.menu-desktop a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

/* Positioning the burger icon to the right so it doesn't break the centering */
.mobile-controls {
    position: absolute;
    right: 20px;
    display: none; /* Hidden on desktop */
}

/* Show burger only on mobile */
@media (max-width: 768px) {
    .site-nav--desktop {
        display: none;
    }
    .mobile-controls {
        display: block;
    }
    .top-navigation-bar {
        justify-content: space-between; /* Space between logo (if added) and burger */
    }
}