/* =========================================================
   How to Bet on Soccer — Vintage Analog Theme
   Palette: #f5e6c8 (cream) / #d4a574 (amber) / #262117 (ink)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@300;400;500;600;700&family=Russo+One&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #f5e6c8;
  --amber: #d4a574;
  --ink: #262117;
  --ink-light: #3e3426;
  --amber-dark: #b07d4a;
  --cream-dark: #e8d4a8;
  --radius-card: 28px;
  --shadow-card: 0 4px 24px rgba(38,33,23,0.18);
  --max-w: 1200px;
  --content-w: 720px;
  --font-head: 'Russo One', system-ui, sans-serif;
  --font-body: 'Chakra Petch', system-ui, sans-serif;
  --grain-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)' opacity='0.08'/%3E%3C/svg%3E");
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--amber-dark); text-decoration: underline; }
a:hover { color: var(--ink); }
ul, menu { list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ---- Film grain overlay ---- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: var(--grain-url);
  background-repeat: repeat;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.55;
  mix-blend-mode: multiply;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); margin-top: 2rem; margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); margin-top: 1.5rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1.1rem; }

h2 > span, h3 > span {
  display: inline;
  border-bottom: 3px solid var(--amber);
  padding-bottom: 2px;
}

/* ---- Stage label ---- */
.stage-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--amber);
  color: var(--ink);
  padding: 2px 10px;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

/* ---- Header & Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--ink);
  border-bottom: 3px solid var(--amber);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
  min-height: 64px;
  gap: 0.5rem;
  flex-wrap: nowrap;
}

.brand-center {
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.brand-wordmark {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--cream);
  letter-spacing: 0.03em;
  white-space: nowrap;
  line-height: 1.2;
}
.brand-logo { height: 40px; width: auto; }

/* Desktop nav split */
.desktop-nav { display: flex; align-items: center; }
.desktop-nav menu { display: flex; gap: 0; flex-wrap: nowrap; }
.desktop-nav menu li a {
  display: block;
  padding: 0.6rem 0.7rem;
  color: var(--cream);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.desktop-nav menu li a:hover,
.desktop-nav menu li a[aria-current="page"] {
  color: var(--amber);
}

/* Mobile nav */
.mobile-nav-details { display: none; }

/* Header CTAs */
.header-ctas {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  min-height: 44px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cta-signup {
  background: var(--amber);
  color: var(--ink);
  border: 2px solid var(--amber);
}
.cta-signup:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  color: var(--cream);
}
.cta-login {
  background: transparent;
  color: var(--cream);
  border: 2px solid var(--amber);
}
.cta-login:hover {
  background: var(--amber);
  color: var(--ink);
}

/* ---- Hero Section (Home) ---- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ink);
}
.hero-collage {
  position: absolute;
  inset: 0;
  filter: sepia(0.5) contrast(1.1) saturate(0.75);
}
.hero-img-wrap { position: absolute; overflow: hidden; }
.hero-img-wrap-a {
  top: 0; left: 0; width: 60%; height: 100%;
  transform: skewX(-2deg) translateX(-4%);
}
.hero-img-wrap-a img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.7);
}
.hero-img-wrap-b {
  top: 15%; right: 0; width: 50%; height: 75%;
  border: 6px solid var(--cream);
  box-shadow: 8px 8px 0 var(--amber);
  transform: rotate(2deg) translateX(5%);
}
.hero-img-wrap-b img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.75);
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: var(--grain-url);
  background-repeat: repeat;
  opacity: 0.7;
  pointer-events: none;
  mix-blend-mode: overlay;
}
.hero-lightleak {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 10%, rgba(212,165,116,0.35) 0%, transparent 60%),
              radial-gradient(ellipse at 10% 90%, rgba(245,230,200,0.18) 0%, transparent 50%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 780px;
}
.hero-h1 {
  color: var(--cream);
  text-shadow: 2px 2px 8px rgba(38,33,23,0.7);
  margin-bottom: 1rem;
}
.hero-h1 span { border-bottom: none; }
.hero-sub {
  color: var(--cream-dark);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 4px rgba(38,33,23,0.5);
}
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  border: 3px solid var(--cream);
  transition: background 0.2s, color 0.2s;
  min-height: 44px;
}
.hero-cta-btn:hover { background: var(--cream); color: var(--ink); }
.hero-slant {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--cream);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
  z-index: 5;
}

/* ---- Film strip decoration ---- */
.film-strip-deco {
  display: flex;
  gap: 4px;
  padding: 0.5rem 0;
}
.film-strip-deco span {
  display: block;
  width: 32px;
  height: 22px;
  background: var(--amber-dark);
  border-radius: 3px;
  opacity: 0.5;
}
.vhs-bar-deco { display: flex; flex-direction: column; gap: 3px; width: 100%; }
.vhs-bar-deco span {
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  opacity: 0.6;
  animation: vhs-track 4s linear infinite;
}
.vhs-bar-deco span:nth-child(2) { animation-delay: 2s; }
@keyframes vhs-track {
  0% { transform: translateX(-10%) scaleX(1); }
  50% { transform: translateX(5%) scaleX(0.95) skewX(1deg); }
  100% { transform: translateX(-10%) scaleX(1); }
}

/* ---- Polaroid ---- */
.polaroid-frame {
  width: 160px; height: 180px;
  background: var(--cream);
  border: 3px solid var(--ink-light);
  box-shadow: 6px 6px 0 var(--amber);
  transform: rotate(-3deg);
  position: relative;
}
.polaroid-frame::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: var(--cream);
  border-top: 2px solid var(--cream-dark);
}

