/* methadoneclinicsusa.com flat-site skin: "civic guide".
   Public-service signage + transit-map cues: white paper, near-black ink,
   one signage-blue accent, square corners, tabular figures, system fonts. */

:root {
  --ink: #0f1720;
  --paper: #ffffff;
  --panel: #f2f4f6;
  --rule: #cfd6dd;
  --muted: #46515c;
  --accent: #0b3d91;
  --accent-tint: #e7edf8;
  --accent-hover: #082d6b;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gap: 16px;
  --sticky-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 12px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  font-variant-numeric: tabular-nums;
  padding-bottom: var(--sticky-h);
}
img, svg, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gap); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header: a signage band with the route-color rule on top. */
.site-header { border-top: 6px solid var(--accent); border-bottom: 1px solid var(--rule); background: var(--paper); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: block; flex: 0 1 260px; min-width: 0; }
.brand img { display: block; width: 100%; max-width: 260px; }
.header-call { display: flex; align-items: center; gap: 12px; flex: none; }
.who { font-size: .8rem; color: var(--muted); white-space: nowrap; }

/* Call buttons: square, solid, the number is the label. */
.call-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 750; font-size: 1.05rem; line-height: 1;
  padding: 12px 16px; border: 2px solid var(--accent); border-radius: 2px;
  white-space: nowrap;
}
.call-btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.call-btn .ico { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; }
.call-btn--invert { background: #fff; color: var(--accent); border-color: #fff; }
.call-btn--invert:hover { background: var(--accent-tint); color: var(--accent-hover); border-color: var(--accent-tint); }

/* Breadcrumb trail */
.crumbs ol { list-style: none; margin: 0; padding: 14px 0 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 6px 0 2px; color: var(--rule); }
.crumbs a { color: var(--muted); }

/* Intro */
.intro { padding-top: 20px; padding-bottom: 8px; }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: .6em; }
.lede { font-size: 1.12rem; max-width: 68ch; color: var(--ink); }

/* Call bar under the intro */
.call-bar {
  display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap;
  background: var(--accent-tint); border-left: 6px solid var(--accent);
  padding: 16px 18px; margin: 8px 0 28px;
}
.call-bar-num { display: flex; flex-direction: column; gap: 6px; }
.label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.disclosure { font-size: .9rem; color: var(--muted); margin: 0; max-width: 60ch; }

/* Hero */
.hero { margin-top: 0; margin-bottom: 36px; }
.hero img { display: block; width: 100%; aspect-ratio: 16 / 7; max-height: 380px; object-fit: cover; }

/* Section heads */
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; border-top: 3px solid var(--ink); padding-top: 14px; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.note { font-size: .9rem; color: var(--muted); margin: 0; max-width: 60ch; }
.note--warn { color: var(--ink); background: var(--panel); border-left: 4px solid var(--ink); padding: 8px 12px; }

