/* ======================================
   HelpSaveNature — premium editorial archive
   Refined pass: wider article column, tighter palette, brand signature.
   ====================================== */

:root {
  /* WARM EARTH brand: terracotta primary + sage accent.
     Variable names kept as --green for now to avoid touching every rule —
     the actual color is terracotta. Rename in a future cleanup. */
  --paper: #f4ede0;                     /* warm cream */
  --paper-soft: #fbf6e9;
  --ink: #2a201a;                       /* deep warm brown */
  --muted: #6f5f54;
  --green: #a85c45;                     /* primary: warm terracotta */
  --green-soft: #b97560;                /* primary hover/lighter */
  --line: rgba(42, 32, 26, 0.14);
  --line-strong: rgba(42, 32, 26, 0.22);
  --cream: #ede1ce;
  --sage: rgba(124, 142, 105, 0.30);    /* H2 border accent: muted sage olive */
  /* Aliases for future renames (when we update the rest of the rules):
     --brand, --brand-soft, --accent (sage) */
  --brand: var(--green);
  --brand-soft: var(--green-soft);
  --accent: #7c8e69;                    /* sage olive */
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-soft); }

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* ======================================
   HEADER
   ====================================== */
.site-header {
  position: relative;          /* anchors the mobile nav dropdown */
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}
.site-header .container {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.site-logo__img { width: 240px; height: auto; display: block; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.site-nav__item { color: var(--ink); text-decoration: none; }
.site-nav__item:hover { color: var(--green-soft); }

.site-search,
.menu-toggle {
  border: 0;
  background: transparent;
  padding: 8px;
  color: var(--green);
  cursor: pointer;
  flex-shrink: 0;
}
.site-search svg, .menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle { display: none; }

/* Mobile nav dropdown */
@media (max-width: 960px) {
  .site-nav {
    display: none;
  }
  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper-soft);
    border-bottom: 1px solid var(--line-strong);
    padding: 8px 0;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(31, 42, 36, 0.1);
  }
  .site-nav.is-open .site-nav__item {
    padding: 13px 24px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  .site-nav.is-open .site-nav__item:last-child { border-bottom: 0; }
  .menu-toggle { display: inline-flex; }
}

/* ======================================
   ARTICLE PAGE LAYOUT — 760 / 300
   ====================================== */
.article-page { background: var(--paper); }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 72px;
  align-items: start;
}

/* ======================================
   ARTICLE MASTHEAD
   ====================================== */
.article-header { padding: 64px 0 36px; }

/* Brand signature: short green dash before the category slug */
.article-header__category {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  text-decoration: none;
  margin-bottom: 22px;
}
.article-header__category::before {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green);
  opacity: 0.75;
  flex-shrink: 0;
}

.article-header h1 {
  max-width: 860px;
  margin: 0 0 22px;
  font-family: "Spectral", Georgia, serif;
  font-size: clamp(52px, 5.4vw, 76px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 600;
  color: var(--green);
}

.article-header__hook {
  max-width: 720px;
  margin: 0 0 28px;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}

/* Refined meta row — stronger rule separates hook from byline */
.article-header__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: var(--muted);
}
.article-header__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.article-header__meta svg { width: 15px; height: 15px; color: var(--green); opacity: 0.7; }

/* ======================================
   HERO IMAGE
   ====================================== */
.article-hero { margin: 36px 0 48px; }