/* ---- Content with sidebar ---- */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  align-items: start;
}
.main-content { min-width: 0; }
.sidebar { min-width: 0; position: sticky; top: 80px; }

/* ---- Prose ---- */
.prose { max-width: var(--content-w); }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.8rem; }
.prose a { color: var(--amber-dark); text-decoration: underline; }
.prose a:hover { color: var(--ink); }
.prose ul, .prose ol { margin-left: 1.5rem; margin-bottom: 1rem; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.4rem; line-height: 1.7; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.prose th, .prose td { padding: 0.6rem 0.9rem; border: 1px solid var(--amber); text-align: left; }
.prose th { background: var(--ink); color: var(--cream); font-family: var(--font-head); font-size: 0.85rem; }
.prose blockquote {
  border-left: 4px solid var(--amber);
  margin: 1.5rem 0;
  padding: 0.75rem 1.25rem;
  background: rgba(212,165,116,0.1);
  font-style: italic;
}

/* ---- Sidebar blocks ---- */
.sidebar-block {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-card);
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-card);
}
.sidebar-heading {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--amber);
  margin-bottom: 0.75rem;
}
.sidebar-heading span { border-bottom: 2px solid var(--amber); padding-bottom: 1px; }
.sidebar-list li { border-bottom: 1px solid rgba(212,165,116,0.2); }
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a {
  display: block;
  padding: 0.5rem 0;
  color: var(--cream);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.4;
  transition: color 0.2s;
}
.sidebar-list a:hover { color: var(--amber); }
.sidebar-rg { background: rgba(38,33,23,0.05); color: var(--ink); border: 1px solid var(--amber); }
.rg-notice { font-size: 0.78rem; color: var(--ink-light); line-height: 1.5; }

/* ---- Home content article ---- */
.home-content-section { background: var(--cream); padding-top: 2rem; }
.home-lead-figure { padding: 0.5rem 1.5rem; max-width: var(--max-w); margin: 0 auto; }

/* ---- Child cards row (home / category) ---- */
.child-cards-row, .cat-child-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2rem;
}
.child-card-link, .cat-child-link {
  display: flex;
  flex-direction: column;
  flex: 1 1 240px;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-card);
  padding: 1.4rem 1.6rem;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
}
.child-card-link:hover, .cat-child-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(38,33,23,0.28);
  border-color: var(--amber);
  color: var(--cream);
}
.child-card-link strong, .cat-child-link strong {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--amber);
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.child-card-desc, .cat-child-desc {
  font-size: 0.85rem;
  color: var(--cream-dark);
  line-height: 1.5;
  margin-top: 0.25rem;
}
.cat-child-meta { font-size: 0.75rem; color: var(--amber); margin-top: 0.35rem; }

/* ---- Category hero ---- */
.cat-hero {
  position: relative;
  min-height: 38vh;
  display: flex;
  align-items: center;
  background: var(--ink);
  overflow: hidden;
}
.cat-hero-media {
  position: absolute;
  inset: 0;
  filter: sepia(0.6) contrast(1.05) saturate(0.7) brightness(0.55);
}
.cat-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.cat-hero-copy {
  position: relative;
  z-index: 5;
  padding: 3rem 2rem;
  max-width: 700px;
}
.cat-hero-copy h1 { color: var(--cream); }
.cat-hero-copy h1 span { border-bottom: 3px solid var(--amber); }
.cat-hero-desc { color: var(--cream-dark); margin-top: 0.75rem; font-size: 1.05rem; }
.cat-body-section { background: var(--cream); }
.cat-deco-figure { padding: 0.5rem 1.5rem; max-width: var(--max-w); margin: 0 auto; }

