/* =========================================================================
   page-biosolids-index.css — data/biosolids/index.html
   Content + bespoke components for the biosolids hub. Migrated out of a
   ~310-line inline <style> block. Dropped during the move: drifted :root
   tokens (--maxw forbidden, mismatched radius/shadow/mist), leaky global
   *, body, a, img resets, an entire inline re-styling of the INJECTED nav
   (header, .nav, .brand, .menu-btn, nav.navlinks, .nav-cta, .btn-*) that was
   overriding the shared header, and a footer override. Those all now come
   from the canonical system (layout.css / design-system.css / page-hero.css).

   NOTE: .card / .callout / .pill are kept here with this page's existing look
   (page-scoped, no longer inline or leaking into the nav). A later pass can
   align them to the canonical components if desired.
   ========================================================================= */

main { padding: 36px 0 64px; }

.card {
  background: var(--hvb-paper);
  border-radius: var(--radius-card);
  border: 1px solid rgba(14, 59, 46, 0.12);
  padding: clamp(20px, 2vw, 28px);
  box-shadow: var(--shadow-1);
  margin-top: 24px;
}
.card:first-of-type { margin-top: 0; }
.card h2 {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.02em;
}
.card h3 {
  margin: 20px 0 10px;
  font-family: var(--font-head);
  font-size: 18px;
  letter-spacing: -0.01em;
}
.card p { margin: 0; color: var(--hvb-slate); }
.card ul { margin: 10px 0 0; padding-left: 20px; color: var(--hvb-slate); }

.callout {
  border-radius: 16px;
  background: #fff9ef;
  border: 1px solid rgba(233, 169, 35, 0.35);
  padding: 18px 22px;
  color: var(--hvb-black);
  font-size: 16px;
  line-height: 1.5;
  box-shadow: var(--shadow-1);
}
.callout a { font-weight: 600; color: var(--hvb-green); }
.callout.callout--rule {
  border-color: rgba(14, 59, 46, 0.15);
  background: rgba(14, 59, 46, 0.06);
  color: var(--hvb-slate);
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 20px;
  margin-top: 16px;
}
@media (max-width: 980px) { .grid { grid-template-columns: 1fr; } }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hvb-green);
  background: rgba(14, 59, 46, 0.08);
  border: 1px solid rgba(14, 59, 46, 0.14);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.kpis { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.figure {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(14, 59, 46, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  background: #fff;
}
.figure img { width: 100%; height: auto; display: block; }
.figcap {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--hvb-slate);
  border-top: 1px solid rgba(14, 59, 46, 0.12);
}

.search { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.search input {
  flex: 1;
  min-width: 200px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(14, 59, 46, 0.18);
  background: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

.toc a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(14, 59, 46, 0.12);
  background: rgba(245, 247, 246, 0.9);
  color: var(--hvb-black);
  margin-top: 8px;
  font-weight: 600;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.tile {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(14, 59, 46, 0.12);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tile strong {
  font-family: var(--font-head);
  letter-spacing: -0.01em;
  color: var(--hvb-black);
  font-size: 15px;
}
.tile p { margin: 0; color: var(--hvb-slate); font-size: 14px; }
.tile .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }

/* Light hero note — this sits inside the image .site-hero, so keep it light. */
.hero-note {
  margin-top: 12px;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.86);
}
