/* Feeding America Texas — generated by sister-sites/build.js. Do not edit. */
:root { --state: #1e3a8a; --state-dark: #172e6e; }

/* Sister-site shared stylesheet.
   Derived from the feedam.org token system (src/styles/tokens.css).
   --brand   = family crimson (matches the provided logos)
   --state   = per-tenant secondary accent, injected inline per site
   NEVER orange anywhere in this file (homonym brand color). */

:root {
  --brand: #dc143c;
  --brand-dark: #b01030;
  --ink-950: #0f172a;
  --ink-700: #334155;
  --ink-500: #64748b;
  --ink-300: #cbd5e1;
  --ink-100: #f1f5f9;
  --ink-50: #f8fafc;
  --ok: #10b981;
  --warn: #f59e0b;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1080px;
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink-950); line-height: 1.65; background: #fff; font-size: 16px; }
img { max-width: 100%; height: auto; }
a { color: var(--state, #1e3a8a); }
a:hover { color: var(--brand-dark); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 16px; z-index: 100; }
.skip-link:focus { left: 0; }

/* ── Trust strip ── */
.trust-strip { background: var(--ink-50); border-bottom: 1px solid var(--ink-100); font-size: 12.5px; color: var(--ink-700); }
.trust-strip .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.trust-strip a { color: var(--ink-700); text-decoration: none; }
.trust-strip a:hover { text-decoration: underline; }
.trust-strip .sep { color: var(--ink-300); margin: 0 4px; }

/* ── Header ── */
.site-header { border-bottom: 1px solid var(--ink-100); background: #fff; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.logo-lockup { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-lockup img { height: 40px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.main-nav a { font-size: 14.5px; font-weight: 600; color: var(--ink-700); text-decoration: none; }
.main-nav a:hover { color: var(--brand); }
.btn { display: inline-block; font-weight: 700; font-size: 14.5px; padding: 9px 20px; border-radius: 6px; text-decoration: none; border: 0; cursor: pointer; }
.btn-brand { background: var(--brand); color: #fff !important; }
.btn-brand:hover { background: var(--brand-dark); color: #fff; }
.btn-state { background: var(--state); color: #fff !important; }
.btn-state:hover { background: var(--state-dark); }
.btn-outline { border: 2px solid var(--ink-300); color: var(--ink-950) !important; }

/* ── Hero ── */
.hero { text-align: center; padding: 56px 0 40px; }
.hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); line-height: 1.15; letter-spacing: -0.5px; }
.hero h1 .state-word { color: var(--state); }
.hero .sub { max-width: 620px; margin: 14px auto 0; color: var(--ink-700); font-size: 17px; }
.search-row { display: flex; gap: 8px; max-width: 540px; margin: 26px auto 0; }
.search-row input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; font-size: 16px; border: 2px solid var(--ink-300); border-radius: 6px; font-family: var(--font); }
.search-row input:focus { outline: none; border-color: var(--state); }
.search-row .btn { height: 48px; line-height: 30px; }
.city-chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.city-chips a { font-size: 13.5px; color: var(--ink-700); border: 1px solid var(--ink-300); border-radius: 999px; padding: 5px 14px; text-decoration: none; }
.city-chips a:hover { border-color: var(--state); color: var(--state); }

/* ── Stats ── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; padding: 8px 0 40px; }
.stat-card { background: var(--ink-50); border-radius: var(--radius); padding: 18px 20px; }
.stat-card .num { font-size: 28px; font-weight: 800; color: var(--state); line-height: 1.2; }
.stat-card .lbl { font-size: 13px; color: var(--ink-500); margin-top: 2px; }

/* ── Sections ── */
.section { padding: 40px 0; }
.section.alt { background: var(--ink-50); }
.section h2 { font-size: 1.6rem; margin-bottom: 18px; letter-spacing: -0.3px; }
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.card { background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius); padding: 20px 22px; }
.card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--ink-950); }
.card h3 .bar { display: inline-block; width: 22px; height: 4px; border-radius: 2px; background: var(--state); margin-right: 8px; vertical-align: middle; }
.card p { font-size: 14.5px; color: var(--ink-700); }

/* ── Donate band ── */
.donate-band { background: var(--brand); color: #fff; padding: 36px 0; }
.donate-band .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.donate-band h2 { font-size: 1.5rem; margin: 0 0 4px; }
.donate-band p { font-size: 14.5px; opacity: 0.92; max-width: 560px; }
.donate-band .btn { background: #fff; color: var(--brand) !important; white-space: nowrap; }

/* ── Parent attribution band ── */
.parent-band { background: var(--ink-950); color: #fff; padding: 14px 0; font-size: 13.5px; text-align: center; }
.parent-band a { color: #fda4af; text-decoration: underline; }

/* ── Footer ── */
.site-footer { background: var(--ink-50); border-top: 1px solid var(--ink-100); padding: 36px 0 28px; font-size: 14px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; margin-bottom: 28px; }
.footer-cols h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-500); margin-bottom: 10px; }
.footer-cols ul { list-style: none; }
.footer-cols li { margin-bottom: 7px; }
.footer-cols a { color: var(--ink-700); text-decoration: none; }
.footer-cols a:hover { color: var(--brand); text-decoration: underline; }
.footer-trust { border-top: 1px solid var(--ink-100); padding-top: 18px; color: var(--ink-500); font-size: 12.5px; line-height: 1.8; }
.footer-trust a { color: var(--ink-500); }

/* ── Prose pages (guides, legal, about) ── */
.prose { max-width: 760px; margin: 0 auto; padding: 44px 20px 64px; }
.prose h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1.2; margin-bottom: 10px; letter-spacing: -0.4px; }
.prose .lead { font-size: 17px; color: var(--ink-700); margin-bottom: 8px; }
.prose h2 { font-size: 1.35rem; margin: 30px 0 10px; }
.prose h3 { font-size: 1.1rem; margin: 22px 0 8px; }
.prose p { margin: 12px 0; }
.prose ul, .prose ol { margin: 12px 0 12px 24px; }
.prose li { margin: 6px 0; }
.prose .callout { background: var(--ink-50); border-left: 4px solid var(--state); padding: 14px 18px; margin: 18px 0; border-radius: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--ink-100); vertical-align: top; }
.prose th { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-500); }
.breadcrumbs { font-size: 13px; color: var(--ink-500); padding: 18px 0 0; }
.breadcrumbs a { color: var(--ink-500); }

