:root {
  --color-accent: #10B981;
  --color-accent-text: #047857;
  --color-accent-dark: #059669;
  --color-secondary: #1F2937;
  --color-background: #FFFFFF;
  --color-surface: #F9FAFB;
  --color-border: #E5E7EB;
  --color-muted: #6B7280;
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;
  --color-info: #3B82F6;
  --font-heading: 'Inter', system-ui, sans-serif;
  --font-body: 'Source Sans Pro', system-ui, sans-serif;
  --font-data: 'Roboto Mono', monospace;
  --font-display: 'Poppins', system-ui, sans-serif;
  --content-width: 940px;
  --section-gap: 4rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-secondary);
  background-color: var(--color-background);
}

/* Typography - Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-secondary);
  margin-top: 0;
  text-align: left;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  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-bottom: 1rem;
  scroll-margin-top: 2rem;
  color: #bbd1dc;
}

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

a {
  color: var(--color-accent-text);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

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

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

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

li {
  margin-bottom: 0.5rem;
}

strong {
  font-weight: 600;
}

blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--color-accent);
  background: var(--color-surface);
  font-style: italic;
  text-align: left;
}

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

thead {
  background: var(--color-surface);
}

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

th {
  font-family: var(--font-heading);
  font-weight: 600;
}

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

/* Figures - Global */
figure {
  margin: 1.5em auto;
  max-width: 100%;
}

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

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

/* Layout - Main */
main {
  width: 100%;
}

article {
  width: 100%;
}

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


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

.header-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
}

.date-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0.25rem;
}

.trust-marker {
  color: var(--color-accent-text);
  font-weight: 500;
}

/* Hero Section */
[data-content="hero"] {
  max-width: 100%;
  width: 100vw;
  padding: 3rem 1.5rem 4rem;
  background: var(--color-surface);
  text-align: center;
  margin-bottom: var(--section-gap);
}

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

.hero-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.hero-rubric {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-text);
  margin-bottom: 1rem;
}

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

.hero-description {
  font-size: 1.125rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-byline {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
  text-align: center;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.stat-card {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
  min-width: 120px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.stat-value {
  font-family: var(--font-data);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-secondary);
  display: block;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-muted);
  display: block;
  margin-top: 0.25rem;
}

.btn-primary {
  display: inline-block;
  background: var(--color-accent);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

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

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

/* TL;DR / Key Takeaways */
.tldr {
  background: var(--color-surface);
  border-left: 4px solid var(--color-accent);
  padding: 1.5rem 2rem;
  border-radius: 0 0.5rem 0.5rem 0;
}

.tldr h2 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-secondary);
}

.tldr ul {
  margin-bottom: 0;
}

.tldr li {
  margin-bottom: 0.625rem;
}

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

/* Table of Contents - Horizontal */
[data-content="toc"] {
  margin-bottom: 3rem;
}

.toc-nav {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
}

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

.toc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin: 0;
}

.toc-list a {
  font-size: 0.875rem;
  color: var(--color-secondary);
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

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

/* Cards */
.card {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

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

.card-stats {
  background: var(--color-surface);
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.card-stats p:last-child,
.card-stats ul:last-child {
  margin-bottom: 0;
}

/* Info Box */
.info-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-info);
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.info-box p:last-child {
  margin-bottom: 0;
}

/* Callout */
.callout {
  background: var(--color-background);
  border: 1px solid var(--color-warning);
  border-left: 4px solid var(--color-warning);
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

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

/* Odds Example */
.odds-example {
  background: var(--color-secondary);
  color: var(--color-background);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.odds-example p {
  color: var(--color-background);
  text-align: center;
  margin-bottom: 0.75rem;
}

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

.odds-example .stat-value {
  color: var(--color-accent);
  font-size: 2rem;
}

.odds-example .stat-label {
  color: rgba(255,255,255,0.7);
}

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

.card-grid .card {
  margin: 0;
}

/* Comparison */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.comparison-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  padding: 1.25rem;
}

.comparison-item h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

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

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

.key-takeaway p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 0;
  text-align: left;
}

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

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

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

/* Glossary Term */
.glossary-term {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 1rem 0;
}

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

.glossary-term dd {
  margin: 0;
  color: var(--color-muted);
}

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

.dos-donts-column {
  padding: 1.25rem;
  border-radius: 0.5rem;
}

.dos-donts-column.do {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.dos-donts-column.dont {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.dos-donts-column h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.dos-donts-column.do h4 {
  color: var(--color-success);
}

.dos-donts-column.dont h4 {
  color: var(--color-error);
}

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

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

.pre-bet-checklist h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-text);
  margin-bottom: 1rem;
}

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

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

.pre-bet-checklist li::before {
  content: "\2610";
  position: absolute;
  left: -1.25rem;
  color: var(--color-accent);
  background: var(--color-background);
}

/* At a Glance */
.at-a-glance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0;
  margin: 1.5rem 0;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  overflow: hidden;
}

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

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

.at-a-glance-item h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.at-a-glance-item p {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 0;
  text-align: center;
}

/* Worked Example */
.worked-example {
  background: var(--color-surface);
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
}

.worked-example h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.worked-example-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--color-border);
}

.worked-example-step:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.worked-example-step .step-num {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--color-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}

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

.worked-example code {
  font-family: var(--font-data);
  background: var(--color-background);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
}

.worked-example .result {
  background: var(--color-accent);
  color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  margin-top: 1rem;
}

.worked-example .result p {
  margin-bottom: 0;
  color: white;
  text-align: center;
  font-weight: 600;
}

/* Section Bridge */
.section-bridge {
  text-align: center;
  margin: 2rem 0;
  font-style: italic;
  color: var(--color-accent-text);
  position: relative;
}

.section-bridge::before,
.section-bridge::after {
  content: "\2022 \2022 \2022";
  color: var(--color-border);
  font-size: 0.75rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  letter-spacing: 0.25rem;
}

.section-bridge::before {
  right: calc(100% + 1rem);
}

.section-bridge::after {
  left: calc(100% + 1rem);
}

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

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

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

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

[data-content="faq"] summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--color-muted);
  transition: transform 0.3s ease;
}

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

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

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

[data-content="faq"] details > div {
  padding: 0 1.25rem 1rem;
}

@supports selector(::details-content) {
  [data-content="faq"] ::details-content {
    opacity: 0;
    block-size: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, block-size 0.3s ease;
    transition-behavior: allow-discrete;
  }

  [data-content="faq"] details[open]::details-content {
    opacity: 1;
    block-size: auto;
  }
}

@supports not selector(::details-content) {
  @keyframes faq-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  [data-content="faq"] details[open] > div {
    animation: faq-fade-in 0.3s ease forwards;
  }
}

/* Footer */
.site-footer {
  background: var(--color-secondary);
  color: rgba(255,255,255,0.8);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: var(--section-gap);
}

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

.footer-column h4 {
  color: white;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-column p,
.footer-column li {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}

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

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.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;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

.footer-logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  :root {
    --section-gap: 3rem;
  }

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

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

  .hero-stats {
    flex-direction: column;
    align-items: center;
  }

  .stat-card {
    width: 100%;
    max-width: 200px;
  }

  .site-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .header-meta {
    justify-content: center;
  }

  .toc-list {
    flex-direction: column;
    gap: 0.5rem;
  }

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

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

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

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

  .glossary-term {
    flex-direction: column;
    gap: 0.25rem;
  }

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

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

  table {
    display: block;
    overflow-x: auto;
  }

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

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

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




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


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