/* === 1. CSS Variables & Reset === */
:root {
  --bg-page: #0a0a0a;
  --bg-header: #111111;
  --bg-footer: #0f0f0f;
  --bg-surface: #141414;
  --bg-surface-raised: #1a1a1a;
  --text-primary: #e5e5e5;
  --text-secondary: #a0a0a0;
  --text-muted: #707070;
  --accent: #4ade80;
  --accent-secondary: #22c55e;
  --accent-dim: rgba(74, 222, 128, 0.08);
  --accent-glow: rgba(74, 222, 128, 0.05);
  --border: #2a2a2a;
  --border-light: #1f1f1f;
  --success: #4ade80;
  --danger: #f87171;
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-logo: 'Outfit', sans-serif;
  --content-width: 940px;
  --section-gap: 4.5rem;
  --radius: 6px;
  --radius-lg: 10px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--accent); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent-secondary); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

/* === 2. General Typography === */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; color: var(--text-primary); line-height: 1.2; }

h2 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); margin-top: 0; margin-bottom: 1.2rem; text-align: left; scroll-margin-top: 2rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); margin-top: 2rem; margin-bottom: 0.8rem; text-align: left; scroll-margin-top: 2rem; }

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

ul, ol { margin-bottom: 1.1rem; padding-left: 1.5rem; }
li { margin-bottom: 0.4rem; }

strong { font-weight: 700; }
em { font-style: italic; }

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

table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.95rem; }
thead { border-bottom: 2px solid var(--accent); }
th { font-family: var(--font-heading); font-weight: 700; text-align: left; padding: 0.7rem 0.8rem; color: var(--text-primary); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em; }
td { padding: 0.65rem 0.8rem; border-bottom: 1px solid var(--border-light); color: var(--text-secondary); }
tbody tr:hover { background: var(--accent-dim); }

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-muted); margin-top: 0.5rem; }

/* === 3. Layout — Sections === */
[data-content] {
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
  margin-top: var(--section-gap);
  margin-bottom: 0;
}

[data-content="intro"] { margin-top: 3rem; }

main { width: 100%; }

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

/* -- info-box -- */
.info-box {
  background: var(--bg-surface-raised);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.3rem 1.5rem;
  margin: 1.8rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.info-box p { color: var(--text-secondary); margin-bottom: 0.5rem; text-align: left; }
.info-box p:last-child { margin-bottom: 0; }
.info-box strong { color: var(--text-primary); }

/* -- callout -- */
.callout {
  background: var(--accent-dim);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  margin: 1.8rem 0;
  border: 1px solid rgba(74,222,128,0.12);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.callout p { color: var(--text-secondary); margin-bottom: 0.5rem; text-align: left; }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--accent); }

/* -- key-takeaway -- */
.key-takeaway {
  border-top: 2px solid var(--accent);
  padding-top: 1rem;
  margin: 2rem 0;
}
.key-takeaway p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 600; color: var(--text-primary); line-height: 1.5; text-align: left; margin-bottom: 0; }

/* -- fun-fact -- */
.fun-fact {
  position: relative;
  padding-left: 1.5rem;
  margin: 1.8rem 0;
}
.fun-fact::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}
.fun-fact p { font-style: italic; color: var(--text-secondary); text-align: left; margin-bottom: 0; }

/* -- glossary-term -- */
.glossary-term {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 1.2rem 0;
}
.glossary-term p { margin-bottom: 0; text-align: left; }
.glossary-term strong {
  font-family: var(--font-mono);
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(74,222,128,0.3);
  white-space: nowrap;
}

/* -- odds-example -- */
.odds-example {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.8rem 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  overflow-x: auto;
}
.odds-example table { margin: 0; }
.odds-example p { color: var(--text-muted); font-size: 0.85rem; text-align: left; margin-top: 0.8rem; margin-bottom: 0; }
.odds-example td { font-family: var(--font-mono); font-size: 0.9rem; }