/* ---- Article layout ---- */
.article-section {
  display: grid;
  grid-template-columns: 1fr 280px;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "figure figure"
    "body aside";
  gap: 0 2.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  align-items: start;
}
.article-hero-figure {
  grid-area: figure;
  position: relative;
  max-height: 420px;
  overflow: hidden;
  margin-bottom: 2rem;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
}
.article-hero-figure img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  filter: sepia(0.3) contrast(1.08) saturate(0.8);
}
.article-body { grid-area: body; padding-bottom: 3rem; }
.sidebar-article { grid-area: aside; position: sticky; top: 80px; }
.article-header { margin-bottom: 2rem; }
.article-header h1 { margin-bottom: 0.5rem; }
.byline {
  font-size: 0.88rem;
  color: var(--ink-light);
  font-style: italic;
  margin-bottom: 1rem;
}
.breadcrumb {
  font-size: 0.82rem;
  color: var(--ink-light);
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
}
.breadcrumb a { color: var(--amber-dark); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---- Tag layout ---- */
.tag-hero-section {
  display: flex;
  gap: 2rem;
  align-items: center;
  background: var(--ink);
  padding: 3rem 2rem;
  overflow: hidden;
}
.tag-hero-inner { flex: 1; }
.tag-hero-inner h1 { color: var(--cream); }
.tag-hero-inner h1 span { border-bottom: 3px solid var(--amber); }
.tag-desc { color: var(--cream-dark); margin-top: 0.75rem; }
.tag-deco { flex-shrink: 0; }
.tag-body-section { background: var(--cream); }
.tag-article-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2rem;
}
.tag-article-link {
  display: flex;
  flex-direction: column;
  flex: 1 1 240px;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-card);
  padding: 1.4rem 1.6rem;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
}
.tag-article-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(38,33,23,0.28);
  border-color: var(--amber);
}
.tag-article-link strong {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--amber);
  display: block;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.tag-article-meta { font-size: 0.75rem; color: var(--amber); margin-top: 0.3rem; }
.tag-article-desc { font-size: 0.85rem; color: var(--cream-dark); margin-top: 0.25rem; }

