/* ============================================
   1. CSS Variables & Reset
   ============================================ */
:root {
  --page-bg: #0a0a0a;
  --header-bg: #111111;
  --footer-bg: #0d0d0d;
  --text-primary: #e8e8e8;
  --text-secondary: #a0a0a0;
  --accent: #ed3a2a;
  --accent-hover: #ff6b5e;
  --muted: #2a2a2a;
  --component-bg: #141414;
  --surface: #1a1a1a;
  --content-width: 940px;
  --section-gap: 4.5rem;
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-logo: 'Orbitron', sans-serif;
  --success: #2ecc71;
  --danger: #e74c3c;
}

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

html {
  scroll-behavior: smooth;
}

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

/* ============================================
   2. General Typography
   ============================================ */
h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.625rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  text-align: left;
  margin-bottom: 1.25rem;
  scroll-margin-top: 2rem;
}

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

p {
  text-align: left;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

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

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

li {
  margin-bottom: 0.5rem;
}

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

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

th {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

td {
  color: var(--text-secondary);
}

figure {
  margin: 1.5em auto;
}

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

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

hr {
  border: none;
  border-top: 1px solid var(--muted);
  margin: 2rem 0;
}

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

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

/* ============================================
   4. Components
   ============================================ */

/* --- info-box --- */
.info-box {
  background: var(--component-bg);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

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

.info-box p strong {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

/* --- callout --- */
.callout {
  background: linear-gradient(135deg, rgba(237,58,42,0.08) 0%, transparent 100%);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  border-radius: 0 4px 4px 0;
}

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

.callout p strong {
  color: var(--accent-hover);
}

/* --- key-takeaway --- */
.key-takeaway {
  border-top: 3px solid var(--accent);
  padding-top: 1rem;
  margin: 2.5rem 0;
}

.key-takeaway p {
  text-align: left;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 0;
}

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

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

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

/* --- glossary-term --- */
.glossary-term {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 1.25rem 0;
}

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

.glossary-term p strong {
  font-family: var(--font-mono);
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

/* --- odds-example --- */
.odds-example {
  background: var(--surface);
  padding: 1.5rem;
  margin: 2rem 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  overflow-x: auto;
}

.odds-example table {
  margin: 0;
}

.odds-example th {
  border-bottom: 2px solid var(--accent);
}

.odds-example td {
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

/* --- dos-donts --- */
.dos-donts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.dos-donts > div {
  background: var(--surface);
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

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

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

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

.dos-donts p strong {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

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

.dos-donts ul {
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.dos-donts li {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --- pre-bet-checklist --- */
.pre-bet-checklist {
  margin: 2rem 0;
}

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

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

.pre-bet-checklist li {
  position: relative;
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding: 0.25rem 0;
}

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

/* --- at-a-glance --- */
.at-a-glance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 2rem 0;
  background: var(--surface);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.at-a-glance > div {
  padding: 1.25rem 1.5rem;
  border-right: 1px solid var(--muted);
}

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

.at-a-glance p {
  text-align: left;
  margin-bottom: 0.5rem;
}

.at-a-glance p:last-child {
  margin-bottom: 0;
}

.at-a-glance p strong {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.at-a-glance p:not(:first-child) {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --- comparison --- */
.comparison {
  background: var(--surface);
  padding: 1.5rem;
  margin: 2rem 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  overflow-x: auto;
}

.comparison table {
  margin: 0;
}

.comparison th {
  border-bottom: 2px solid var(--accent);
}

.comparison td {
  font-size: 0.9rem;
}

/* --- worked-example --- */
.worked-example {
  background: var(--surface);
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.worked-example p {
  text-align: left;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.8;
}

.worked-example p:first-child {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--muted);
  padding-bottom: 0.75rem;
}

.worked-example p:last-child {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--muted);
}

/* --- section-bridge --- */
.section-bridge {
  text-align: center;
  margin: 3rem 0;
  position: relative;
  padding: 1rem 0;
}

.section-bridge::before,
.section-bridge::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 60px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
}

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

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

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

/* --- tldr --- */
.tldr {
  background: var(--surface);
  border-left: 4px solid var(--accent);
  padding: 1.5rem 2rem;
  margin-top: var(--section-gap);
  margin-bottom: var(--section-gap);
}

.tldr h2 {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--accent);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tldr ul {
  margin-bottom: 0;
}

.tldr li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

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

.card-grid > div {
  background: var(--surface);
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.card-grid p {
  text-align: left;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.card-grid p strong {
  color: var(--text-primary);
  font-family: var(--font-heading);
}

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

/* ============================================
   5. Site Header
   ============================================ */
.site-header {
  background: var(--header-bg);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.header-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

.header-trust {
  font-size: 0.65rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================
   6. Hero Section
   ============================================ */
[data-content="hero"] {
  max-width: 100%;
  width: 100vw;
  padding: 4rem 1.25rem 3.5rem;
  text-align: center;
  background: var(--page-bg);
  margin-bottom: var(--section-gap);
}

[data-content="hero"] > * {
  position: relative;
  z-index: 1;
}

[data-content="hero"] .hero-rubric {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: block;
}

[data-content="hero"] h1 {
  text-align: center;
  margin: 0 auto 1.5rem;
  max-width: var(--content-width);
}

[data-content="hero"] .hero-description {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

[data-content="hero"] .hero-byline {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0 auto;
}

[data-content="hero"] .hero-byline span {
  color: var(--accent);
}

[data-content="hero"] figure {
  margin: 2rem auto 0;
  max-width: var(--content-width);
}

[data-content="hero"] figure img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* ============================================
   7. TOC
   ============================================ */
[data-content="toc"] {
  background: var(--surface);
  padding: 2rem;
  margin-bottom: var(--section-gap);
}

.toc-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

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

.toc-list > li {
  break-inside: avoid;
  margin-bottom: 0.75rem;
}

.toc-list > li > a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.toc-list > li > a:hover {
  color: var(--accent);
}

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

.toc-sublist li {
  margin-bottom: 0.25rem;
}

.toc-sublist a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

[data-content="faq"] summary {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  padding: 1.25rem 2rem 1.25rem 0;
  position: relative;
  list-style: none;
}

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

[data-content="faq"] summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

[data-content="faq"] details[open] summary::after {
  content: '\2212';
}

[data-content="faq"] details > div {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease;
}

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

[data-content="faq"] details > div > p {
  color: var(--text-secondary);
  padding-bottom: 1.25rem;
  line-height: 1.7;
}

[data-content="faq"] summary:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================
   9. Back to Top
   ============================================ */
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.75rem 0;
  transition: color 0.2s ease;
}

.back-to-top:hover {
  color: var(--accent);
}

.back-to-top::before {
  content: '\2191';
  font-size: 1rem;
}

/* ============================================
   10. Footer
   ============================================ */
.site-footer {
  background: var(--footer-bg);
  padding: 3rem 1.5rem 1.5rem;
  border-top: 1px solid var(--muted);
}

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

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.footer-col p {
  font-size: 0.78rem;
  color: #666;
  line-height: 1.6;
  text-align: left;
  margin-bottom: 0.5rem;
}

.footer-col a {
  display: block;
  font-size: 0.78rem;
  color: #666;
  text-decoration: none;
  margin-bottom: 0.4rem;
  transition: color 0.2s ease;
}

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

.footer-col ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.footer-col li {
  margin-bottom: 0.3rem;
}

.footer-bottom {
  max-width: 960px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.72rem;
  color: #555;
  margin-bottom: 0;
}

.footer-logo img {
  display: block;
  width: 120px;
  height: auto;
  opacity: 0.5;
}

/* ============================================
   11. Responsive
   ============================================ */
@media (max-width: 768px) {
  [data-content] {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  [data-content="hero"] {
    padding: 2.5rem 1rem 2rem;
  }

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

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

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

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

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

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

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

  .comparison,
  .odds-example {
    overflow-x: auto;
  }

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

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

  .site-header {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }

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

  .worked-example {
    padding: 1.25rem;
  }

  .section-bridge::before,
  .section-bridge::after {
    width: 30px;
  }
}

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

  .header-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

/* ============================================
   12. Images
   ============================================ */
.hero-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

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

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




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

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

#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(255, 255, 255);
}