.article-hero img {
  width: 100%;
  display: block;
  border-radius: 7px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
/* Original Buzzle/Wayback heroes have unpredictable aspect ratios. Show the
   whole image (no 16/9 cover-crop) on the warm paper, capped in height, and
   don't upscale a small scan to full column width. AI heroes keep the cover
   rule above (they're generated at 16/9). */
.article-hero.article-hero--archival img {
  aspect-ratio: auto;
  width: auto;
  max-width: 100%;
  max-height: 520px;
  margin-inline: auto;
  object-fit: contain;
  background: var(--cream);
}
.article-hero figcaption {
  margin-top: 12px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
  line-height: 1.5;
}

/* ======================================
   ARTICLE PROSE — continuous reading column.
   No card wrappers. Semantic <section id=...> only.
   ====================================== */
.prose {
  font-family: "Spectral", Georgia, serif;
  font-size: 21px;
  line-height: 1.78;
  color: var(--ink);
}
.prose > *:first-child { margin-top: 0; }
.prose section { margin: 0; }
.prose p { margin: 0 0 1.35em; }

/* H2: sage rule beneath creates the brand accent — quiet, not heavy */
.prose h2 {
  margin: 2.6em 0 0.7em;
  padding-bottom: 0.25em;
  border-bottom: 1px solid var(--sage);
  font-family: "Spectral", Georgia, serif;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 600;
  color: var(--green);
}
.prose section:first-child > h2:first-child,
.prose h2:first-child { margin-top: 0; }

.prose h3 {
  margin: 1.8em 0 0.55em;
  font-family: "Spectral", Georgia, serif;
  font-size: 25px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--green-soft);
}

.prose ul, .prose ol {
  margin: 0 0 1.6em;
  padding-left: 1.4em;
}
.prose li { margin-bottom: 0.7em; }
.prose li::marker { color: var(--green-soft); }

.prose blockquote {
  margin: 2em 0;
  padding: 0 0 0 22px;
  border-left: 3px solid var(--sage);
  font-style: italic;
  color: var(--muted);
}
.prose blockquote p { margin: 0 0 0.5em; }

.prose a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: rgba(15, 61, 36, 0.35);
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--green-soft); }

.prose img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.6em auto;
  border-radius: 6px;
}

/* Inline figure with caption — used inside article body */
.prose .prose-figure,
.prose-figure {
  margin: 2em 0 2.2em;
}
.prose-figure img {
  width: 100%;
  margin: 0;
  border-radius: 7px;
}
.prose-figure figcaption {
  margin-top: 10px;
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  font-style: italic;
  color: var(--muted);
  line-height: 1.5;
}

.prose strong { font-weight: 700; color: var(--green); }
.prose em { font-style: italic; }

/* Soft cream pullout for definition lists — the "premium detail" */
.definition-list {
  margin: 1.6em 0 2em;
  display: grid;
  gap: 12px;
}
.definition-list > div {
  padding: 18px 22px;
  background: var(--cream);
  border: 1px solid rgba(31, 42, 36, 0.1);
  border-left: 3px solid var(--green-soft);
  border-radius: 0 8px 8px 0;
}
.definition-list dt {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 5px;
  letter-spacing: 0.03em;
}
.definition-list dd { margin: 0; font-size: 19px; }

/* ======================================
   SIDEBAR
   ====================================== */
.article-sidebar {
  position: sticky;
  top: 112px;
  padding-top: 68px;
}

.sidebar-panel {
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid rgba(31, 42, 36, 0.13);
  border-radius: 10px;
  padding: 26px 24px;
  box-shadow: 0 12px 30px rgba(31, 42, 36, 0.035);
}
.sidebar-panel + .sidebar-panel { margin-top: 20px; }

.sidebar-panel h2 {
  margin: 0 0 22px;
  font-family: "Spectral", Georgia, serif;
  font-size: 25px;
  line-height: 1.15;
  font-weight: 600;
  color: var(--green);
}

/* Browse category list */
.category-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.category-list li { border-top: 1px solid var(--line); }
.category-list li:first-child { border-top: 0; }
.category-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  color: var(--ink);
  text-decoration: none;
  transition: color 130ms ease;
}
.category-list a span { color: var(--green); opacity: 0.4; font-size: 16px; transition: opacity 130ms ease; }
.category-list a:hover { color: var(--green-soft); }
.category-list a:hover span { opacity: 0.85; }

