/* LWO-164 (design spec v1, wave 1): the shared shell. Loaded by the 16 homepages, the 16 card pages and the 32 price-tool pages, after
   fonts.css, price-v2.css and (homepages, card pages) home-l1.css. Holds: (1) tokens, (2) the shared footer (scripts/shared/footer.mjs),
   (3) the header band for pages that are not body.l1 (scripts/shared/header.mjs; the same rules home-l1.css holds for the homepage),
   (4) the price-tool page surround, (5) the card page (hero card, tool, Lowdown card, article), (6) the drug-price pages and hubs (LWO-166), (7) the city and county pages (LWO-167).
   Hex values below are the palette home-l1.css already uses; everything else reads the tokens. No @font-face (fonts.css owns the brand fonts). */

:root {
  --ls-d: 'Bricolage Grotesque', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --ls-b: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --ls-band: #084e63; --ls-foot: #071216; --ls-foot-ink: #c9d9de; --ls-foot-muted: #9fb4bb; --ls-white: #ffffff; --ls-sun: #ffc23d; --ls-cta: #ff8a3d;
  --ls-lede: #d5e7ee; --ls-menu: #06384a; --ls-panel-dk: #152a32; --ls-line-dk: #2a414a; --ls-accent-dk: #5cc0dc; --ls-purple: #b48ad0; --ls-pink: #f29bd6; --ls-ground-dk: #0b181d; --ls-ink-dk: #e9f2f4;
  --ls-arr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --ls-ground: #f3f9fb; --ls-ink: #11242b; --ls-muted: #4a5d64; --ls-line: #cfe0e6; --ls-panel: #ffffff; --ls-link: #0a6c8a;
}
@supports (color: light-dark(#000, #fff)) {
  :root { color-scheme: light dark; --ls-ground: light-dark(#f3f9fb, #0b181d); --ls-ink: light-dark(#11242b, #e9f2f4); --ls-muted: light-dark(#4a5d64, #9fb4bb); --ls-line: light-dark(#cfe0e6, #2a414a); --ls-panel: light-dark(#ffffff, #152a32); --ls-link: light-dark(#0a6c8a, #5cc0dc); }
}

/* ---- (2) the shared footer: dark in both colour schemes ---- */
.ls-foot { background: var(--ls-foot); color: var(--ls-foot-ink); font-family: var(--ls-b); font-size: 15px; line-height: 1.5; padding: 40px 48px 32px; }
.ls-foot *, .ls-foot *::before, .ls-foot *::after { box-sizing: border-box; }
.ls-foot-in { max-width: 1184px; margin: 0 auto; }
.ls-foot a { color: var(--ls-foot-ink); text-decoration: none; }
.ls-foot a:hover { color: var(--ls-white); text-decoration: underline; }
.ls-foot :focus-visible { outline: 3px solid var(--ls-sun); outline-offset: 2px; }
.ls-foot p { margin: 0 0 6px; max-width: none; }
.ls-foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
.ls-foot a.ls-foot-mark { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: var(--ls-white); }
.ls-foot-mark svg { width: 30px; height: 30px; flex: none; }
.ls-foot-mark b { font: 800 22px/1 var(--ls-d); color: var(--ls-white); }
.ls-foot-tag { display: block; color: var(--ls-foot-muted); font-size: 14px; margin-top: -4px; }
.ls-foot-line { color: var(--ls-foot-muted); margin-top: 4px; }
.ls-foot-contact { margin-top: 14px; color: var(--ls-foot-muted); }
.ls-foot-contact a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--ls-foot-ink); }
.ls-foot-contact p { margin: 0; }
.ls-foot-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; align-content: start; }
.ls-foot-nav ul { list-style: none; margin: 0; padding: 0; }
.ls-foot-nav a { display: flex; align-items: center; min-height: 44px; font-weight: 600; }
.ls-foot-states { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--ls-line-dk); color: var(--ls-foot-muted); font-size: 14px; }
.ls-foot-states a { display: inline-block; padding: 12px 2px; color: var(--ls-foot-ink); }
.ls-foot-states [aria-current] { color: var(--ls-white); font-weight: 700; }
.ls-foot-legal { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--ls-line-dk); color: var(--ls-foot-muted); font-size: 13px; max-width: 920px !important; }
@media (max-width: 899px) {
  .ls-foot { padding: 28px 16px 24px; }
  .ls-foot-top { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ls-foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
}
@media print { .ls-foot, .l1-band { display: none !important; } }

/* ---- (3) header band on pages that are not body.l1 (same values as home-l1.css) ---- */
.w1 .l1-band { background: var(--ls-band); padding: 0 48px; }
.w1 .l1-nav { display: flex; align-items: center; justify-content: space-between; max-width: 1184px; margin: 0 auto; height: 72px; }
.w1 .l1-brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ls-white); }
.w1 .l1-brand svg { width: 30px; height: 30px; flex: none; }
.w1 .l1-brand b { font: 800 22px/1 var(--ls-d); color: var(--ls-white); }
.w1 .l1-links { display: flex; align-items: center; gap: 28px; }
.w1 .l1-links a { color: var(--ls-white); text-decoration: none; font: 600 16px var(--ls-b); }
.w1 .l1-links a:hover { text-decoration: underline; }
.w1 .l1-links a.l1-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--ls-cta); color: var(--ls-ink); font-weight: 700; text-decoration: none; }
.w1 .l1-phone { display: none; align-items: center; gap: 4px; }
.w1 .l1-phone .l1-lang { display: inline-flex; align-items: center; min-height: 44px; color: var(--ls-white); font: 600 15px var(--ls-b); padding: 0 8px; text-decoration: none; }
.w1 .l1-menu { position: relative; }
.w1 .l1-menu summary { list-style: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 10px; }
.w1 .l1-menu summary::-webkit-details-marker { display: none; }
.w1 .l1-menu-list { position: absolute; right: 0; top: 48px; z-index: 30; min-width: 240px; background: var(--ls-menu); border: 1px solid rgba(255, 255, 255, .22); border-radius: 12px; padding: 6px; display: flex; flex-direction: column; box-shadow: 0 14px 34px rgba(0, 0, 0, .4); }
.w1 .l1-menu-list a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--ls-white); text-decoration: none; font: 600 17px var(--ls-b); border-radius: 8px; }
.w1 .l1-menu-list a:hover { background: rgba(255, 255, 255, .1); }
.w1 .l1-band :focus-visible { outline: 3px solid var(--ls-sun); outline-offset: 2px; }
@media (max-width: 899px) {
  .w1 .l1-band { padding: 0; }
  .w1 .l1-nav { height: 60px; padding: 0 12px 0 16px; }
  .w1 .l1-brand svg { width: 27px; height: 27px; }
  .w1 .l1-brand b { font-size: 19px; }
  .w1 .l1-links { display: none; }
  .w1 .l1-phone { display: flex; }
}

