:root {
  --bg-page: #faf9f7;
  --bg-header: #ffffff;
  --bg-footer: #1a1a1a;
  --text-primary: #2d2d2d;
  --text-secondary: #6b6560;
  --accent: #e56b19;
  --accent-hover: #c65810;
  --secondary-accent: #1a1a1a;
  --border-color: #e0ddd8;
  --bg-card: #f5f3ef;
  --text-on-dark: #ffffff;
  --text-footer-muted: #a09a93;
  --success: #3a7d44;
  --danger: #c0392b;
  --content-width: 940px;
  --section-gap: clamp(3rem, 4vw, 5rem);
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Source Serif 4', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-logo: 'Rajdhani', sans-serif;
  --h1-size: clamp(1.875rem, 1.5rem + 1.5vw, 2.75rem);
  --h2-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --h3-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --body-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
}

*, *::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);
  font-weight: 400;
  line-height: 1.72;
  color: var(--text-primary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

/* ── General Typography ── */

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

h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
  line-height: 1.25;
}

h2 {
  font-size: var(--h2-size);
  margin-top: 0;
  margin-bottom: 0.75em;
  scroll-margin-top: 2rem;
}

h3 {
  font-size: var(--h3-size);
  margin-top: 0;
  margin-bottom: 0.6em;
  scroll-margin-top: 2rem;
  color: #c5d1d7;
}

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

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

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

strong {
  font-weight: 700;
}

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

li {
  margin-bottom: 0.4em;
}

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

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

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

th {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  background-color: var(--bg-card);
}

figure {
  margin: 1.5em auto;
}

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

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

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

/* ── Component: .tldr ── */

.tldr {
  background-color: var(--bg-card);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: 1.75rem 2rem;
}

.tldr h2 {
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--accent);
  margin-bottom: 0.9em;
}

.tldr ul {
  padding-left: 1.2em;
  margin-bottom: 0;
}

.tldr li {
  margin-bottom: 0.55em;
  font-size: 0.94em;
  line-height: 1.65;
}

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

/* ── Component: .info-box ── */

.info-box {
  background-color: var(--bg-card);
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75em 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.info-box p {
  text-align: left;
  margin-bottom: 0;
  font-size: 0.94em;
  line-height: 1.65;
  color: var(--text-primary);
}

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

/* ── Component: .callout ── */

.callout {
  background-color: rgba(229, 107, 25, 0.06);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 1.75em 0;
  border: 1px solid rgba(229, 107, 25, 0.15);
}

.callout p {
  text-align: left;
  margin-bottom: 0;
  font-size: 0.94em;
  line-height: 1.65;
  color: var(--text-primary);
}

.callout p strong {
  font-family: var(--font-heading);
  color: var(--accent);
}

/* ── Component: .key-takeaway ── */

.key-takeaway {
  border-top: 2px solid var(--accent);
  padding-top: 1rem;
  margin: 2em 0;
}

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

/* ── Component: .fun-fact ── */

.fun-fact {
  position: relative;
  padding-left: 1.5em;
  margin: 1.5em 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;
  font-size: 0.95em;
  line-height: 1.65;
}

/* ── Component: .glossary-term ── */

.glossary-term {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 1em 0;
}

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

.glossary-term p strong {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9em;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.glossary-term p:last-child {
  color: var(--text-secondary);
  font-size: 0.94em;
}

/* ── Component: .odds-example ── */

.odds-example {
  background-color: var(--bg-card);
  border-radius: 6px;
  padding: 1.5rem 1.75rem;
  margin: 1.75em 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border: 1px solid var(--border-color);
}

.odds-example p {
  text-align: left;
  margin-bottom: 0.6em;
  font-size: 0.94em;
  line-height: 1.6;
  color: var(--text-primary);
}

.odds-example p:first-child {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 1em;
}

.odds-example p:last-child {
  margin-bottom: 0;
  font-family: var(--font-body);
  font-size: 0.85em;
  color: var(--text-secondary);
}

/* ── Component: .comparison ── */

.comparison {
  margin: 1.75em 0;
  overflow-x: auto;
}

.comparison table {
  min-width: 480px;
}

.comparison th,
.comparison td {
  text-align: center;
}

.comparison th:first-child,
.comparison td:first-child {
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.88em;
  color: var(--text-secondary);
  white-space: nowrap;
  text-align: center;
}

/* ── Component: .dos-donts ── */

.dos-donts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.75em 0;
}

.dos-donts > div {
  padding: 1.25rem;
  border-radius: 6px;
}

.dos-donts > div:first-child {
  background-color: rgba(58, 125, 68, 0.06);
  border-top: 3px solid var(--success);
}

.dos-donts > div:last-child {
  background-color: rgba(192, 57, 43, 0.06);
  border-top: 3px solid var(--danger);
}

.dos-donts p {
  text-align: left;
  color: var(--text-primary);
}

.dos-donts p strong {
  font-family: var(--font-heading);
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  text-align: center;
  margin-bottom: 0.5em;
}

.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.2em;
  margin-bottom: 0;
}

