@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #f4f1ea;
  --bg-warm: #ebe6db;
  --card: #fffcf7;
  --ink: #121612;
  --ink-soft: #2a3129;
  --muted: #5c665a;
  --accent: #c8f04a;
  --accent-deep: #1a4d2e;
  --accent-mid: #2d6b42;
  --accent-forest: #0f3d24;
  --charcoal: #141816;
  --charcoal-2: #1c221e;
  --line: #d8d0c2;
  --line-strong: #c4bba8;
  --warn: #6b4e12;
  --warn-bg: #fbf3df;
  --warn-border: #e8d5a3;
  --footer-bg: #0c100d;
  --footer-ink: #a8b5a6;
  --shadow-sm: 0 1px 2px rgba(18, 22, 18, 0.05), 0 4px 14px rgba(18, 22, 18, 0.06);
  --shadow-md: 0 6px 16px rgba(18, 22, 18, 0.08), 0 18px 40px rgba(18, 22, 18, 0.1);
  --shadow-lg: 0 12px 28px rgba(18, 22, 18, 0.12), 0 32px 64px rgba(18, 22, 18, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 680px;
  --wide: 1140px;
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-mid); text-underline-offset: 0.15em; }
a:hover { color: var(--accent-forest); }

h1, h2, h3, .logo {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

.wrap,
.narrow,
.site-header .inner,
.trust-bar .inner,
.site-footer .inner {
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: 1.25rem;
  box-sizing: border-box;
}
.narrow { max-width: var(--max); }

/* ── Header ─────────────────────────────────────────── */
.site-header {
  background: rgba(20, 24, 22, 0.92);
  border-bottom: 1px solid rgba(200, 240, 74, 0.12);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
}

.logo {
  font-weight: 400;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: #f4f1ea;
  font-size: 1.4rem;
}
.logo span { color: var(--accent); }

nav { display: flex; align-items: center; gap: 0.15rem; }
nav a {
  text-decoration: none;
  color: #b8c4b6;
  font-size: 0.9rem;
  font-weight: 550;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}
nav a:hover { color: #fff; background: rgba(200, 240, 74, 0.1); }

/* ── Hero split ─────────────────────────────────────── */
.hero-band {
  background: linear-gradient(145deg, #0e1610 0%, #1a2a1c 45%, #0f3d24 100%);
  color: #eef2ec;
  padding: 0;
  overflow: hidden;
  position: relative;
}

.hero-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 85% 50%, rgba(200, 240, 74, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 60% at 10% 90%, rgba(45, 107, 66, 0.35), transparent 50%);
  pointer-events: none;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3.75rem 0 3.5rem;
  min-height: min(72vh, 620px);
}

.hero-copy { max-width: 34rem; }
.hero-copy .badge {
  background: rgba(200, 240, 74, 0.15);
  color: var(--accent);
  border: 1px solid rgba(200, 240, 74, 0.28);
}

.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.65rem);
  line-height: 1.05;
  margin: 0 0 1.1rem;
  letter-spacing: -0.035em;
  color: #f7faf5;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-copy > p {
  color: #b7c4b4;
  font-size: 1.12rem;
  max-width: 32rem;
  margin: 0 0 1.65rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent);
  color: #121612 !important;
  text-decoration: none;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-body);
  letter-spacing: -0.01em;
  box-shadow: 0 0 0 1px rgba(200, 240, 74, 0.3), 0 8px 24px rgba(200, 240, 74, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary:hover {
  background: #d6f76a;
  color: #121612 !important;
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(200, 240, 74, 0.4), 0 12px 32px rgba(200, 240, 74, 0.28);
}

.btn-secondary {
  color: #d5e0d3 !important;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(213, 224, 211, 0.35);
  padding-bottom: 2px;
}
.btn-secondary:hover { color: var(--accent) !important; border-color: var(--accent); }

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1.15rem;
}

.hero-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.08);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual .hero-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(12, 16, 13, 0.78);
  color: #e8f0e6;
  font-size: 0.78rem;
  font-weight: 550;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  backdrop-filter: blur(8px);
  letter-spacing: 0.01em;
}