/* Ring map + route list */
.map-section { margin-bottom: 44px; }
.map-grid { display: grid; gap: 20px; }
.ringmap svg { display: block; width: 100%; height: auto; background: #eceff2; border: 1px solid var(--rule); font-family: var(--font); }
.ringmap .ring { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 8 6; opacity: .85; }
.ringmap .ring-label { fill: var(--accent); font-size: 15px; font-weight: 800; paint-order: stroke; stroke: #eceff2; stroke-width: 6px; stroke-linejoin: round; }
.ringmap .city { fill: var(--ink); r: 6px; }
.ringmap .city-label { fill: var(--ink); font-size: 14px; font-weight: 600; paint-order: stroke; stroke: #eceff2; stroke-width: 5px; stroke-linejoin: round; }
.ringmap .pin { fill: var(--accent); stroke: #fff; stroke-width: 3px; r: 15px; }
.ringmap .pin-number { fill: #fff; font-size: 16px; font-weight: 800; }
/* Streets sit under rings and pins: pale casing, white fill, major roads a touch heavier. */
.ringmap .street-casing { stroke: #b9c3cc; }
.ringmap .street { stroke: #ffffff; }
.ringmap .casing-motorway, .ringmap .casing-trunk, .ringmap .casing-primary { stroke: #8e9aa6; stroke-width: 6.5px; }
.ringmap .street-motorway, .ringmap .street-trunk, .ringmap .street-primary { stroke-width: 4px; }
.ringmap .casing-secondary { stroke: #a3aeb9; stroke-width: 5px; }
.ringmap .street-secondary { stroke-width: 3px; }
.ringmap .casing-tertiary { stroke: #aeb8c2; stroke-width: 4.2px; }
.ringmap .street-tertiary { stroke-width: 2.4px; }
.ringmap .attribution { font-size: 10px; }
.ringmap .inset-frame { fill: #fff; stroke: var(--rule); stroke-width: 1; }
.ringmap .inset-state { fill: #dde3e9; stroke: #7d8a97; stroke-width: .8; }
.ringmap .inset-city { fill: var(--accent); stroke: #fff; stroke-width: 1.5; r: 4.5px; }
.ringmap .inset-label { fill: var(--muted); font-size: 12px; font-weight: 700; }
.ringmap .attribution { fill: var(--muted); }

.map-side { display: flex; flex-direction: column; gap: 24px; align-self: start; }
.route { list-style: none; margin: 0; padding: 0; position: relative; }
.map-key { margin: 0; padding: 14px 16px; background: var(--panel); display: grid; gap: 10px; font-size: .88rem; }
.map-key div { display: grid; grid-template-columns: 84px 1fr; gap: 10px; align-items: center; }
.map-key dt { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.map-key dd { margin: 0; color: var(--muted); }
.key-city { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); margin: 0 6px; }
.key-ring { width: 22px; height: 0; border-top: 2px dashed var(--accent); }
.key-pin { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 800; }
.route::before { content: ""; position: absolute; left: 15px; top: 18px; bottom: 18px; width: 4px; background: var(--accent); }
.route li { position: relative; }
.route a { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 7px 0; text-decoration: none; color: var(--ink); }
.route a:hover .route-name { text-decoration: underline; }
.stop {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800; font-size: .95rem; border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--accent); position: relative;
}
.route-name { font-weight: 600; line-height: 1.3; }
.route-dist { font-weight: 700; color: var(--accent); white-space: nowrap; }

/* Clinic cards: distance leads. */
.cards-section { margin-bottom: 36px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.card { display: grid; grid-template-columns: 92px 1fr; border: 1px solid var(--rule); border-top: 4px solid var(--ink); background: var(--paper); }
.card-dist { background: var(--panel); display: flex; flex-direction: column; align-items: center; padding: 14px 6px; gap: 2px; border-right: 1px solid var(--rule); }
.card-dist .stop { margin-bottom: 8px; }
.dist-num { font-size: 2.1rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.dist-unit { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card-body { padding: 14px 16px 16px; min-width: 0; }
.card-type { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.card h3 { margin-bottom: 4px; overflow-wrap: anywhere; }
.addr { font-size: .95rem; color: var(--ink); margin-bottom: 10px; }
.badges { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font-size: .8rem; font-weight: 650; padding: 3px 8px; border-radius: 2px; line-height: 1.4; }
.badge--med { background: var(--accent); color: #fff; }
.badge--pay { background: var(--paper); color: var(--ink); border: 1px solid var(--muted); }
.directions { display: inline-block; margin-top: 4px; font-weight: 700; }

/* Call block after the cards */
.call-block {
  display: grid; gap: 16px 32px; align-items: center;
  background: var(--ink); color: #fff; padding: 24px 22px; margin-bottom: 44px;
  border-left: 8px solid var(--accent);
}
.call-block h2 { color: #fff; margin-bottom: .3em; }
.call-block p { margin: 0; color: #dfe5ea; }
.call-block-action { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.call-block .disclosure { color: #c9d2db; }

/* At a glance */
.glance { margin-bottom: 44px; }
.glance h2 { border-top: 3px solid var(--ink); padding-top: 14px; }
.stats { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 14px 14px 16px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.stat dd { margin: 0; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 800; line-height: 1.05; color: var(--accent); letter-spacing: -0.02em; }
.stat dt { font-size: .85rem; color: var(--muted); margin-top: 6px; line-height: 1.35; }

/* Prose / bank sections */
.prose { margin-bottom: 30px; }
.prose > * { max-width: 72ch; }
.bank h2 { padding-left: 14px; border-left: 4px solid var(--accent); }

/* Checklist under "Choosing a clinic" */
.checklist { margin-top: 18px; padding: 16px 18px; border: 1px solid var(--rule); border-left: 6px solid var(--accent); background: var(--paper); }
.checklist h3 { margin-bottom: 10px; }
.checklist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border: 2px solid var(--accent); border-radius: 2px; background: var(--paper); }

/* Medication comparison table: a table on wide screens, stacked blocks on phones. */
.compare { margin-bottom: 44px; }
.compare h2 { border-top: 3px solid var(--ink); padding-top: 14px; }
.compare .note { margin-bottom: 14px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare-table th, .compare-table td { text-align: left; vertical-align: top; padding: 12px; border: 1px solid var(--rule); }
.compare-table thead th { background: var(--ink); color: #fff; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; border-color: var(--ink); }
.compare-table tbody th { background: var(--accent-tint); color: var(--accent); font-weight: 800; white-space: nowrap; }

/* State snapshot */
.snapshot { border: 2px solid var(--ink); padding: 20px; margin-bottom: 44px; display: grid; gap: 8px 32px; }
.snapshot h2 { margin-bottom: 4px; }
.snapshot h3 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 8px 0 4px; }
.snapshot-stats { margin: 0; display: flex; flex-wrap: wrap; gap: 12px 36px; }
.snapshot-stats div { display: flex; flex-direction: column-reverse; }
.snapshot-stats dd { margin: 0; font-size: 2.2rem; font-weight: 800; color: var(--accent); line-height: 1.05; }
.snapshot-stats dt { font-size: .85rem; color: var(--muted); }
.snapshot-list { margin: 0; padding: 0; list-style: none; counter-reset: snap; }
.snapshot-list li { counter-increment: snap; display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.snapshot-list li::before { content: counter(snap); font-weight: 800; color: var(--accent); width: 1.4em; flex: none; }
.snapshot-list a { font-weight: 700; flex: 1; }
.snapshot-list span { color: var(--muted); font-size: .9rem; white-space: nowrap; }

/* FAQs */
.faqs { margin-bottom: 44px; max-width: 1120px; }
.faqs h2 { border-top: 3px solid var(--ink); padding-top: 14px; }
.faqs details { border-bottom: 1px solid var(--rule); max-width: 820px; }
.faqs details:first-of-type { border-top: 1px solid var(--rule); }
.faqs summary { cursor: pointer; list-style: none; padding: 14px 40px 14px 0; font-weight: 700; position: relative; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: "+"; position: absolute; right: 6px; top: 8px; font-size: 1.5rem; font-weight: 400; color: var(--accent); }
.faqs details[open] summary::after { content: "\2212"; }
.faqs details p { margin: 0 0 16px; max-width: 70ch; }

/* Nearby + hub links */
.nearby { margin-bottom: 48px; }
.nearby h2 { border-top: 3px solid var(--ink); padding-top: 14px; }
.link-grid { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.link-grid a { display: block; padding: 10px 12px; border: 1px solid var(--rule); border-left: 4px solid var(--accent); text-decoration: none; font-weight: 600; color: var(--ink); }
.link-grid a:hover { background: var(--accent-tint); }
.hub-link a { font-weight: 700; }

/* Hub / home / article */
.lead-list { columns: 2 220px; column-gap: 24px; padding: 0; list-style: none; margin: 0 0 40px; }
.lead-list li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.lead-list a { text-decoration: none; font-weight: 600; }
.lead-list a:hover { text-decoration: underline; }
.article-body { margin-bottom: 40px; }
.article-body img { display: block; margin: 1em 0; }
.article-body h2, .article-body h3 { margin-top: 1.4em; }
.meta { font-size: .85rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: #e6ebf0; padding: 36px 0 24px; border-top: 6px solid var(--accent); }
.site-footer a:not(.call-btn) { color: #fff; }
.site-footer .call-btn--invert, .site-footer .call-btn--invert:hover { color: var(--accent); }
.site-footer h2 { color: #fff; font-size: 1.2rem; }
.footer-call { display: grid; gap: 12px; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid #33404d; }
.footer-call h2 { margin: 0; font-size: 1.4rem; }
.footer-call .call-btn { justify-self: start; }
.site-footer .disclosure { color: #c9d2db; }
.footer-grid { display: grid; gap: 24px; }
.nap { font-size: .95rem; }
.crisis { font-size: .95rem; padding: 10px 12px; border: 1px solid #45525f; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; font-size: .92rem; }
.footer-embed { position: relative; aspect-ratio: 16 / 10; background: #1c2733; }
.footer-map { display: block; width: 100%; height: 100%; border: 0; }
.yt-facade { display: block; width: 100%; height: 100%; background: #000; position: relative; }
.yt-facade img, .yt-facade iframe { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt-play { position: absolute; left: 14px; bottom: 14px; width: 68px; height: 48px; background: var(--accent); border-radius: 4px; box-shadow: 0 0 0 2px #fff; }
.yt-play::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.yt-facade:hover .yt-play { background: #fff; }
.yt-facade:hover .yt-play::after { border-left-color: var(--accent); }
.copyright { font-size: .85rem; color: #aeb8c2; margin: 28px 0 0; }

/* Sticky mobile call bar (pure CSS; site.js only hides it near the footer). */
.sticky-call { display: none; }

@media (max-width: 767px) {
  :root { --sticky-h: 72px; }
  body { font-size: 16px; }
  .brand { flex-basis: 170px; }
  .header-row { min-height: 60px; }
  .header-call .who { display: none; }
  .call-btn--header { font-size: .9rem; padding: 9px 10px; gap: 6px; }
  .sticky-call {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--paper); border-top: 3px solid var(--accent);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 10px rgba(15, 23, 32, .12);
    transition: transform .2s ease;
  }
  .sticky-call.is-hidden { transform: translateY(110%); }
  .call-btn--sticky { flex: 1; justify-content: center; font-size: 1.1rem; padding: 13px 12px; }
  .ringmap { margin: 0 calc(-1 * var(--gap)); }
  .ringmap svg { border-left: 0; border-right: 0; }
  .ringmap .pin { r: 21px; stroke-width: 3px; }
  .ringmap .casing-motorway, .ringmap .casing-trunk, .ringmap .casing-primary { stroke-width: 8px; }
  .ringmap .street-motorway, .ringmap .street-trunk, .ringmap .street-primary { stroke-width: 5px; }
  .ringmap .casing-secondary, .ringmap .casing-tertiary { stroke-width: 4.6px; }
  .ringmap .street-secondary, .ringmap .street-tertiary { stroke-width: 2.6px; }
  .ringmap .attribution { font-size: 15px; }
  .compare-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: 100%; }
  .compare-table tr { margin-bottom: 14px; border: 1px solid var(--rule); }
  .compare-table th, .compare-table td { border: 0; border-bottom: 1px solid var(--rule); }
  .compare-table td:last-child { border-bottom: 0; }
  .compare-table td::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .ringmap .pin-number { font-size: 24px; }
  .ringmap .ring-label { font-size: 22px; }
  .ringmap .city-label { font-size: 20px; }
  .ringmap .inset-label { font-size: 16px; }
}

@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .link-grid { grid-template-columns: repeat(3, 1fr); }
  .call-block { grid-template-columns: 1fr auto; padding: 28px 32px; }
  .call-block-action { max-width: 380px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .map-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card { grid-template-columns: 104px 1fr; }
  .dist-num { font-size: 2.4rem; }
  .stats { grid-template-columns: repeat(6, 1fr); }
  .stats:has(.stat:nth-child(5):last-child) { grid-template-columns: repeat(5, 1fr); }
  .stats:has(.stat:nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.1fr 1fr 1fr; align-items: start; }
  .footer-call { grid-template-columns: 1fr auto; align-items: center; }
  .footer-call .disclosure { grid-column: 1 / -1; }
  .snapshot { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; padding: 24px 28px; }
  .snapshot h2 { grid-column: 1 / -1; }
  .snapshot-stats { flex-direction: column; }
  .snapshot h3 { grid-column: 2; grid-row: 2; margin-top: 0; }
  .snapshot-list { grid-column: 2; grid-row: 3; }
  .snapshot-stats { grid-row: 2 / span 2; }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-call { transition: none; }
}
@media print {
  .sticky-call, .site-footer .footer-embed, .call-btn--header { display: none; }
}

/* Home: US map, shaded in four steps of signage blue. */
.usmap svg { display: block; width: 100%; height: auto; font-family: var(--font); }
.usmap path, .statemap .state { stroke: #fff; stroke-width: 1px; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.usmap .q0, .swatch.q0 { fill: #e3e7eb; background: #e3e7eb; }
.usmap .q1, .swatch.q1 { fill: #c4d2ea; background: #c4d2ea; }
.usmap .q2, .swatch.q2 { fill: #87a3d3; background: #87a3d3; }
.usmap .q3, .swatch.q3 { fill: #3f67ae; background: #3f67ae; }
.usmap .q4, .swatch.q4 { fill: #0b3d91; background: #0b3d91; }
.usmap a path { cursor: pointer; }
.usmap a:hover path, .usmap a:focus path { fill: var(--ink); }
.usmap a:focus { outline: none; }
.usmap a:focus-visible path { stroke: var(--ink); stroke-width: 3px; }
.usmap a:hover path, .usmap a:focus-visible path { fill: var(--accent-hover); stroke: var(--ink); stroke-width: 2.5px; }
.map-dc { margin-top: 10px; }
.map-legend { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .88rem; color: var(--muted); }
.map-legend li { display: flex; align-items: center; gap: 8px; }
.swatch { display: inline-block; width: 18px; height: 18px; border: 1px solid var(--rule); }

/* Home: how-to steps reuse the route "stop" disc. */
.how { margin-bottom: 44px; }
.how h2 { border-top: 3px solid var(--ink); padding-top: 14px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; padding: 16px; border: 1px solid var(--rule); border-top: 4px solid var(--accent); }
.step h3 { margin-bottom: 4px; }
.step p { margin: 0; color: var(--ink); }

/* State hub: outline map with program dots and numbered places. */
.statemap { min-width: 0; }
.statemap svg { display: block; width: 100%; height: auto; max-height: 560px; background: #eceff2; border: 1px solid var(--rule); font-family: var(--font); }
.statemap .state { fill: #ffffff; stroke: #7d8a97; stroke-width: 1.5px; }
.statemap .pin { fill: var(--accent); fill-opacity: .8; stroke: #fff; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.statemap .city-dot { fill: var(--ink); stroke: #fff; stroke-width: 2px; vector-effect: non-scaling-stroke; }
.statemap .city-num { fill: #fff; font-size: 17px; font-weight: 800; }
.statemap .city-label { fill: var(--ink); font-size: 22px; font-weight: 700; paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
.key-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin: 0 6px; }
.key-pin--ink { background: var(--ink); }
.top-list .route-dist { font-size: .9rem; }
.map-side h3 { margin-bottom: 8px; }
.map-side .note { margin-top: 8px; }

/* State hub: A to Z city list */
.az-nav ul { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.az-nav a { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; border: 1px solid var(--rule); text-decoration: none; font-weight: 700; }
.az-nav a:hover { background: var(--accent-tint); }
.az-letter { font-size: 1.3rem; color: var(--accent); border-bottom: 2px solid var(--ink); padding-bottom: 4px; margin: 18px 0 8px; scroll-margin-top: 12px; }
.az-list { margin-bottom: 12px; }

@media (max-width: 767px) {
  .statemap { margin: 0 calc(-1 * var(--gap)); }
  .statemap svg { border-left: 0; border-right: 0; }
  .statemap .city-label { display: none; }
  .statemap .city-dot { r: 22px; }
  .statemap .city-num { font-size: 24px; }
  .statemap .pin { r: 10px; }
}
@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

/* Clickable maps: state hub towns and program dots, city ring-map pins. */
.statemap a, .ringmap a { cursor: pointer; }
.statemap a:focus, .ringmap a:focus { outline: none; }
.statemap .city-link:hover .city-dot, .statemap .city-link:focus-visible .city-dot { fill: var(--accent); }
.statemap .city-link:focus-visible .city-dot { stroke: var(--ink); stroke-width: 4px; }
.statemap .city-link:hover .city-label, .statemap .city-link:focus-visible .city-label { fill: var(--accent); text-decoration: underline; }
.statemap .pin-link:hover .pin, .statemap .pin-link:focus-visible .pin { fill: var(--ink); fill-opacity: 1; }
.statemap .pin-link:focus-visible .pin { stroke: var(--ink); stroke-width: 3px; }
.ringmap .pin-link:hover .pin, .ringmap .pin-link:focus-visible .pin { fill: var(--ink); }
.ringmap .pin-link:focus-visible .pin { stroke: #ffd24a; stroke-width: 4px; }
.cards .card { scroll-margin-top: calc(16px + var(--sticky-h)); }
.cards .card:target { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Guide cards: home "Featured guides", hub guides and article "Related guides".
   An even grid of equal-height cards: 1 column on phones, 2 on tablets, 4 on desktops. */
.guide-grid { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
.guide-grid > li { display: flex; margin: 0; }
.guide-card {
  position: relative; display: flex; flex-direction: column; gap: 6px; width: 100%; min-height: 100%;
  padding: 14px 16px 38px; background: var(--paper); color: var(--ink); text-decoration: none;
  border: 1px solid var(--rule); border-top: 4px solid var(--accent);
}
.guide-eyebrow { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.guide-title {
  font-weight: 700; font-size: 1.05rem; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.guide-desc { font-size: .9rem; line-height: 1.4; color: var(--muted); }
.guide-arrow { position: absolute; right: 14px; bottom: 10px; color: var(--accent); font-weight: 800; transition: transform .15s ease; }
.guide-card:hover { background: var(--accent-tint); }
.guide-card:hover .guide-title { color: var(--accent-hover); text-decoration: underline; }
.guide-card:hover .guide-arrow, .guide-card:focus-visible .guide-arrow { transform: translateX(3px); }
.guide-card:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; background: var(--accent-tint); }
.guide-card--finder { background: var(--accent); border-color: var(--accent); color: #fff; }
.guide-card--finder .guide-eyebrow, .guide-card--finder .guide-desc, .guide-card--finder .guide-arrow { color: #fff; }
.guide-card--finder:hover, .guide-card--finder:focus-visible { background: var(--accent-hover); }
.guide-card--finder:hover .guide-title { color: #fff; }
@media (min-width: 600px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .guide-grid { grid-template-columns: repeat(4, 1fr); } }
@media (prefers-reduced-motion: reduce) { .guide-arrow { transition: none; } }