/* Related articles — embedding-ranked list with small square thumbs.
   Now that AI hero-card variants exist for most articles the thumbs are
   stylistically consistent (no more Buzzle infographic mismatches). */
.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.related-list li { border-top: 1px solid var(--line); }
.related-list li:first-child { border-top: 0; }
.related-list a {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  color: var(--ink);
  text-decoration: none;
  transition: color 130ms ease, padding-left 130ms ease;
}
.related-list a:hover {
  color: var(--green-soft);
  padding-left: 4px;
}
.related-list__thumb {
  width: 56px;
  height: 56px;
  border-radius: 5px;
  overflow: hidden;
  background: var(--cream);
  flex-shrink: 0;
}
.related-list__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92);
}
.related-list__title {
  font-family: "Spectral", Georgia, serif;
  font-size: 15px;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Items without a thumbnail collapse to a single column */
.related-list a:not(:has(.related-list__thumb)) {
  grid-template-columns: 1fr;
}

/* ======================================
   ENRICHMENT WIDGETS — sidebar panels + pull quote
   ====================================== */

/* "At a glance" — TL;DR bullet list */
.sidebar-panel--glance .glance-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-panel--glance .glance-list li {
  position: relative;
  padding: 8px 0 8px 18px;
  font-family: "Spectral", Georgia, serif;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.sidebar-panel--glance .glance-list li:first-child { border-top: 0; padding-top: 4px; }
.sidebar-panel--glance .glance-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 1px;
  background: var(--green-soft);
}

/* "Key facts" — numerical claims with surrounding context */
.sidebar-panel--facts .facts-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-panel--facts .facts-list li {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sidebar-panel--facts .facts-list li:first-child { border-top: 0; padding-top: 2px; }
.facts-list__label {
  font-family: "Spectral", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.05;
  color: var(--green);
  letter-spacing: -0.01em;
}
.facts-list__context {
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* "Glossary" — term/definition list */
.sidebar-panel--glossary .glossary-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-panel--glossary .glossary-list li {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-panel--glossary .glossary-list li:first-child { border-top: 0; padding-top: 2px; }
.sidebar-panel--glossary dfn {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  font-style: normal;
}
.glossary-list__def {
  font-family: "Spectral", Georgia, serif;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink);
}

/* Pull quote — sits between hero and body, full-column editorial weight.
   Just the type, sage hairlines top and bottom — no decorative glyph. */
.article-pullquote {
  margin: 48px 0 48px;
  padding: 36px 0 32px;
  border-top: 1px solid var(--sage);
  border-bottom: 1px solid var(--sage);
  text-align: center;
}
.article-pullquote__text {
  margin: 0 auto;
  max-width: 640px;
  font-family: "Spectral", Georgia, serif;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.42;
  font-weight: 500;
  font-style: italic;
  color: var(--green);
  letter-spacing: -0.005em;
}
.article-pullquote__cite {
  display: block;
  margin-top: 18px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
}

/* Archival inline figure (Buzzle hero preserved as body image) — slightly
   quieter visual treatment to distinguish from main figures */
.prose-figure--archival img {
  border: 1px solid var(--line);
}

/* Inline "Related reading" callout — sits between mid H2 sections on long
   articles. Scoped under .prose because it lives INSIDE .article-content.prose
   and we need to out-specify .prose a / .prose img / .prose typography. */
.prose .inline-related {
  margin: 56px 0;
  padding: 28px 28px 24px;
  background: rgba(255, 253, 248, 0.55);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.prose .inline-related__head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.prose .inline-related__eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
}
.prose .inline-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.prose .inline-related__card,
.prose a.inline-related__card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
  color: var(--ink);
  transition: transform 130ms ease;
  padding: 0;
}
.prose .inline-related__card:hover { transform: translateY(-1px); }
.prose .inline-related__card:hover .inline-related__title { color: var(--green-soft); }
.prose .inline-related__thumb {
  width: 64px;
  height: 64px;
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream);
  margin: 0;                              /* override .prose img margins */
}
.prose .inline-related__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;                              /* override .prose img auto-margin */
  border-radius: 0;
  filter: saturate(0.92);
  max-width: 100%;
}
.prose .inline-related__body { min-width: 0; }
.prose .inline-related__cat {
  font-family: "Inter", sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 4px;
  opacity: 0.85;
}
.prose .inline-related__title {
  margin: 0;
  font-family: "Spectral", Georgia, serif;
  font-size: 14.5px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 130ms ease;
  letter-spacing: 0;
  border: 0;
  padding: 0;
}

