/* UK Hospitals: brand tokens and components (C:\wpworkspace\ukhospitals-wp\brand\README.md). Not NHS identity colours.
   2026-10-23: "royal navy and ivory" (logo option B). The --ukhc-teal* names are kept so module CSS keeps working; they now
   hold the navy. Gold is for rules and large text only (#A8862F is 3.2:1 on ivory); small gold text uses --ukhc-gold-text. */
/* Headings: Source Serif 4 Bold, optical size fixed at 20 (the text cut: sturdy strokes, large x-height, easy to read from a
   distance; reports\design-20261023\設計評估.md section 7). Replaced Fraunces, whose display cut had hairlines too thin. */
@font-face{font-family:"Source Serif 4";font-style:normal;font-weight:700;font-display:swap;
  src:url(fonts/source-serif-4-bold-opsz20-latin.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{
  --ukhc-teal:#1E2D5C;--ukhc-teal-dark:#16224A;--ukhc-teal-tint:#EAEDF6;
  --ukhc-ink:#14203F;--ukhc-text:#2A3149;--ukhc-muted:#555B70;--ukhc-line:#DDD6C6;--ukhc-bg:#FAF7F0;--ukhc-card:#fff;
  --ukhc-gold:#A8862F;--ukhc-gold-soft:#C9A646;--ukhc-gold-text:#8A6D1F;--ukhc-gold-tint:#F4ECD6;
  /* 2026-10-23: three British heritage colours, one job each (reports\design-20261023\設計評估.md section 8):
     racing green = community care (pharmacies, GPs, dentists, opticians) and "open"; claret = guides and private hospitals
     (never next to urgent red); Portland stone = quiet backgrounds and labels */
  --ukhc-green:#1F4E3D;--ukhc-green-tint:#E3EEE7;--ukhc-claret:#7A2840;--ukhc-claret-tint:#F6E8EC;--ukhc-stone:#ECE5D6;--ukhc-stone-line:#D9D0BD;
  --ukhc-live:#1DB954;--ukhc-live-tint:#E3F6EA;--ukhc-live-ink:#11683A;
  --ukhc-urgent:#C8102E;--ukhc-urgent-tint:#FDEDEF;--ukhc-amber:#B35C00;--ukhc-amber-tint:#FFF4E5;
  --ukhc-focus:#FFC72C;--ukhc-radius:8px;
  --ukhc-serif:"Source Serif 4",Georgia,"Times New Roman",serif;
}
body{background:var(--ukhc-bg)}

/* ---------- royal navy and ivory: headings, header, page title, footer ---------- */
html body :is(h1,h2,h3,.entry-title,.site-title){font-family:var(--ukhc-serif);font-weight:700;letter-spacing:0;color:var(--ukhc-ink)}
h4,h5,h6{color:var(--ukhc-ink)}
#masthead{border-bottom:1px solid var(--ukhc-line);box-shadow:inset 0 -3px 0 var(--ukhc-gold-soft)}
.main-navigation .primary-menu-container > ul > li.menu-item > a{color:var(--ukhc-ink);font-weight:600}
.main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
.main-navigation .primary-menu-container > ul > li.current-menu-item > a{color:var(--ukhc-teal);text-decoration:underline;text-decoration-color:var(--ukhc-gold);text-decoration-thickness:2px;text-underline-offset:6px}
.entry-hero-container-inner{background:linear-gradient(180deg,#fff 0%,var(--ukhc-bg) 100%)!important;border-bottom:1px solid var(--ukhc-line)}
.entry-hero .entry-header .entry-title::after{content:"";display:block;width:56px;height:3px;background:var(--ukhc-gold);margin:16px auto 0}
.site-footer{background:var(--ukhc-teal-dark);color:#D5DAEA}
.site-footer a{color:#fff}
.site-footer a:hover{color:var(--ukhc-gold-soft)}
.site-footer .site-bottom-footer-wrap{border-top:3px solid var(--ukhc-gold-soft)}

/* ---------- readable type for older readers (2026-10-23) ----------
   Body text 18px on phones, 19px on tablets, 20px on desktop (NHS.UK and GOV.UK use 19px). Sizes in this plugin are in rem,
   so they grow with the root; Kadence sets body and headings in px, which is overridden here. */
html{font-size:112.5%}
@media (min-width:768px){html{font-size:118.75%}}
@media (min-width:1025px){html{font-size:125%}}
html body{font-size:1rem;line-height:1.6}
html body h1{font-size:1.75rem;line-height:1.2}
html body h2{font-size:1.4rem;line-height:1.25}
html body h3{font-size:1.15rem;line-height:1.3}
html body h4{font-size:1.05rem;line-height:1.35}
@media (min-width:1025px){html body h1{font-size:2rem}}
.entry-content p,.entry-content li,.entry-content dd,.entry-content td,.entry-content th{font-size:1rem}
.entry-content li+li{margin-top:.3em}
.main-navigation .primary-menu-container > ul > li.menu-item > a,.mobile-navigation ul li a{font-size:.95rem}
.site-footer{font-size:.95rem}
a{color:var(--ukhc-teal)}a:hover{color:var(--ukhc-teal-dark)}
/* not on tabindex=-1 blocks: Kadence focuses the target of an in-page link, and with its outline hidden only a square 6px navy
   box was left (2026-10-23); those blocks get the jump highlight at the end of this file. :where() keeps the specificity at 0,1,0 */
:focus-visible:not(:where([tabindex="-1"])){outline:3px solid var(--ukhc-focus);outline-offset:2px;box-shadow:0 0 0 6px var(--ukhc-ink)}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.muted{color:var(--ukhc-muted);font-size:.92rem}

/* ---------- breadcrumbs ---------- */
.ukhc-breadcrumbs ol{list-style:none;margin:0 0 12px;padding:0;display:flex;flex-wrap:wrap;gap:4px;font-size:.92rem}
.ukhc-breadcrumbs li:not(:last-child)::after{content:"\203A";margin-left:6px;color:var(--ukhc-muted)}
.ukhc-breadcrumbs li[aria-current]{color:var(--ukhc-muted)}

/* ---------- facility page components (pipeline HTML) ---------- */
.entry-content .summary{font-size:1.15rem;line-height:1.55;color:var(--ukhc-ink)}
.entry-content h2{font-size:1.5rem;margin:2.2rem 0 .6rem;padding-top:.8rem;border-top:1px solid var(--ukhc-line);color:var(--ukhc-ink)}
.entry-content h3{font-size:1.15rem;margin:1.3rem 0 .35rem;color:var(--ukhc-ink)}
.glance,.urgent,.nav,.card{background:var(--ukhc-card);border:1px solid var(--ukhc-line);border-radius:var(--ukhc-radius);padding:14px 18px;margin:14px 0}
.glance{border-top:5px solid var(--ukhc-gold-soft)}
.glance dl{display:grid;grid-template-columns:minmax(130px,30%) 1fr;gap:6px 14px;margin:0}
.glance dt{font-weight:700;color:var(--ukhc-ink)}.glance dd{margin:0}
.label{font-weight:700;margin:0 0 8px;color:var(--ukhc-ink)}
/* page title band and the gap under it (2026-11-04): Kadence gave the band 200px for a 67px title and put 5rem above the
   content box; pages with the title above the content only (facility pages and the home page keep Kadence's spacing) */
body .entry-hero.page-hero-section .entry-header{min-height:0;padding:28px 0 18px}
body.content-title-style-above .content-area{margin-top:24px}
@media (min-width:1025px){body.content-title-style-above.content-style-boxed .entry-content-wrap{padding-top:28px}}
.entry-content .label{margin:0 0 8px}  /* Kadence .single-content p (40px below) outranked .label (2026-11-04) */
.urgent{border-left:6px solid var(--ukhc-urgent);background:var(--ukhc-urgent-tint)}
.nav ul{columns:2;margin:0;padding-left:20px}
.not-available{background:var(--ukhc-amber-tint);border-left:5px solid var(--ukhc-amber);padding:10px 14px;border-radius:4px}
.entry-content table{border-collapse:collapse;width:100%;background:var(--ukhc-card);margin:10px 0}
.entry-content caption{text-align:left;font-weight:700;padding:6px 0;color:var(--ukhc-ink)}
.entry-content th,.entry-content td{border:1px solid var(--ukhc-line);padding:8px 10px;text-align:left;vertical-align:top}
/* long words (cookie names, URLs) may break, so tables fit a 375px screen instead of running past the edge (QA finding 12) */
.entry-content th,.entry-content td{overflow-wrap:anywhere}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}
.card p{margin:.25rem 0}
.map{border:0;width:100%;height:340px;border-radius:var(--ukhc-radius)}
.map-slot{margin:10px 0}
.button,.button-secondary,.ukhc-search button,.ukhc-form button{display:inline-block;padding:11px 18px;font-weight:700;font-size:1rem;border-radius:6px;cursor:pointer;text-decoration:none;line-height:1.2}
.entry-content .button,.ukhc-search button,.ukhc-form button{background:var(--ukhc-teal);color:#fff;border:0}
.entry-content .button:hover{background:var(--ukhc-teal-dark);color:#fff}
.button-secondary{background:#fff;color:var(--ukhc-teal);border:2px solid var(--ukhc-teal)}
.ukhc-faq article{border-bottom:1px solid var(--ukhc-line);padding-bottom:6px}
.ukhc-page-footer{margin-top:2.5rem;padding-top:1rem;border-top:1px solid var(--ukhc-line);font-size:.95rem}
.ukhc-tag{display:inline-block;padding:2px 8px;border-radius:999px;font-size:.8rem;font-weight:700;background:var(--ukhc-teal-tint);color:var(--ukhc-teal-dark)}
.ukhc-tag--private{background:var(--ukhc-claret-tint);color:var(--ukhc-claret)}
.ukhc-tag--open{background:var(--ukhc-green-tint);color:var(--ukhc-green)}

/* ---------- trust strip above the footer ---------- */
.ukhc-trust{background:var(--ukhc-ink);color:#E8EBF5}
.ukhc-trust__inner{max-width:1200px;margin:0 auto;padding:18px 24px;font-size:.95rem}
.ukhc-trust p{margin:.25rem 0}.ukhc-trust a{color:#fff}
.ukhc-trust__urgent strong{color:#fff}

/* ---------- directory hub pages ---------- */
.ukhc-az{background:var(--ukhc-card);border:1px solid var(--ukhc-line);border-radius:var(--ukhc-radius);padding:14px 18px;margin:16px 0}
.ukhc-az ul{list-style:none;margin:0;padding:0;columns:3;column-gap:24px}
.ukhc-az li{margin:2px 0}
/* region pages (inc/modules/regions.php, 2026-11-04): postcode search under the summary; "Choose an area" folded on phones,
   beside the map on wide screens (the map narrower, so less empty land either side of a tall region such as Scotland) */
.entry-content p.summary:has(+ .ukhc-region-search){margin-bottom:16px}
.ukhc-region-search{margin:0 0 18px}
.entry-content .ukhc-region-search h2{font-size:1.15rem;margin:0 0 8px;padding-top:0;border-top:0}
/* the same arrow and 44px tap height as the A&E fold (areas.css .ukhc-areas-fold); summary.label so .entry-content .label's 8px stays off when closed */
.ukhc-az-fold > summary.label{cursor:pointer;margin:0;display:flex;align-items:center;min-height:44px;list-style:none}
.ukhc-az-fold > summary .muted{margin-left:.3em}
.ukhc-az-fold > summary::-webkit-details-marker{display:none}
.ukhc-az-fold > summary::before{content:"";flex:none;width:0;height:0;border-style:solid;border-width:6px 0 6px 9px;border-color:transparent transparent transparent var(--ukhc-teal);transition:transform .15s;margin-right:10px}
.ukhc-az-fold[open] > summary::before{transform:rotate(90deg)}
.ukhc-az-fold[open] > summary.label{margin-bottom:4px}
.ukhc-az:has(> .ukhc-az-fold){padding-top:4px;padding-bottom:4px}
.ukhc-az:has(> .ukhc-az-fold[open]){padding-bottom:12px}
.ukhc-region-fold{margin:20px 0 16px}
.ukhc-region-fold > ul{margin-top:4px;margin-bottom:12px}
@media (max-width:600px){.ukhc-region-search .ukhc-search input{font-size:16px;padding:12px 8px}.ukhc-region-search .ukhc-search button{padding:0 12px;font-size:1rem}}
@media (min-width:1024px){
  .ukhc-region-top:has(> .ukhc-region-map:not([hidden])){display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start;margin:16px 0}
  .ukhc-region-top:has(> .ukhc-region-map:not([hidden])) .ukhc-az{margin:0;max-height:calc(min(62vh,560px) + 46px);overflow:auto;box-sizing:border-box}
  .ukhc-region-top:has(> .ukhc-region-map:not([hidden])) .ukhc-az ul{columns:1}
}
.ukhc-dir-list{list-style:none;margin:0;padding:0}
.ukhc-dir-list li{padding:8px 0;border-bottom:1px solid var(--ukhc-line)}

/* ---------- search box ---------- */
.ukhc-search{display:flex;max-width:560px;border:3px solid var(--ukhc-ink);border-radius:8px;overflow:hidden;background:#fff}
.ukhc-search input{flex:1;border:0;padding:14px 16px;font-size:1.1rem;min-width:0;background:#fff}
.ukhc-search input:focus{outline:none}
.ukhc-search:focus-within{box-shadow:0 0 0 4px var(--ukhc-focus)}
.ukhc-search button{border-radius:0;padding:0 26px;font-size:1.1rem}

/* ---------- forms ---------- */
.ukhc-form label{display:block;font-weight:700;margin-bottom:4px;color:var(--ukhc-ink)}
.ukhc-hint{display:block;color:var(--ukhc-muted);font-size:.92rem;margin-bottom:4px}
.ukhc-form input[type=text],.ukhc-form input[type=email],.ukhc-form select,.ukhc-form textarea{width:100%;max-width:560px;border:2px solid var(--ukhc-ink);border-radius:4px;padding:10px;font-size:1rem}
.ukhc-hp{position:absolute;left:-9999px}
.ukhc-notice{border-radius:var(--ukhc-radius);padding:12px 16px;margin:12px 0}
.ukhc-notice--ok{background:var(--ukhc-live-tint);border-left:5px solid var(--ukhc-live)}
.ukhc-notice--error{background:var(--ukhc-urgent-tint);border-left:5px solid var(--ukhc-urgent)}

/* ---------- home page ---------- */
.ukhc-hero{background:#fff;border-radius:var(--ukhc-radius);padding:36px 32px;margin:0 0 24px;border-top:6px solid var(--ukhc-gold-soft)}
.ukhc-hero h1{font-size:2.6rem;line-height:1.1;margin:0 0 12px;color:var(--ukhc-ink)}
.ukhc-hero p.lead{font-size:1.2rem;color:var(--ukhc-text);max-width:640px;margin:0 0 20px}
.ukhc-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 0}
.ukhc-hero-actions .button,.ukhc-hero-actions .button-secondary{padding:12px 20px}
.entry-content .ukhc-now-button{background:var(--ukhc-urgent)}.entry-content .ukhc-now-button:hover{background:#9E0B23}
.ukhc-hero .note{margin-top:12px;font-size:.95rem;color:var(--ukhc-muted)}
.ukhc-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin:16px 0 28px}
.ukhc-tile{display:block;background:#fff;border:1px solid var(--ukhc-line);border-bottom:4px solid var(--ukhc-line);border-radius:var(--ukhc-radius);padding:18px 20px;text-decoration:none;color:var(--ukhc-text)}
.ukhc-tile:hover{border-bottom-color:var(--ukhc-gold)}
.ukhc-tile strong{display:block;font-family:var(--ukhc-serif);font-weight:700;font-size:1.25rem;color:var(--ukhc-teal);margin-bottom:4px}
.ukhc-tile .count{font-size:.9rem;font-weight:700;color:var(--ukhc-gold-text)}
.ukhc-tile--soon{opacity:.75}
.ukhc-triage{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:16px 0 28px}
.ukhc-triage div{background:#fff;border-radius:var(--ukhc-radius);padding:16px 18px;border-left:6px solid var(--ukhc-teal)}
.ukhc-triage div.is-999{border-left-color:var(--ukhc-urgent)}
.ukhc-triage div.is-111{border-left-color:#3D5A80}
.ukhc-triage div.is-pharmacy{border-left-color:var(--ukhc-live)}
.ukhc-triage h3{margin:0 0 6px;font-size:1.15rem;color:var(--ukhc-ink)}
.ukhc-triage p{margin:0;font-size:.98rem}
.ukhc-section-title{font-size:1.6rem;color:var(--ukhc-ink);margin:28px 0 8px}

/* ---------- finder (/find/) ---------- */
.uf-where,.uf-panel{background:#fff;border:1px solid var(--ukhc-line);border-radius:var(--ukhc-radius);padding:18px 20px;margin:0 0 16px}
.uf label{font-weight:700;display:block;margin-bottom:6px;color:var(--ukhc-ink)}
.uf-row{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end}
.uf-row>p{flex:1 1 220px;margin:0}
.uf-row input[type=text]{flex:1 1 220px;border:2px solid var(--ukhc-ink);border-radius:6px;padding:11px 12px;font-size:1.05rem}
.uf select{width:100%;border:2px solid var(--ukhc-ink);border-radius:6px;padding:10px;font-size:1rem;background:#fff}
.uf .button,.uf .button-secondary{display:inline-block;padding:11px 16px;font-weight:700;border-radius:6px;cursor:pointer;text-decoration:none;line-height:1.2;font-size:1rem}
.uf .button{background:var(--ukhc-teal);color:#fff;border:0}.uf .button:hover{background:var(--ukhc-teal-dark);color:#fff}
.uf .button-secondary{background:#fff;color:var(--ukhc-teal);border:2px solid var(--ukhc-teal)}
.uf .uf-999{background:var(--ukhc-urgent)}
.uf-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}
.uf-tab{border:2px solid var(--ukhc-teal);background:#fff;color:var(--ukhc-teal);padding:10px 16px;border-radius:6px;cursor:pointer;font-weight:700;font-size:1rem}
.uf-tab[aria-selected=true]{background:var(--ukhc-teal);color:#fff}
.uf-checks label{display:inline-flex;gap:8px;align-items:center;font-weight:400}
.uf-card{border:1px solid var(--ukhc-line);border-radius:var(--ukhc-radius);padding:14px 16px;margin:12px 0;background:#fff}
.uf-card h3{margin:0 0 2px;font-size:1.15rem}
.uf-card p{margin:.2rem 0}
.uf-acc{margin:.2rem 0;font-size:.95rem}.uf-acc-yes{font-weight:700;color:var(--ukhc-live-ink)}
.ukhc-dir-acc{display:block;font-size:.88rem;color:var(--ukhc-muted)}.ukhc-dir-acc--yes{font-weight:700;color:var(--ukhc-live-ink)}
.ukhc-acc-filter{background:var(--ukhc-card);border:1px solid var(--ukhc-line);border-radius:var(--ukhc-radius);padding:14px 18px;margin:1rem 0}
.ukhc-acc-filter label{display:block;font-weight:700;margin-bottom:4px}.ukhc-acc-filter select{max-width:100%}.ukhc-acc-filter p{margin:.5rem 0 0}
.uf-state{font-weight:700}.uf-open{color:var(--ukhc-live-ink)}.uf-closed{color:var(--ukhc-urgent)}.uf-unknown{color:var(--ukhc-muted)}
.uf-open::before{content:"";display:inline-block;width:10px;height:10px;border-radius:50%;background:var(--ukhc-live);margin-right:7px}
.uf-chips .ukhc-tag{margin:2px 4px 2px 0}
.uf-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px!important}
.uf-note{background:var(--ukhc-teal-tint);border-left:5px solid var(--ukhc-teal);padding:10px 14px;border-radius:4px}
.uf-q{font-size:1.2rem;font-weight:700;color:var(--ukhc-ink);margin:4px 0 10px}
.uf-answers{display:flex;flex-direction:column;gap:8px}
.uf-answers .button-secondary{text-align:left}

/* ---------- tap targets: at least 24px high for links in lists and tables (WCAG 2.2, 2.5.8; QA finding 13) ---------- */
.ukhc-breadcrumbs a,.ukhc-az a,.ukhc-dir-list a,.nav li a,.entry-content td a,.entry-content th a,.ukhc-page-footer a,.entry-content li>a,.site-footer li a{display:inline-block;min-height:24px;padding:2px 0;box-sizing:border-box}
.uf-checks input[type=checkbox],.ukhc-form input[type=checkbox]{width:24px;height:24px;margin:0;flex:none}

/* ---------- 404 page (inc/modules/notfound.php) ---------- */
.ukhc-notfound .ukhc-search{margin:10px 0 20px}
.ukhc-notfound-links{list-style:none;margin:10px 0 24px;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
.ukhc-notfound-links a{display:block;height:100%;box-sizing:border-box;background:var(--ukhc-card);border:1px solid var(--ukhc-line);border-bottom:4px solid var(--ukhc-line);border-radius:var(--ukhc-radius);padding:12px 14px;text-decoration:none;color:var(--ukhc-text)}
.ukhc-notfound-links a:hover{border-bottom-color:var(--ukhc-teal)}
.ukhc-notfound-links strong{display:block;color:var(--ukhc-teal);font-size:1.05rem;text-decoration:underline;text-underline-offset:2px}
.ukhc-notfound-links span{display:block;font-size:.9rem;color:var(--ukhc-muted)}

@media (max-width:640px){
  .nav ul,.ukhc-az ul{columns:1}
  .glance dl{grid-template-columns:1fr}
  .ukhc-hero{padding:24px 18px}.ukhc-hero h1{font-size:2rem}
  .ukhc-search button{padding:0 16px}
}

/* ---------- heritage colours in use (2026-10-23) ---------- */
/* home page service tiles: community care in racing green, guides in claret */
.ukhc-tile:is([href^="/pharmacies/"],[href="/gp-surgeries/"],[href="/dentists/"],[href="/opticians/"],[href="/flu-vaccine/"]) strong{color:var(--ukhc-green)}
.ukhc-tile:is([href^="/pharmacies/"],[href="/gp-surgeries/"],[href="/dentists/"],[href="/opticians/"],[href="/flu-vaccine/"]):hover{border-bottom-color:var(--ukhc-green)}
.ukhc-tile:is([href^="/guides/"],[href="/guide/"]) strong{color:var(--ukhc-claret)}
.ukhc-tile:is([href^="/guides/"],[href="/guide/"]):hover{border-bottom-color:var(--ukhc-claret)}
/* guides: editorial byline in claret; sources and page footer on Portland stone */
html body .ukhc-byline{border-left-color:var(--ukhc-claret)}
html body .ukhc-sources,.ukhc-page-footer{background:var(--ukhc-stone);border-color:var(--ukhc-stone-line)}
.ukhc-page-footer{padding:1rem 1.2rem;border-radius:var(--ukhc-radius)}

/* ---------- borough groups: more air above each borough name (2026-10-24; the name sat about 10px under the line above) ---------- */
.entry-content .ukhc-dir-group{margin-top:1.7rem}
.entry-content .ukhc-dir-group:first-of-type{margin-top:.8rem}
.entry-content .ukhc-dir-group>:is(h2,h3){margin:0 0 .35rem}

/* ---------- selected jump target (2026-10-24, owner chose option 1: reports\target-highlight-20261023\compare-v2.png) ----------
   jump.js marks the block an in-page link leads to (#merton on the hub pages, sections) with .is-ukhc-selected and keeps it
   until another one is chosen: ivory-gold card, thick gold rule on the left; borough groups also get a dark gold "Selected"
   label after the heading (white on #8A6D1F is 5:1). Links and buttons keep the yellow keyboard focus; the focused block itself shows no ring. */
.entry-content [id]{scroll-margin-top:28px}
.entry-content [tabindex="-1"]:focus{outline:none}
.entry-content .is-ukhc-selected{background:var(--ukhc-gold-tint);border-radius:12px;padding:14px 18px 6px;margin-left:-18px;
  margin-right:-18px;box-shadow:inset 5px 0 0 var(--ukhc-gold-soft);animation:ukhc-selected .35s ease-out}
.entry-content .is-ukhc-selected .ukhc-dir-list li{border-bottom-color:#E3D6B4}
.entry-content .is-ukhc-selected .ukhc-dir-list li:last-child{border-bottom:0}
.entry-content .ukhc-dir-group.is-ukhc-selected>:is(h2,h3)::after{content:"Selected";display:inline-block;vertical-align:.2em;margin-left:10px;
  padding:5px 9px;border-radius:999px;background:var(--ukhc-gold-text);color:#fff;font:700 .62rem/1 system-ui,-apple-system,"Segoe UI",sans-serif;
  letter-spacing:.08em;text-transform:uppercase}
@keyframes ukhc-selected{from{background-color:rgba(244,236,214,0)}}
@media (prefers-reduced-motion:reduce){.entry-content .is-ukhc-selected{animation:none}}

/* design phase 3 (2026-10-26): reading width. Running text on guide and facility pages stays within about 75 characters a line
   (a GOV.UK-style two-thirds column); boxes (sections), tables, maps and card grids keep the full width. */
.ukhc-is-guide .entry-content > :is(p,ul:not([class]),ol:not([class]),h2,h3,h4),
body[class*="single-ukhc_"] .entry-content > :is(p,ul:not([class]),ol:not([class])){max-width:38em}
.ukhc-is-guide .entry-content > p.summary,body[class*="single-ukhc_"] .entry-content > p.summary{font-size:1.08em;line-height:1.55}