/* ── Proof links (verifications) ── */
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 22px 0; }
.proof-card { border: 1px solid var(--ink-100); border-radius: var(--radius); padding: 18px 20px; text-decoration: none; display: block; }
.proof-card:hover { border-color: var(--state); }
.proof-card .src { font-weight: 700; color: var(--ink-950); display: block; }
.proof-card .what { font-size: 13.5px; color: var(--ink-700); }
.proof-card .go { font-size: 13px; color: var(--state); font-weight: 600; }

/* ── Finder ── */
.finder { max-width: 860px; margin: 0 auto; padding: 36px 20px 64px; }
.finder h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 8px; }
.finder .intro { color: var(--ink-700); margin-bottom: 20px; }
.finder-controls { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.finder-controls input[type="text"] { flex: 1; min-width: 220px; height: 48px; padding: 0 16px; font-size: 16px; border: 2px solid var(--ink-300); border-radius: 6px; font-family: var(--font); }
.finder-controls input:focus { outline: none; border-color: var(--state); }
.finder-controls select { height: 48px; padding: 0 12px; font-size: 15px; border: 2px solid var(--ink-300); border-radius: 6px; background: #fff; font-family: var(--font); }
.finder-status { font-size: 14px; color: var(--ink-500); margin: 10px 0; min-height: 22px; }
.finder-status.error { color: var(--brand-dark); }
.result-card { border: 1px solid var(--ink-100); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 12px; }
.result-card .top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.result-card h3 { font-size: 1.05rem; }
.result-card .dist { font-size: 13px; color: var(--ink-500); white-space: nowrap; }
.result-card .meta { font-size: 14px; color: var(--ink-700); margin-top: 4px; }
.result-card .row2 { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; font-size: 13.5px; align-items: center; }
.result-card .row2 a { font-weight: 600; }
.badge { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; letter-spacing: 0.02em; }
.badge.type { background: var(--ink-100); color: var(--ink-700); }
.badge.open { background: #d1fae5; color: #065f46; }
.badge.closed { background: var(--ink-100); color: var(--ink-500); }
.badge.unknown { background: #fef3c7; color: #92400e; }

@media (max-width: 640px) {
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 13.5px; }
  .hero { padding: 36px 0 28px; }
  .search-row { flex-direction: column; }
  .donate-band .container { flex-direction: column; align-items: flex-start; }
}