@media (max-width: 760px) {
  .prose .inline-related__grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ======================================
   STATIC PAGES (About / Contact / Privacy / Terms)
   ====================================== */
.static-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 0 80px;
}
.static-page__header { margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--line-strong); }
.static-page__eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.static-page__eyebrow::before {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green);
  opacity: 0.75;
}
.static-page__title {
  margin: 0 0 18px;
  font-family: "Spectral", Georgia, serif;
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: var(--green);
}
.static-page__lede {
  margin: 0 0 12px;
  font-family: "Inter", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}
.static-page__meta {
  margin: 12px 0 0;
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.static-page__body.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 32px 0;
}

/* ======================================
   CATEGORY PAGES
   ====================================== */

/* Header band — quiet, sits above the featured grid */
.cat-header {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--line);
}
.cat-header__eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.cat-header__title {
  margin: 0 0 12px;
  font-family: "Spectral", Georgia, serif;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: var(--green);
}
.cat-header__lede {
  margin: 0 0 14px;
  max-width: 640px;
  font-family: "Inter", sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--muted);
}
.cat-header__meta {
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.cat-page .home-section { padding-top: 56px; }

/* 4-column variant of more-grid for the secondary card row */
.more-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
}
@media (max-width: 960px) {
  .more-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .more-grid--4 { grid-template-columns: 1fr; }
}

/* ======================================
   ARTICLE INDEX PAGE
   ====================================== */
.article-index { padding: 56px 0 80px; }

.article-index__header {
  max-width: 760px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 52px;
}
.article-index__header h1 {
  font-family: "Spectral", Georgia, serif;
  font-size: clamp(40px, 4.5vw, 60px);
  line-height: 0.97;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--green);
  margin: 0 0 16px;
}
.article-index__header p {
  font-family: "Inter", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.index-section { margin-bottom: 52px; }

.index-section__title {
  font-family: "Spectral", Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--green);
  border-bottom: 1px solid var(--sage);
  padding-bottom: 10px;
  margin: 0 0 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.index-section__count {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 48px;
  column-fill: balance;
}
.index-list li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.index-list a {
  display: block;
  padding: 11px 0;
  font-family: "Spectral", Georgia, serif;
  font-size: 16px;
  line-height: 1.35;
  color: var(--ink);
  text-decoration: none;
  transition: color 130ms ease, padding-left 130ms ease;
}
.index-list a:hover { color: var(--green-soft); padding-left: 5px; }

/* ======================================
   HOMEPAGE
   ====================================== */

/* ---- HERO — text with right-pinned watercolor background ---- */
.home-hero {
  background-color: var(--paper);
  background-image: url("/images/home-hero-illustration.webp");
  background-repeat: no-repeat;
  background-position: right max(24px, calc((100vw - 1200px) / 2)) bottom;
  background-size: auto 100%;
  overflow: hidden;
  padding: 0;
}
.home-hero--404 {
  /* Two background layers: a paper scrim painted ON TOP of the illustration so
     the left-side text stays readable no matter the 404 image's shape (the
     bare image was bleeding under the copy). Image sits pinned bottom-right. */
  background-image:
    linear-gradient(100deg,
      var(--paper) 0%,
      var(--paper) 40%,
      rgba(244, 237, 224, 0) 68%),
    url("/images/404hero.webp");
  background-repeat: no-repeat, no-repeat;
  background-position:
    left top,
    right max(24px, calc((100vw - 1200px) / 2)) bottom;
  background-size:
    cover,
    auto 100%;
}
@media (max-width: 760px) {
  /* On narrow screens the text spans full width — drop the illustration so it
     never sits behind the copy. */
  .home-hero--404 { background-image: none; background-color: var(--paper); }
}
.home-hero__inner {
  position: relative;
  display: block;
  padding: 125px 0 0;
}
.home-hero__text {
  position: relative;
  z-index: 2;
  max-width: 540px;
}
.home-hero__eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.home-hero__eyebrow::before {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green);
  opacity: 0.75;
}
.home-hero__title {
  max-width: clamp(430px, 39vw, 540px);
  margin: 0 0 18px;
  font-family: "Spectral", Georgia, serif;
  font-size: clamp(46px, 4.55vw, 58px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--green);
}
.home-hero__lede {
  margin: 0 0 22px;
  max-width: 520px;
  font-family: "Inter", sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--muted);
}

