/* ========================================
       1. CSS Variables & Reset
    ======================================== */
    :root {
      --color-bg-page: #fafafa;
      --color-bg-header: #ffffff;
      --color-bg-footer: #1a1a1a;
      --color-bg-card: #ffffff;
      --color-bg-surface: #f5f5f5;
      --color-text-primary: #1a1a1a;
      --color-text-secondary: #4a4a4a;
      --color-text-muted: #6b6b6b;
      --color-accent: #d42111;
      --color-accent-hover: #b31c0e;
      --color-secondary: #1a1a1a;
      --color-border: #e5e5e5;
      --color-success: #16a34a;
      --color-danger: #dc2626;
      --color-warning: #f59e0b;
      --font-heading: 'Inter', sans-serif;
      --font-body: 'Source Sans 3', sans-serif;
      --font-mono: 'JetBrains Mono', monospace;
      --content-width: 940px;
      --section-gap: 4rem;
      --transition-fast: 0.2s ease;
      --transition-medium: 0.35s ease;
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
      --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
      --shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
    }

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

    html {
      scroll-behavior: smooth;
    }

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

    /* ========================================
       2. General Typography
    ======================================== */
    h1, h2, h3, h4, h5, h6 {
      font-family: var(--font-heading);
      font-weight: 700;
      color: var(--color-text-primary);
      text-align: left;
    }

    h1 {
      font-size: clamp(2rem, 5vw, 3rem);
      line-height: 1.2;
      letter-spacing: -0.02em;
    }

    h2 {
      font-size: clamp(1.5rem, 4vw, 2.25rem);
      line-height: 1.25;
      letter-spacing: -0.01em;
      margin-top: 0;
      margin-bottom: 1.25rem;
      scroll-margin-top: 2rem;
    }

    h3 {
      font-size: clamp(1.25rem, 3vw, 1.5rem);
      font-weight: 600;
      line-height: 1.3;
      margin-top: 2rem;
      margin-bottom: 0.75rem;
      scroll-margin-top: 2rem;
      color: #ffffff;
    }

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

    a {
      color: var(--color-accent);
      text-decoration: none;
      transition: color var(--transition-fast);
    }

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

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

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

    li {
      margin-bottom: 0.5rem;
      text-align: left;
    }

    strong {
      font-weight: 600;
    }

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

    code {
      font-family: var(--font-mono);
      font-size: 0.9375rem;
      background-color: var(--color-bg-surface);
      padding: 0.15em 0.4em;
      border-radius: 3px;
    }

    /* ========================================
       3. Layout Sections
    ======================================== */
    main {
      width: 100%;
    }

    article {
      width: 100%;
    }

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

    figure {
      margin: 1.5em auto;
    }

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

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

    table {
      width: 100%;
      border-collapse: collapse;
      margin: 1.5rem 0;
      font-size: 0.9375rem;
    }

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

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

    tbody tr:hover {
      background-color: rgba(212, 33, 17, 0.02);
    }

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

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

    /* Callout */
    .callout {
      background-color: rgba(212, 33, 17, 0.06);
      border: 1px solid rgba(212, 33, 17, 0.15);
      padding: 1.25rem 1.5rem;
      margin: 1.5rem 0;
      border-radius: 6px;
    }

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

    /* Key Takeaway */
    .key-takeaway {
      border-top: 2px solid var(--color-accent);
      padding-top: 1rem;
      margin: 2rem 0;
    }

    .key-takeaway p {
      font-family: var(--font-heading);
      font-size: clamp(1.125rem, 2.5vw, 1.25rem);
      font-weight: 600;
      line-height: 1.5;
      color: var(--color-text-primary);
      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: 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.25rem 0;
    }

    .glossary-term strong {
      font-family: var(--font-mono);
      color: var(--color-accent);
      text-decoration: underline;
      text-underline-offset: 3px;
      flex-shrink: 0;
    }

    .glossary-term p {
      color: var(--color-text-secondary);
      margin-bottom: 0;
      text-align: left;
    }

    /* Odds Example */
    .odds-example {
      background-color: var(--color-bg-card);
      border: 1px solid var(--color-border);
      border-radius: 8px;
      padding: 1.5rem;
      margin: 1.5rem 0;
      box-shadow: var(--shadow-md);
    }

    .odds-example p {
      text-align: center;
      margin-bottom: 0.5rem;
    }

    .odds-example p:first-child {
      font-family: var(--font-heading);
      font-weight: 600;
      font-size: 1rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--color-text-muted);
      margin-bottom: 1rem;
      text-align: center;
    }

    .odds-example p:last-child {
      margin-bottom: 0;
      font-size: 0.9375rem;
      color: var(--color-text-secondary);
      text-align: center;
    }

    /* Worked Example */
    .worked-example {
      background-color: var(--color-bg-surface);
      padding: 1.75rem;
      margin: 1.5rem 0;
      border-radius: 8px;
      box-shadow: var(--shadow-sm);
    }

    .worked-example p {
      font-family: var(--font-mono);
      font-size: 0.9375rem;
      margin-bottom: 0.5rem;
      text-align: left;
    }

    .worked-example p:first-child {
      font-family: var(--font-heading);
      font-weight: 600;
      font-size: 0.875rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--color-accent);
      margin-bottom: 1rem;
      text-align: left;
    }

    .worked-example p:last-child {
      margin-bottom: 0;
      color: var(--color-accent);
      font-weight: 500;
    }

    /* Dos and Don'ts */
    .dos-donts {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
      margin: 1.5rem 0;
    }

    .dos-donts > div:first-child {
      border-left: 3px solid var(--color-success);
      padding-left: 1rem;
    }

    .dos-donts > div:last-child {
      border-left: 3px solid var(--color-danger);
      padding-left: 1rem;
    }

    .dos-donts p {
      font-weight: 600;
      margin-bottom: 0.75rem;
      text-align: left;
    }

    .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 {
      margin-bottom: 0;
      padding-left: 1.25rem;
    }

    .dos-donts li {
      font-size: 0.9375rem;
      text-align: left;
    }

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

    .pre-bet-checklist > p {
      font-family: var(--font-heading);
      font-weight: 600;
      font-size: 0.8125rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--color-accent);
      margin-bottom: 1rem;
      text-align: left;
    }

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

    .pre-bet-checklist li {
      position: relative;
      padding-left: 0.5rem;
      margin-bottom: 0.75rem;
      text-align: left;
    }

    .pre-bet-checklist li::before {
      content: "☐";
      position: absolute;
      left: -1.5rem;
      color: var(--color-accent);
      background-color: var(--color-bg-page);
      padding: 0 2px;
    }

    /* At a Glance */
    .at-a-glance {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
      margin: 1.5rem 0;
      background-color: var(--color-bg-card);
      border: 1px solid var(--color-border);
      border-radius: 8px;
      overflow: hidden;
      box-shadow: var(--shadow-sm);
    }

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

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

    .at-a-glance p:first-child {
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--color-text-muted);
      margin-bottom: 0.5rem;
      text-align: center;
    }

    .at-a-glance p:last-child {
      font-family: var(--font-heading);
      font-weight: 600;
      font-size: 0.9375rem;
      color: var(--color-text-primary);
      margin-bottom: 0;
      text-align: center;
    }

    /* Comparison Table */
    .comparison {
      margin: 1.5rem 0;
      overflow-x: auto;
    }

    .comparison table {
      box-shadow: var(--shadow-sm);
      border-radius: 8px;
      overflow: hidden;
    }

    .comparison th {
      background-color: var(--color-secondary);
      color: #ffffff;
      font-weight: 600;
    }

    .comparison tbody tr:nth-child(even) {
      background-color: var(--color-bg-surface);
    }

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

    .card-grid > div {
      background-color: var(--color-bg-card);
      border: 1px solid var(--color-border);
      border-radius: 8px;
      padding: 1.5rem;
      box-shadow: var(--shadow-sm);
      transition: box-shadow var(--transition-fast), transform var(--transition-fast);
    }

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

    /* Section Bridge */
    .section-bridge {
      text-align: center;
      padding: 1.5rem 0;
      margin: 2rem 0;
    }

    .section-bridge::before,
    .section-bridge::after {
      content: "···";
      color: var(--color-text-muted);
      letter-spacing: 0.25em;
      display: block;
      margin-bottom: 1rem;
    }

    .section-bridge::after {
      margin-bottom: 0;
      margin-top: 1rem;
    }

    .section-bridge p {
      font-family: var(--font-heading);
      font-style: italic;
      color: var(--color-accent);
      text-align: center;
      margin-bottom: 0;
    }

    /* TL;DR Block */
    .tldr {
      background-color: var(--color-bg-surface);
      border-left: 4px solid var(--color-accent);
      padding: 1.75rem 2rem;
      margin-top: 0;
      margin-bottom: var(--section-gap);
      border-radius: 0 8px 8px 0;
    }

    .tldr h2 {
      font-size: clamp(1.125rem, 2.5vw, 1.25rem);
      font-weight: 600;
      margin-bottom: 1rem;
      color: var(--color-text-primary);
      text-align: left;
    }

    .tldr ul {
      margin-bottom: 0;
    }

    .tldr li {
      margin-bottom: 0.75rem;
      font-size: 0.9375rem;
      color: var(--color-text-secondary);
      text-align: left;
    }

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

    /* Author Bio */
    .author-bio {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      border-top: 1px solid var(--color-border);
      padding-top: 1rem;
      margin-top: 2rem;
      font-size: 0.875rem;
      color: var(--color-text-secondary);
      font-style: italic;
    }

    /* ========================================
       5. Hero Section
    ======================================== */
    [data-content="hero"] {
      max-width: 100%;
      width: 100vw;
      padding: 0;
      margin-bottom: var(--section-gap);
      background: 
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(212, 33, 17, 0.06) 0%, transparent 50%),
        var(--color-bg-page);
      text-align: center;
    }

    .hero-inner {
      max-width: var(--content-width);
      margin: 0 auto;
      padding: 3rem 1.5rem 2.5rem;
    }

    [data-content="hero"] h1 {
      position: relative;
      z-index: 1;
      text-align: center;
      margin-bottom: 1.25rem;
    }

    .hero-byline {
      position: relative;
      z-index: 1;
      font-size: 0.9375rem;
      color: var(--color-text-secondary);
      margin-bottom: 1.5rem;
      text-align: center;
    }

    .hero-meta {
      position: relative;
      z-index: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 1rem;
      flex-wrap: wrap;
      margin-bottom: 2rem;
    }

    .hero-date {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.8125rem;
      color: var(--color-text-muted);
      background-color: var(--color-bg-card);
      padding: 0.375rem 0.875rem;
      border-radius: 4px;
      border: 1px solid var(--color-border);
    }

    .hero-trust {
      font-size: 0.6875rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--color-text-muted);
    }

    [data-content="hero"] figure {
      position: relative;
      z-index: 1;
      margin-left: auto;
      margin-right: auto;
      max-width: 100%;
    }

    [data-content="hero"] figure img {
      width: 100%;
      max-width: 800px;
      height: auto;
      margin: 0 auto;
      display: block;
      border-radius: 8px;
      box-shadow: var(--shadow-lg);
    }

    /* ========================================
       6. Header
    ======================================== */
    .site-header {
      background-color: var(--color-bg-header);
      padding: 1rem 1.5rem;
      border-bottom: 1px solid var(--color-border);
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .header-inner {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .site-logo img {
      height: 66px;
      width: auto;
      display: block;
    }

    .header-nav {
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }

    .header-nav a {
      font-size: 0.875rem;
      font-weight: 500;
      color: var(--color-text-secondary);
      transition: color var(--transition-fast);
    }

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

    /* ========================================
       7. Table of Contents (Grid Style)
    ======================================== */
    [data-content="toc"] {
      background-color: var(--color-bg-card);
      border: 1px solid var(--color-border);
      border-radius: 8px;
      padding: 1.75rem 2rem;
      margin-bottom: var(--section-gap);
      box-shadow: var(--shadow-sm);
    }

    .toc-title {
      font-family: var(--font-heading);
      font-size: 0.8125rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--color-text-muted);
      margin-bottom: 1.25rem;
      text-align: left;
    }

    .toc-list {
      column-count: 2;
      column-gap: 2rem;
      list-style: none;
      padding-left: 0;
      margin-bottom: 0;
    }

    .toc-item {
      break-inside: avoid;
      margin-bottom: 1rem;
    }

    .toc-item:last-child {
      margin-bottom: 0;
    }

    .toc-link {
      font-weight: 600;
      font-size: 0.9375rem;
      color: var(--color-text-primary);
      display: block;
      margin-bottom: 0.375rem;
    }

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

    .toc-sublist {
      list-style: none;
      padding-left: 1rem;
      margin-bottom: 0;
    }

    .toc-sublink {
      font-size: 0.8125rem;
      color: var(--color-text-secondary);
      display: block;
      padding: 0.125rem 0;
    }

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

    /* ========================================
       8. FAQ Section
    ======================================== */
    [data-content="faq"] details {
      border-bottom: 1px solid var(--color-border);
      padding: 0;
    }

    [data-content="faq"] details:last-of-type {
      border-bottom: none;
    }

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

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

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

    [data-content="faq"] details[open] summary::after {
      transform: rotate(45deg);
    }

    [data-content="faq"] summary:hover {
      color: var(--color-accent);
    }

    [data-content="faq"] details > div {
      overflow: hidden;
      max-height: 0;
      opacity: 0;
      transition: max-height var(--transition-medium), opacity var(--transition-fast);
    }

    [data-content="faq"] details[open] > div {
      max-height: 500px;
      opacity: 1;
      padding-bottom: 1.25rem;
    }

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

    /* ========================================
       9. Footer
    ======================================== */
    .site-footer {
      background-color: var(--color-bg-footer);
      color: rgba(255, 255, 255, 0.75);
      padding: 3rem 1.5rem 1.5rem;
      font-size: 0.8125rem;
      line-height: 1.6;
    }

    .footer-grid {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2rem;
    }

    .footer-col h4 {
      color: #ffffff;
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 1rem;
      text-align: left;
    }

    .footer-col p {
      color: rgba(255, 255, 255, 0.6);
      margin-bottom: 0.75rem;
      text-align: left;
    }

    .footer-col a {
      color: rgba(255, 255, 255, 0.75);
      display: block;
      padding: 0.25rem 0;
      transition: color var(--transition-fast);
    }

    .footer-col a:hover {
      color: #ffffff;
    }

    .footer-bottom {
      max-width: 1200px;
      margin: 2rem auto 0;
      padding-top: 1.5rem;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .footer-copyright {
      color: rgba(255, 255, 255, 0.5);
    }

    .footer-disclaimer {
      color: rgba(255, 255, 255, 0.4);
      font-size: 0.75rem;
      max-width: 600px;
      text-align: right;
    }

    /* ========================================
       10. Buttons & Interactive
    ======================================== */
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-family: var(--font-heading);
      font-size: 0.875rem;
      font-weight: 600;
      padding: 0.75rem 1.5rem;
      border-radius: 6px;
      border: none;
      cursor: pointer;
      transition: all var(--transition-fast);
      text-decoration: none;
    }

    .btn-primary {
      background-color: var(--color-accent);
      color: #ffffff;
    }

    .btn-primary:hover {
      background-color: var(--color-accent-hover);
      color: #ffffff;
      transform: translateY(-1px);
    }

    .btn-secondary {
      background-color: transparent;
      color: var(--color-text-secondary);
      border: 1px solid var(--color-border);
    }

    .btn-secondary:hover {
      border-color: var(--color-text-secondary);
      color: var(--color-text-primary);
    }

    .back-to-top {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      width: 44px;
      height: 44px;
      background-color: var(--color-bg-card);
      border: 1px solid var(--color-border);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--color-text-secondary);
      box-shadow: var(--shadow-md);
      opacity: 0;
      visibility: hidden;
      transition: all var(--transition-fast);
      z-index: 50;
    }

    .back-to-top:hover {
      background-color: var(--color-accent);
      color: #ffffff;
      border-color: var(--color-accent);
    }

    .back-to-top.visible {
      opacity: 1;
      visibility: visible;
    }

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

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

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

      .header-inner {
        padding: 0;
      }

      .header-nav {
        display: none;
      }

      .toc-list {
        column-count: 1;
      }

      .at-a-glance {
        grid-template-columns: 1fr 1fr;
      }

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

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

      .at-a-glance > div:nth-last-child(-n+2) {
        border-bottom: none;
      }

      .dos-donts {
        grid-template-columns: 1fr;
      }

      .glossary-term {
        flex-direction: column;
        gap: 4px;
      }

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

      .footer-bottom {
        flex-direction: column;
        text-align: center;
      }

      .footer-disclaimer {
        text-align: center;
      }

      .comparison {
        overflow-x: auto;
      }

      .back-to-top {
        bottom: 1rem;
        right: 1rem;
      }
    }

    @media (max-width: 480px) {
      .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;
      }

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

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

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

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

