:root {
      --color-bg: #FAFAFA;
      --color-bg-hero: #F5F5F0;
      --color-text: #1A1A1A;
      --color-text-secondary: #6B7280;
      --color-accent: #10B981;
      --color-accent-alert: #EF4444;
      --color-accent-info: #3B82F6;
      --color-surface: #F3F4F6;
      --color-border: #E5E7EB;
      --color-white: #FFFFFF;
      --font-display: 'Oswald', sans-serif;
      --font-text: 'Inter', sans-serif;
      --font-mono: 'JetBrains Mono', monospace;
      --content-width: 820px;
      --section-gap: clamp(48px, 8vw, 80px);
      --hero-title-size: clamp(36px, 6vw, 64px);
      --h2-size: clamp(24px, 4vw, 32px);
      --h3-size: clamp(18px, 2.5vw, 22px);
      --body-size: 18px;
      --line-height: 1.7;
    
    /* --- AUTO-FORCED DARK THEME --- */
    --color-bg: #0F0F0F;
        --color-bg-hero: #141414;
        --color-text: #F5F5F5;
        --color-text-secondary: #9CA3AF;
        --color-surface: #1F1F1F;
        --color-border: #2D2D2D;
        --color-white: #1A1A1A;
}

    

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

    html {
      scroll-behavior: smooth;
    }

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

    header {
      display: contents;
    }

    main {
      width: 100%;
    }

    /* Typography */
    h1 {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: var(--hero-title-size);
      line-height: 1.1;
      text-transform: uppercase;
      letter-spacing: -0.02em;
      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: 24px;
      scroll-margin-top: 2rem;
    }

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

    p {
      text-align: left;
      margin-bottom: 20px;
    }

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

    ul, ol {
      text-align: left;
      margin-bottom: 20px;
      padding-left: 24px;
    }

    li {
      margin-bottom: 8px;
    }

    strong {
      font-weight: 600;
    }

    em {
      font-style: italic;
    }

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

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

    th, td {
      padding: 12px 16px;
      border-bottom: 1px solid var(--color-border);
    }

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

    figure {
      margin: 32px auto;
      max-width: 100%;
    }

    figcaption {
      font-size: 14px;
      color: var(--color-text-secondary);
      text-align: center;
      margin-top: 12px;
    }

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

    .article-image {
      border-radius: 8px;
    }

    /* Content Sections Layout */
    [data-content] {
      max-width: var(--content-width);
      margin-left: auto;
      margin-right: auto;
      padding: var(--section-gap) 24px;
    }

    /* Hero Section */
    [data-content="hero"] {
      max-width: 100%;
      width: 100vw;
      margin-left: calc(50% - 50vw);
      padding: 0;
      background-color: var(--color-bg-hero);
      position: relative;
      overflow: hidden;
    }

    [data-content="hero"]::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
      pointer-events: none;
    }

    .hero-inner {
      max-width: var(--content-width);
      margin: 0 auto;
      padding: clamp(60px, 10vw, 100px) 24px clamp(40px, 6vw, 60px);
      position: relative;
      z-index: 1;
    }

    .hero-label {
      font-family: var(--font-display);
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 2px;
      color: var(--color-accent);
      margin-bottom: 16px;
    }

    .hero-title {
      margin-bottom: 24px;
    }

    .hero-subtitle {
      font-size: clamp(16px, 2.5vw, 20px);
      color: var(--color-text-secondary);
      line-height: 1.5;
      margin-bottom: 32px;
      max-width: 600px;
    }

    .hero-divider {
      width: 80px;
      height: 1px;
      background-color: var(--color-accent);
      margin-bottom: 24px;
    }

    .hero-meta {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
      font-size: 14px;
      color: var(--color-text-secondary);
      margin-bottom: 40px;
    }

    .hero-meta time {
      display: block;
    }

    .hero-badge {
      display: inline-block;
      padding: 4px 12px;
      background-color: var(--color-surface);
      border-radius: 4px;
      font-size: 12px;
      font-weight: 600;
      color: var(--color-text);
    }

    [data-content="hero"] figure {
      margin: 0;
      max-width: 100%;
    }

    .hero-image {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      display: block;
      border-radius: 0;
    }

    @media (min-width: 768px) {
      .hero-image {
        border-radius: 12px 12px 0 0;
      }
    }

    /* TOC - Horizontal Compact */
    [data-content="toc"] {
      padding-top: 32px;
      padding-bottom: 32px;
      border-bottom: 1px solid var(--color-border);
    }

    .toc-label {
      font-family: var(--font-display);
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 2px;
      color: var(--color-text-secondary);
      margin-bottom: 16px;
    }

    .toc-nav {
      display: flex;
      flex-wrap: wrap;
      gap: 12px 24px;
    }

    .toc-nav a {
      font-family: var(--font-display);
      font-size: 14px;
      font-weight: 600;
      color: var(--color-text);
      text-decoration: none;
      padding: 8px 16px;
      background-color: var(--color-surface);
      border-radius: 6px;
      transition: background-color 0.2s ease, color 0.2s ease;
    }

    .toc-nav a:hover {
      background-color: var(--color-accent);
      color: var(--color-white);
      opacity: 1;
    }

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

    /* Components */

    /* info-box */
    .info-box {
      background-color: var(--color-surface);
      border-left: 4px solid var(--color-accent-info);
      padding: 24px 28px;
      margin: 32px 0;
      border-radius: 0 8px 8px 0;
    }

    .info-box p:first-child strong {
      display: block;
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--color-accent-info);
      margin-bottom: 12px;
    }

    .info-box p {
      font-size: 16px;
      line-height: 1.6;
      color: var(--color-text);
      text-align: left;
    }

    /* odds-example */
    .odds-example {
      background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
      padding: 32px;
      border-radius: 12px;
      margin: 32px 0;
    }

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

    .odds-example p:first-child strong {
      display: block;
      font-family: var(--font-display);
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 2px;
      color: var(--color-accent);
      margin-bottom: 16px;
    }

    .odds-example p:nth-child(2) {
      font-weight: 600;
      font-size: 18px;
      margin-bottom: 20px;
    }

    .odds-example table {
      margin: 0;
      background: transparent;
    }

    .odds-example th {
      background: rgba(255, 255, 255, 0.1);
      color: #9CA3AF;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 1px;
      text-align: center;
      border-radius: 8px 8px 0 0;
      border: none;
    }

    .odds-example td {
      background: rgba(255, 255, 255, 0.1);
      color: var(--color-accent);
      font-family: var(--font-mono);
      font-size: 24px;
      font-weight: 600;
      text-align: center;
      border: none;
      border-radius: 0 0 8px 8px;
      padding: 16px;
    }

    @media (prefers-color-scheme: dark) {
      .odds-example {
        background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
      }
      .odds-example p {
        color: #FFFFFF;
      }
    }

    /* callout */
    .callout {
      background-color: #FFFBEB;
      border: 1px solid #FCD34D;
      border-radius: 8px;
      padding: 20px 24px;
      margin: 32px 0;
    }

    .callout p:first-child strong {
      display: block;
      font-family: var(--font-display);
      font-size: 14px;
      font-weight: 600;
      color: #B45309;
      margin-bottom: 8px;
    }

    .callout p {
      font-size: 15px;
      line-height: 1.6;
      color: #92400E;
      text-align: left;
    }

    @media (prefers-color-scheme: dark) {
      .callout {
        background-color: #422006;
        border-color: #78350F;
      }
      .callout p:first-child strong {
        color: #FCD34D;
      }
      .callout p {
        color: #FDE68A;
      }
    }

    /* card-grid */
    .card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
      margin: 32px 0;
    }

    .card-grid > div {
      background-color: var(--color-white);
      border: 1px solid var(--color-border);
      border-radius: 12px;
      padding: 24px;
      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:first-child strong {
      display: block;
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 18px;
      color: var(--color-text);
      margin-bottom: 12px;
    }

    .card-grid p {
      font-size: 14px;
      color: var(--color-text-secondary);
      line-height: 1.5;
      text-align: left;
    }

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

    .comparison > div {
      padding: 24px;
      border-radius: 12px;
    }

    .comparison > div:first-child {
      background-color: #ECFDF5;
      border: 1px solid var(--color-accent);
    }

    .comparison > div:last-child {
      background-color: #FEF2F2;
      border: 1px solid var(--color-accent-alert);
    }

    .comparison p:first-child strong {
      display: block;
      font-family: var(--font-display);
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 16px;
    }

    .comparison > div:first-child p:first-child strong {
      color: var(--color-accent);
    }

    .comparison > div:last-child p:first-child strong {
      color: var(--color-accent-alert);
    }

    .comparison ul {
      margin: 0;
      padding-left: 20px;
    }

    .comparison li {
      font-size: 14px;
      color: var(--color-text);
      margin-bottom: 8px;
    }

    @media (prefers-color-scheme: dark) {
      .comparison > div:first-child {
        background-color: rgba(16, 185, 129, 0.1);
      }
      .comparison > div:last-child {
        background-color: rgba(239, 68, 68, 0.1);
      }
    }

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

    /* key-takeaway */
    .key-takeaway {
      border-top: 3px solid var(--color-text);
      padding-top: 24px;
      margin: 40px 0;
    }

    .key-takeaway p {
      font-family: var(--font-display);
      font-size: clamp(20px, 3vw, 28px);
      font-weight: 600;
      line-height: 1.3;
      color: var(--color-text);
      text-align: left;
    }

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

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

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

    /* glossary-term */
    .glossary-term {
      font-family: var(--font-mono);
      font-size: 14px;
      background-color: var(--color-surface);
      padding: 2px 6px;
      border-radius: 4px;
      text-decoration: underline;
      text-decoration-style: dotted;
      text-underline-offset: 3px;
      color: var(--color-accent);
    }

    /* worked-example */
    .worked-example {
      background-color: #1A1A1A;
      padding: 28px 32px;
      border-radius: 12px;
      margin: 32px 0;
    }

    .worked-example p:first-child strong {
      display: block;
      font-family: var(--font-display);
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--color-accent);
      margin-bottom: 20px;
    }

    .worked-example p {
      font-family: var(--font-mono);
      font-size: 16px;
      color: #FFFFFF;
      background: rgba(255, 255, 255, 0.1);
      padding: 8px 12px;
      border-radius: 6px;
      margin-bottom: 12px;
      text-align: left;
    }

    .worked-example p:last-child {
      margin-bottom: 0;
    }

    @media (prefers-color-scheme: dark) {
      .worked-example {
        background-color: #1A1A1A;
      }
      .worked-example p {
        color: #FFFFFF;
      }
    }

    /* dos-donts */
    .dos-donts {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      margin: 32px 0;
    }

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

    .dos-donts > div:first-child {
      background-color: #ECFDF5;
      border-left: 4px solid var(--color-accent);
    }

    .dos-donts > div:last-child {
      background-color: #FEF2F2;
      border-left: 4px solid var(--color-accent-alert);
    }

    .dos-donts p:first-child strong {
      display: block;
      font-family: var(--font-display);
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 16px;
    }

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

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

    .dos-donts ul {
      margin: 0;
      padding-left: 20px;
    }

    .dos-donts li {
      font-size: 14px;
      color: var(--color-text);
      margin-bottom: 8px;
    }

    @media (prefers-color-scheme: dark) {
      .dos-donts > div:first-child {
        background-color: rgba(16, 185, 129, 0.1);
      }
      .dos-donts > div:last-child {
        background-color: rgba(239, 68, 68, 0.1);
      }
    }

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

    /* pre-bet-checklist */
    .pre-bet-checklist {
      margin: 32px 0;
    }

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

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

    .pre-bet-checklist li {
      position: relative;
      padding-left: 24px;
      margin-bottom: 12px;
      font-size: 15px;
    }

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

    /* at-a-glance */
    .at-a-glance {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      background-color: var(--color-border);
      border-radius: 12px;
      overflow: hidden;
      margin: 32px 0;
    }

    .at-a-glance > div {
      background-color: var(--color-surface);
      padding: 20px;
      text-align: center;
    }

    .at-a-glance p:first-child strong {
      display: block;
      font-family: var(--font-display);
      font-size: 16px;
      font-weight: 600;
      color: var(--color-text);
      margin-bottom: 8px;
    }

    .at-a-glance p {
      font-size: 13px;
      color: var(--color-text-secondary);
      line-height: 1.4;
      text-align: center;
    }

    @media (max-width: 768px) {
      .at-a-glance {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 480px) {
      .at-a-glance {
        grid-template-columns: 1fr;
      }
    }

    /* section-bridge */
    .section-bridge {
      text-align: center;
      margin: 48px 0;
      position: relative;
    }

    .section-bridge::before,
    .section-bridge::after {
      content: '\2014\2014\2014';
      color: var(--color-border);
      font-size: 12px;
      letter-spacing: 4px;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
    }

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

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

    .section-bridge p {
      font-family: var(--font-display);
      font-size: 16px;
      font-style: italic;
      color: var(--color-accent);
      text-align: center;
      display: inline-block;
      padding: 0 40px;
      background-color: var(--color-bg);
    }

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

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

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

    [data-content="faq"] summary::after {
      content: '+';
      font-size: 24px;
      font-weight: 400;
      color: var(--color-text-secondary);
      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: 20px;
    }

    [data-content="faq"] details > div p {
      font-size: 16px;
      color: var(--color-text-secondary);
      line-height: 1.7;
    }

    @supports not selector(::details-content) {
      @keyframes fade-in {
        from {
          opacity: 0;
        }
        to {
          opacity: 1;
        }
      }
      [data-content="faq"] details[open] > *:not(summary) {
        animation: fade-in 0.3s ease forwards;
      }
    }

    /* Back to Top Button */
    .back-to-top {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: var(--font-display);
      font-size: 13px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--color-text-secondary);
      text-decoration: none;
      padding: 12px 20px;
      border: 1px solid var(--color-border);
      border-radius: 6px;
      margin-top: 48px;
      transition: background-color 0.2s ease, color 0.2s ease;
    }

    .back-to-top:hover {
      background-color: var(--color-surface);
      color: var(--color-text);
      opacity: 1;
    }

    .back-to-top::before {
      content: '\2191';
    }



    /* Responsive adjustments */
    @media (max-width: 768px) {
      :root {
        --body-size: 16px;
      }

      [data-content] {
        padding-left: 16px;
        padding-right: 16px;
      }

      .hero-inner {
        padding-left: 16px;
        padding-right: 16px;
      }

      .toc-nav {
        gap: 8px 12px;
      }

      .toc-nav a {
        font-size: 13px;
        padding: 6px 12px;
      }

      .odds-example {
        padding: 24px 20px;
      }

      .odds-example td {
        font-size: 18px;
        padding: 12px;
      }

      .worked-example {
        padding: 20px 24px;
      }

      .section-bridge::before,
      .section-bridge::after {
        display: none;
      }

      .section-bridge p {
        padding: 0;
      }
    }