.home-search {
  display: flex;
  align-items: center;
  background: var(--paper-soft);
  border: 1px solid rgba(31, 42, 36, 0.18);
  border-radius: 10px;
  padding: 0 0 0 18px;
  width: clamp(430px, 39vw, 500px);
  max-width: 100%;
  height: 48px;
  box-shadow: 0 14px 34px rgba(31, 42, 36, 0.055);
  margin-top: 8px;
}
.home-search__icon {
  display: inline-flex;
  color: var(--muted);
  margin-right: 10px;
}
.home-search__icon svg { width: 18px; height: 18px; }
.home-search__input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: var(--ink);
  padding: 0 8px;
  height: 100%;
  outline: none;
}
.home-search__input::placeholder { color: var(--muted); opacity: 0.85; }
.home-search__submit {
  border: 0;
  background: var(--green);
  color: var(--paper-soft);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 6px;
  padding: 0 26px;
  height: calc(100% - 12px);
  border-radius: 7px;
  cursor: pointer;
  transition: background 130ms ease;
}
.home-search__submit:hover { background: var(--green-soft); }

.topic-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  width: min(760px, calc(100vw - 48px));
}
.topic-pills__label {
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  color: var(--muted);
  margin-right: 4px;
}
.topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--paper-soft);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 14px 7px 12px;
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 130ms ease, color 130ms ease;
}
.topic-pill svg { width: 15px; height: 15px; color: var(--green); opacity: 0.85; }
.topic-pill:hover { border-color: var(--green-soft); color: var(--green-soft); }
.topic-pills__all {
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  margin-left: 4px;
}
.topic-pills__all:hover { color: var(--green-soft); }


/* ---- SECTION SCAFFOLD ---- */
.home-section { padding: 72px 0 0; }
.home-section:last-of-type { padding-bottom: 0; }

.home-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}
.home-section__head--single { display: block; margin-bottom: 36px; }

.home-section__eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.home-section__title {
  margin: 0 0 8px;
  font-family: "Spectral", Georgia, serif;
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--green);
}
.home-section__lede {
  margin: 0;
  max-width: 600px;
  font-family: "Inter", sans-serif;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
}
.home-section__more {
  flex-shrink: 0;
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  padding-bottom: 6px;
}
.home-section__more:hover { color: var(--green-soft); }

/* ---- FEATURED EXPLAINERS ---- */
.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}
.featured-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 22px;
}

/* 3-up equal columns for "Popular places to start" on the 404 page */
.popular-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.popular-grid .featured-card { min-height: 260px; }

.featured-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #0f3d24;
  text-decoration: none;
  color: var(--paper-soft);
  isolation: isolate;
  min-height: 195px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(31, 42, 36, 0.18);
}
.featured-card--lg { min-height: 412px; }