/* -- comparison -- */
.comparison {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  margin: 1.8rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.comparison table { margin: 0; }
.comparison tbody tr:nth-child(even) { background: rgba(255,255,255,0.02); }

/* -- dos-donts -- */
.dos-donts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.8rem 0;
}
.dos-donts > div:first-child { border-left: 3px solid var(--success); padding-left: 1.2rem; }
.dos-donts > div:last-child { border-left: 3px solid var(--danger); padding-left: 1.2rem; }
.dos-donts p { text-align: left; margin-bottom: 0.5rem; }
.dos-donts > div:first-child strong { color: var(--success); }
.dos-donts > div:last-child strong { color: var(--danger); }
.dos-donts ul { padding-left: 1rem; }
.dos-donts li { color: var(--text-secondary); font-size: 0.95rem; }

/* -- pre-bet-checklist -- */
.pre-bet-checklist {
  margin: 2rem 0;
}
.pre-bet-checklist > p { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: var(--accent); margin-bottom: 0.8rem; text-align: left; }
.pre-bet-checklist > p strong { color: var(--accent); }
.pre-bet-checklist ul {
  list-style: none;
  padding-left: 2rem;
  border-left: 2px solid var(--border);
  position: relative;
}
.pre-bet-checklist li {
  position: relative;
  padding-left: 0.2rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}
.pre-bet-checklist li::before {
  content: "\2610";
  position: absolute;
  left: -1.8rem;
  color: var(--accent);
  background: var(--bg-page);
  padding: 0 2px;
}

/* -- at-a-glance -- */
.at-a-glance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  margin: 1.8rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.at-a-glance > div {
  padding: 1.2rem 1rem;
  border-right: 1px solid var(--border);
}
.at-a-glance > div:last-child { border-right: none; }
.at-a-glance p { text-align: left; margin-bottom: 0.3rem; }
.at-a-glance p:first-child strong {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}
.at-a-glance p:last-child { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 0; }