/* ── Trust bar ──────────────────────────────────────── */
.trust-bar {
  background: var(--charcoal);
  border-bottom: 1px solid rgba(200, 240, 74, 0.1);
  padding: 1.15rem 0;
}

.trust-bar .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 3rem;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 7rem;
}

.trust-item strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.trust-item span {
  font-size: 0.78rem;
  font-weight: 550;
  color: #93a091;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Category strip ─────────────────────────────────── */
.category-strip {
  padding: 1.75rem 0 0.5rem;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
}

.category-pills a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: var(--card);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.category-pills a:hover {
  border-color: var(--accent-deep);
  background: var(--accent-deep);
  color: #fff;
  transform: translateY(-1px);
}

/* ── Section headings ───────────────────────────────── */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.4rem;
  padding-top: 0.75rem;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  letter-spacing: -0.025em;
}
.section-head .section-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.featured-section { padding: 2rem 0 1.5rem; }
.guides-section { padding: 1rem 0 4rem; }

/* ── Featured photo cards ───────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1a2a1c;
  position: relative;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.card:hover .card-media img { transform: scale(1.04); }

/* Gradient covers for guide grid (slug-hash classes) */
.card-media.media-0 { background: linear-gradient(135deg, #1a4d2e, #0f3d24 50%, #c8f04a 160%); }
.card-media.media-1 { background: linear-gradient(135deg, #2a3a28, #1c221e 55%, #7dba8f); }
.card-media.media-2 { background: linear-gradient(145deg, #3d2e1a, #1a2218 50%, #e8d5a3); }
.card-media.media-3 { background: linear-gradient(135deg, #1a2e4d, #121820 55%, #8ab4d4); }
.card-media.media-4 { background: linear-gradient(135deg, #4d1a2e, #221218 55%, #e8a3b8); }
.card-media.media-5 { background: linear-gradient(145deg, #2e4d1a, #182212 50%, #c8f04a); }
.card-media.media-6 { background: linear-gradient(135deg, #1a3d4d, #0e1a20 55%, #7ec8d4); }
.card-media.media-7 { background: linear-gradient(135deg, #3d3a1a, #221f12 55%, #e8d87a); }

.card-media.has-img { background: #1a2a1c; }

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,16,13,0.35), transparent 45%);
  pointer-events: none;
  opacity: 0.6;
}

.card-body {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card h2, .card h3 {
  font-size: 1.28rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.card h2 a, .card h3 a {
  text-decoration: none;
  color: var(--ink);
}
.card h2 a:hover, .card h3 a:hover { color: var(--accent-deep); }

.card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
  flex: 1;
}

.card-link {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  letter-spacing: -0.01em;
}
.card-link:hover { color: var(--accent-forest); }
.card-link::after { content: "→"; transition: transform 0.15s ease; }
.card:hover .card-link::after { transform: translateX(3px); }

.meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.65rem;
  font-weight: 500;
}

.chip {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
  width: fit-content;
}
.chip-green { background: #dcefdc; color: #0f3d24; }
.chip-amber { background: #f5ebd4; color: #6b4e12; }
.chip-slate { background: #e4e8e3; color: #2a3129; }

/* Article list grid */
.article-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.article-list > li { margin: 0; }
.article-list .card { height: 100%; }
.article-list .card-body { padding: 1rem 1.1rem 1.2rem; }
.article-list .card h3 { font-size: 1.08rem; margin: 0; }
.article-list .card-meta {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Mini photo on guide cards */
.article-list .card-media {
  aspect-ratio: 16 / 9;
}
.article-list .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Article pages ──────────────────────────────────── */
.article-hero {
  background: linear-gradient(135deg, #0e1610 0%, #1a3d28 55%, #163820 100%);
  color: #eef2ec;
  padding: 2.75rem 0 2.5rem;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 70% at 90% 20%, rgba(200, 240, 74, 0.14), transparent 55%),
    url("../images/hero-organized.jpg") center/cover no-repeat;
  opacity: 0.18;
  mix-blend-mode: luminosity;
  pointer-events: none;
}
.article-hero .narrow { position: relative; z-index: 1; }
.article-hero .meta {
  color: #9aab98;
  margin-bottom: 0.75rem;
}
.article-hero h1 {
  color: #f7faf5;
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin: 0;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.disclosure {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-left: 4px solid #c4922a;
  color: var(--warn);
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  margin: 1.5rem 0;
  line-height: 1.55;
  box-shadow: var(--shadow-sm);
}

article.page {
  padding: 2rem 0 3.5rem;
}
article.page > .meta { margin-bottom: 0.85rem; color: var(--muted); }
article.page h1 {
  font-size: clamp(1.9rem, 4vw, 2.65rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}
article.page h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.55rem;
}
article.page h3 {
  margin-top: 1.65rem;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.015em;
}
article.page p, article.page li { color: var(--ink-soft); }
article.page ul, article.page ol { padding-left: 1.3rem; }
article.page li { margin-bottom: 0.35rem; }

.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--card);
}
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  font-size: 0.93rem;
}
th, td {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 0.75rem 0.9rem;
  text-align: left;
}
th:last-child, td:last-child { border-right: none; }
tr:last-child td { border-bottom: none; }
th {
  background: linear-gradient(180deg, #e8f2ea, #dceadf);
  font-weight: 700;
  color: var(--accent-forest);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.cta {
  display: inline-block;
  margin-top: 0.85rem;
  background: var(--accent);
  color: #121612 !important;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-body);
  box-shadow: var(--shadow-sm);
  transition: background 0.15s ease, transform 0.15s ease;
}
.cta:hover { background: #d6f76a; transform: translateY(-1px); }

.prose-note {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-deep);
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow-sm);
  color: var(--ink-soft);
}

/* About */
.about-hero {
  background: linear-gradient(135deg, #0e1610, #1a3d28);
  color: #eef2ec;
  padding: 3rem 0 2.5rem;
}
.about-hero h1 {
  color: #f7faf5;
  font-size: clamp(2.2rem, 4.5vw, 3.1rem);
  margin: 0 0 0.75rem;
}
.about-hero .about-lead {
  color: #b7c4b4;
  font-size: 1.15rem;
  margin: 0;
  max-width: 36rem;
}
.about-body { padding: 2rem 0 3.5rem; }
.about-lead { font-size: 1.12rem; color: var(--muted); margin-bottom: 1.75rem; }

/* Footer */
.site-footer {
  background: var(--footer-bg);
  padding: 2.5rem 0 2.75rem;
  color: var(--footer-ink);
  font-size: 0.92rem;
  margin-top: 0;
}
.site-footer .inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer .brand-line {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #e8f0e9;
  margin-bottom: 0.35rem;
}
.site-footer .brand-line span { color: var(--accent); }
.site-footer .tagline {
  color: #7a8878;
  font-size: 0.88rem;
  max-width: 22rem;
  line-height: 1.5;
}
.site-footer a { color: #a8c4ae; text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

/* ── Responsive ─────────────────────────────────────── */
.hero-band,
.trust-bar,
.site-header,
.site-footer,
.article-hero,
.about-hero,
main {
  width: 100%;
  max-width: 100%;
}

.hero-visual img,
.card-media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
    min-height: 0;
    align-items: stretch;
  }
  .hero-visual {
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 10;
    order: 0; /* keep document order: copy then image — stable alignment */
  }
  .hero-copy {
    max-width: none;
    width: 100%;
  }
  .grid,
  .article-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .wrap,
  .narrow,
  .site-header .inner,
  .trust-bar .inner,
  .site-footer .inner {
    padding-inline: 1rem;
  }

  .site-header .inner {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }
  .logo { font-size: 1.2rem; }
  nav a {
    padding: 0.45rem 0.5rem;
    font-size: 0.8rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .hero { padding: 1.35rem 0 1.5rem; gap: 1.15rem; }
  .hero h1 {
    font-size: clamp(1.75rem, 7.5vw, 2.15rem);
    margin-bottom: 0.7rem;
  }
  .hero-copy > p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.55;
  }
  .hero-visual {
    aspect-ratio: 16 / 10;
    border-radius: 14px;
  }
  .hero-visual .hero-caption {
    left: 0.65rem;
    bottom: 0.65rem;
    right: 0.65rem;
    max-width: none;
    font-size: 0.7rem;
  }
  .badge {
    font-size: 0.62rem;
    padding: 0.32rem 0.6rem;
    margin-bottom: 0.75rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .btn-primary {
    justify-content: center;
    width: 100%;
    min-height: 48px;
  }
  .btn-secondary { text-align: center; }

  .trust-bar { padding: 0.95rem 0; }
  .trust-bar .inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .trust-item { min-width: 0; width: 100%; }
  .trust-item strong {
    font-size: 1.1rem;
    overflow-wrap: anywhere;
  }
  .trust-item span { font-size: 0.68rem; }

  /* Contain horizontal scroller — do NOT let it widen the page */
  .category-strip {
    padding: 1.1rem 0 0.2rem;
    max-width: 100%;
    overflow: hidden;
  }
  .category-pills {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.45rem;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
  }
  .category-pills::-webkit-scrollbar { display: none; }
  .category-pills a {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 0.5rem 0.85rem;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }
  .section-head h2 { font-size: 1.55rem; }

  .card { width: 100%; max-width: 100%; }
  .card-media { aspect-ratio: 16 / 10; width: 100%; }
  .card-body { padding: 1rem; }
  .card-body h2,
  .card-body h3 { font-size: 1.15rem; }

  .article-list > li { width: 100%; max-width: 100%; min-width: 0; }

  .article-hero { padding: 1.75rem 0 1.5rem; }
  .article-hero h1 {
    max-width: none;
    font-size: clamp(1.65rem, 7vw, 2.05rem);
  }
  article.page { padding: 1.25rem 0 2.25rem; }
  .cta {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
  }
  .table-wrap { max-width: 100%; overflow-x: auto; }
  table { font-size: 0.85rem; }

  .about-hero { padding: 1.75rem 0 1.5rem; }
  .about-hero h1 { font-size: clamp(1.75rem, 7vw, 2.25rem); }
  .site-footer .inner { flex-direction: column; gap: 1.1rem; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 1.6rem; }
  nav a { padding: 0.4rem 0.35rem; font-size: 0.75rem; }
}

/* ── Mobile layout hard-fix (overflow + full-bleed) ── */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}
img {
  max-width: 100%;
  height: auto;
}
@media screen and (max-width: 900px) {
  html, body, main,
  .site-header, .hero-band, .trust-bar,
  .category-strip, .featured-section, .guides-section,
  .site-footer, .article-hero, .about-hero {
    width: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  .wrap,
  .narrow,
  .hero.wrap,
  .site-header .inner,
  .trust-bar .inner,
  .site-footer .inner {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    box-sizing: border-box !important;
  }
  .hero {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    gap: 1.25rem !important;
  }
  .hero-copy,
  .hero-visual {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
  }
  .hero-visual {
    aspect-ratio: 16 / 10;
  }
  .hero-visual img {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .grid,
  .article-list {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    width: 100% !important;
    gap: 1rem !important;
  }
  .grid .card,
  .article-list > li,
  .article-list .card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .card-media {
    width: 100% !important;
    max-width: 100% !important;
  }
  .card-media img {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .category-strip {
    overflow: hidden !important;
  }
  .category-pills {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
  }
  .trust-bar .inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    width: 100% !important;
  }
}


/* Subtle homepage affiliate nudge */
.monetize-nudge {
  margin: 0.5rem auto 1.5rem;
  text-align: center;
}
.monetize-nudge-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted, #5a6570);
  line-height: 1.6;
}
.monetize-nudge .cta {
  display: inline-block;
  margin-left: 0.35rem;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  padding: 0.45rem 0.9rem;
}