.featured-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.featured-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.88);
}
.featured-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(8, 25, 16, 0.92) 0%,
    rgba(8, 25, 16, 0.55) 45%,
    rgba(8, 25, 16, 0.18) 80%,
    rgba(8, 25, 16, 0.04) 100%
  );
}
.featured-card--lg::after {
  background: linear-gradient(
    to top,
    rgba(8, 25, 16, 0.92) 0%,
    rgba(8, 25, 16, 0.48) 48%,
    rgba(8, 25, 16, 0.10) 80%,
    rgba(8, 25, 16, 0) 100%
  );
}
.featured-card__body {
  position: relative;
  z-index: 2;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}
.featured-card__cat {
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #cfe7ba;
  margin-bottom: 4px;
}
.featured-card__title {
  margin: 0;
  max-width: 520px;
  font-family: "Spectral", Georgia, serif;
  font-size: 26px;
  line-height: 1.12;
  font-weight: 600;
  color: #fffdf8;
}
.featured-card--lg .featured-card__title { font-size: 36px; line-height: 1.05; }
.featured-card__hook {
  margin: 4px 0 6px;
  max-width: 520px;
  font-family: "Inter", sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 253, 248, 0.85);
}
.featured-card__cta {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fffdf8;
  margin-top: 6px;
  opacity: 0.92;
}

/* ---- MORE TO EXPLORE — 6 square cards under the featured row ---- */
.more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}
.more-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #0f3d24;
  color: #fffdf8;
  text-decoration: none;
  isolation: isolate;
  aspect-ratio: 1 / 1;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.more-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(31, 42, 36, 0.16);
}
.more-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.more-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.88);
}
.more-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(8, 25, 16, 0.90) 0%,
    rgba(8, 25, 16, 0.45) 50%,
    rgba(8, 25, 16, 0.05) 90%
  );
}
.more-card__body {
  position: relative;
  z-index: 2;
  padding: 22px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  gap: 6px;
}
.more-card__cat {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #cfe7ba;
}
.more-card__title {
  margin: 0;
  font-family: "Spectral", Georgia, serif;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 600;
  color: #fffdf8;
}

@media (max-width: 960px) {
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .more-grid { grid-template-columns: 1fr; }
  .more-card { aspect-ratio: 4 / 3; }
}

/* ---- EXPLORE BY TOPIC — 4-col, softer cards with breathing room ---- */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.topic-tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: rgba(255, 253, 248, 0.55);
  border: 1px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
  text-align: left;
}
.topic-tile:hover {
  border-color: rgba(40, 95, 58, 0.18);
  background: var(--paper-soft);
  transform: translateY(-2px);
}
.topic-tile__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-soft);
}
.topic-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92);
  transition: transform 320ms ease;
}
.topic-tile:hover .topic-tile__media img { transform: scale(1.03); }
.topic-tile__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 22px 22px;
  flex: 1;
}
.topic-tile__name {
  font-family: "Spectral", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--green);
  margin-bottom: 10px;
}
.topic-tile__desc {
  margin: 0 0 18px;
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  flex: 1;
}
.topic-tile__count {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.02em;
  opacity: 0.85;
}
.topic-tile__count span { opacity: 0.6; margin-left: 3px; }

/* ---- RECENTLY RESTORED — editorial archive list with square thumbs ---- */
.recent-list {
  display: grid;
  border-top: 1px solid var(--line);
}
.recent-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: padding-left 180ms ease;
}
.recent-item:hover {
  padding-left: 6px;
}
.recent-item:hover h3 { color: var(--green-soft); }

.recent-item__thumb {
  width: 96px;
  height: 96px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--cream);
  flex-shrink: 0;
}
.recent-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92);
}

