:root {
  --color-primary: #0B3D2E;
  --color-primary-light: #14532D;
  --color-accent: #D4A017;
  --color-bg: #F5F5F0;
  --color-text: #2D2D2D;
  --color-white: #FFFFFF;
  --color-error: #C0392B;
  --color-success: #1B7A3D;
  --color-surface: #EDEEE9;
  --color-border: #D1D1CB;
  --color-text-secondary: #6B6B65;
  --font-display: 'DM Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --h1-size: clamp(2rem, 4vw, 3.25rem);
  --h2-size: clamp(1.5rem, 3vw, 2.25rem);
  --h3-size: clamp(1.2rem, 2.5vw, 1.75rem);
  --body-size: clamp(1rem, 1.5vw, 1.125rem);
  --small-size: clamp(0.8rem, 1.2vw, 0.9rem);
  --stat-size: clamp(1.5rem, 3vw, 2.5rem);
  --content-width: 740px;
  --section-gap: clamp(3rem, 6vw, 5rem);
  --hero-gradient-start: #0B3D2E;
  --hero-gradient-end: #14532D;

    /* --- AUTO-FORCED DARK THEME --- */
    --color-bg: #1A1A18;
    --color-text: #E8E8E3;
    --color-surface: #2A2A26;
    --color-border: #3D3D38;
    --color-text-secondary: #9E9E96;
    --color-white: #1A1A18;
    --color-primary: #1B6B4A;
    --color-primary-light: #1B7A50;
}



*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: 1.72;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === GENERAL TYPOGRAPHY === */
p { text-align: left; margin-bottom: 1.25em; }
h2, h3 { text-align: left; }
h2 {
  font-family: var(--font-display);
  font-size: var(--h2-size);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: 1rem;
  scroll-margin-top: 2rem;
}
h3 {
  font-family: var(--font-display);
  font-size: var(--h3-size);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  scroll-margin-top: 2rem;
}
a { color: var(--color-primary); text-decoration-color: var(--color-accent); text-underline-offset: 3px; transition: color 0.2s ease, text-decoration-color 0.2s ease; }
a:hover { color: var(--color-accent); }
a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; border-radius: 2px; }
strong { font-weight: 600; }
em { font-style: italic; }
blockquote { border-left: 3px solid var(--color-accent); padding-left: 1.25rem; margin: 1.5rem 0; color: var(--color-text-secondary); font-style: italic; }
ul, ol { margin-bottom: 1.25em; padding-left: 1.5em; }
li { margin-bottom: 0.4em; }
table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: var(--small-size); }
th, td { padding: 0.6rem 0.8rem; text-align: left; border-bottom: 1px solid var(--color-border); }
th { font-weight: 600; color: var(--color-primary); font-size: 0.85em; text-transform: uppercase; letter-spacing: 0.04em; }
figure { margin: 1.5rem auto; max-width: 100%; }
figcaption { text-align: center; font-size: var(--small-size); color: var(--color-text-secondary); margin-top: 0.5rem; }
img.hero-image { max-width: 100%; height: auto; display: block; margin: 0 auto; }
img.article-image { max-width: 100%; height: auto; display: block; margin: 0 auto; }

/* === LAYOUT === */
header { margin: 0; padding: 0; }
main { width: 100%; }
[data-content] {
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.25rem var(--section-gap);
}
[data-content="footer-references"] { padding-bottom: 2rem; }

/* === HEADER DATE BADGE === */
.site-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem 0;
}
.date-badge, .trust-badge {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
}
.trust-badge { color: var(--color-accent); }

