/* Shared site styles. Stage 1 of the redesign (November 2026): header with the five-item menu, the navy title band,
   the site footer, and common tile treatment. This file loads after each page's own styles.
   Fonts and palette are unchanged: Montserrat for headings, Public Sans for text, navy and gold. */
:root{--site-max:1440px;--band:#0B1B44;--header:#0A1328;--gold:#FFB81C}

/* ---------- Header ---------- */
.site{background:var(--header);color:#fff}
.site .wrap{max-width:var(--site-max)}
.site nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px;padding-block:10px}
.site nav .links{display:flex;flex-wrap:nowrap;align-items:center;gap:2px;column-gap:2px;font-size:15.5px}
.site nav .links a.slk{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;border:0;border-radius:999px;color:#fff;font-weight:700;text-decoration:none;white-space:nowrap;box-shadow:none}
.site nav .links a.slk:hover{background:rgba(255,255,255,.13)}
.site nav .links a.slk[aria-current]{background:var(--gold);color:#0A1328;border:0;box-shadow:none;padding-left:16px}
.site nav .links a.slk:focus-visible,.menubtn:focus-visible{outline:3px solid #fff;outline-offset:2px}
@media (max-width:860px){
  .site nav .links{display:none;width:100%;flex-direction:column;align-items:stretch;gap:6px;padding:8px 0 12px}
  .site nav.open .links{display:flex}
  .site nav .links a.slk{border-radius:10px;padding:12px 14px;border:1px solid rgba(255,255,255,.2);font-size:16.5px}
  .site nav .links a.slk[aria-current]{border-color:var(--gold)}
  .menubtn{display:inline-flex;width:44px;padding:0;justify-content:center;margin-left:auto}
  .menubtn .mt{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}
@media (min-width:861px){.menubtn{display:none}}

/* ---------- Title band (no photograph) ---------- */
.phero{background:var(--band);background-image:none;min-height:0;display:block}
.phero:before,.phero:after{display:none}
.phero .pin{position:static;padding:40px 20px 36px}
.phero .pin>*{max-width:720px}
.phero h1{font-size:clamp(32px,4.2vw,50px);line-height:1.06;letter-spacing:-.02em;margin:8px 0 12px}
:root:root header.head.chead{background:var(--band);background-image:none}
:root:root header.head.chead:before,:root:root header.head.chead:after{display:none}
.phero .pin{width:100%;margin:0 auto;box-sizing:border-box}
.phero h1{color:#fff}
.phero .lede,.phero .mission,.phero .upd{color:#E3E9F5;margin:0}
.phero .crumb,.phero .crumb span{color:#C9D3E8}
.phero a{color:#fff;text-decoration:underline}

/* ---------- Tiles ---------- */
.card,.mcard,.hm-col{border-radius:14px}

/* ---------- Footer ---------- */
footer.sf .wrap{max-width:var(--site-max);padding-block:34px 22px}
footer.sf .ftop2{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,3fr);gap:28px 48px;align-items:start;padding-bottom:24px;border-bottom:1px solid rgba(255,255,255,.16)}
footer.sf .ftop2 .fbrand{font-size:18px;align-items:flex-start}
footer.sf .ftag2{margin:12px 0 0;max-width:38ch;color:#C3CAD8;font-size:14.5px;line-height:1.5}
footer.sf .fmap{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 28px}
footer.sf .fmap h2{font-family:var(--display);font-size:15px;font-weight:800;color:var(--gold);margin:0 0 10px;letter-spacing:0}
footer.sf .fmap ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
footer.sf .fmap a,footer.sf .fmap button{display:inline-flex;align-items:center;min-height:32px;padding:3px 0;color:#fff;font:inherit;font-size:14.5px;font-weight:600;text-decoration:none;background:none;border:0;cursor:pointer;text-align:left}
footer.sf .fmap a:hover,footer.sf .fmap button:hover{color:var(--gold);text-decoration:underline;text-underline-offset:3px}
footer.sf .fmap [aria-current]{color:var(--gold)}
footer.sf .fbot2{margin-top:16px}
@media (max-width:900px){footer.sf .ftop2{grid-template-columns:1fr}footer.sf .fmap{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:420px){footer.sf .fmap{grid-template-columns:1fr}}

/* ---------- Compare uses the full page width ---------- */
.cmpw{max-width:var(--site-max)}
.phero .pin.wide{max-width:var(--site-max)!important}

/* ---------- Home page: Split View (Stage 2) ---------- */
.hm2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);background:var(--header);color:#fff}
.hm2-l{display:flex;align-items:center}
.hm2-in{width:100%;padding:60px 48px 56px max(20px,calc((100vw - var(--site-max))/2 + 20px))}
.hm2 h1{font-family:var(--display);font-weight:800;font-size:clamp(36px,4.3vw,64px);line-height:1.03;letter-spacing:-.025em;margin:0;color:#fff;text-shadow:none}
.hm2 .hm-i{text-shadow:none;margin:18px 0 26px}
.hm2 .hm-s{max-width:640px}
.hm2-chips{list-style:none;display:flex;flex-wrap:wrap;gap:10px;padding:0;margin:24px 0 0}
.hm2-chips li{display:flex;align-items:baseline;gap:8px;border:1px solid rgba(255,255,255,.3);border-radius:999px;padding:8px 18px;color:#D5DBE8;font-size:15px}
.hm2-chips b{font-family:var(--display);font-weight:800;font-size:20px;color:#fff}
.hm2-chips li:first-child b{color:var(--gold)}
.hm2 .hm-cr2{margin:18px 0 0;font-size:14.5px;line-height:1.5;color:#C3CAD8;max-width:60ch}
.hm2 .hm-cr2 b,.hm2 .hm-cr2 a{color:#fff;font-weight:700}
.hm2 .hm-asof{border-top:0;padding-top:0;margin-top:8px}
.hm2-r{background:var(--mapbg,#DCE3F0);color:var(--fg);padding:26px 28px 22px;display:flex;flex-direction:column;justify-content:center;min-width:0}
.hm2-mt{margin:0 0 10px;font-family:var(--display);font-weight:700;font-size:19px;color:var(--fg);display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
.hm2-mt span{font-family:var(--body);font-weight:400;font-size:15px;color:var(--muted)}
.hm2-r .smgrid{padding-bottom:0;gap:0}
.hm2-r .smmap{background:transparent;padding:0}
.hm2-r .smrail,.hm2-r .smpanel{display:none!important}
.hm2-r .smleg{margin-top:10px}
.hm2-r .smleg .legend{background:transparent;box-shadow:none;border:0;padding:0}
.hm2-r .smleg .legend .lt,.hm2-r .smleg .legend .lcta,.hm2-r .smleg .legend p{display:none}
.hm2-body{padding-bottom:64px}
.hm2-band{padding:36px 0 0}
.hm2-bh{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 16px;margin:0 0 16px}
.hm2-bh h2{font-family:var(--display);font-weight:800;font-size:28px;margin:0;color:var(--fg)}
.hm2-bh a{font-weight:700;font-size:15px;color:var(--link);text-decoration:none}
.hm2-bh a:hover{text-decoration:underline}
.hm2-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.hm2-cards li{display:flex;gap:12px;align-items:flex-start;background:var(--surface);border:1px solid var(--rule);border-radius:14px;padding:18px;font-size:15px;line-height:1.4;color:var(--fg);min-width:0}
.hm2-cards li>span:last-child{min-width:0}
.hm2-cards li a{color:var(--fg);font-weight:700;text-decoration:none}
.hm2-cards li a:hover{text-decoration:underline}
.hm2-cards li em{display:block;font-style:normal;font-size:13.5px;color:var(--muted);margin:2px 0 4px}
.hm2-cards .hm-t{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
#hch.hm2-cards li{flex-direction:column;gap:6px}
#hch.hm2-cards .hm-t{-webkit-line-clamp:6}
.hm2-cards li.hm-empty{grid-column:1/-1;background:transparent;border:0;padding:0;color:var(--muted)}
.hm2-go{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding-top:40px}
.hm2-go a{display:flex;flex-direction:column;justify-content:flex-end;gap:8px;min-height:150px;padding:22px 24px;border-radius:14px;border:1px solid var(--rule);text-decoration:none}
.hm2-go b{font-family:var(--display);font-weight:800;font-size:24px;letter-spacing:-.01em}
.hm2-go span{font-size:15.5px;line-height:1.45}
.hm2-go a:hover b{text-decoration:underline}
.hm2-go a:focus-visible{outline:3px solid #C2410C;outline-offset:3px}
.hm2-go .g1{background:var(--band);border-color:var(--band);color:#fff}.hm2-go .g1 span{color:#D5DBE8}
.hm2-go .g2{background:var(--gold);border-color:var(--gold);color:#0A1328}
.hm2-go .g3{background:var(--surface);color:var(--fg)}
@media (max-width:980px){
  .hm2{grid-template-columns:1fr}
  .hm2-in{padding:36px 20px 30px}
  .hm2-r{padding:18px 14px 16px}
  .hm2-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .hm2-cards,.hm2-go{grid-template-columns:1fr}
  .hm2-cards li:nth-child(n+4):not(.hm-empty){display:none}
  .hm2-go a{min-height:0}
}
.hm2-r .smwrap{display:block}
.hm2-r .smmap{box-shadow:none;border:0;border-radius:0}
.hm2-r .smleg{display:block;width:100%;margin-top:14px}
.hm2-r .smleg .legend{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;width:100%}
.hm2-r .smleg .legend.mu{display:none}
.hm2-r .smmap.munis .smleg .legend.mu{display:flex}
.hm2-r .smmap.munis .smleg .legend.st{display:none}
.hm2-r .smleg .legend>b{flex-basis:100%;font-size:14.5px}
.hm2-r .smleg .legend ul{display:flex;flex-wrap:wrap;gap:6px 16px;margin:0;padding:0;font-size:13.5px}
.hm2-r .smleg .legend a.lcmp{min-height:36px;padding:6px 14px;font-size:14px}

/* ---------- Carousel and Neighboring Counties (11/16/2026) ---------- */
/* Carousel component (preview, November 2026). A row of tiles that scrolls sideways with arrow buttons, position marks, swipe, and keyboard.
   It never moves on its own. Fonts and palette come from the page. */
.crs{position:relative;margin-top:14px;min-width:0;max-width:100%}
.crs-track{list-style:none;margin:0;padding:4px;display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;-webkit-overflow-scrolling:touch;align-items:stretch}
.crs-track::-webkit-scrollbar{display:none}
.crs-track>*{flex:0 0 calc((100% - (var(--per,3) - 1)*16px)/var(--per,3));min-width:0;scroll-snap-align:start;box-sizing:border-box;position:relative}
.crs-track:focus-visible{outline:3px solid var(--focus,#C2410C);outline-offset:2px;border-radius:14px}
.crs-ctl{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;margin-top:14px}
.crs-dots{grid-column:2;display:flex;flex-wrap:wrap;justify-content:center;gap:2px;padding:4px 10px;border-radius:999px;background:var(--surface-2,#EEF2F9);border:1px solid var(--rule,#CBD5E6)}
.crs-dots button{display:inline-flex;align-items:center;justify-content:center;width:26px;height:32px;padding:0;border:0;background:none;cursor:pointer;color:var(--muted,#4A587A);border-radius:8px}
.crs-dots button i{display:block;width:8px;height:8px;border-radius:50%;background:currentColor;opacity:.4}
.crs-dots button[aria-current="true"] i{opacity:1;background:var(--fg,#0D1E45);transform:scale(1.25)}
.crs-dots button svg{width:20px;height:20px;opacity:.45}
.crs-dots button[aria-current="true"] svg{opacity:1}
.crs-dots button[aria-current="true"]{background:var(--surface,#fff)}
.crs-dots button:focus-visible,.crs-arrows button:focus-visible{outline:3px solid var(--focus,#C2410C);outline-offset:1px}
.crs-arrows{grid-column:3;justify-self:end;display:flex;gap:8px}
.crs-arrows button{width:44px;height:44px;border-radius:10px;border:1px solid var(--rule,#CBD5E6);background:var(--surface,#fff);color:var(--fg,#0D1E45);cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.crs-arrows button[disabled]{opacity:.35;cursor:default}
.crs-arrows svg{width:20px;height:20px}
.crs-fit .crs-ctl{display:none}
.crs-count{grid-column:1;font-size:14px;color:var(--muted,#4A587A)}
@media (max-width:980px){.crs-track>*{flex-basis:calc((100% - 16px)/2)}}
@media (max-width:640px){.crs-track{gap:12px}.crs-track>*{flex-basis:86%}.crs-ctl{grid-template-columns:1fr auto}.crs-count{display:none}.crs-dots{grid-column:1;justify-self:start;flex-wrap:nowrap;padding:4px 6px;gap:0}.crs-dots button{width:20px}.crs-dots button svg{width:16px;height:16px}.crs-arrows{grid-column:2}}
@media (prefers-reduced-motion:reduce){.crs-track{scroll-behavior:auto}}

/* --- 5. Neighboring counties as photo tiles --- */
.cnb .lead{margin:6px 0 0;color:var(--muted);max-width:70ch}
.cnb .crs-track>li{display:flex}
.cnb a.nbt{display:flex;flex-direction:column;width:100%;border:1px solid var(--rule);border-radius:14px;overflow:hidden;background:var(--surface);color:var(--fg);text-decoration:none}
.cnb a.nbt img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:#0B1B44}
.cnb a.nbt .nbb{display:flex;flex-direction:column;gap:6px;padding:16px 18px 18px}
.cnb a.nbt b{font-family:var(--display);font-weight:800;font-size:20px}
.cnb a.nbt span{font-size:14.5px;line-height:1.45;color:var(--muted)}
.cnb a.nbt .nbs{display:flex;align-items:center;gap:8px;color:var(--fg);font-weight:700}
.cnb a.nbt .bar{display:block;height:8px;border-radius:99px;background:var(--surface-2);overflow:hidden;border:1px solid var(--rule)}
.cnb a.nbt .bar i{display:block;height:100%;background:#0B2A6B}
:root[data-theme="dark"] .cnb a.nbt .bar i{background:#7FA4F5}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .cnb a.nbt .bar i{background:#7FA4F5}}
.cnb a.nbt:hover b{text-decoration:underline}
.cnb a.nbt:focus-visible{outline:3px solid var(--focus,#C2410C);outline-offset:3px}
.cnb h3{margin:0}

/* ---------- Section bands and tabs (site structure of 11/16/2026) ---------- */
.phero.sband .pin{padding:26px 20px 0}
.phero.sband .pin>*{max-width:none}
.phero.sband .sec-t{font-family:var(--display);font-weight:800;color:#fff;font-size:clamp(30px,3.8vw,44px);line-height:1.08;letter-spacing:-.02em;margin:6px 0 8px}
.phero.sband .lede{max-width:70ch;color:#E3E9F5;font-size:17px;margin:0}
.stabs{display:flex;gap:4px;margin:22px -8px 0;padding:0 8px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.stabs::-webkit-scrollbar{display:none}
.phero .stabs a{flex:0 0 auto;display:inline-flex;align-items:center;min-height:48px;padding:10px 18px;border-radius:12px 12px 0 0;color:#E3E9F5;font-weight:700;font-size:16px;text-decoration:none;white-space:nowrap}
.phero .stabs a:hover{background:rgba(255,255,255,.1);color:#fff}
.phero .stabs a[aria-current]{background:var(--bg,#F4F6FB);color:var(--fg,#0D1E45);box-shadow:inset 0 3px 0 var(--gold,#FFB81C)}
.phero .stabs a:focus-visible{outline:3px solid #fff;outline-offset:-3px}
.tabhead h1.vh1{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tabhead{margin:0 auto;padding:26px 20px 0;box-sizing:border-box}
.tabhead h1,.tabhead h2.mh{font-family:var(--display);font-weight:800;color:var(--fg,#0D1E45);font-size:clamp(26px,2.8vw,34px);line-height:1.12;letter-spacing:-.015em;margin:0 0 8px}
.tabhead .lede,.tabhead .mission,.tabhead .upd{color:var(--muted,#4A587A);font-size:17px;line-height:1.55;max-width:75ch;margin:0}
.tabhead a{color:var(--link,#1D4ED8)}
.ssub{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 18px}
.ssub a{display:inline-flex;align-items:center;min-height:40px;padding:6px 16px;border-radius:999px;border:1px solid var(--rule,#CBD5E6);background:var(--surface,#fff);color:var(--fg,#0D1E45);font-weight:700;font-size:15px;text-decoration:none}
.ssub a:hover{border-color:var(--fg,#0D1E45)}
.ssub a[aria-current]{background:#0B1B44;border-color:#0B1B44;color:#fff}
.ssub a:focus-visible{outline:3px solid var(--focus,#C2410C);outline-offset:2px}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .ssub a[aria-current]{background:#FFB81C;border-color:#FFB81C;color:#0A1328}}
:root[data-theme="dark"] .ssub a[aria-current]{background:#FFB81C;border-color:#FFB81C;color:#0A1328}
.merged{margin-top:56px;padding-top:8px;border-top:1px solid var(--rule,#CBD5E6);scroll-margin-top:16px}
.merged .mergedhead{max-width:1100px;padding-top:30px}
.sec.moved{margin-top:40px}
.kgrid.pkgs{margin-top:8px}
/* "Beyond Your Town", moved from the kit to Resources */
.byt .klede{color:var(--muted,#4A587A);max-width:75ch}
.byt .kgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}
.byt .kcard{border:1px solid var(--rule,#CBD5E6);border-radius:14px;background:var(--surface,#fff);padding:18px 20px;margin-top:16px}
.byt .kgrid .kcard{margin-top:0}
.byt .kcard h3{font-family:var(--display);font-size:18px;margin:0 0 6px}
.byt .kcard p{margin:0 0 8px}
@media (max-width:760px){.byt .kgrid{grid-template-columns:1fr}.phero .stabs a{padding:10px 14px;font-size:15.5px}}
.kcard[hidden]{display:none}
.tabhead .tabdesc{margin:0 0 14px}
.tabhead .tabdesc+h1{margin-top:4px}