.recent-item__main { min-width: 0; }
.recent-item__main h3 {
  margin: 0 0 6px;
  font-family: "Spectral", Georgia, serif;
  font-size: 24px;
  line-height: 1.22;
  font-weight: 600;
  color: var(--green);
  transition: color 180ms ease;
}
.recent-item__main p {
  margin: 0;
  max-width: 620px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.recent-item__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
  white-space: nowrap;
}
.recent-item__cat {
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
}
.recent-item__date {
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ---- ABOUT STRIP ---- */
.home-about {
  margin-top: 88px;
  padding: 44px 0;
  background: var(--cream);
  border-top: 1px solid var(--line);
}
.home-about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: 48px;
  align-items: center;
}
.home-about__brand {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.home-about__leaf {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  color: var(--green-soft);
  opacity: 0.85;
}
.home-about__leaf svg { width: 100%; height: 100%; }
.home-about__title {
  margin: 0 0 6px;
  font-family: "Spectral", Georgia, serif;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--green);
}
.home-about__lede {
  margin: 0 0 10px;
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}
.home-about__link {
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
}
.home-about__link:hover { color: var(--green-soft); }

.home-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.home-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.home-feature__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(15, 61, 36, 0.08);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.home-feature__icon svg { width: 18px; height: 18px; }
.home-feature__title {
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.home-feature__desc {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---- COMPACT FOOTER (homepage variant) ---- */
.site-footer--compact { margin-top: 0; padding: 22px 0; }
.site-footer__compact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer__compact-meta {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(247, 244, 237, 0.7);
}
.site-footer__compact-meta .site-footer__legal { display: flex; gap: 18px; }
.site-footer__compact-meta a { font-size: 12.5px; }

/* ---- HOMEPAGE RESPONSIVE ---- */
@media (max-width: 1100px) {
  .topic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .home-hero { background-image: none; }
  .home-hero__inner {
    min-height: 0;
    padding: 46px 0 44px;
  }
  .home-hero__text { max-width: 100%; }
  .topic-pills { width: 100%; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-card--lg { min-height: 360px; }
  .popular-grid { grid-template-columns: 1fr; }
  .home-section__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .home-about__inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .home-hero__title {
    max-width: 100%;
    font-size: clamp(38px, 10vw, 48px);
    line-height: 0.98;
  }
}
@media (max-width: 760px) {
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-features { grid-template-columns: 1fr; gap: 18px; }
  /* Recent-list: shrink thumb, drop the meta to its own row */
  .recent-item {
    grid-template-columns: 72px 1fr;
    gap: 16px;
    align-items: start;
  }
  .recent-item__thumb { width: 72px; height: 72px; }
  .recent-item__meta {
    grid-column: 2 / -1;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    text-align: left;
    margin-top: 4px;
  }
}
@media (max-width: 480px) {
  .topic-grid { grid-template-columns: 1fr; }
  .home-search {
    flex-wrap: nowrap;
    padding: 0 0 0 14px;
  }
  .home-search__input {
    width: auto;
    min-width: 0;
    padding: 0 6px;
  }
  .home-search__submit {
    width: auto;
    min-width: 82px;
    padding: 0 14px;
  }
}

/* ======================================
   FOOTER — dark green band
   ====================================== */
.site-footer {
  margin-top: 96px;
  padding: 56px 0 36px;
  background: var(--green);
  color: var(--paper-soft);
  font-family: "Inter", sans-serif;
  font-size: 14px;
}
.site-footer a { color: var(--paper-soft); opacity: 0.8; text-decoration: none; }
.site-footer a:hover { opacity: 1; }

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.site-footer__brand p {
  margin: 16px 0 0;
  font-size: 13.5px;
  color: rgba(247, 244, 237, 0.72);
  max-width: 300px;
  line-height: 1.65;
}
.site-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.site-footer__social a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(247, 244, 237, 0.2);
  border-radius: 50%;
  opacity: 0.65;
  transition: opacity 130ms ease;
}
.site-footer__social a:hover { opacity: 1; }
.site-footer__social svg { width: 15px; height: 15px; }

.site-footer__col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper-soft);
  margin: 0 0 14px;
  opacity: 0.85;
}
.site-footer__col ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col li { margin: 0 0 9px; }
.site-footer__col li a { font-size: 13.5px; }