/* =========================================
   UNIVERSAL DESKTOP & MOBILE MENU
   ========================================= */

/* Header Base */
.site-header {
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border, #333);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-navigation-bar {
    max-width: var(--wide-width, 1100px);
    margin: 0 auto;
    padding: 15px var(--component-padding, 24px);
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Keep mobile burger on the right */
}

/* --- DESKTOP MENU --- */
.site-nav--desktop {
    display: none; /* Hidden on mobile by default */
}

@media (min-width: 769px) {
    .top-navigation-bar {
        justify-content: center; /* Center the desktop menu */
    }

    .site-nav--desktop {
        display: block;
    }
    .mobile-controls {
        display: none; /* Hide burger on desktop */
    }
    
    .menu-desktop {
        display: flex;
        gap: 30px;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .menu-desktop a {
        text-decoration: none;
        color: var(--color-text);
        font-family: var(--font-body, sans-serif);
        font-weight: 500;
        font-size: 16px;
        transition: color 0.2s ease;
    }
    
    .menu-desktop a:hover {
        color: var(--color-accent);
    }
}

/* --- MOBILE BURGER BUTTON --- */
.burger {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
    z-index: 1000;
}

.burger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--color-text);
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 2px;
}

/* Burger Animation to X */
.burger.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.burger.is-active span:nth-child(2) {
    opacity: 0;
}
.burger.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* --- MOBILE MENU SLIDER --- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden off-screen */
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--color-bg);
    box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
    padding: 60px 30px;
}

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