/* ---- (4) price-tool pages (body.w1, lowdown.css + price-v2.css stay in charge of the tool itself) ---- */
body.w1 { background: var(--ls-ground); }
.w1 .pv-band { background: var(--ls-band); color: var(--ls-white); padding: 18px 0 30px; }
.w1 .pv-band .wrap { max-width: 1184px; padding: 0 48px; }
.w1 .pv-band .pv-eyebrow { margin: 0; font: 700 15px var(--ls-b); letter-spacing: .12em; color: var(--ls-sun); }
.w1 .pv-band h1 { font-family: var(--ls-d); font-weight: 800; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.05; margin: 8px 0 12px; color: var(--ls-white); }
.w1 .pv-band .lead { color: var(--ls-lede); font-size: 19px; max-width: 700px; margin: 0; }
.w1 .pv-tool, .w1 .pv-tool + .lowdown-cta { background: var(--ls-ground); }
.w1 .pv-tool .wrap { max-width: 1184px; padding: 0 48px; }
.w1 .pv-tool .pv-pagelegal { max-width: 68ch; }
.w1 .pv-tool .pv-pagelegal p, .w1 .pv-tool .pv-pagelegal li { font-family: var(--ls-b); }
.w1 .lowdown-cta h2 { font-family: var(--ls-d); font-weight: 800; }
@media (max-width: 899px) {
  .w1 .pv-band .wrap, .w1 .pv-tool .wrap { padding: 0 16px; }
  .w1 .pv-band .lead { font-size: 17px; }
}

