/* Biosolids county brief — shared page styles.
   Extracted from the identical inline <style> blocks that lived on every
   data/biosolids/<county>.html brief. Loaded AFTER design-system.css so the
   brief-specific overrides keep the same cascade the inline block had. */

/* Hero */
.hero{
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 15% 10%, rgba(233,169,35,.14), rgba(233,169,35,0) 62%),
    linear-gradient(180deg, rgba(14,59,46,.10), rgba(14,59,46,.02)),
    url("../../assets/textures/tx_topo-hudson-lines_tile.svg");
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: cover, cover, 760px 760px;
  border-bottom: 1px solid rgba(14,59,46,.10);
}
.hero-inner{ padding: 38px 0 18px; }
.kicker{
  font-family: var(--font-head);
  color: var(--hvb-green);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}
h1{
  margin: 8px 0 10px;
  font-family: var(--font-head);
  font-size: clamp(28px, 3.0vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.subhead{
  margin: 0;
  color: var(--hvb-slate);
  max-width: 92ch;
  font-size: 16px;
}
.hero-actions{
  display:flex; gap: 10px; flex-wrap: wrap;
  margin-top: 14px;
}

/* Content */
/* No top padding: the .full-bleed hero must sit flush under the nav. Vertical
   rhythm below the hero is handled by the margin rules in biosolids.css. */
main{ padding: 0 0 64px; }
.grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
  align-items: start;
}
@media (max-width: 980px){
  .grid{ grid-template-columns: 1fr; }
}

.card{
  background: var(--hvb-paper);
  border: 1px solid rgba(14,59,46,.10);
  border-radius: var(--radius-card);
  padding: 16px;
  box-shadow: var(--shadow-1);
}
.card h2{
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 18px;
  letter-spacing: -0.01em;
}
.card h3{
  margin: 14px 0 6px;
  font-family: var(--font-head);
  font-size: 16px;
  letter-spacing: -0.01em;
}
.card p{ margin: 0; color: var(--hvb-slate); }
.card ul{ margin: 10px 0 0; padding-left: 18px; color: var(--hvb-slate); }
.card li{ margin: 6px 0; }

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

/* Direct children only: the county links are styled as blocks, but the nested
   link inside the sidebar tip callout must stay a normal inline link. */
.toc > a{
  display:block;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(14,59,46,.10);
  background: rgba(255,255,255,.55);
  text-decoration: none;
  color: var(--hvb-black);
  margin-top: 8px;
}
.toc > a:hover{ background: rgba(31,111,98,.08); }
.toc > a.active{
  background: rgba(14,59,46,.10);
  border-color: rgba(14,59,46,.18);
  font-weight: 900;
  color: var(--hvb-green);
}

.callout{
  border-left: 4px solid rgba(233,169,35,.65);
  background: rgba(233,169,35,.10);
  padding: 12px 12px;
  border-radius: 12px;
  margin-top: 12px;
  color: var(--hvb-slate);
}

.figure{
  border: 1px solid rgba(14,59,46,.10);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.55);
}
/* height:auto lets the diagram scale by its real aspect ratio — without it the
   img keeps the fixed height="540" attribute while width goes to 100%, which
   stretched the flow charts on every county page. */
.figure img{ width: 100%; height: auto; display: block; }

/* The whole figure is a lightbox trigger (proposal-gallery.js). Reset the
   button chrome and signal the zoom affordance on hover. */
.figure__zoom{
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.figure__zoom img{ transition: transform .25s ease; }
.figure__zoom:hover img{ transform: scale(1.02); }
.figure__zoom:focus-visible{ outline: 3px solid var(--hvb-green); outline-offset: 2px; }

/* Analysis sections (What this suggests / Pilot implications / Policy hooks):
   divide them and give each a quiet uppercase eyebrow so the brief reads as
   distinct, scannable blocks rather than one wall of bullets. */
.county-brief .section-body{
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(14,59,46,.10);
}
.county-brief .section-body h2{
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--hvb-green);
  margin-bottom: 10px;
}
.county-brief .linklist{ list-style: none; padding-left: 0; margin-top: 4px; }
.county-brief .linklist li{
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px solid rgba(14,59,46,.07);
}
.county-brief .linklist li:last-child{ border-bottom: 0; }
.county-brief .linklist a{ font-weight: 600; }

.linkrow{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 12px; }

.pager{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 14px;
}
.pager a{ flex: 1; }