.dos-donts li {
  font-size: 0.92em;
  line-height: 1.6;
  margin-bottom: 0.5em;
  color: var(--text-primary);
}

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

/* ── Component: .pre-bet-checklist ── */

.pre-bet-checklist {
  margin: 2em 0;
}

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

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

.pre-bet-checklist li {
  position: relative;
  padding-left: 0;
  margin-bottom: 0.7em;
  font-size: 0.94em;
  line-height: 1.6;
  color: var(--text-primary);
}

.pre-bet-checklist li::before {
  content: "\2610";
  position: absolute;
  left: -1.8em;
  top: 0;
  color: var(--accent);
  font-size: 1em;
  background-color: var(--bg-page);
  padding: 0 2px;
}

.pre-bet-checklist li:last-child {
  margin-bottom: 0;
}

/* ── Component: .at-a-glance ── */

.at-a-glance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 0;
  margin: 1.75em 0;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  background-color: var(--bg-card);
}

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

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

.at-a-glance p {
  text-align: center;
  margin-bottom: 0;
  color: var(--text-primary);
}

.at-a-glance p strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6em;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.3em;
}

.at-a-glance p:last-child {
  font-size: 0.82em;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ── Component: .worked-example ── */

.worked-example {
  background-color: var(--bg-card);
  border-radius: 6px;
  padding: 1.75rem 2rem;
  margin: 1.75em 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid var(--border-color);
}

.worked-example p {
  text-align: left;
  margin-bottom: 0.75em;
  font-size: 0.94em;
  line-height: 1.65;
  color: var(--text-primary);
}

.worked-example p:first-child {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 1.1em;
  text-align: left;
}

.worked-example p:last-child {
  margin-bottom: 0;
  font-family: var(--font-body);
  font-size: 0.88em;
  color: var(--accent);
  font-weight: 400;
}

/* ── Component: .section-bridge ── */

.section-bridge {
  text-align: center;
  margin: 2.5em 0;
  position: relative;
}

.section-bridge::before,
.section-bridge::after {
  content: "";
  display: inline-block;
  width: 2em;
  height: 1px;
  background-color: var(--border-color);
  vertical-align: middle;
  margin: 0 0.75em;
}

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

/* ── Component: .card-grid ── */

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

.card-grid > div {
  background-color: var(--bg-card);
  border-radius: 6px;
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.card-grid p {
  text-align: left;
  margin-bottom: 0;
  font-size: 0.92em;
  color: var(--text-primary);
}

/* ── Component: .author-bio ── */

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

/* ── Header ── */

.site-header {
  background-color: var(--bg-header);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.header-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.72rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.header-date {
  background-color: var(--bg-card);
  padding: 0.3em 0.7em;
  border-radius: 3px;
}

.header-trust {
  color: var(--text-secondary);
}

/* ── Hero ── */

.hero-section {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  background-color: var(--bg-page);
  padding: clamp(3rem, 5vw, 5rem) 1.25rem clamp(2.5rem, 4vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 120px 60px at 15% 30%, var(--border-color) 0%, transparent 70%),
    radial-gradient(ellipse 100px 50px at 85% 25%, var(--border-color) 0%, transparent 70%),
    radial-gradient(ellipse 140px 70px at 50% 80%, var(--border-color) 0%, transparent 70%),
    radial-gradient(ellipse 80px 40px at 25% 75%, var(--border-color) 0%, transparent 70%),
    radial-gradient(ellipse 110px 55px at 75% 65%, var(--border-color) 0%, transparent 70%);
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.hero-section > * {
  position: relative;
  z-index: 1;
}

.hero-rubric {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: block;
}

.hero-section h1 {
  font-family: var(--font-heading);
  font-size: var(--h1-size);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  max-width: var(--content-width);
  margin: 0 auto 1rem;
  text-align: center;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.95em;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  margin-bottom: 1.5rem;
  display: block;
}

.hero-byline {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  display: block;
}

.hero-section figure {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--content-width);
  text-align: center;
}

.hero-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* ── TOC (horizontal compact) ── */

.toc-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.9rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.toc-bar a {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-secondary);
  padding: 0.35em 0.75em;
  border-radius: 3px;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.toc-bar a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background-color: rgba(229, 107, 25, 0.04);
}

/* ── FAQ Accordion ── */

details {
  border-bottom: 1px solid var(--border-color);
}

summary {
  font-family: var(--font-heading);
  font-size: var(--body-size);
  font-weight: 700;
  color: var(--text-primary);
  padding: 1em 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s ease;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-family: var(--font-heading);
  font-size: 1.2em;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1em;
}

details[open] > summary::after {
  content: "\2212";
}

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

summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

details {
  interpolate-size: allow-keywords;
}

details::details-content {
  opacity: 0;
  block-size: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, block-size 0.35s ease, content-visibility 0.3s ease allow-discrete;
}

details[open]::details-content {
  opacity: 1;
  block-size: auto;
}

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

details > div {
  padding-bottom: 1em;
}

details > div p {
  text-align: left;
  font-size: 0.95em;
  line-height: 1.7;
  color: var(--text-primary);
}

/* ── Footer ── */

.site-footer {
  background-color: var(--bg-footer);
  color: var(--text-footer-muted);
  padding: 3rem 1.5rem 1.5rem;
  font-size: 0.78rem;
  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.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-on-dark);
  margin-bottom: 0.9em;
}

.footer-col p {
  text-align: left;
  color: var(--text-footer-muted);
  margin-bottom: 0.5em;
  font-size: 0.78rem;
}

.footer-col a {
  color: var(--text-footer-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text-on-dark);
}

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

.footer-col li {
  margin-bottom: 0.4em;
}

.footer-bottom {
  max-width: 960px;
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-footer-muted);
}