.site-footer__about p {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: rgba(247, 244, 237, 0.72);
  line-height: 1.65;
}
.site-footer__about a {
  font-size: 12.5px;
  border-bottom: 1px solid rgba(247, 244, 237, 0.35);
  padding-bottom: 1px;
}

.site-footer__bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(247, 244, 237, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(247, 244, 237, 0.55);
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer__legal { display: flex; gap: 18px; }

/* ======================================
   RESPONSIVE
   ====================================== */
@media (max-width: 960px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .article-sidebar {
    position: static;
    padding-top: 0;
  }
  .article-header h1 { font-size: clamp(40px, 11vw, 60px); }
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .site-footer__about { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .index-list { columns: 1; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 32px, 1200px); }
  .site-header .container { min-height: 76px; }
  .site-logo__img { width: 200px; }
  .article-header { padding: 40px 0 28px; }
  .article-header__hook { font-size: 16.5px; }
  .article-header__meta { flex-wrap: wrap; gap: 12px; }
  .prose { font-size: 18.5px; line-height: 1.73; }
  .prose h2 { font-size: 28px; }
  .prose h3 { font-size: 22px; }
  .article-hero { margin: 28px 0 40px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__about { grid-column: auto; }
}

/* ======================================
   SEARCH RESULTS PAGE
   ====================================== */
.search-page__form {
  margin-top: 14px;
  width: min(640px, 100%);
}
.search-results { margin-top: 32px; }
.search-results__loading,
.search-results__empty {
  font-family: "Inter", sans-serif;
  font-size: 15.5px;
  color: var(--muted);
  padding: 24px 0;
}
.search-results__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.search-result {
  display: block;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: padding-left 160ms ease;
}
.search-result:hover { padding-left: 8px; }
.search-result__meta {
  margin-bottom: 8px;
  min-height: 16px;
}
.search-result__cat {
  font-family: "Inter", sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}
.search-result__title {
  margin: 0 0 6px;
  font-family: "Spectral", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--green);
}
.search-result__snippet {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.search-result__snippet mark {
  background: rgba(40, 95, 58, 0.14);
  color: var(--ink);
  padding: 0 2px;
  border-radius: 2px;
}

/* ======================================
   SEARCH TYPEAHEAD DROPDOWN + DID-YOU-MEAN
   ====================================== */
.search-typeahead {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  background: var(--paper-soft);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(31, 42, 36, 0.10);
  max-height: 480px;
  overflow-y: auto;
}
.search-typeahead[hidden] { display: none; }
.search-typeahead__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: background 120ms ease;
}
.search-typeahead__item:hover,
.search-typeahead__item:focus { background: rgba(40, 95, 58, 0.06); }
.search-typeahead__item:last-of-type { border-bottom: 0; }
.search-typeahead__title {
  font-family: "Spectral", Georgia, serif;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--green);
  flex: 1;
  min-width: 0;
}
.search-typeahead__title mark {
  background: rgba(40, 95, 58, 0.14);
  color: var(--ink);
  padding: 0 2px;
  border-radius: 2px;
}
.search-typeahead__cat {
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}
.search-typeahead__empty {
  padding: 16px 18px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: var(--muted);
}
.search-typeahead__all {
  display: block;
  padding: 12px 16px;
  background: rgba(40, 95, 58, 0.04);
  border-top: 1px solid var(--line);
  border-radius: 0 0 9px 9px;
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
}
.search-typeahead__all:hover { background: rgba(40, 95, 58, 0.08); }

/* Did you mean? */
.search-results__suggest {
  margin: 0 0 24px;
  padding: 14px 18px;
  background: rgba(40, 95, 58, 0.06);
  border-left: 3px solid var(--green);
  border-radius: 4px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: var(--ink);
}
.search-results__suggest a {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
}
.search-results__suggest a:hover { color: var(--green-soft); }
