:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --ink: #1c2b2d;
  --muted: #5d6b6d;
  --accent: #1f7a6f;
  --accent-dark: #155e55;
  --donate: #c45b21;
  --donate-soft: #fbeee6;
  --volunteer: #1f7a6f;
  --volunteer-soft: #e6f3f0;
  --learn: #3a5a8c;
  --learn-soft: #eaf0f8;
  --line: #e3e0d8;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  --maxw: 1040px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.disclaimer {
  background: #2b3b3d;
  color: #e8efee;
  font-size: 0.82rem;
  text-align: center;
  padding: 8px 16px;
}
.disclaimer strong { color: #fff; }

header.site { background: var(--surface); border-bottom: 1px solid var(--line); }
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 16px;
  flex-wrap: wrap;
}
.brand { font-size: 1.35rem; font-weight: 700; text-decoration: none; color: var(--ink); }
.brand span { color: var(--accent); }
.brand small { display: block; font-size: 0.7rem; font-weight: 500; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }

.hero { padding: 48px 20px 16px; }
.hero h1 { font-family: var(--font-serif); font-size: 2.4rem; line-height: 1.12; margin: 0 0 12px; letter-spacing: -0.01em; }
.hero p { color: var(--muted); max-width: 62ch; margin: 0; font-size: 1.08rem; }
.hero .impact { margin-top: 16px; color: var(--accent-dark); font-weight: 600; font-size: 0.98rem; }

.lanes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 26px;
  padding-bottom: 8px;
}
.lane {
  text-align: left;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.08s ease, box-shadow 0.12s ease, border-color 0.12s ease;
  border-top: 4px solid var(--line);
}
.lane:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.lane:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.lane.active { border-color: var(--accent); box-shadow: var(--shadow); }
.lane-ic { display: inline-flex; }
.lane-t { font-size: 1.15rem; font-weight: 700; }
.lane-d { font-size: 0.9rem; color: var(--muted); }
.lane-donate { border-top-color: var(--donate); } .lane-donate .lane-ic { color: var(--donate); }
.lane-volunteer { border-top-color: var(--volunteer); } .lane-volunteer .lane-ic { color: var(--volunteer); }
.lane-learn { border-top-color: var(--learn); } .lane-learn .lane-ic { color: var(--learn); }

.spotlight-wrap { padding-top: 30px; }
.spotlight {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: center;
}
.spotlight .eyebrow { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); font-weight: 700; }
.spotlight h2 { font-family: var(--font-serif); font-size: 1.7rem; margin: 6px 0 4px; line-height: 1.15; }
.spotlight .city { color: var(--muted); font-size: 0.9rem; margin-bottom: 12px; }
.spotlight p.lede { margin: 0 0 18px; color: var(--ink); }
.spotlight .ctas { display: flex; gap: 8px; flex-wrap: wrap; }
.spotlight-stats { display: grid; gap: 12px; }
.spotlight-stats .bigstat { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: center; }
.spotlight-stats .v { font-size: 1.7rem; font-weight: 800; color: var(--accent-dark); }
.spotlight-stats .l { font-size: 0.8rem; color: var(--muted); }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 44px 0 6px; }
.section-head h2 { font-family: var(--font-serif); font-size: 1.6rem; margin: 0; }
.section-sub { color: var(--muted); font-size: 0.92rem; margin: 4px 0 0; }

.controls { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 14px 0 8px; }
.controls input[type="search"] {
  flex: 1 1 240px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 1rem;
  background: var(--surface);
}
.controls select {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.95rem;
  background: var(--surface);
}
.reset {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--accent-dark);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 0.9rem;
  cursor: pointer;
}
.count { color: var(--muted); font-size: 0.88rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; padding: 14px 0 10px; }
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--accent-strip, var(--accent));
  transition: transform 0.08s ease, box-shadow 0.12s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.09); }
