/* NW RFCA Units: finder, cards, unit pages. Matches the Pro theme's DM Sans and palette. */
:root {
  --nwu-blue: #212E65;
  --nwu-blue-dark: #182250;
  --nwu-highlight: #6c2e6e;
  --nwu-green: #01675C;
  --nwu-putty: #e9eae5;
  --nwu-putty-light: #f4f4f1;
  --nwu-ink: #222;
  --nwu-muted: #5b5f6b;
  --nwu-line: #d9dad4;
  --nwu-white: #fff;
  --nwu-radius: 0;
  --nwu-radius-sm: 3px;
  --nwu-shadow: none;
  --nwu-font: "dm-sans", "DM Sans", system-ui, sans-serif;
  --nwu-force: var(--nwu-blue);
  --nwu-inset: clamp(1.25rem, 3.43vw, 3rem);
}

.nwu-main, .nwu-finder { font-family: var(--nwu-font); color: var(--nwu-ink); line-height: 1.5; }
.nwu-main :is(h1, h2, h3, h4, h5, h6, input, button, select, textarea), .nwu-finder :is(h1, h2, h3, h4, input, button, select) { font-family: var(--nwu-font); }
.nwu-main :is(h1, h2, h3, h4), .nwu-finder :is(h2, h3) { letter-spacing: -.035em; }
.nwu-main *, .nwu-finder * { box-sizing: border-box; }
.nwu-container { max-width: 1500px; margin: 0 auto; padding: 0 var(--nwu-inset); }
.nwu-h1 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem); line-height: 1.1; font-weight: 700; margin: 0 0 .4em; color: inherit; }
.nwu-h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.2; font-weight: 700; margin: 0 0 .8em; color: var(--nwu-blue); }
.nwu-h3 { font-size: 1.15rem; font-weight: 700; margin: 1.6em 0 .5em; color: var(--nwu-blue); }
.nwu-eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nwu-highlight); display: flex; align-items: center; gap: .5em; }
.nwu-eyebrow--light { color: rgba(255,255,255,.85); }
.nwu-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--nwu-dot, var(--nwu-blue)); flex: none; display: inline-block; }
.nwu-muted { color: var(--nwu-muted); font-size: .92em; }
.nwu-icon { flex: none; vertical-align: -3px; }