.mobile-menu__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 36px;
    line-height: 1;
    color: var(--color-text);
    cursor: pointer;
    transition: color 0.2s ease;
}

.mobile-menu__close:hover {
    color: var(--color-accent);
}

.menu-mobile {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.menu-mobile a {
    text-decoration: none;
    color: var(--color-text);
    font-size: 20px;
    font-family: var(--font-display, sans-serif);
    font-weight: 600;
    display: block;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.menu-mobile a:hover {
    color: var(--color-accent);
    padding-left: 10px; /* Nice slide effect on hover */
}

/* --- OVERLAY --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px); /* Beautiful blur effect */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
    z-index: 998;
}

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

/* =========================================
   Footer Structure & Styles
   ========================================= */

.site-footer {
    background-color: #121212; /* Dark background matching your theme */
    color: #a1a1aa; /* Muted text color for readability */
    padding: 60px 20px 20px;
    font-family: var(--font-body), sans-serif;
    border-top: 1px solid #27272a;
    margin-top: 60px;
}

/* 4-Column Grid System */
.footer-grid {
    max-width: var(--content-max-width, 1000px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 40px;
}

/* Headings with a bottom accent line */
.footer-heading {
    color: #fafafa;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #10b981; /* Green accent matching the site vibe */
    padding-bottom: 8px;
    display: inline-block;
}

/* Custom List Reset */
.footer-links-custom,
.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-custom li,
.footer-menu-list li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    position: relative;
    padding-left: 16px; /* Space for the custom bullet */
}

/* Minimalist double arrow for bullets */
.footer-links-custom li::before,
.footer-menu-list li::before {
    content: "»"; 
    color: #10b981; /* Green accent */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1rem;
    line-height: 1.4;
}

/* Footer Links */
.site-footer a {
    color: #a1a1aa;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: #10b981; /* Turns green on hover */
}

/* Bottom Copyright Bar */
.footer-bottom {
    max-width: var(--content-max-width, 1000px);
    margin: 0 auto;
    padding-top: 25px;
    border-top: 1px solid #27272a;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: #c1c1c4;
    text-align: center;
}

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

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
        gap: 32px;
    }
}