.card .cat { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); font-weight: 700; }
.card h2 { font-size: 1.2rem; margin: 6px 0 2px; }
.card h2 a { text-decoration: none; color: var(--ink); }
.card h2 a::after { content: ""; position: absolute; inset: 0; }
.card .city { color: var(--muted); font-size: 0.85rem; margin-bottom: 10px; }
.card .tagline { margin: 0 0 14px; }
.statline { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.stat .v { font-size: 1.15rem; font-weight: 700; color: var(--accent-dark); }
.stat .l { font-size: 0.72rem; color: var(--muted); display: block; max-width: 16ch; }
.ctas { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.btn {
  position: relative;
  z-index: 1;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 10px;
  color: #fff;
  flex: 1 1 auto;
  text-align: center;
}
.btn.donate { background: var(--donate); }
.btn.volunteer { background: var(--volunteer); }
.btn.learn { background: var(--learn); }
.btn.ghost { background: transparent; color: var(--accent-dark); border: 1px solid var(--line); }

.resource-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; padding: 14px 0 40px; }
.resource-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.12s ease;
}
.resource-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.09); }
.resource-card .rc-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.resource-card .fmt {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 6px; color: #fff;
}
.fmt.pdf { background: #b3402b; }
.fmt.html { background: var(--learn); }
.resource-card .rc-type { font-size: 0.74rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.resource-card h3 { margin: 0 0 8px; font-size: 1.08rem; line-height: 1.25; }
.resource-card h3 .rc-title { color: inherit; text-decoration: none; }
.resource-card:hover h3 .rc-title { text-decoration: underline; }
.resource-card p { margin: 0 0 14px; font-size: 0.9rem; color: var(--muted); }
.resource-card .rc-foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.resource-card .rc-open { font-size: 0.85rem; font-weight: 700; color: var(--accent-dark); }
.resource-card .rc-pdf {
  font-size: 0.78rem; font-weight: 700; text-decoration: none;
  color: #b3402b; border: 1px solid #b3402b; border-radius: 6px;
  padding: 3px 9px; white-space: nowrap; transition: background 0.1s ease, color 0.1s ease;
}
.resource-card .rc-pdf:hover { background: #b3402b; color: #fff; }

.detail { padding: 32px 0 56px; }
.back { font-size: 0.9rem; text-decoration: none; }
.detail h1 { font-family: var(--font-serif); font-size: 2.1rem; margin: 14px 0 2px; }
.detail .city { color: var(--muted); margin-bottom: 18px; }
.detail .lede { font-size: 1.1rem; max-width: 65ch; }
.bigstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 24px 0; }
.bigstat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.bigstat .v { font-size: 1.7rem; font-weight: 800; color: var(--accent-dark); }
.bigstat .l { font-size: 0.82rem; color: var(--muted); }
.actions-block { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 26px 0; }
.action-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--surface); }
.action-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.action-card p { font-size: 0.92rem; color: var(--muted); margin: 0 0 14px; }
.programs li { margin-bottom: 6px; }
.sources { font-size: 0.82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 30px; }

.sticky-actions {
  position: sticky;
  bottom: 0;
  display: none;
  gap: 8px;
  padding: 10px;
  background: rgba(255,255,255,0.96);
  border-top: 1px solid var(--line);
  margin: 0 -20px -56px;
}
.sticky-actions .btn { flex: 1 1 0; }

footer.site { background: #2b3b3d; color: #c9d4d3; font-size: 0.85rem; padding: 26px 0; }
footer.site a { color: #fff; }
footer.site .as-of { color: #91a3a2; margin-top: 6px; }
footer.site .contact { margin-top: 8px; }

.empty { padding: 40px; text-align: center; color: var(--muted); }

@media (max-width: 760px) {
  .hero h1 { font-size: 1.9rem; }
  .lanes { grid-template-columns: 1fr; }
  .spotlight { grid-template-columns: 1fr; gap: 18px; }
  .sticky-actions { display: flex; }
}

/* ---------- Recent News (two columns: local | national) ---------- */
.news-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 14px 0 40px; }
.news-col {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px 18px; min-width: 0;
}
.news-col-head {
  margin: 0 0 10px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 8px;
}
.news-list { max-height: 430px; overflow-y: auto; padding-right: 4px; }
.news-topic { margin: 14px 0 6px; font-size: 0.95rem; color: var(--learn); font-family: var(--font-serif); }
.news-topic:first-child { margin-top: 0; }
.news-item {
  display: block; text-decoration: none; color: var(--ink);
  padding: 9px 11px; border-left: 3px solid var(--learn); margin-bottom: 6px;
  transition: background 0.1s ease;
}
.news-item:hover { background: var(--learn-soft); }
.news-title { display: block; font-size: 0.95rem; font-weight: 600; line-height: 1.3; }
.news-meta { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.news-note { display: block; font-size: 0.76rem; color: var(--muted); font-style: italic; margin-top: 2px; }
.news-empty { color: var(--muted); font-size: 0.9rem; }

@media (max-width: 720px) {
  .news-cols { grid-template-columns: 1fr; }
  .news-list { max-height: none; overflow-y: visible; }
}