/* Mobile defaults for navigation bar */
.top-navigation-bar {
    width: 100%;
    margin: 0 auto;
    padding: 15px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Fixes */
.site-logo img {
    max-height: 55px; 
    width: auto !important; 
    display: block;
    transition: transform 0.2s ease;
}

.site-logo img:hover {
    transform: scale(1.02);
}

/* Desktop Menu */
.site-nav--desktop {
    display: none; 
}

/* Desktop Grid Layout: Logo left, Menu center */
@media (min-width: 1024px) {
    .top-navigation-bar {
        max-width: 100%;
        padding: 15px 40px; 
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }
    
    .site-logo {
        grid-column: 1;
        justify-self: start; 
        margin: 0;
    }

    .site-nav--desktop {
        display: block;
        grid-column: 2;
        justify-self: center; 
    }

    .mobile-controls {
        display: none; 
    }
    
    .menu-desktop {
        display: flex;
        gap: 30px;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .menu-desktop a {
        text-decoration: none;
        color: var(--color-text, #ffffff);
        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, #eab308);
    }
}

/* 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, #ffffff);
    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%; 
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--color-bg, #121212);
    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; 
}

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

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

.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, #ffffff);
    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, #eab308);
    padding-left: 10px; 
}

/* 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); 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
    z-index: 998;
}

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


#crumbs {
    padding: 10px 0;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
    text-align: center; 
}

#crumbs a {
    text-decoration: none;
    color: #0073aa; 
}

#crumbs a:hover {
    text-decoration: underline;
}

#crumbs .current {
    font-weight: bold;
    color: rgb(0, 0, 0);
}




.cl-hero img,
.content-article img,
img.article-image,
img.wp-post-image {
    max-width: 100%;
    width: 100%;
    height: auto !important; /* Forces height to scale proportionally with width */
    object-fit: cover; /* Prevents any remaining distortion */
    border-radius: 8px; /* Optional: adds modern rounded corners */
    display: block;
    margin: 0 auto;
}

.home main > *:not([data-content="hero"]):not(.cl-header):not(header):not(.cl-hero),
.home main article > *:not([data-content="hero"]):not(.cl-header):not(header):not(.cl-hero) {
    max-width: var(--content-max-width, 940px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    box-sizing: border-box !important;
}

.home main iframe,
.home main article iframe {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
    width: 100% !important;
}




.sitemap-main{
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
}

.sitemap-title{
  margin: 0 0 8px;
  text-align: center;
}

.sitemap-subtitle{
  margin: 0 0 24px;
  text-align: center;
  opacity: 0.75;
}

.sitemap-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.sitemap-link{
  display: block;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  text-decoration: none;
}

.sitemap-link:hover{
  border-color: rgba(255,255,255,0.2);
}

/* ===== Universal hub (NO body_class needed) ===== */

main.hub-children-main{
  padding-bottom: 48px;
}

/* Article wrapper */
main.hub-children-main .hub-children-article{
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* Header */
main.hub-children-main .hub-children-header{
  text-align: center;
  margin-top: 24px;
  margin-bottom: 24px;
}

main.hub-children-main .hub-children-title{
  margin: 0 0 10px;
}

main.hub-children-main .hub-children-intro{
  max-width: 900px;
  margin: 0 auto;
  opacity: .9;
}

/* Grid */
main.hub-children-main .hub-children-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 12px;
}

/* Card */
main.hub-children-main .hub-children-card{
  display: block;
  text-decoration: none;
}

main.hub-children-main .hub-children-card__media{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
  transition: transform .22s ease, box-shadow .22s ease;
}

main.hub-children-main .hub-children-card:hover .hub-children-card__media{
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
}

/* Image */
main.hub-children-main .hub-children-card__img{
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
}

/* Overlay */
main.hub-children-main .hub-children-card__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0.42) 55%,
    rgba(0,0,0,0.70) 100%
  );
}

/* Text */
main.hub-children-main .hub-children-card__content{
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
}

main.hub-children-main .hub-children-card__title{
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 6px 18px rgba(0,0,0,.55);
}

/* Responsive */
@media (max-width: 1024px){
  main.hub-children-main .hub-children-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 640px){
  main.hub-children-main .hub-children-grid{
    grid-template-columns: 1fr;
  }
}