/* === HERO === */
[data-content="hero"] {
  max-width: 100%;
  width: 100vw;
  padding: clamp(4rem, 10vw, 7rem) 1.25rem clamp(3rem, 7vw, 5rem);
  background: linear-gradient(160deg, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
[data-content="hero"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,255,255,0.03) 40px, rgba(255,255,255,0.03) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,0.03) 40px, rgba(255,255,255,0.03) 41px);
  pointer-events: none;
}
[data-content="hero"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 80%, rgba(212,160,23,0.06) 0%, transparent 70%);
  pointer-events: none;
}
[data-content="hero"] h1 {
  font-family: var(--font-display);
  font-size: var(--h1-size);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-bg);
  max-width: 800px;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
  text-align: center;
}
@media (prefers-color-scheme: dark) {
  [data-content="hero"] h1 { color: #E8E8E3; }
}
.hero-subtitle {
  font-family: var(--font-display);
  font-size: var(--small-size);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  position: relative;
  z-index: 1;
}

/* === TOC — Horizontal compact === */
[data-content="toc"] {
  max-width: 900px;
  padding-top: 0;
  padding-bottom: calc(var(--section-gap) * 0.6);
}
.toc-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-secondary);
  margin-bottom: 0.75rem;
}
.toc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.toc-nav a {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.toc-nav a:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-bg);
}
@media (prefers-color-scheme: dark) {
  .toc-nav a:hover { color: #E8E8E3; }
}

/* === TLDR === */
.tldr {
  background-color: var(--color-surface);
  border-left: 3px solid var(--color-accent);
  padding: 1.5rem 1.75rem;
  border-radius: 0 6px 6px 0;
}
.tldr h2 {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}
.tldr ul { padding-left: 1.25em; margin-bottom: 0; }
.tldr li { margin-bottom: 0.5em; font-size: 0.95em; }
.tldr li:last-child { margin-bottom: 0; }

/* === COMPONENT: .callout === */
.callout {
  border-left: 3px solid var(--color-error);
  background-color: var(--color-surface);
  padding: 1.25rem 1.5rem;
  border-radius: 0 6px 6px 0;
  margin: 1.5rem 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.callout p { font-size: 0.95em; color: var(--color-text); margin-bottom: 0.5em; }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--color-error); }

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

/* === COMPONENT: .section-bridge === */
.section-bridge {
  text-align: center;
  margin: 2.5rem 0 0.5rem;
  position: relative;
}
.section-bridge p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95em;
  color: var(--color-accent);
  display: inline-block;
  text-align: center;
  margin-bottom: 0;
}
.section-bridge::before,
.section-bridge::after {
  content: '—';
  color: var(--color-border);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
}
.section-bridge::before { left: 0; }
.section-bridge::after { right: 0; }