/* Buttons */
.nwu-button { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2; padding: .8em 1.3em; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.nwu-button--primary { background: var(--nwu-highlight); color: #fff; }
.nwu-button--primary:hover { background: #000; color: #fff; }
.nwu-button--secondary { background: #fff; color: var(--nwu-blue); border-color: var(--nwu-blue); }
.nwu-button--secondary:hover { background: #000; color: #fff; border-color: #000; }
.nwu-button--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }
.nwu-button--ghost:hover { background: #fff; color: var(--nwu-blue); }
.nwu-button--link { background: none; color: var(--nwu-highlight); padding: .4em .2em; text-decoration: underline; }
.nwu-button--sm { font-size: .85rem; }
.nwu-button--full { width: 100%; }
.nwu-icon-button { background: none; border: 0; padding: .4em; cursor: pointer; color: inherit; display: inline-flex; }
.nwu-link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; color: var(--nwu-highlight); text-decoration: none; }
.nwu-link-arrow:hover { text-decoration: underline; }

/* ---------- Finder ---------- */
.nwu-finder { margin: 0 auto; padding: 0 var(--nwu-inset); }
.nwu-finder__head { margin-bottom: 1.25rem; }
.nwu-finder__intro { font-size: 1.05rem; color: var(--nwu-muted); max-width: 60ch; margin: 0; }
/* Hero mode (Find a Unit): the finder draws the page's blue header itself, with the filter band inside it. */
.nwu-finder--hero { padding: 0; }
.nwu-finder__hero { background: var(--nwu-blue); color: #fff; padding: 65px var(--nwu-inset) 1.75rem; }
.nwu-finder__hero .nwu-finder__head { margin-bottom: 1.25rem; }
.nwu-finder__h1 { font-size: clamp(2rem, 1.4rem + 2vw, 3.05rem); line-height: 1.15; font-weight: 700; margin: 0 0 .35em; padding: 0; color: #fff; }
.nwu-finder__hero .nwu-finder__intro { color: rgba(255, 255, 255, .88); }
.nwu-finder__hero .nwu-facet-bar { color: var(--nwu-ink); margin-bottom: 0; border-color: #fff; }
.nwu-finder__main { padding: 1.75rem var(--nwu-inset) 0; }

.nwu-facet-bar { display: flex; flex-wrap: wrap; gap: 1.25rem 3rem; align-items: flex-start; position: relative; z-index: 5; margin-bottom: 1.5rem; background: #fff; border: 1px solid var(--nwu-line); padding: 1.1rem 1.5rem 1rem; }
.nwu-facet { position: relative; }
.nwu-facet__label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nwu-muted); margin-bottom: .65rem; }
.nwu-facet--search { flex: 0 1 300px; }
.nwu-facet--search .nwu-facet__field { display: flex; align-items: center; background: #fff; border: 1px solid var(--nwu-line); border-radius: 999px; padding: 0 .4rem 0 .9rem; height: 44px; }
.nwu-facet--search .nwu-facet__icon { color: var(--nwu-muted); margin-right: .4rem; }
.nwu-facet--search .wpgb-facet { flex: 1; margin: 0 !important; height: 100%; }
.nwu-facet--search .wpgb-facet fieldset { height: 100%; }
.nwu-facet--search .wpgb-search-facet { position: relative; display: flex; align-items: center; height: 100%; }
.nwu-facet--search .wpgb-search-facet label { display: flex; align-items: center; flex: 1; height: 100%; margin: 0 !important; padding: 0; line-height: 1; }
.nwu-facet--search input.wpgb-input, .nwu-facet--search input[type="search"], .nwu-facet--search input[type="text"] { width: 100%; border: 0 !important; background: transparent !important; box-shadow: none !important; font: inherit; font-size: .95rem; padding: 0 .3rem !important; outline: none; color: var(--nwu-ink); margin: 0 !important; height: 100% !important; min-height: 0; line-height: 1.2; }
.nwu-finder .nwu-facet--search .wpgb-search-facet input.wpgb-input { text-indent: 0; } /* WPGB indents the text 24px for its own icon, which we replace with ours */
.nwu-facet--search input::placeholder { color: var(--nwu-muted); }
.nwu-facet--search .wpgb-input-icon, .nwu-facet--search .wpgb-search-icon { display: none !important; }
.nwu-facet--search .wpgb-clear-button { background: none; border: 0; padding: .2rem; color: var(--nwu-muted); cursor: pointer; display: inline-flex; }
.nwu-facet--search.is-active .nwu-facet__field { border-color: var(--nwu-blue); }

.nwu-facets { display: contents; }
.nwu-facets__head, .nwu-facets__foot { display: none; }
.nwu-facet--force { flex: 1 1 520px; }
.nwu-facet--force .wpgb-checkbox-label { white-space: nowrap; }
.nwu-facet--area { flex: 0 1 auto; }
.nwu-facet__panel { min-width: 0; }
.nwu-facet-bar__open { display: none; }
.nwu-facet-bar__clear { display: flex; align-items: center; position: absolute; right: 1.25rem; bottom: .85rem; margin: 0; } /* sits in the band's spare corner rather than adding a row */
.nwu-facet-bar__clear[hidden] { display: none; } /* the display:flex above would otherwise override the hidden attribute */

/* WP Grid Builder checkbox facet, restyled */
.nwu-facet__panel .wpgb-facet { margin: 0; }
.nwu-facet__panel .wpgb-facet-title, .nwu-facet__panel .wpgb-facet > h4 { display: none; }
/* Four classes deep so these beat Grid Builder's facets.css (.wpgb-facet .wpgb-checkbox-facet …). */
.nwu-finder { --wpgb-accent-scheme-1: var(--nwu-blue); --wpgb-border-radius: var(--nwu-radius-sm); --wpgb-border-width: 2px; }
.nwu-finder .nwu-facet__panel .wpgb-checkbox-facet .wpgb-checkbox { display: flex; align-items: center; gap: .6rem; padding: .28rem 0; cursor: pointer; font-size: .92rem; line-height: 1.3; }
.nwu-finder .nwu-facet__panel .wpgb-checkbox-facet .wpgb-checkbox:hover .wpgb-checkbox-label { color: var(--nwu-highlight); }
.nwu-finder .nwu-facet__panel .wpgb-checkbox-facet .wpgb-checkbox-control { box-sizing: border-box; width: 18px; height: 18px; border: 2px solid var(--nwu-blue); border-radius: var(--nwu-radius-sm); flex: none; position: relative; background: #fff; }
.nwu-finder .nwu-facet__panel .wpgb-checkbox-facet .wpgb-checkbox[aria-pressed="true"] .wpgb-checkbox-control, .nwu-finder .nwu-facet__panel .wpgb-checkbox-facet .wpgb-checkbox.wpgb-selected .wpgb-checkbox-control { background: var(--nwu-blue); }
.nwu-finder .nwu-facet__panel .wpgb-checkbox-facet .wpgb-checkbox[aria-pressed="mixed"] .wpgb-checkbox-control::before { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 2px; margin-top: -1px; background: var(--nwu-blue); }
.nwu-finder .nwu-facet__panel .wpgb-checkbox-facet .wpgb-checkbox[aria-pressed="true"] .wpgb-checkbox-control::after, .nwu-finder .nwu-facet__panel .wpgb-checkbox-facet .wpgb-checkbox.wpgb-selected .wpgb-checkbox-control::after { content: ""; position: absolute; margin: 0; left: 50%; top: 50%; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: translate(-50%, -60%) rotate(45deg); }
.nwu-finder .nwu-facet__panel .wpgb-checkbox-facet .wpgb-checkbox-control svg { display: none; }
.nwu-finder .nwu-facet__panel .wpgb-checkbox-facet .wpgb-checkbox-label { display: inline; padding: 0; }
.nwu-finder .nwu-facet__panel .wpgb-checkbox-facet .wpgb-checkbox-label > span { display: none; } /* counts are off in the facet settings too */
.nwu-finder .wpgb-checkbox-facet ul, .nwu-finder .wpgb-checkbox-facet li { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.nwu-finder .wpgb-checkbox-facet li li li { padding-left: 1.3rem !important; }
/* Force list: leaf forces only. On Find a Unit, Cadets and Reserves become plain column headings;
   intermediate groups (Maritime Reserves, University units) are hidden and their forces listed flat. */
.nwu-finder .nwu-facet--force .wpgb-checkbox-facet li li:has(> ul) > .wpgb-checkbox { display: none !important; } /* Maritime Reserves and University units grouping rows */
.nwu-facet--force .wpgb-checkbox-facet li li li { padding-left: 0 !important; }
.nwu-facet--force-grouped .wpgb-checkbox-facet > ul { display: flex; flex-wrap: wrap; gap: .5rem 2.5rem; }
.nwu-facet--force-grouped .wpgb-checkbox-facet > ul > li { flex: 1 1 230px; }
.nwu-facet--force-grouped .wpgb-checkbox-facet > ul > li > .wpgb-checkbox { font-weight: 700; color: var(--nwu-blue); padding-bottom: .15rem; } /* Cadets / Reserves are real checkboxes: the index carries the parent term, so one tick selects the whole branch */
.nwu-facet--force-grouped .wpgb-checkbox-facet > ul > li > ul { margin-top: .1rem !important; padding-left: 1.5rem !important; } /* leaf forces sit indented under Cadets / Reserves */
.nwu-finder .nwu-facet--force:not(.nwu-facet--force-grouped) .wpgb-checkbox-facet > ul > li:has(> ul) > .wpgb-checkbox { display: none !important; }
.nwu-facet--area .wpgb-checkbox-facet > ul { display: grid; grid-template-columns: repeat(2, auto); column-gap: 1.75rem; }

.nwu-finder__results-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; margin: 0 0 1rem; }
.nwu-finder__title { font-size: 1.2rem; font-weight: 700; margin: 0; color: var(--nwu-blue); }
.nwu-view-switch { margin-left: auto; display: none; gap: 0; border: 1px solid var(--nwu-line); border-radius: 999px; overflow: hidden; }
.nwu-view-switch__btn { display: inline-flex; align-items: center; gap: .4em; padding: .5em 1em; background: #fff; border: 0; font: inherit; font-size: .9rem; font-weight: 600; color: var(--nwu-muted); cursor: pointer; }
.nwu-view-switch__btn.is-active { background: var(--nwu-blue); color: #fff; }

.nwu-finder__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 40%); gap: 1.5rem; align-items: start; }
.nwu-finder__grid { min-width: 0; }
.nwu-finder__map { position: sticky; top: 24px; --nwu-map-h: min(calc(100vh - 48px), 760px); }
.x-section:has(.nwu-finder), .x-row:has(.nwu-finder), .x-row-inner:has(.nwu-finder), .x-col:has(.nwu-finder), .x-div:has(.nwu-finder) { overflow: visible !important; }
/* The theme sets overflow-x: hidden on both html and body; with both set, body becomes its own scroll container and sticky children stick to it rather than the viewport. html keeps the horizontal clip. */
body:has(.nwu-finder) { overflow: visible !important; }
.nwu-finder__map .wpgb-facet { margin: 0; }
.nwu-finder__map .wpgb-map-facet { height: var(--nwu-map-h); min-height: 420px; padding: 0 !important; overflow: hidden; border: 1px solid var(--nwu-line); background: var(--nwu-putty-light); }
.nwu-finder__map .wpgb-map-facet > div, .nwu-finder__map .wpgb-map { height: 100% !important; min-height: 0; }

.nwu-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1rem; } /* two-up beside the map on desktop, one-up below about 1100px */
.nwu-results.wpgb-template { display: grid; }

/* Card */
.nwu-card { display: flex; gap: .9rem; align-items: flex-start; background: #fff; border: 1px solid var(--nwu-line); padding: 1rem; text-decoration: none; color: inherit; transition: border-color .15s; position: relative; }
.nwu-card:hover { border-color: var(--nwu-highlight); color: inherit; }
.nwu-card:hover .nwu-card__title { color: var(--nwu-highlight); }
.nwu-card__logo { flex: none; width: 84px; height: 84px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--nwu-line); padding: 6px; }
.nwu-card__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; }
.nwu-card__body { flex: 1; min-width: 0; }
.nwu-card .nwu-eyebrow { font-size: .72rem; margin-bottom: .35rem; color: var(--nwu-force); }
.nwu-card__title { font-size: 1.05rem; line-height: 1.3; font-weight: 700; margin: 0 0 .4rem; color: var(--nwu-blue); }
.nwu-card__meta { display: flex; flex-direction: column; gap: .2rem; font-size: .9rem; color: var(--nwu-muted); }
.nwu-card__meta span { display: flex; align-items: center; gap: .4em; }
.nwu-card__note { margin-top: .5rem; font-size: .8rem; color: #8a4b00; background: #fff4e5; display: inline-block; padding: .15em .6em; }
.nwu-card__arrow { color: var(--nwu-highlight); margin-top: .2rem; }
.nwu-card--compact { padding: .75rem; min-width: 220px; }
.nwu-card--compact .nwu-card__logo { width: 44px; height: 44px; }
@media (max-width: 900px) { .nwu-card__logo { width: 64px; height: 64px; } }
.nwu-card--compact .nwu-card__title { font-size: .95rem; }
.wpgb-map-marker-content .nwu-card, .wpgb-marker-content .nwu-card { border: 0; }

.nwu-no-results { grid-column: 1 / -1; background: #fff; border: 1px solid var(--nwu-line); padding: 2rem; text-align: center; }
.nwu-no-results__title { font-weight: 700; font-size: 1.1rem; margin: 0 0 .5rem; color: var(--nwu-blue); }

/* ---------- Unit page ---------- */
.nwu-unit__hero { background: var(--nwu-blue); color: #fff; padding: 2.5rem 0 2.75rem; position: relative; }
.nwu-unit__hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--nwu-force); }
.nwu-unit__hero a { color: #fff; }
.nwu-unit__hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.nwu-unit__sub { font-size: 1.05rem; color: rgba(255,255,255,.85); margin: 0 0 1.25rem; }
.nwu-unit__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.nwu-unit__logo { background: #fff; padding: 16px; width: 170px; height: 170px; display: flex; align-items: center; justify-content: center; }
.nwu-unit__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.nwu-crumbs { font-size: .9rem; margin-bottom: 1.25rem; color: rgba(255,255,255,.8); display: flex; flex-wrap: wrap; gap: .4em; }
.nwu-crumbs a { text-decoration: none; opacity: .85; }
.nwu-crumbs a:hover { text-decoration: underline; opacity: 1; }
.nwu-crumbs__sep { opacity: .5; }

.nwu-unit__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 3rem; padding: 2.5rem var(--nwu-inset) 4rem; } /* same side inset as the hero's container */
.nwu-unit__content { min-width: 0; }
.nwu-unit__aside { display: flex; flex-direction: column; gap: 1.25rem; }
.nwu-notice { display: flex; gap: .75rem; align-items: flex-start; background: #fff4e5; color: #6b3a00; padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.nwu-notice p { margin: 0; }

.nwu-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.nwu-fact { display: flex; gap: .85rem; background: var(--nwu-putty); padding: 1.1rem 1.2rem; }
.nwu-fact > .nwu-icon { color: var(--nwu-highlight); margin-top: .15rem; }
.nwu-fact h3 { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--nwu-muted); margin: 0 0 .35rem; font-weight: 700; }
.nwu-fact p { margin: 0 0 .3rem; font-size: .98rem; }
.nwu-fact p:last-child { margin-bottom: 0; }
.nwu-fact a { color: var(--nwu-blue); display: inline-flex; align-items: center; gap: .3em; word-break: break-word; }
.nwu-socials a + a::before { content: "·"; margin: 0 .5em; color: var(--nwu-muted); }

.nwu-section { margin-bottom: 2.75rem; }
.nwu-prose p { font-size: 1.05rem; line-height: 1.65; margin: 0 0 1em; }
.nwu-prose p:last-child { margin-bottom: 0; }

.nwu-location { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(220px, 1fr); gap: 1.5rem; align-items: stretch; }
.nwu-location__map { min-height: 320px; height: 100%; background: var(--nwu-putty); border: 1px solid var(--nwu-line); overflow: hidden; } /* desktop: as tall as the text column, so its foot lines up with the venue box */
.nwu-location__map > div:not([class*="leaflet"]) { width: 100%; height: 100%; border: 0; } /* Google draws into a child div */
.nwu-location__map.leaflet-container { z-index: 0; font-family: inherit; } /* own stacking context so panes stay under the site header */
.nwu-location__map .leaflet-control-attribution { font-size: 11px; }
.nwu-location__text p { margin: 0 0 1rem; }
.nwu-venue { margin-top: 1.5rem; padding: 1rem; background: var(--nwu-highlight); color: #fff; }
.nwu-venue__photo { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin: 0 0 1rem; }
.nwu-venue__row { display: flex; gap: .75rem; }
.nwu-venue__row > .nwu-icon { color: #fff; flex: none; }
.nwu-venue h3 { font-size: 1rem; margin: 0 0 .25rem; color: #fff; }
.nwu-venue p { font-size: .92rem; color: rgba(255, 255, 255, .85); margin: 0 0 .85rem; }
.nwu-venue a.nwu-venue__cta { display: inline-flex; align-items: center; gap: .4em; background: #fff; color: var(--nwu-highlight); font-weight: 700; font-size: .92rem; line-height: 1.2; padding: .7em 1.2em; border-radius: 999px; text-decoration: none; }
.nwu-venue a.nwu-venue__cta:hover { background: #000; color: #fff; }

.nwu-faqs { display: flex; flex-direction: column; gap: .5rem; }
.nwu-faq { border: 1px solid var(--nwu-line); background: #fff; }
.nwu-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; font-weight: 600; color: var(--nwu-blue); }
.nwu-faq summary::-webkit-details-marker { display: none; }
.nwu-faq[open] summary .nwu-icon { transform: rotate(180deg); }
.nwu-faq__a { padding: 0 1.25rem 1.1rem; color: var(--nwu-ink); }
.nwu-faq__a p { margin: 0 0 .6em; }

.nwu-aside-card { background: #fff; border: 1px solid var(--nwu-line); padding: 1.4rem; }
.nwu-aside-card h3 { font-size: 1.05rem; margin: 0 0 .6rem; color: var(--nwu-blue); }
.nwu-aside-card p { margin: 0 0 1rem; color: var(--nwu-muted); font-size: .95rem; }
.nwu-aside-card--cta { background: var(--nwu-putty); border-color: transparent; }
.nwu-aside-card--quiet { background: transparent; border-style: dashed; }
.nwu-nearby { list-style: none; margin: 0 0 1rem; padding: 0; }
.nwu-nearby li + li { border-top: 1px solid var(--nwu-line); }
.nwu-nearby a { display: flex; flex-direction: column; padding: .65rem 0; text-decoration: none; color: var(--nwu-ink); }
.nwu-nearby a span { font-weight: 600; color: var(--nwu-blue); }
.nwu-nearby a small { color: var(--nwu-muted); }
.nwu-nearby a:hover span { text-decoration: underline; }
.nwu-disclaimer { font-size: .85rem; color: var(--nwu-muted); margin: 0; }
.nwu-disclaimer a { color: var(--nwu-highlight); }

/* Area page */
.nwu-unit__hero--area .nwu-unit__sub { max-width: 70ch; }
.nwu-area { padding: 2rem 0 4rem; }
.nwu-area__body { max-width: 72ch; margin-top: 3rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nwu-unit__layout { grid-template-columns: 1fr; gap: 2rem; }
  .nwu-unit__aside { flex-direction: row; flex-wrap: wrap; }
  .nwu-unit__aside > * { flex: 1 1 280px; }
  .nwu-unit__aside .nwu-disclaimer { flex-basis: 100%; }
}
@media (max-width: 900px) {
  .nwu-view-switch { display: inline-flex; }
  .nwu-finder__body { grid-template-columns: 1fr; }
  .nwu-finder__body[data-nwu-view-mode="split"] .nwu-finder__map, .nwu-finder__body[data-nwu-view-mode="list"] .nwu-finder__map { display: none; }
  .nwu-finder__body[data-nwu-view-mode="map"] .nwu-finder__grid { display: none; }
  .nwu-finder__map { position: static; --nwu-map-h: 70vh; }
  .nwu-location { grid-template-columns: 1fr; }
  .nwu-location__map { aspect-ratio: 4 / 3; height: auto; }
  .nwu-unit__hero-grid { grid-template-columns: 1fr; }
  .nwu-unit__logo { display: none; }
}
@media (max-width: 700px) {
  .nwu-facet-bar__open { display: inline-flex; min-height: 50px; }
  .nwu-facets { display: none; position: fixed; inset: 0; z-index: 9999; background: #fff; padding: 1rem 1.25rem 6rem; overflow: auto; flex-direction: column; gap: 1rem; }
  body.nwu-drawer-open .nwu-facets { display: flex; }
  .nwu-facets__head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--nwu-line); padding-bottom: .75rem; }
  .nwu-facets__title { font-weight: 700; font-size: 1.1rem; }
  .nwu-facets__foot { display: block; position: fixed; left: 0; right: 0; bottom: 0; padding: 1rem 1.25rem; background: #fff; border-top: 1px solid var(--nwu-line); }
  .nwu-facet-bar { padding: 1rem; gap: 1rem; }
  .nwu-facet--search { flex: 1 1 100%; }
  .nwu-facet--search .nwu-facet__label { display: none; }
  .nwu-facet--force-grouped .wpgb-checkbox-facet > ul { display: block; }
  .nwu-facet--force-grouped .wpgb-checkbox-facet > ul > li + li { margin-top: .75rem !important; }
  .nwu-facet-bar__clear { justify-content: center; position: static; }
  .nwu-unit__hero { padding: 1.75rem 0 2rem; }
  .nwu-finder__hero { padding-top: 2.5rem; padding-bottom: 1.5rem; }
  .nwu-finder__main { padding-top: 1.5rem; }
}

/* Grid Builder facet titles duplicate our own labels */
.nwu-finder .wpgb-facet-title { display: none; }
.nwu-finder .wpgb-facet fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.nwu-finder .wpgb-facet legend { display: none; }