.footer-logo img {
  display: block;
  width: 120px;
  height: auto;
  margin: 0 auto 1rem;
  filter: brightness(0) invert(1);
}

/* ── Media Queries ── */

@media (max-width: 768px) {
  [data-content] {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

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

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

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

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

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

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

  .comparison {
    overflow-x: auto;
  }

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

  .toc-bar {
    gap: 0.4rem 0.6rem;
  }

  .toc-bar a {
    font-size: 0.72rem;
    padding: 0.3em 0.6em;
  }

  .site-header {
    padding: 0.6rem 1rem;
  }

  .site-logo img {
    width: 140px;
  }

  .header-meta {
    gap: 0.5rem;
    font-size: 0.65rem;
  }

  .worked-example {
    padding: 1.25rem 1.5rem;
  }

  .tldr {
    padding: 1.25rem 1.5rem;
  }
}

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

  .header-trust {
    display: none;
  }
}

/* =========================================
   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: 35px; 
    width: auto !important; 
    display: block;
    transition: transform 0.2s ease;
}

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

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

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

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

    .mobile-controls {
        display: none; 
    }
    
    .menu-desktop {
        display: flex;
        gap: 30px;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .menu-desktop a {
        text-decoration: none;
        color: var(--color-text, #ffffff);
        font-family: var(--font-body, sans-serif);
        font-weight: 500;
        font-size: 16px;
        transition: color 0.2s ease;
    }
    
    .menu-desktop a:hover {
        color: var(--color-accent, #eab308);
    }
}

/* Mobile Burger Button */
.burger {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
    z-index: 1000;
}

.burger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--color-text, #ffffff);
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 2px;
}

/* Burger Animation to X */
.burger.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.burger.is-active span:nth-child(2) {
    opacity: 0;
}
.burger.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Slider */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%; 
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--color-bg, #121212);
    box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
    padding: 60px 30px;
}

.mobile-menu.is-open {
    right: 0; 
}

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

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

.menu-mobile {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.menu-mobile a {
    text-decoration: none;
    color: var(--color-text, #ffffff);
    font-size: 20px;
    font-family: var(--font-display, sans-serif);
    font-weight: 600;
    display: block;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.menu-mobile a:hover {
    color: var(--color-accent, #eab308);
    padding-left: 10px; 
}

/* Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px); 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
    z-index: 998;
}

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

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

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

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

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