:root {
  color-scheme: light;
  --ink: #14201c;
  --muted: #64706b;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #dfe4dc;
  --green: #1f7a4f;
  --green-dark: #15583a;
  --blue: #245f8f;
  --orange: #f59e0b;
  --amber: #b26b22;
  --wash: #edf5ef;
  --shadow: 0 12px 28px rgba(20, 32, 28, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: var(--green-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  border-radius: 6px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
}

nav a {
  text-decoration: none;
  font-weight: 700;
}

.secondary-nav {
  flex-basis: 100%;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 12px;
}

.secondary-nav a {
  color: var(--muted);
}

main {
  width: min(1180px, calc(100vw - 28px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.7fr);
  gap: 28px;
  padding: clamp(38px, 7vw, 86px) 0 30px;
}

.eyebrow,
.section-heading p,
.quick-counties p {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-intro {
  max-width: 680px;
  color: #34433d;
  font-size: 19px;
}

.hero-panel {
  align-self: end;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.home-search {
  display: grid;
  gap: 8px;
  max-width: 720px;
  margin-top: 22px;
}

.home-search label {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-search > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  border-radius: 8px;
}

.home-search input,
.filter-search input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #b7cfc1;
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
}

.home-search button {
  min-width: 140px;
}

.stat-big {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.stat-big strong {
  display: block;
  font-size: 52px;
  line-height: 1;
}

.stat-big span,
.stat-grid span {
  color: var(--muted);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.stat-grid div {
  padding: 12px;
  background: var(--wash);
  border-radius: 6px;
}

.stat-grid strong,
.stat-grid span {
  display: block;
}

.resource-hubs {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: start;
  margin: 4px 0 22px;
  padding: 24px;
  background: #f1f5f7;
  border: 1px solid #d7e0e4;
  border-radius: 8px;
}

.resource-hubs h2 {
  margin-bottom: 0;
  font-size: clamp(25px, 3vw, 40px);
  line-height: 1.1;
}

.page-hero {
  padding: clamp(36px, 6vw, 74px) 0 26px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 760px;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: #34433d;
  font-size: 19px;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 8px 0 42px;
}

.hub-card {
  min-height: 190px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(20, 32, 28, 0.05);
}

.hub-card strong {
  display: block;
  margin-bottom: 24px;
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
}

.hub-card h3 {
  margin-bottom: 8px;
}

.hub-card p {
  color: #43504b;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.resource-grid.standalone {
  margin: 28px 0;
}

.resource-card {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.resource-card h3 {
  margin-bottom: 8px;
}

.resource-card p {
  color: #43504b;
  font-size: 14px;
}

.resource-card a {
  display: inline-block;
  padding: 8px 10px;
  background: #143322;
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.forms-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 24px 0 34px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--amber);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(20, 32, 28, 0.05);
}

.source-warning {
  border-color: #f59e0b;
  background: #fffbeb;
}

.forms-intro strong {
  display: block;
  margin-bottom: 5px;
}

.forms-intro p {
  max-width: 760px;
  margin: 0;
  color: #43504b;
}

.forms-intro a {
  flex: 0 0 auto;
  padding: 10px 12px;
  background: var(--blue);
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.forms-group {
  margin: 0 0 40px;
  padding-top: 6px;
}

.forms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.form-card {
  display: flex;
  min-width: 0;
  min-height: 292px;
  flex-direction: column;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(20, 32, 28, 0.04);
}

.form-card-top span {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 7px;
  background: var(--wash);
  color: var(--green-dark);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.form-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.25;
}

.form-card p {
  margin: 0 0 12px;
  color: #43504b;
  font-size: 14px;
}

.form-card dl {
  display: grid;
  gap: 8px;
  margin: auto 0 14px;
}

.form-card dl div {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.form-card dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.form-card dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 13px;
}

.form-card a {
  display: inline-block;
  align-self: flex-start;
  padding: 8px 10px;
  background: #143322;
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.hs-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.55fr);
  gap: 24px;
  align-items: stretch;
  padding: clamp(34px, 6vw, 76px) 0 26px;
}

.hs-hero h1 {
  max-width: 920px;
  margin: 0 0 14px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
}

.hs-hero p:not(.eyebrow) {
  max-width: 760px;
  color: #34433d;
  font-size: 19px;
}

.hs-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  max-width: 760px;
  margin-top: 22px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid #f07a22;
  border-radius: 8px;
}

.hs-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.hs-search input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  color: var(--ink);
  font: inherit;
}

.hs-search button,
.hs-ad-strip a {
  min-height: 44px;
  padding: 0 14px;
  background: #122943;
  color: #fff;
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.hs-hero-panel {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  background: #122943;
  color: #fff;
  border-radius: 8px;
}

.hs-hero-panel strong {
  display: block;
  color: #f7a33a;
  font-size: 76px;
  line-height: 0.95;
}

.hs-hero-panel span {
  max-width: 260px;
  color: #d8e2ea;
  font-weight: 700;
}

.hs-hero-panel a {
  align-self: flex-start;
  padding: 10px 12px;
  background: #fff;
  color: #122943;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.hs-quick-grid,
.hs-template-grid,
.hs-training-grid,
.hs-health-grid,
.hs-risk-grid {
  display: grid;
  gap: 12px;
}

.hs-quick-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0 0 40px;
}

.hs-quick-card,
.hs-risk-card {
  min-width: 0;
  padding: 15px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(20, 32, 28, 0.04);
}

.hs-quick-card span,
.hs-health-card span,
.hs-template-card span {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 7px;
  background: #fff3df;
  color: #8b450d;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.hs-quick-card h3,
.hs-role-card h3,
.hs-form-card h3,
.hs-template-card h3,
.hs-training-card h3,
.hs-health-card h3,
.hs-risk-card h3 {
  margin: 0 0 8px;
  line-height: 1.2;
}

.hs-quick-card p,
.hs-role-card p,
.hs-form-card p,
.hs-template-card p,
.hs-training-card p,
.hs-health-card p,
.hs-risk-card p,
.hs-provider-strip p {
  margin: 0;
  color: #43504b;
  font-size: 14px;
}

.hs-section {
  padding: 36px 0 22px;
  border-top: 1px solid var(--line);
}

.hs-role-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.hs-role-card,
.hs-template-card,
.hs-training-card,
.hs-health-card {
  min-width: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

a.hs-template-card {
  color: var(--ink);
  text-decoration: none;
}

.hs-download-gate {
  color: var(--ink);
}

.hs-download-gate form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.hs-download-gate input[type="email"] {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  font: inherit;
}

.hs-download-gate button {
  border: 0;
  border-radius: 6px;
  padding: 11px 12px;
  background: var(--orange);
  color: #281100;
  font-weight: 900;
  cursor: pointer;
}

.consent-line {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.privacy-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.legal-copy {
  display: grid;
  gap: 12px;
}

.resource-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: #43504b;
  line-height: 1.55;
}

.howto-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.howto-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #34433d;
}

.howto-list span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.calculator-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 18px;
  margin: 22px 30px;
}

.calculator-form,
.calculator-result {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.calculator-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.calculator-form input,
.calculator-form select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--ink);
  font: inherit;
}

.calculator-result {
  align-content: start;
  border-left: 5px solid var(--orange);
}

.calculator-result strong {
  display: block;
  color: var(--green-dark);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.calculator-result span {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}

.removal-form {
  display: grid;
  gap: 12px;
  max-width: 780px;
}

.removal-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.removal-form input,
.removal-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}

.removal-form button {
  justify-self: start;
  border: 0;
  border-radius: 6px;
  padding: 11px 14px;
  background: var(--orange);
  color: #281100;
  font-weight: 900;
  cursor: pointer;
}

.button-link {
  display: inline-block;
  padding: 11px 14px;
  border-radius: 6px;
  background: var(--orange);
  color: #281100;
  font-weight: 900;
  text-decoration: none;
}

.hs-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hs-form-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hs-form-card > strong {
  display: grid;
  place-items: center;
  min-height: 50px;
  background: #122943;
  color: #fff;
  border-radius: 6px;
  font-family: "Courier New", Courier, monospace;
  font-size: 18px;
}

.hs-form-card a {
  padding: 8px 10px;
  background: #143322;
  color: #fff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.hs-template-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hs-template-card small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 800;
}

.hs-training-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hs-training-card dl {
  display: grid;
  gap: 6px;
  margin: 14px 0 0;
}

.hs-training-card dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.hs-training-card dd {
  margin: 0;
  font-size: 13px;
}

.hs-health-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hs-health-card span {
  background: #f5e8e6;
  color: #8b1e14;
}

.hs-provider-strip,
.hs-ad-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 28px 0;
  padding: 22px;
  background: #e8efe9;
  border: 1px solid #d3dfd6;
  border-radius: 8px;
}

.hs-provider-strip h2 {
  margin: 0 0 8px;
}

.hs-provider-strip select {
  min-width: 220px;
  min-height: 44px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
}

.hs-risk-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hs-ad-strip {
  background: #122943;
  color: #fff;
  border-color: #122943;
}

.hs-ad-strip strong,
.hs-ad-strip span {
  display: block;
}

.hs-ad-strip span {
  max-width: 760px;
  color: #d8e2ea;
}

.hs-ad-strip a {
  display: inline-grid;
  place-items: center;
  background: #f7a33a;
  color: #122943;
}

.ad-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 20px;
  padding: 16px 18px;
  background: #fff6e8;
  border: 1px solid #e8c98f;
  border-radius: 8px;
}

.ad-strip strong,
.ad-strip span {
  display: block;
}

.ad-strip span {
  color: #68553b;
  font-size: 14px;
}

.ad-strip a {
  flex: 0 0 auto;
  padding: 10px 14px;
  background: var(--blue);
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  align-items: end;
  margin: 20px 0;
  padding: 16px;
  background: #10241b;
  border-radius: 8px;
}

.filter-search {
  grid-column: span 2;
}

.filters label {
  display: block;
  margin-bottom: 6px;
  color: #c9dfd3;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

select,
button {
  width: 100%;
  min-height: 42px;
  border: 1px solid #b7cfc1;
  border-radius: 6px;
  font: inherit;
}

select {
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
}

.filter-status {
  min-height: 42px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: #fff;
}

.filter-status strong,
.filter-status span {
  display: block;
}

.filter-status strong {
  font-size: 18px;
  line-height: 1;
}

.filter-status span {
  color: #c9dfd3;
  font-size: 12px;
}

button {
  padding: 0 14px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.opportunity-grid {
  padding: 18px 0 8px;
}

.opportunity-grid > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.opportunity-card {
  min-height: 78px;
  padding: 12px;
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  text-align: left;
}

.opportunity-card strong,
.opportunity-card span {
  display: block;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
}

.pagination a,
.pagination strong,
.pagination span {
  min-width: 38px;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.pagination strong {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.hot-link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hot-link-list li {
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hot-link-list a,
.hot-link-list span {
  display: block;
}

.hot-link-list a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.hot-link-list span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.opportunity-card strong {
  color: var(--blue);
  font-size: 26px;
  line-height: 1;
}

.opportunity-card span {
  margin-top: 6px;
  color: #36423e;
  font-size: 13px;
}

.quick-counties {
  padding: 18px 0 8px;
}

.quick-counties div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  width: auto;
  min-height: 36px;
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.filter-pill span {
  margin-left: 6px;
  color: var(--green-dark);
}

.province-breakdown {
  margin: 24px 0 34px;
}

.province-note {
  max-width: 760px;
  margin: -8px 0 18px;
  color: #43504b;
}

.province-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.province-card {
  min-width: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(20, 32, 28, 0.04);
}

.province-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 12px;
  background: #e8efe9;
  color: var(--ink);
  border-color: #d3dfd6;
  text-align: left;
}

.province-button span {
  font-size: 18px;
  font-weight: 800;
}

.province-button strong {
  color: var(--blue);
  font-size: 24px;
  line-height: 1;
}

.county-chip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.county-chip {
  display: flex;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 9px;
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  text-align: left;
}

.county-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.county-chip strong {
  color: var(--green-dark);
  font-size: 13px;
}

.county-chip.is-active,
.province-button.is-active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.county-chip.is-active strong,
.province-button.is-active strong {
  color: #fff;
}

.snapshot {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px);
  gap: 24px;
  align-items: start;
  margin: 24px 0 38px;
  padding: 26px;
  background: #e8efe9;
  border: 1px solid #d3dfd6;
  border-radius: 8px;
}

.snapshot h2 {
  max-width: 540px;
  font-size: 34px;
  line-height: 1.1;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}

th,
td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.province-row td {
  background: #f2f5f1;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.report-section {
  padding: 34px 0 24px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1.08;
}

.section-count {
  flex: 0 0 auto;
  padding: 7px 10px;
  background: var(--wash);
  color: var(--green-dark);
  border: 1px solid #c8dbc9;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.lead-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lead-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(20, 32, 28, 0.05);
}

.commencement-card {
  border-left-color: var(--amber);
}

.lead-card[hidden] {
  display: none;
}

.lead-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.lead-meta {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.lead-card h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.18;
}

.lead-card h3 a {
  color: inherit;
  text-decoration: none;
}

.lead-card h3 a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

.lead-desc {
  color: #34433d;
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
}

.lead-grid div {
  padding: 10px;
  background: #f7f8f5;
  border-radius: 6px;
}

dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 2px 0 0;
  font-weight: 700;
}

.chip-row,
.trade-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.chip-row span,
.trade-row span {
  padding: 4px 8px;
  background: #eef4ef;
  border: 1px solid #dae8dd;
  border-radius: 999px;
  color: #234a36;
  font-size: 12px;
  font-weight: 700;
}

.trade-row {
  color: var(--muted);
  font-size: 13px;
}

.lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.lead-actions a,
.lead-actions span {
  padding: 7px 10px;
  background: #143322;
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.lead-actions .muted {
  background: #eef1ed;
  color: var(--muted);
}

.lead-detail-hero {
  padding: clamp(34px, 6vw, 76px) 0 24px;
  border-bottom: 1px solid var(--line);
}

.lead-detail-hero h1 {
  max-width: 960px;
  font-size: clamp(34px, 4.4vw, 58px);
}

.lead-detail-hero p:not(.eyebrow) {
  max-width: 860px;
  color: #34433d;
  font-size: 18px;
}

.lead-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 20px;
  margin: 26px 0 38px;
}

.lead-detail-main,
.lead-detail-panel {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lead-detail-main h2 {
  margin-bottom: 10px;
}

.map-frame {
  min-height: 340px;
  overflow: hidden;
  background: #edf1ec;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
}

.coming-soon,
.empty {
  padding: 24px;
  background: #fff8ec;
  border: 1px solid #f1d7ad;
  border-radius: 8px;
}

.job-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.signal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.job-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: 8px;
}

.signal-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  border-radius: 8px;
}

.job-card p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.job-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.signal-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.job-card span {
  color: var(--muted);
  font-size: 13px;
}

.signal-card span,
.signal-card div {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.job-card a {
  align-self: flex-start;
  padding: 8px 10px;
  background: var(--blue);
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.signal-card a {
  align-self: flex-start;
  margin-top: auto;
  padding: 8px 10px;
  background: var(--orange);
  color: #281100;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

footer {
  width: min(1180px, calc(100vw - 28px));
  margin: 36px auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 880px) {
  .site-header,
  .section-heading,
  .lead-topline,
  .ad-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .snapshot,
  .lead-list,
  .lead-detail-layout,
  .calculator-panel,
  .hot-link-list,
  .job-list,
  .signal-list,
  .hub-grid,
  .resource-hubs,
  .resource-grid,
  .forms-grid,
  .filters,
  .province-grid,
  .hs-hero,
  .hs-quick-grid,
  .hs-role-grid,
  .hs-form-grid,
  .hs-template-grid,
  .hs-training-grid,
  .hs-health-grid,
  .hs-risk-grid,
  .opportunity-grid > div {
    grid-template-columns: 1fr;
  }

  .hs-search,
  .home-search > div,
  .hs-form-card {
    grid-template-columns: 1fr;
  }

  .filter-search {
    grid-column: auto;
  }

  .hs-provider-strip,
  .hs-ad-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .hs-provider-strip select {
    width: 100%;
  }

  .county-chip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .forms-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .lead-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  .site-header,
  .filters,
  .quick-counties,
  .lead-actions,
  script {
    display: none !important;
  }

  body {
    background: #fff;
  }

  main,
  footer {
    width: auto;
  }

  .hero,
  .snapshot,
  .lead-list {
    grid-template-columns: 1fr;
  }

  .lead-card {
    box-shadow: none;
    break-inside: avoid;
  }
}