/* ---- About layout ---- */
.about-section {
  display: grid;
  grid-template-columns: 260px 1fr 280px;
  gap: 2.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  align-items: start;
}
.about-figure {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.author-avatar {
  border: 6px solid var(--cream);
  box-shadow: 8px 8px 0 var(--amber);
  border-radius: 8px;
  filter: sepia(0.3) contrast(1.05);
  max-width: 220px;
}
.about-polaroid { width: 100%; }
.about-body h1 { margin-bottom: 1.5rem; }
.author-section { margin-bottom: 2rem; }
.author-name-heading { font-size: 1.5rem; margin-bottom: 0.25rem; }
.author-credentials {
  font-size: 0.85rem;
  color: var(--amber-dark);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.author-bio { font-size: 1rem; line-height: 1.7; color: var(--ink-light); }

/* ---- Inner / Privacy layout ---- */
.inner-section {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  align-items: start;
}
.inner-deco-figure { margin-bottom: 1rem; }
.inner-body { min-width: 0; }
.inner-body h1 { margin-bottom: 1.5rem; }

/* ---- Footer ---- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  margin-top: 4rem;
  border-top: 4px solid var(--amber);
}
.footer-cta-block {
  text-align: center;
  padding: 3.5rem 2rem 2.5rem;
  background: linear-gradient(135deg, var(--ink-light) 0%, var(--ink) 100%);
  border-bottom: 2px solid rgba(212,165,116,0.3);
}
.footer-cta-heading {
  color: var(--amber);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
}
.footer-cta-heading span { border-bottom: 3px solid var(--amber); }
.footer-cta-block p { color: var(--cream-dark); max-width: 500px; margin: 0 auto 1.5rem; }
.footer-signup { font-size: 0.95rem; padding: 0.75rem 2rem; }
.footer-nav-col, .footer-trust-col, .footer-rg-col {
  padding: 2rem 1.5rem;
}
/* 3-column footer grid */
.site-footer {
  display: grid;
  grid-template-columns: 1fr;
}
.footer-cta-block { grid-column: 1 / -1; }

/* Inner sections as columns */
.site-footer > article.footer-nav-col,
.site-footer > article.footer-trust-col,
.site-footer > article.footer-rg-col {
  border-top: 1px solid rgba(212,165,116,0.15);
}

@media (min-width: 769px) {
  .site-footer {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto;
  }
  .footer-cta-block { grid-column: 1 / -1; }
  .footer-nav-col { grid-column: 1; }
  .footer-trust-col { grid-column: 2; }
  .footer-rg-col { grid-column: 3; }
  .footer-bottom-bar { grid-column: 1 / -1; }
}

.footer-col-heading {
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--amber);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-col-heading span { border-bottom: 2px solid var(--amber); padding-bottom: 1px; }
.footer-nav-col menu a, .footer-trust-col a {
  display: block;
  color: var(--cream-dark);
  text-decoration: none;
  padding: 0.35rem 0;
  font-size: 0.88rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.footer-nav-col menu a:hover, .footer-trust-col a:hover { color: var(--amber); }
.trust-links { display: flex; flex-direction: column; }
.trust-links a { border-bottom: 1px solid rgba(212,165,116,0.15); }
.footer-rg-text {
  font-size: 0.8rem;
  color: var(--amber);
  line-height: 1.6;
  opacity: 0.85;
}
.footer-bottom-bar {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(212,165,116,0.2);
  background: rgba(0,0,0,0.2);
}
.footer-copy { font-size: 0.78rem; color: var(--cream-dark); opacity: 0.7; }
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-links a {
  font-size: 0.78rem;
  color: var(--cream-dark);
  opacity: 0.7;
  text-decoration: none;
}
.footer-links a:hover { opacity: 1; color: var(--amber); }

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .vhs-bar-deco span { animation: none; }
  body::after { display: none; }
  .hero-lightleak { display: none; }
}

/* ---- Mobile nav ---- */
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .mobile-nav-details { display: block; order: -1; }
  .header-inner {
    flex-wrap: nowrap;
    padding: 0 0.75rem;
    min-height: 56px;
    max-height: 64px;
  }
  .brand-wordmark { font-size: 0.82rem; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .menu-toggle {
    background: transparent;
    border: 2px solid var(--amber);
    border-radius: 6px;
    padding: 0.5rem 0.6rem;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    list-style: none;
  }
  .menu-toggle::-webkit-details-marker { display: none; }
  .toggle-icon { display: flex; flex-direction: column; gap: 4px; }
  .toggle-icon span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--amber);
    border-radius: 2px;
    transition: transform 0.2s;
  }
  .nav-menu-dropdown {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--ink);
    border-top: 2px solid var(--amber);
    border-bottom: 3px solid var(--amber);
    z-index: 999;
    padding: 0.5rem 0;
  }
  .nav-menu-dropdown li a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    color: var(--cream);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    min-height: 44px;
    border-bottom: 1px solid rgba(212,165,116,0.15);
    transition: background 0.15s;
  }
  .nav-menu-dropdown li a:hover { background: rgba(212,165,116,0.1); color: var(--amber); }
  .header-ctas {
    gap: 0.3rem;
  }
  .cta { font-size: 0.7rem; padding: 0.4rem 0.6rem; min-height: 44px; }
  .hero-img-wrap-b { display: none; }
  .hero-img-wrap-a { width: 100%; transform: none; }
  .hero-copy { padding: 1.5rem 1rem; }
  .content-with-sidebar {
    grid-template-columns: 1fr;
    padding: 1.25rem 1rem;
    gap: 1.5rem;
  }
  .sidebar { position: static; }
  .article-section {
    grid-template-columns: 1fr;
    grid-template-areas:
      "figure"
      "body"
      "aside";
    padding: 0 1rem;
    gap: 1rem;
  }
  .article-hero-figure img { height: 200px; }
  .about-section {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem;
  }
  .about-figure { order: 0; }
  .about-body { order: 1; }
  .inner-section {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem;
  }
  .tag-hero-section { flex-direction: column; padding: 2rem 1.25rem; }
  .tag-deco { display: none; }
  .cat-hero-copy { padding: 2rem 1.25rem; }
  .child-cards-row, .cat-child-row, .tag-article-row {
    flex-direction: column;
  }
  .child-card-link, .cat-child-link, .tag-article-link { flex: 1 1 auto; }
  .footer-bottom-bar { flex-direction: column; text-align: center; }
  .hero-slant { height: 40px; }
}

/* ---- min 769px tweaks ---- */
@media (min-width: 769px) {
  .mobile-nav-details { display: none !important; }
}

/* ---- Utility ---- */
.page-content { margin-top: 0.5rem; }

a[data-cta],button[aria-controls]{min-height:44px;min-width:44px;box-sizing:border-box}main p a{text-decoration:underline}