/* Approved directory restyle for state, county and city pages.
   Loaded only on those templates, after shared-site.css (build.py page_restyle).
   The homepage, header and footer are not restyled here. The mockup's larger logo is not used.
   County and city heroes stay on the live plain-hero rules. State pages add .state-plain-hero
   so this sheet can show the eyebrow, blurb and outline "Explore nursing homes" button.
*/

/* ===== Directory mockup — main-scoped ===== */
@font-face{
  font-family:'Cormorant Garamond';
  font-style:normal;font-weight:500 700;font-display:swap;
  src:url(fonts/cormorant-garamond-latin-wght-normal.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:'Jost';
  font-style:normal;font-weight:400 700;font-display:swap;
  src:url(fonts/jost-latin-wght-normal.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root{
  --g:#1f3a2e; --g2:#2f5443; --rust:#8e3f28; --brass:#a8844a; --brass-l:#d9bf8f;
  --ivory:#f6f0e6; --cream:#fbf7f0; --ink:#1d2a24; --mut:#5d6660; --line:#e3dccf;
  --serif:'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:'Jost', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}
body{background:var(--cream)!important;color:var(--ink)!important;font-family:var(--sans)!important}

/* Fonts in main — never put div in Jost :is() * */
/* Exclude crumb + hero banners so live hero typography wins on county/city (and state plain hero uses live plain-hero CSS) */
html body main.content :is(.directory-layout, .county-overview, .lc-cost, .section, .local-comparisons, .local-information, .county-faq, .bottom-communities, .bottom-browse, .bp-area, .bp-faq) :is(p, li, td, th, a, span, small, strong, em, b, label, caption, button, option, select, textarea, input, summary),
html body main.content :is(.directory-layout, .county-overview, .lc-cost, .section, .local-comparisons, .local-information, .county-faq, .bottom-communities, .bottom-browse, .bp-area, .bp-faq) :is(p, li, td, th, a, span, small, strong, em, b, label, caption, button, option, select, textarea, input, summary) *{
  font-family:var(--sans)!important;
}
html body main.content :is(.directory-layout, .county-overview, .lc-cost, .section, .local-comparisons, .local-information, .county-faq, .bottom-communities, .bottom-browse, .bp-area, .bp-faq) :is(h2,h3,h4),
html body main.content :is(.directory-layout, .county-overview, .lc-cost, .section, .local-comparisons, .local-information, .county-faq, .bottom-communities, .bottom-browse, .bp-area, .bp-faq) :is(h2,h3,h4) *{
  font-family:var(--serif)!important;
}
html body main.content .section .eyebrow,
html body main.content .section .eyebrow *,
html body main.content .county-overview article > strong,
html body main.content .county-overview article > strong *,
html body main.content .wide-heading h3,
html body main.content .wide-heading h3 *{
  font-family:var(--serif)!important;
}

html body main.content{
  box-sizing:border-box!important;
  width:min(1160px, calc(100% - 80px))!important;
  max-width:1160px!important;
  margin:0 auto!important;
  padding:24px 0 72px!important;
  background:transparent!important;
  color:var(--ink)!important;
}
html body main.content :is(.directory-layout, .county-overview, .lc-cost, .section, .local-comparisons, .local-information, .county-faq, .bottom-communities, .bottom-browse, .bp-area){
  font-family:var(--sans)!important;
  font-size:17px!important;
  line-height:1.65!important;
}
html body main.content > .wrap{
  width:100%!important;max-width:none!important;padding:0!important;margin:0!important;
}


/* ===== Heroes ===== */
/* County/city: leave live shared-site plain-hero alone (eyebrow/p hidden there by design).
   State: plain-hero markup; SHOW eyebrow+blurb; Cormorant h1; readable CTA. */

html body main.content .city-banner.plain-hero.state-plain-hero,
html body main.content .plain-hero.state-plain-hero{
  display:block!important;
  min-height:0!important;
  background:none!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  margin:8px 0 6px!important;
  text-align:left!important;
  grid-template-columns:none!important;
}
html body main.content .plain-hero.state-plain-hero > div{
  max-width:none!important;
  padding:0!important;
  background:transparent!important;
  text-align:left!important;
}
/* Force eyebrow + blurb visible on state (shared-site hides them on .plain-hero) */
html body main.content .plain-hero.state-plain-hero .eyebrow,
html body main.content .plain-hero.state-plain-hero .eyebrow *{
  display:block!important;
  font-family:var(--serif)!important;
  font-size:13px!important;
  font-weight:600!important;
  letter-spacing:.16em!important;
  text-transform:uppercase!important;
  color:#1f3a2e!important;
  -webkit-text-fill-color:#1f3a2e!important;
  margin:0 0 10px!important;
  opacity:1!important;
  visibility:visible!important;
  text-align:left!important;
}
html body main.content .plain-hero.state-plain-hero h1{
  display:block!important;
  font-family:var(--serif)!important;
  font-weight:500!important;
  font-size:clamp(28px,3.2vw,40px)!important;
  line-height:1.15!important;
  color:#173f32!important;
  -webkit-text-fill-color:#173f32!important;
  margin:0 0 12px!important;
  text-align:left!important;
  text-wrap:balance!important;
  text-shadow:none!important;
}
html body main.content .plain-hero.state-plain-hero > div > p{
  display:block!important;
  font-family:var(--sans)!important;
  font-size:17px!important;
  line-height:1.6!important;
  color:#4d5c54!important;
  -webkit-text-fill-color:#4d5c54!important;
  margin:0 0 16px!important;
  max-width:640px!important;
  text-align:left!important;
  opacity:1!important;
  visibility:visible!important;
}
/* CTA: readable on plain cream — outline/forest text, NOT dark pill with invisible text */
html body main.content .plain-hero.state-plain-hero a.button,
html body main.content .plain-hero.state-plain-hero .button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:44px!important;
  height:auto!important;
  padding:10px 18px!important;
  border-radius:4px!important;
  border:1px solid var(--line)!important;
  background:transparent!important;
  color:#1f3a2e!important;
  -webkit-text-fill-color:#1f3a2e!important;
  font-family:var(--sans)!important;
  font-size:15px!important;
  font-weight:600!important;
  text-decoration:none!important;
  text-shadow:none!important;
  box-shadow:none!important;
}
html body main.content .plain-hero.state-plain-hero a.button:hover{
  border-color:var(--rust)!important;
  color:var(--rust)!important;
  -webkit-text-fill-color:var(--rust)!important;
  background:transparent!important;
}

/* Stat strip — number / label / footnote each on own line (override shared-site inline flex) */
html body main.content .county-overview,
html body main.content .county-overview.shared-overview,
html body main.content .plain-hero + .county-overview,
html body main.content .state-plain-hero + .county-overview{
  display:grid!important;
  grid-template-columns:repeat(4, minmax(0,1fr))!important;
  flex-wrap:nowrap!important;
  gap:0!important;
  margin:22px 0 8px!important;padding:0!important;
  background:transparent!important;border:0!important;border-radius:0!important;
  border-top:1px solid var(--brass)!important;
  border-bottom:1px solid var(--line)!important;
}
html body main.content .county-overview article,
html body main.content .plain-hero + .county-overview article,
html body main.content .state-plain-hero + .county-overview article{
  display:block!important;
  align-items:flex-start!important;
  gap:0!important;
  background:transparent!important;border:0!important;border-radius:0!important;
  border-right:1px solid var(--line)!important;
  box-shadow:none!important;
  padding:18px 20px 18px 0!important;margin:0!important;
  text-align:left!important;
}
html body main.content .county-overview article:last-child{border-right:0!important;padding-right:0!important}
html body main.content .county-overview article:first-child{padding-left:0!important}
html body main.content .county-overview article > strong,
html body main.content .plain-hero + .county-overview strong,
html body main.content .state-plain-hero + .county-overview strong{
  display:block!important;
  font-family:var(--serif)!important;font-weight:500!important;
  font-size:clamp(28px,3vw,36px)!important;line-height:1.1!important;
  color:#1f3a2e!important;
  font-variant-numeric:lining-nums tabular-nums!important;
  letter-spacing:-.01em!important;margin:0 0 6px!important;
}
html body main.content .county-overview article > span,
html body main.content .plain-hero + .county-overview span,
html body main.content .state-plain-hero + .county-overview span{
  display:block!important;
  font-family:var(--sans)!important;font-size:14px!important;font-weight:600!important;
  color:#1f3a2e!important;margin:0 0 4px!important;
  line-height:1.35!important;
}
html body main.content .plain-hero + .county-overview span::first-letter{
  text-transform:none!important;
}
html body main.content .county-overview article > small,
html body main.content .plain-hero + .county-overview small,
html body main.content .state-plain-hero + .county-overview small{
  display:block!important;
  font-family:var(--sans)!important;font-size:12px!important;font-weight:400!important;
  color:var(--mut)!important;line-height:1.45!important;margin:0!important;
}

/* Cost block — open, brass rule, no rounded box */
html body main.content .lc-cost{
  background:transparent!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  border-top:2px solid var(--brass)!important;
  padding:18px 0 8px!important;margin:20px 0!important;
  max-width:1040px!important;
}
html body main.content .lc-cost p{
  font-size:17px!important;line-height:1.7!important;color:var(--ink)!important;
  text-align:left!important;margin:0 0 10px!important;
}
html body main.content .lc-cost .lc-links{font-size:15px!important;color:var(--mut)!important}
html body main.content .lc-cost a{color:var(--g)!important}

/* Sections / editorial — ~1040px prose */
html body main.content .section{
  margin:28px 0 0!important;padding:28px 0 0!important;
  border-top:1px solid var(--line)!important;
  background:none!important;border-radius:0!important;box-shadow:none!important;
  max-width:1040px!important;
}
html body main.content .section h2,
html body main.content .results-toolbar h2,
html body main.content h2{
  font-family:var(--serif)!important;font-weight:500!important;
  font-size:30px!important;color:#1f3a2e!important;
  margin:0 0 16px!important;text-align:left!important;text-wrap:balance!important;
}
html body main.content .section .eyebrow{
  display:block!important;text-align:left!important;
  font-family:var(--serif)!important;font-size:13px!important;font-weight:600!important;
  letter-spacing:.16em!important;text-transform:uppercase!important;
  color:#1f3a2e!important;margin:0 0 10px!important;
}
html body main.content .section > p,
html body main.content .local-facts,
html body main.content .local-facts p,
html body main.content .info-columns,
html body main.content .bp-faq,
html body main.content .county-faq{
  font-size:17px!important;line-height:1.7!important;color:var(--ink)!important;
  text-align:left!important;max-width:1040px!important;
}
html body main.content a{color:var(--g)!important;text-decoration:underline;text-underline-offset:3px}
html body main.content a:hover{color:var(--rust)!important}
html body main.content a.button{text-decoration:none!important}

/* FAQ */
html body main.content .bp-faq-item,
html body main.content .county-faq details{
  border-bottom:1px solid var(--line)!important;padding:14px 0!important;
  background:transparent!important;border-radius:0!important;
}
html body main.content .bp-faq-item summary,
html body main.content .county-faq summary{
  font-family:var(--sans)!important;font-size:16px!important;font-weight:600!important;
  color:#1f3a2e!important;cursor:pointer!important;
}

/* ===== Directory layout — keep sidebar + full-width list ===== */
html body main.content .directory-layout{
  display:grid!important;
  grid-template-columns:240px minmax(0,1fr)!important;
  gap:32px!important;
  margin:28px 0 46px!important;
  max-width:none!important; /* list keeps page width */
  width:100%!important;
  align-items:start!important;
}

/* Filter sidebar — open, thin rules */
html body main.content .filter-panel{
  background:transparent!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  border-right:1px solid var(--line)!important;
  padding:0 20px 0 0!important;align-self:start!important;
}
html body main.content .filter-panel label{
  display:flex!important;flex-direction:column!important;gap:6px!important;
  font-family:var(--sans)!important;font-size:14px!important;font-weight:500!important;
  color:#1f3a2e!important;text-align:left!important;
  padding-bottom:14px!important;margin:0 0 0!important;
  border-bottom:1px solid var(--line)!important;
}
html body main.content .filter-panel label small,
html body main.content .filter-panel #area-status{
  font-size:12px!important;font-weight:400!important;color:var(--mut)!important;
}
html body main.content .filter-panel input,
html body main.content .filter-panel select,
html body main.content .filter-panel .custom-select-trigger{
  box-sizing:border-box!important;width:100%!important;min-width:0!important;
  min-height:48px!important;height:48px!important;
  padding:0 12px!important;
  border:1px solid var(--line)!important;border-radius:4px!important;
  background:#fff!important;
  font-family:var(--sans)!important;font-size:15px!important;font-weight:400!important;
  color:var(--ink)!important;box-shadow:none!important;
}
html body main.content .filter-panel input:focus,
html body main.content .filter-panel select:focus,
html body main.content .filter-panel .custom-select-trigger:focus{
  outline:2px solid var(--rust)!important;outline-offset:1px!important;border-color:var(--rust)!important;
}
html body main.content .filter-panel .more-filters{
  margin:14px 0 0!important;border-top:1px solid var(--line)!important;padding-top:14px!important;
  background:transparent!important;
}
html body main.content .filter-panel .more-filters summary{
  font-size:14px!important;font-weight:600!important;color:#1f3a2e!important;
}
html body main.content .filter-panel button,
html body main.content .filter-panel .button,
html body main.content .filter-panel button[type="reset"]{
  min-height:48px!important;height:48px!important;border-radius:4px!important;
  font-family:var(--sans)!important;font-size:14px!important;font-weight:600!important;
}
/* Map preview — striped thumbnail + SVG pin (no tofu for U+2316) */
html body main.content .map-preview{
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  gap:12px!important;padding:24px 12px!important;margin:18px 0!important;
  background:repeating-linear-gradient(35deg,#e5e9db 0 22px,#f5f4e9 22px 27px,#e5e9db 27px 49px)!important;
  border:0!important;border-radius:12px!important;
  text-decoration:none!important;color:var(--g)!important;
  font-family:var(--sans)!important;
}
html body main.content .map-preview:hover{filter:brightness(0.98)}
html body main.content .map-preview > span.map-pin-fallback,
html body main.content .map-preview > .map-pin{
  display:block!important;width:28px!important;height:28px!important;
  font-size:0!important;line-height:0!important;color:var(--g)!important;
}
html body main.content .map-preview svg.map-pin{display:block!important;width:28px!important;height:28px!important}
html body main.content .map-preview strong{
  background:#fffdf8!important;padding:10px 14px!important;border-radius:30px!important;
  font-size:13px!important;font-weight:700!important;color:inherit!important;
}

/* Results toolbar */
html body main.content .results-toolbar{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:16px!important;flex-wrap:wrap!important;
  padding:0 0 14px!important;margin:0 0 8px!important;
  border-bottom:1px solid var(--brass)!important;
  background:transparent!important;
}
html body main.content .results-toolbar h2{text-align:left!important;margin:0!important;font-size:28px!important}
html body main.content .view-toggle{
  display:inline-flex!important;gap:4px!important;border:1px solid var(--line)!important;border-radius:4px!important;padding:4px!important;
  background:transparent!important;
}
html body main.content .view-toggle button{
  width:40px!important;height:40px!important;border:0!important;border-radius:4px!important;
  background:transparent!important;color:var(--mut)!important;cursor:pointer!important;
}
html body main.content .view-toggle button[aria-pressed="true"]{
  background:var(--g)!important;color:#f6f0e6!important;
}

/* Home cards — quiet open rows, thin rules */
html body main.content .wide-facility,
html body main.content article.wide-facility.card{
  background:transparent!important;
  border:0!important;border-bottom:1px solid var(--line)!important;
  border-radius:0!important;box-shadow:none!important;
  padding:0!important;margin:0!important;overflow:visible!important;
}
html body main.content .wide-heading{
  display:flex!important;justify-content:space-between!important;align-items:flex-start!important;gap:16px!important;
  padding:18px 0 10px!important;
  background:transparent!important;border:0!important;border-radius:0!important;
}
html body main.content .wide-heading h3{
  font-family:var(--serif)!important;font-weight:500!important;
  font-size:24px!important;line-height:1.2!important;color:#1f3a2e!important;
  margin:0 0 6px!important;text-wrap:balance!important;
}
html body main.content .wide-heading p{
  font-size:15px!important;color:var(--mut)!important;margin:0!important;
  font-family:var(--sans)!important;
}
html body main.content .rating-badge{
  text-align:right!important;
  font-size:12px!important;font-weight:500!important;color:var(--mut)!important;
  padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;
  white-space:nowrap!important;max-width:none!important;line-height:1.35!important;
}
html body main.content .rating-badge span{
  display:block!important;
  font-size:18px!important;font-weight:600!important;margin-top:4px!important;
  color:#1f3a2e!important;letter-spacing:.04em!important;
  font-family:var(--sans)!important;
}
html body main.content .rating-badge small{
  display:block!important;margin-top:4px!important;font-size:11px!important;color:var(--mut)!important;
}
html body main.content .wide-body{
  display:grid!important;grid-template-columns:140px minmax(0,1fr)!important;gap:16px!important;
  padding:0 0 12px!important;background:transparent!important;
}
html body main.content .example-photo{
  margin:0!important;height:110px!important;border-radius:4px!important;
  background:var(--ivory)!important;color:var(--mut)!important;
  border:1px solid var(--line)!important;
}
html body main.content .wide-body > div > p{
  font-size:15px!important;color:var(--ink)!important;margin:0 0 8px!important;
}
/* Tags: plain small text with middots (no pills) */
html body main.content .facility-tags{
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;
  gap:0!important;margin:8px 0 0!important;background:none!important;
}
html body main.content .facility-tags span{
  padding:0!important;margin:0!important;
  background:none!important;border:0!important;border-radius:0!important;
  font-size:13px!important;font-weight:400!important;color:var(--mut)!important;
  font-family:var(--sans)!important;
}
html body main.content .facility-tags span + span::before{
  content:" · "!important;
  color:var(--brass)!important;
}
html body main.content .wide-actions{
  display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:10px!important;
  padding:0 0 18px!important;background:transparent!important;border:0!important;
}
html body main.content .wide-actions .button,
html body main.content .wide-actions a.button,
html body main.content .wide-actions .save-btn{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:48px!important;height:48px!important;padding:0 18px!important;
  border-radius:4px!important;font-family:var(--sans)!important;font-size:14px!important;font-weight:600!important;
  text-decoration:none!important;box-shadow:none!important;
}
html body main.content .wide-actions a.button{
  background:#1f3a2e!important;color:#f6f0e6!important;border:0!important;
}
html body main.content .wide-actions a.button:hover{background:var(--rust)!important;color:#f6f0e6!important}
html body main.content .wide-actions .save-btn,
html body main.content .wide-actions .button.secondary{
  background:transparent!important;color:#1f3a2e!important;
  border:1px solid var(--line)!important;
}
html body main.content .wide-actions .save-btn:hover,
html body main.content .wide-actions .button.secondary:hover{
  border-color:var(--rust)!important;color:var(--rust)!important;background:transparent!important;
}
html body main.content .wide-actions .save-btn[aria-pressed="true"]{
  border-color:var(--rust)!important;color:var(--rust)!important;
}

/* Grid view still works — quieter cards */
html body main.content .directory-results.grid-view .wide-facility,
html body main.content .directory-results[data-view="grid"] .wide-facility,
html body main.content #listings.grid .wide-facility{
  border:1px solid var(--line)!important;border-radius:0!important;padding:12px!important;margin-bottom:12px!important;
}

/* Comparison / metric blocks open */
html body main.content .comparison-grid,
html body main.content .local-comparisons,
html body main.content .comparison{
  background:transparent!important;border-radius:0!important;box-shadow:none!important;
}
html body main.content .bar-track{background:var(--line)!important;border-radius:2px!important;height:6px!important}
html body main.content .bar-row > span:last-child,
html body main.content .bar-track > span{background:var(--g)!important;border-radius:2px!important}

/* Browse link columns */
html body main.content .state-links a,
html body main.content .place-links a,
html body main.content .community-links a{
  color:var(--g)!important;
}

@media(max-width:900px){
  html body main.content .directory-layout{grid-template-columns:1fr!important}
  html body main.content .filter-panel{border-right:0!important;border-bottom:1px solid var(--line)!important;padding:0 0 20px!important}
  html body main.content .county-overview{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body main.content{width:calc(100% - 40px)!important}
}
@media(max-width:640px){
  html body main.content .county-overview{grid-template-columns:1fr!important}
  html body main.content .wide-body{grid-template-columns:1fr!important}
}

/* Late force, same rules as the mockup style#dir-final-force (after the sheet above). */
/* State plain hero — visible eyebrow/blurb, Cormorant h1, readable CTA */
html body main.content .plain-hero.state-plain-hero .eyebrow,
html body main.content .plain-hero.state-plain-hero .eyebrow *{
  display:block!important;visibility:visible!important;opacity:1!important;
  font-family:'Cormorant Garamond',Georgia,serif!important;
  font-size:13px!important;font-weight:600!important;letter-spacing:.16em!important;
  text-transform:uppercase!important;color:#1f3a2e!important;-webkit-text-fill-color:#1f3a2e!important;
  text-align:left!important;
}
html body main.content .plain-hero.state-plain-hero h1{
  font-family:'Cormorant Garamond',Georgia,serif!important;
  font-size:clamp(28px,3.2vw,40px)!important;font-weight:500!important;
  color:#173f32!important;-webkit-text-fill-color:#173f32!important;
  text-align:left!important;text-shadow:none!important;
}
html body main.content .plain-hero.state-plain-hero > div > p{
  display:block!important;visibility:visible!important;opacity:1!important;
  font-family:'Jost',system-ui,sans-serif!important;font-size:17px!important;
  color:#4d5c54!important;-webkit-text-fill-color:#4d5c54!important;text-align:left!important;
}
html body main.content .plain-hero.state-plain-hero a.button{
  background:transparent!important;border:1px solid #e3dccf!important;border-radius:4px!important;
  color:#1f3a2e!important;-webkit-text-fill-color:#1f3a2e!important;
  font-family:'Jost',system-ui,sans-serif!important;font-size:15px!important;font-weight:600!important;
  text-shadow:none!important;padding:10px 18px!important;
}
html body main.content .section h2,
html body main.content .results-toolbar h2,
html body main.content .bp-faq h2,
html body main.content .bottom-browse h2,
html body main.content .bottom-communities h2{
  font-family:'Cormorant Garamond',Georgia,serif!important;
  font-size:30px!important;font-weight:500!important;color:#1f3a2e!important;
  text-align:left!important;
}
html body main.content .section .eyebrow{
  font-family:'Cormorant Garamond',Georgia,serif!important;
  font-size:13px!important;font-weight:600!important;
  letter-spacing:.16em!important;text-transform:uppercase!important;
  color:#1f3a2e!important;text-align:left!important;
}
html body main.content .county-overview,
html body main.content .plain-hero + .county-overview,
html body main.content .state-plain-hero + .county-overview{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;
}
html body main.content .county-overview article,
html body main.content .plain-hero + .county-overview article{
  display:block!important;background:transparent!important;border-radius:0!important;
}
html body main.content .county-overview article > strong,
html body main.content .plain-hero + .county-overview strong{
  display:block!important;
  font-family:'Cormorant Garamond',Georgia,serif!important;
  font-variant-numeric:lining-nums tabular-nums!important;
  font-size:clamp(28px,3vw,36px)!important;font-weight:500!important;color:#1f3a2e!important;
}
html body main.content .county-overview article > span,
html body main.content .plain-hero + .county-overview span{
  display:block!important;font-size:14px!important;font-weight:600!important;color:#1f3a2e!important;
}
html body main.content .county-overview article > small,
html body main.content .plain-hero + .county-overview small{
  display:block!important;font-size:12px!important;color:#5d6660!important;
}
html body main.content .lc-cost,
html body main.content .filter-panel,
html body main.content .wide-facility,
html body main.content article.wide-facility.card{
  background:transparent!important;border-radius:0!important;box-shadow:none!important;
}
html body main.content .wide-heading{background:transparent!important}
html body main.content .wide-heading h3{
  font-family:'Cormorant Garamond',Georgia,serif!important;font-size:24px!important;font-weight:500!important;color:#1f3a2e!important;
}
html body main.content .facility-tags span{background:none!important;border-radius:0!important;padding:0!important}
html body main.content .filter-panel input,
html body main.content .filter-panel select{
  min-height:48px!important;height:48px!important;border-radius:4px!important;
}
html body main.content .wide-actions .button,
html body main.content .wide-actions a.button,
html body main.content .wide-actions .save-btn{
  min-height:48px!important;height:48px!important;border-radius:4px!important;
}
html body main.content .rating-badge{background:transparent!important;border-radius:0!important}
html body main.content .map-preview{
  background:repeating-linear-gradient(35deg,#e5e9db 0 22px,#f5f4e9 22px 27px,#e5e9db 27px 49px)!important;
  border-radius:12px!important;
}

/* === Mobile 390 fixes === */
@media (max-width: 720px) {
  html body main.content .county-overview,
  html body main.content .county-overview.shared-overview,
  html body main.content .plain-hero + .county-overview,
  html body main.content .state-plain-hero + .county-overview {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
  }
  html body main.content .county-overview article,
  html body main.content .plain-hero + .county-overview article,
  html body main.content .state-plain-hero + .county-overview article {
    padding: 12px 14px 14px !important;
    border-right: 1px solid var(--line, #e3dccf) !important;
    border-bottom: 1px solid var(--line, #e3dccf) !important;
    min-width: 0 !important;
  }
  html body main.content .county-overview article:nth-child(2n),
  html body main.content .plain-hero + .county-overview article:nth-child(2n),
  html body main.content .state-plain-hero + .county-overview article:nth-child(2n) {
    border-right: 0 !important;
    padding-right: 0 !important;
  }
  html body main.content .county-overview article:nth-child(2n+1),
  html body main.content .plain-hero + .county-overview article:nth-child(2n+1),
  html body main.content .state-plain-hero + .county-overview article:nth-child(2n+1) {
    padding-left: 0 !important;
  }
  html body main.content .county-overview article:nth-child(n+3),
  html body main.content .plain-hero + .county-overview article:nth-child(n+3),
  html body main.content .state-plain-hero + .county-overview article:nth-child(n+3) {
    border-bottom: 0 !important;
  }
  html body main.content .county-overview article > strong,
  html body main.content .plain-hero + .county-overview strong,
  html body main.content .state-plain-hero + .county-overview strong {
    white-space: nowrap !important;
    font-variant-numeric: tabular-nums lining-nums !important;
    overflow: visible !important;
  }
  /* Keep Show filters clear of the bottom rail */
  html body main.content .directory-layout {
    margin-top: 16px !important;
    padding-bottom: 84px !important;
  }
  html body main.content button.filter-toggle,
  html body main.content .filter-toggle {
    scroll-margin-bottom: 84px !important;
    margin-bottom: 8px !important;
  }
  html body main.content .lc-cost {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
  }
}


@media (max-width: 720px) {
  html body main.content .county-overview,
  html body main.content .county-overview.shared-overview,
  html body main.content .plain-hero + .county-overview,
  html body main.content .state-plain-hero + .county-overview {
    margin-top: 8px !important;
    margin-bottom: 4px !important;
  }
  html body main.content .county-overview article,
  html body main.content .plain-hero + .county-overview article,
  html body main.content .state-plain-hero + .county-overview article {
    padding: 8px 12px 10px !important;
  }
  html body main.content .lc-cost {
    margin-top: 4px !important;
    margin-bottom: 4px !important;
    padding-top: 8px !important;
    padding-bottom: 4px !important;
  }
  html body main.content .directory-layout {
    margin-top: 8px !important;
    padding-bottom: 84px !important;
  }
}

/* Search filters are buttons. Same colour as the links they replace; the map tile keeps its own shape. */
html body main.content button.cp-go:not(.map-preview):not(.button){
  font:inherit;background:none;border:0;padding:0;display:inline;cursor:pointer;
  color:var(--g)!important;text-decoration:underline;text-underline-offset:3px;
}
html body main.content button.cp-go:not(.map-preview):not(.button):hover{color:var(--rust)!important}
html body main.content .filter-panel button.map-preview{
  height:auto!important;min-height:0!important;width:100%!important;
  border-radius:12px!important;font-size:inherit!important;font-weight:400!important;
  cursor:pointer!important;
}