/* ---- (5) card pages (body.l1.w1) ---- */
.w1-hero { background: var(--ls-band); color: var(--ls-white); padding: 8px 48px 44px; text-align: center; }
.w1-hero-in { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.w1-hero .l1-eyebrow { margin: 18px 0 0; }
.w1-hero h1 { margin: 10px 0 12px; font: 800 clamp(30px, 4.6vw, 48px)/1.05 var(--ls-d); color: var(--ls-white); letter-spacing: 0; }
.w1-lede { margin: 0 0 24px; font: 400 19px/1.45 var(--ls-b); color: var(--ls-lede); max-width: 620px; }
.w1-hero .l1-card { width: 300px; }
.w1-wallet { margin-top: 16px; width: 100%; max-width: 300px; }
.w1-wallet .sc-wbtns { flex-direction: row; justify-content: center; }
.w1-wallet .sc-wbtn { flex: 1 1 0; white-space: nowrap; }
.w1-tool { background: var(--ls-ground); padding: 28px 48px 8px; scroll-margin-top: 16px; }
.w1-tool-in { max-width: 760px; margin: 0 auto; }
body.l1-results .w1-tool-in { max-width: 1184px; }
.w1-trust { margin: 14px 0 0; text-align: center; color: var(--ls-muted); font: 400 14px/1.4 var(--ls-b); }
.w1-tool .pv-waiting { margin: 0; padding: 20px; border-radius: 20px; background: var(--ls-panel-dk); border: 2px solid var(--ls-accent-dk); color: var(--ls-foot-muted); }
.w1-tool noscript .pc-waiting { padding: 20px; border-radius: 20px; background: var(--ls-panel-dk); border: 2px solid var(--ls-accent-dk); color: var(--ls-ink); }

/* Download / Print under the hero wallet buttons: secondary, 2px accent outline */
.w1-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.w1-sec { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 2px solid var(--ls-accent-dk); background: transparent; color: var(--ls-white); font: 700 16px var(--ls-d); cursor: pointer; }
.w1-sec:hover { background: rgba(92, 192, 220, .16); }
.w1-sec:disabled { opacity: .6; cursor: default; }
.w1-sec:focus-visible { outline: 3px solid var(--ls-sun); outline-offset: 2px; }
/* the old card: kept only as the source card.js / html2canvas capture and print. Off-screen, NOT display:none, and no overflow/clip on it or an ancestor (html2canvas would clip the capture) */
.w1-src { position: absolute; left: -10000px; top: 0; width: 760px; pointer-events: none; }

/* LWO-165: the card Download and Print produce -- the new card, same look as the hero card, true 1.586:1. Sizes are in em (1em = 1% of the card width, the
   same proportions as the hero card's cqw) so html2canvas and the print engine see plain px; --cw sets the width (360px source, 300px / 320px back preview). */
.dlc { --cw: 360px; width: var(--cw); height: calc(var(--cw) / 1.586); font-size: calc(var(--cw) / 100); flex: none; max-width: 100%; font-family: var(--l1-b, 'Source Sans 3', 'Segoe UI', system-ui, sans-serif); text-align: left; line-height: normal; }
.dlc[hidden], .w1-hero .l1-card[hidden] { display: none; }
/* the hero flip: .w1-flipped on .w1-hero-in swaps the front card for the back preview in the same place */
.w1-hero-in.w1-flipped > .l1-card { display: none !important; }
.w1-hero-in.w1-flipped > #rxBackView { display: block !important; }
.dlc .c-in { height: 100%; border-radius: 4.667em; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.w1-hero .dlc .c-in { box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
.dlc .c-h { border-radius: 4.667em 4.667em 0 0; height: 17em; flex: none; background: #084e63; padding: 0 4.667em; display: flex; align-items: center; justify-content: space-between; }
.dlc .c-b { display: inline-flex; align-items: center; gap: 2em; }
.dlc .c-b svg { width: 7.333em; height: 7.333em; flex: none; }
.dlc .c-b b { color: #fff; font: 800 5.333em/1 var(--l1-d, 'Bricolage Grotesque', 'Avenir Next', 'Segoe UI', system-ui, sans-serif); }
.dlc .c-badge { font-size: 3.167em; font-weight: 800; background: #ffc23d; color: #11242b; padding: .211em .737em; border-radius: .526em; white-space: nowrap; }
.dlc .c-m { flex: 1; min-height: 0; padding: 0 4.667em; display: flex; flex-direction: column; justify-content: center; gap: 3.2em; }
.dlc .c-k { font-size: 2.833em; letter-spacing: .14em; color: #5b6b71; font-weight: 700; text-transform: uppercase; }
.dlc .c-codes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2em; }
.dlc .c-l { font-size: 2.833em; letter-spacing: .1em; color: #5b6b71; font-weight: 700; }
.dlc .c-v { font: 800 5.667em/1.1 var(--l1-d, 'Bricolage Grotesque', 'Avenir Next', 'Segoe UI', system-ui, sans-serif); color: #084e63; }
.dlc .c-f { border-radius: 0 0 1.867em 1.867em; height: 4.267em; flex: none; border-top: 1px solid #dfeaee; padding: 0 1.4em; display: flex; align-items: center; justify-content: space-between; gap: .8em; font-size: 2.5em; line-height: 1.15; color: #5b6b71; }
.dlc .c-f strong { color: #084e63; }
.dlc-back .c-m { justify-content: flex-start; gap: 1.6em; padding-top: 2.6em; }
.dlc-pharm { margin: 0; font-size: 2.7em; line-height: 1.35; color: #11242b; }
.dlc-disc { margin: 0; padding-left: 3.4em; }
.dlc-disc li { font-size: 2.5em; line-height: 1.3; color: #33474d; margin-bottom: .25em; }
.w1-hero .dlc { margin: 0 auto; }
@media (max-width: 899px) { .w1-hero .dlc { --cw: 320px !important; } }
.dlc-stage { display: block; margin: 0; }

/* the Lowdown card: mini dial + the page's own "Taking more than one medicine?" copy + the purple button (dark in both schemes, like the homepage section) */
.w1-ld { padding: 40px 48px; background: var(--ls-ground-dk); border-top: 4px solid var(--ls-purple); margin-top: 28px; }
.w1-ld-card { max-width: 760px; margin: 0 auto; display: flex; gap: 32px; align-items: center; background: var(--ls-panel-dk); border: 2px solid var(--ls-purple); border-radius: 24px; padding: 24px 28px; color: var(--ls-ink-dk); }
.w1-ld-dial { flex: none; width: 200px; }
.w1-ld-dial .l1-dial { position: relative; container-type: inline-size; width: 100%; max-width: 200px; margin: 0 auto; }
.w1-ld .l1-dial-n { position: absolute; left: 0; right: 0; top: 27cqw; text-align: center; font: 800 20cqw/1 var(--ls-d); color: var(--ls-ink-dk); }
.w1-ld .l1-dial-chip { display: flex; justify-content: center; margin-top: -12cqw; position: relative; }
.w1-ld .l1-dial-chip span { display: inline-flex; align-items: center; min-height: 28px; padding: 0 14px; border-radius: 999px; color: var(--ls-ground-dk); font: 700 14px var(--ls-b); }
.w1-ld a.l1-ld-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 30px; border-radius: 12px; border: 2px solid var(--ls-purple); background: rgba(180, 138, 208, .14); color: var(--ls-ink-dk); font: 800 19px var(--ls-d); text-decoration: none; }
.w1-ld a.l1-ld-btn::after { content: ""; width: 20px; height: 20px; flex: none; background: var(--ls-pink); -webkit-mask: var(--ls-arr) center / contain no-repeat; mask: var(--ls-arr) center / contain no-repeat; }
.w1-ld a.l1-ld-btn:hover { background: rgba(180, 138, 208, .24); }
.w1-ld :focus-visible { outline: 3px solid var(--ls-sun); outline-offset: 2px; }
.w1-ld-copy { min-width: 0; }
.w1-ld-copy h2 { margin: 0 0 8px; font: 800 28px/1.12 var(--ls-d); color: var(--ls-ink-dk); letter-spacing: 0; }
.w1-ld-copy p { margin: 0 0 16px; color: var(--ls-lede); font: 400 17px/1.45 var(--ls-b); }

/* the page's existing body content, as an article: about 68 characters a line, Source Sans 17px, Bricolage headings */
.w1-art { background: var(--ls-ground); color: var(--ls-ink); padding: 40px 48px 56px; font: 400 17px/1.55 var(--ls-b); }
.w1-art-in { max-width: 68ch; margin: 0 auto; }
.w1-art-in p, .w1-art-in li { max-width: 68ch; }
.w1-art h2 { font: 800 28px/1.15 var(--ls-d); color: var(--ls-ink); margin: 0 0 12px; letter-spacing: 0; }
.w1-art a { color: var(--ls-link); }
.w1-art .muted, .w1-art .small { color: var(--ls-muted); }
.w1-art .state-strip { background: none; border: 0; text-align: left; font-size: 17px; color: var(--ls-ink); margin: 0 0 24px; }
.w1-art .state-strip p { padding: 0; max-width: 68ch; margin: 0; }
.w1-art .card-stage { margin-top: 8px; }
.w1-art .card-howto { margin-top: 32px; }
@media (max-width: 899px) {
  .w1-hero { padding: 4px 16px 32px; }
  .w1-lede { font-size: 17px; margin-bottom: 18px; }
  .w1-hero .l1-card { width: 320px; }
  .w1-wallet { max-width: 320px; }
  .w1-tool { padding: 20px 16px 4px; }
  .w1-ld { padding: 28px 16px; }
  .w1-ld-card { flex-direction: column; align-items: stretch; padding: 20px; gap: 12px; }
  .w1-ld-dial { align-self: center; }
  .w1-ld-copy h2 { font-size: 24px; }
  .w1-ld-copy .l1-ld-btn { width: 100%; }
  .w1-art { padding: 28px 16px 40px; }
}
@media print {
  .w1-hero, .w1-tool, .w1-ld, .w1-art .state-strip { display: none !important; }
  .w1-src { position: static; width: auto; pointer-events: auto; }
  .w1-src .dlc-stage { display: block; text-align: center; }
  .w1-src .dlc { margin: 0 auto 24px; break-inside: avoid; page-break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .w1-src .dlc * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .w1-src #rxCardBack[hidden] { display: block !important; }
  #rxBackView, body.w1 > p.muted.small { display: none !important; }
  .w1-art { padding: 0; background: none; }
}

/* ---- the inline price tool (data-skin="inline", card pages): one row, medicine + ZIP + sun-yellow Check; results use the same cards as the homepage ---- */
.pv-inline .sc-form { padding: 14px; }
.pv-inline .sc-stack { flex-direction: row; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.pv-inline .sc-field.med { order: 0; flex: 1 1 240px; }
.pv-inline .sc-field.zip { order: 1; flex: 0 0 12rem; min-width: 12rem; }
.pv-inline .sc-actions { order: 2; flex: 0 0 auto; }
.pv-inline .sc-go { width: auto; padding: 0 24px; min-height: 56px; }
.pv-inline .pv-sug { order: 3; flex: 1 1 100%; margin-top: 0; }
.pv-inline .sc-err { order: 4; flex: 1 1 100%; }
@media (max-width: 899px) {
  .pv-inline .sc-field.med { flex-basis: 100%; }
  .pv-inline .sc-field.zip { flex: 1 1 0; }
  .pv-inline .sc-actions.pin { flex: 1 1 100%; }
}

/* >= 900px: medicine, ZIP and Check stay on ONE row (suggestions and errors take their own full-width rows below) */
@media (min-width: 900px) {
  .pv-inline .sc-stack { flex-wrap: wrap; align-items: stretch; }
  .pv-inline .sc-field.med { flex: 2 1 0; min-width: 0; }
  .pv-inline .sc-field.zip { flex: 1 1 0; min-width: 0; }
  .pv-inline .sc-actions { flex: 0 0 auto; }
  .pv-inline .sc-go { min-height: 56px; white-space: nowrap; }
}

/* ---- (6) LWO-166 (wave 2): the drug-price pages and the 16 price hubs (body.l1.w1). Hero band (eyebrow, H1, the page's answer paragraph), the one-row
   check, the article in two parts (meta line, button paragraph, price table / free card + wallet / Lowdown card / the rest). The tool, the Lowdown card
   and the article rules are the ones above; only what is new for these pages is here. ---- */
.w2-hero { text-align: left; padding: 8px 48px 36px; }
.w2-hero-in { align-items: flex-start; }
.w2-hero .l1-eyebrow { margin-top: 18px; }
.w2-hero h1 { margin: 10px 0 14px; }
.w2-lede { max-width: 62ch; }
.w2-lede p, .w2-lede .answer-first, .w2-lede .kg-answer { margin: 0 0 8px; padding: 0; border: 0; background: none; border-radius: 0; font: 400 19px/1.45 var(--ls-b); color: var(--ls-lede); }
.w2-lede .kg-source, .w2-lede .muted { font-size: 14px; color: var(--ls-lede); }
.w2-lede a { color: var(--ls-white); text-decoration: underline; }
.w2-a { padding-bottom: 8px; }
.w2-b { padding-top: 16px; }
.w1-art .answer-first { background: var(--ls-panel); color: var(--ls-ink); border-left: 4px solid var(--ls-link); }
.w1-art .canada-box { background: var(--ls-panel) !important; color: var(--ls-ink); border-color: var(--ls-line) !important; border-left-color: var(--ls-cta) !important; }
.w1-art .facts-table, .w1-art .compare-table { color: var(--ls-ink); }
.w1-art .facts-table th, .w1-art .facts-table td, .w1-art .compare-table th, .w1-art .compare-table td { border-bottom-color: var(--ls-line); }
.w1-art .facts-table tr:nth-child(odd) td, .w1-art .facts-table tr:nth-child(odd) th, .w1-art .compare-table tr:nth-child(even) td { background: var(--ls-panel); }
.w1-art .facts-table th[scope="row"] { color: var(--ls-muted); }
.w1-art .faq details { background: var(--ls-panel); border-color: var(--ls-line); }
.w1-art .faq summary { color: var(--ls-ink); font-family: var(--ls-d); }
.w1-art .faq p { color: var(--ls-ink); }
.w1-art .fl-prices { margin: 24px 0 8px; }
.w1-art .pharmacy-list li { font-family: var(--ls-b); }
.w1-art .pharmacy-list a { color: inherit; }
.w1-art table { max-width: 100%; }

/* the free card + wallet buttons after the price table: the same card as the card pages' hero, true ratio, compact wallet buttons; the card links to the state's card page */
.w2-card { background: var(--ls-band); padding: 36px 48px; margin-top: 24px; color: var(--ls-white); }
.w2-card-in { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.w2-card a.w2-card-a { display: block; border-radius: 24px; text-decoration: none; }
.w2-card a.w2-card-a:focus-visible { outline: 3px solid var(--ls-sun); outline-offset: 4px; }
.w2-card .l1-card { width: 300px; }
.w2-card + .w1-ld { margin-top: 0; }
@media (max-width: 899px) {
  .w2-hero { padding: 4px 16px 28px; }
  .w2-lede p, .w2-lede .answer-first, .w2-lede .kg-answer { font-size: 17px; }
  .w2-card { padding: 28px 16px; }
  .w2-card .l1-card { width: 320px; max-width: 100%; }
}
@media print { .w2-card { display: none !important; } }

/* LWO-166 follow-up: the buttons inside the wave 2 article (price-check, card, hub) in the spec style: primary sun yellow with night text, secondary 2px accent outline;
   they wrap inside the column (long Spanish labels) and sit in a row with a gap. Scoped to the wave 2 article sections. */
.w2-a .btn, .w2-b .btn { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; max-width: 100%; min-height: 44px; padding: 10px 22px; border-radius: 12px; border: 2px solid var(--ls-sun); background: var(--ls-sun); color: var(--ls-ground-dk); font: 700 17px/1.25 var(--ls-d); text-align: center; text-decoration: none; white-space: normal; margin: 0 8px 8px 0; }
.w2-a .btn:hover, .w2-b .btn:hover { background: #ffd06b; border-color: #ffd06b; color: var(--ls-ground-dk); }
.w2-a .btn.btn-ghost, .w2-b .btn.btn-ghost { background: transparent; border: 2px solid var(--ls-link); color: var(--ls-link); }
.w2-a .btn.btn-ghost:hover, .w2-b .btn.btn-ghost:hover { background: rgba(10, 108, 138, .1); color: var(--ls-link); }
.w2-a .btn:focus-visible, .w2-b .btn:focus-visible { outline: 3px solid var(--ls-link); outline-offset: 2px; }
.w2-a p:has(> .btn), .w2-b p:has(> .btn) { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; max-width: 100%; }
.w2-a p:has(> .btn) .btn, .w2-b p:has(> .btn) .btn { margin: 0; }

/* ---- (7) LWO-167 (wave 3): the city pages, the Florida county data hub and the county pages (body.l1.w1.w3). They reuse the wave 2 sections (hero band, one-row check, article in
   two parts around the free card + wallet and the Lowdown card, the spec button styles); only what the old city / county content needs on the article ground is here. ---- */
.w3-hero .crumb { margin: 18px 0 0; font: 600 14px/1.4 var(--ls-b); color: var(--ls-lede); }
.w3-hero .crumb a { color: var(--ls-white); text-decoration: underline; }
.w3 .w1-art .county-table-wrap { overflow-x: auto; max-width: 100%; margin: 0 0 16px; }
.w3 .w1-art .county-table { width: 100%; border-collapse: collapse; color: var(--ls-ink); background: none; }
.w3 .w1-art .county-table th, .w3 .w1-art .county-table td { color: var(--ls-ink); border-bottom: 1px solid var(--ls-line); }
.w3 .w1-art .county-table thead th { color: var(--ls-muted); background: none; }
.w3 .w1-art .county-table tbody tr:nth-child(odd) th, .w3 .w1-art .county-table tbody tr:nth-child(odd) td { background: var(--ls-panel); }
.w3 .w1-art .county-table .county-medname span, .w3 .w1-art .county-table .sp { color: var(--ls-muted); }
.w3 .w1-art .city-facts dt { color: var(--ls-ink); }
.w3 .w1-art .city-facts dt, .w3 .w1-art .city-facts dd { border-top-color: var(--ls-line); }
.w3 .w1-art .store-list li { border-bottom-color: var(--ls-line); }
.w3 .w1-art .city-note, .w3 .w1-art .bench, .w3 .w1-art .honest, .w3 .w1-art .act, .w3 .w1-art .review, .w3 .w1-art .method, .w3 .w1-art .pc-note, .w3 .w1-art .county-finding { background: var(--ls-panel); color: var(--ls-ink); border-color: var(--ls-line); }
.w3 .w1-art .city-note { padding: 12px 16px; border-radius: 12px; border-left: 4px solid var(--ls-link); }
.w3 .w1-art .btn.btn-sm { min-height: 36px; padding: 6px 14px; font-size: 15px; }
.w3 .w1-art .county-showall.btn-ghost { margin: 0 0 12px; }
.w3 .w1-art .ref { color: var(--ls-link); }
.w3 .w1-art h3 { font: 800 21px/1.2 var(--ls-d); color: var(--ls-ink); margin: 20px 0 8px; }
/* LWO-167 follow-up: the county medicine row (low, median, high, spread) ran together ("$9.00$19.65$24.742.75x"). Each figure gets its own space and a thin divider; they wrap on a phone. CSS only. */
.w3 .w1-art .county-nums span, .w3 .w1-art .county-nums-head span { display: inline-block; margin: 0 12px 2px 0; padding-right: 12px; border-right: 1px solid var(--ls-line); white-space: nowrap; }
.w3 .w1-art .county-nums span:last-child, .w3 .w1-art .county-nums-head span:last-child { margin-right: 0; padding-right: 0; border-right: 0; }
.w3 .w1-art .county-nums span.sp { font-weight: 700; color: var(--ls-ink); }