/* -- worked-example -- */
.worked-example {
  background: var(--bg-surface);
  padding: 1.6rem 1.5rem;
  border-radius: var(--radius-lg);
  margin: 1.8rem 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.worked-example p { color: var(--text-secondary); text-align: left; margin-bottom: 0.7rem; font-family: var(--font-mono); font-size: 0.9rem; line-height: 1.6; }
.worked-example p:last-child { margin-bottom: 0; }
.worked-example strong { color: var(--accent); font-family: var(--font-heading); }

/* -- section-bridge -- */
.section-bridge {
  text-align: center;
  margin: 2.5rem 0 0;
  position: relative;
  padding: 0 2rem;
}
.section-bridge::before,
.section-bridge::after {
  content: "·";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.2rem;
}
.section-bridge::before { left: 0; }
.section-bridge::after { right: 0; }
.section-bridge p { font-style: italic; color: var(--text-muted); font-size: 0.95rem; text-align: center; margin-bottom: 0; }

/* -- card-grid -- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin: 1.8rem 0;
}

/* -- tldr -- */
.tldr {
  border-left: 3px solid var(--accent);
  background: var(--bg-surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.8rem;
}
.tldr h2 {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
  text-align: left;
}
.tldr ul { margin-bottom: 0; }
.tldr li { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 0.5rem; }
.tldr li:last-child { margin-bottom: 0; }

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

/* === 5. Header === */
.site-header {
  background: var(--bg-header);
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  z-index: 10;
}
.site-logo img { height: 32px; width: auto; }
.header-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.header-date {
  color: var(--text-muted);
}
.header-trust {
  color: var(--accent);
}

/* === 5b. Hero Section === */
[data-content="hero"] {
  max-width: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 0;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  background: var(--bg-page);
  position: relative;
  overflow: hidden;
}
[data-content="hero"]::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 140%;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-rubric {
  position: relative; z-index: 1;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  text-align: center;
}

[data-content="hero"] h1 {
  position: relative; z-index: 1;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  max-width: var(--content-width);
  margin: 0 auto 1rem;
  text-align: center;
  line-height: 1.15;
}

.hero-subtitle {
  position: relative; z-index: 1;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-align: center;
  margin-bottom: 1.5rem;
}

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

[data-content="hero"] figure {
  position: relative; z-index: 1;
  margin-left: auto;
  margin-right: auto;
  max-width: var(--content-width);
}
.hero-image {
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.hero-cta {
  position: relative; z-index: 1;
  display: inline-block;
  margin-top: 2rem;
  padding: 0.65rem 1.8rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bg-page);
  background: var(--accent);
  border-radius: 100px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}
.hero-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(74,222,128,0.3); color: var(--bg-page); }

/* === 6. TOC (Accordion) === */
[data-content="toc"] {
  margin-top: 2.5rem;
}
.toc-accordion { border: 1px solid var(--border); border-radius: var(--radius); }
.toc-accordion summary {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  padding: 0.9rem 1.2rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s ease;
}
.toc-accordion summary:hover { color: var(--accent); }
.toc-accordion summary::-webkit-details-marker { display: none; }
.toc-accordion summary::after {
  content: "+";
  font-size: 1.1rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}
.toc-accordion[open] summary::after { transform: rotate(45deg); }
.toc-accordion[open] summary { color: var(--accent); border-bottom: 1px solid var(--border-light); }

.toc-accordion > div {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease;
}
.toc-accordion[open] > div { max-height: 2000px; opacity: 1; }

.toc-list { list-style: none; padding: 0.8rem 1.2rem; }
.toc-list li { margin-bottom: 0.15rem; }
.toc-list > li > a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}
.toc-list > li > a:hover { color: var(--accent); }
.toc-sub { list-style: none; padding-left: 1.2rem; margin-top: 0.1rem; }
.toc-sub a { font-size: 0.8rem; color: var(--text-muted); display: block; padding: 0.2rem 0; }
.toc-sub a:hover { color: var(--accent); }

/* === 7. FAQ Accordion === */
[data-content="faq"] details {
  border-bottom: 1px solid var(--border-light);
}
[data-content="faq"] details:last-of-type { border-bottom: none; }
[data-content="faq"] summary {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  padding: 1rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s ease;
}
[data-content="faq"] summary:hover { color: var(--accent); }
[data-content="faq"] summary::-webkit-details-marker { display: none; }
[data-content="faq"] summary::after {
  content: "+";
  font-size: 1.1rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
[data-content="faq"] details[open] summary::after { transform: rotate(45deg); }

[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: 1000px; opacity: 1; }
[data-content="faq"] details > div p { color: var(--text-secondary); padding-bottom: 1rem; text-align: left; }

/* === 8. Footer === */
.site-footer {
  background: var(--bg-footer);
  margin-top: 5rem;
  border-top: 1px solid var(--border-light);
  padding: 3rem 1.5rem 1.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.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.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
}
.footer-col p { color: var(--text-muted); margin-bottom: 0.4rem; text-align: left; }
.footer-col a { color: var(--text-muted); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 0.3rem; }
.footer-bottom {
  max-width: 960px;
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.7rem;
}

/* === 9. Media Queries === */
@media (max-width: 768px) {
  [data-content] { padding-left: 1rem; padding-right: 1rem; }
  [data-content="hero"] { padding: 3.5rem 1rem 3rem; }
  .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(--border); }
  .at-a-glance > div:last-child { border-bottom: none; }
  .comparison { overflow-x: auto; }
  .glossary-term { flex-direction: column; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-header { padding: 0.6rem 1rem; }
  .header-meta { gap: 0.6rem; font-size: 0.6rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { font-size: 0.75rem; padding: 0.6rem 1.4rem; }
}

/* =========================================
   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(255, 255, 255);
}




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