/* Hospitals article (A10): emergency department dots and the 20 / 30 minute zone switches. Own file, loaded after bx-cover.css (which is unchanged:
   it knows the 5, 10 and 15 minute groups; the 10 minute group is the page as served, so these rules only add 20 and 30). Tokens per colour mode. */
.bxh-map { --bxh-dot: #c2410c; --bxh-halo: #fcfcfb; }
html:root[data-theme="dark"] .bxh-map, html:root:where(:not([data-theme="light"])) .bxh-map { --bxh-dot: #fb923c; --bxh-halo: #1a1a19; }
html:root[data-theme="light"] .bxh-map { --bxh-dot: #c2410c; --bxh-halo: #fcfcfb; }

/* zones: show only the chosen minutes (specificity above the shared rule that shows the 10 minute group unless data-t is 5 or 15) */
.bxc-map.bxh-map[data-t="20"] .bxc-g.bxc-t10, .bxc-map.bxh-map[data-t="30"] .bxc-g.bxc-t10 { display: none; }
.bxc-map.bxh-map[data-t="20"] .bxc-g.bxc-t20, .bxc-map.bxh-map[data-t="30"] .bxc-g.bxc-t30 { display: inline; }

/* dots: emergency departments solid, Level I trauma centers larger, specialty hospitals hollow */
.bxh-st { cursor: pointer; outline: none; }
.bxh-st circle { r: calc(5px * var(--bx-px, 1)); stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.bxh-l1 circle { r: calc(8px * var(--bx-px, 1)); }
.bxh-ed circle, .bxh-l1 circle { fill: var(--bxh-dot); stroke: var(--bxh-halo); }
.bxh-spec circle { fill: var(--bxh-halo); stroke: var(--bxh-dot); stroke-width: 2.5px; }
.bxh-st:hover circle, .bxh-st:focus circle { stroke: var(--bp-ink, #1d1d1b); stroke-width: 2.5px; }
.bxh-st:focus-visible circle { stroke: var(--bp-focus, #2a78d6); stroke-width: 3px; }
.bxh-sw-dot, .bxh-sw-big, .bxh-sw-ring { display: inline-block; border-radius: 50% !important; box-sizing: border-box; }
.bxh-sw-dot { width: 12px !important; height: 12px !important; background: var(--bxh-dot); border: 1.5px solid var(--bxh-halo); }
.bxh-sw-big { width: 16px !important; height: 16px !important; background: var(--bxh-dot); border: 1.5px solid var(--bxh-halo); }
.bxh-sw-ring { width: 14px !important; height: 14px !important; background: var(--bxh-halo); border: 2.5px solid var(--bxh-dot); }