/* === COMPONENT: .info-box === */
.info-box {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.info-box p { font-size: 0.95em; color: var(--color-text); margin-bottom: 0.5em; }
.info-box p:last-child { margin-bottom: 0; }
.info-box strong { color: var(--color-primary); }

/* === COMPONENT: .odds-example === */
.odds-example {
  background-color: var(--color-primary);
  color: var(--color-bg);
  padding: 1.5rem;
  border-radius: 6px;
  margin: 1.5rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
@media (prefers-color-scheme: dark) {
  .odds-example { background-color: #0B3D2E; color: #E8E8E3; }
}
.odds-example p { font-size: 0.95em; color: inherit; text-align: center; margin-bottom: 0.5em; }
.odds-example p:last-child { margin-bottom: 0; }
.odds-example strong { color: var(--color-accent); }

/* === COMPONENT: .card-grid === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.card-grid > div {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1.25rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.card-grid p { font-size: 0.9em; color: var(--color-text); margin-bottom: 0.4em; }
.card-grid strong { color: var(--color-primary); }

/* === COMPONENT: .comparison === */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
.comparison > div {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1.25rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.comparison p { font-size: 0.9em; color: var(--color-text); text-align: left; margin-bottom: 0.5em; }
.comparison strong { color: var(--color-primary); }
@media (max-width: 600px) { .comparison { grid-template-columns: 1fr; } }

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

/* === COMPONENT: .glossary-term === */
.glossary-term {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 1rem 0;
}
.glossary-term strong {
  font-family: var(--font-mono);
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}
.glossary-term p { color: var(--color-text-secondary); font-size: 0.95em; text-align: left; margin-bottom: 0; }
@media (max-width: 600px) { .glossary-term { flex-direction: column; gap: 4px; } }

/* === COMPONENT: .dos-donts === */
.dos-donts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  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-error); padding-left: 1rem; }
.dos-donts p { font-size: 0.9em; color: var(--color-text); text-align: left; font-weight: 600; margin-bottom: 0.5em; }
.dos-donts ul { padding-left: 1.25em; margin-bottom: 0; }
.dos-donts li { font-size: 0.9em; color: var(--color-text); margin-bottom: 0.3em; }
@media (max-width: 600px) { .dos-donts { grid-template-columns: 1fr; } }

/* === COMPONENT: .pre-bet-checklist === */
.pre-bet-checklist {
  margin: 1.5rem 0;
}
.pre-bet-checklist p {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  text-align: left;
  margin-bottom: 0.75rem;
}
.pre-bet-checklist ul {
  border-left: 2px solid var(--color-border);
  padding-left: 1.5rem;
  list-style: none;
  margin-bottom: 0;
}
.pre-bet-checklist li {
  position: relative;
  padding-left: 0.25rem;
  margin-bottom: 0.5em;
  font-size: 0.95em;
}
.pre-bet-checklist li::before {
  content: '\2610';
  position: absolute;
  left: -1.6rem;
  color: var(--color-accent);
  background: var(--color-bg);
  font-size: 0.9em;
}

/* === COMPONENT: .at-a-glance === */
.at-a-glance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 1.5rem 0;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
}
.at-a-glance > div {
  padding: 1.25rem;
  border-right: 1px solid var(--color-border);
}
.at-a-glance > div:last-child { border-right: none; }
.at-a-glance p { font-size: 0.9em; color: var(--color-text); text-align: center; margin-bottom: 0.25em; }
.at-a-glance p:first-child { font-family: var(--font-display); font-weight: 700; font-size: 1.1em; }
@media (max-width: 600px) {
  .at-a-glance { grid-template-columns: 1fr; }
  .at-a-glance > div { border-right: none; border-bottom: 1px solid var(--color-border); }
  .at-a-glance > div:last-child { border-bottom: none; }
}

/* === COMPONENT: .worked-example === */
.worked-example {
  background-color: var(--color-surface);
  padding: 1.5rem 1.75rem;
  border-radius: 6px;
  margin: 1.5rem 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.worked-example p {
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--color-text);
  text-align: left;
  margin-bottom: 0.75em;
}
.worked-example p:first-child {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
}
.worked-example p:last-child { font-weight: 600; color: var(--color-accent); margin-bottom: 0; }
.worked-example hr { border: none; border-top: 1px dashed var(--color-border); margin: 0.75rem 0; }

/* === FAQ ACCORDION === */
[data-content="faq"] details {
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0;
}
[data-content="faq"] summary {
  font-family: var(--font-display);
  font-size: 1.05em;
  font-weight: 600;
  color: var(--color-text);
  padding: 1rem 2rem 1rem 0;
  cursor: pointer;
  position: relative;
  list-style: none;
  transition: color 0.2s ease;
}
[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.3em;
  font-weight: 400;
  color: var(--color-accent);
  transition: transform 0.25s ease;
}
[data-content="faq"] details[open] > summary::after {
  content: '-';
  transform: translateY(-50%);
}
[data-content="faq"] summary:hover { color: var(--color-primary); }
[data-content="faq"] details ::details-content {
  transition: opacity 0.3s ease, block-size 0.3s ease, content-visibility 0.3s ease allow-discrete;
  opacity: 0;
  block-size: 0;
  overflow: clip;
}
[data-content="faq"] details[open] ::details-content {
  opacity: 1;
  block-size: auto;
}
[data-content="faq"] details { interpolate-size: allow-keywords; }
[data-content="faq"] details div { padding-bottom: 1rem; }
[data-content="faq"] details p { font-size: 0.95em; line-height: 1.7; color: var(--color-text); text-align: left; }

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

/* === RESPONSIBLE GAMBLING === */
[data-content="responsible-gambling"] { border-top: 2px solid var(--color-error); padding-top: 2rem; }

/* === FOOTER REFERENCES === */
[data-content="footer-references"] h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-secondary); }
[data-content="footer-references"] ul { list-style: none; padding-left: 0; }
[data-content="footer-references"] li { font-size: var(--small-size); color: var(--color-text-secondary); margin-bottom: 0.35em; border-bottom: 1px solid var(--color-border); padding-bottom: 0.35em; }
[data-content="footer-references"] a { font-size: inherit; color: var(--color-text-secondary); }

/* === BACK TO TOP === */
.back-to-top {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  margin: 1.5rem auto;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.back-to-top:hover { background-color: var(--color-primary); color: var(--color-bg); border-color: var(--color-primary); }
@media (prefers-color-scheme: dark) {
  .back-to-top:hover { color: #E8E8E3; }
}


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





/* CSS for 4-column grid */
.site-footer {
    background-color: #0f1115; /* Dark aesthetic */
    color: #e2e8f0;
    padding: 60px 20px 20px;
    font-family: sans-serif;
    border-top: 2px solid #d4af37; /* Gold accent */
}

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

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-title {
    color: #d4af37;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: 12px;
}

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

.footer-links a:hover {
    color: #d4af37;
}

.footer-disclaimer {
    border-top: 1px solid #2d3748;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #718096;
    line-height: 1.6;
}