/* [ssr_site_header] — designs 10a (the bar) · 10e (Buy dropdown) · 10d (Sell mega) · 10c (Areas
   mega) · 10i (search open) · 10f (phone bar) · 10g (drawer). See sections/header.php.

   One markup, two layouts: `.ssr-hd__drawer` is display:contents on desktop, so the search, nav
   and utilities are flex items of the bar (ordered by CSS: nav · search · utilities — the nav sits
   against the logo and the WHITE search pill grows across whatever is left, 2026-09-26); at ≤1023px
   it is the fixed full-screen sheet, laid out in DOM order (search · accordions · links · buttons).
   1023 is the header's own switch — five nav items, a pill, the phone, Log in and the CTA do not
   fit between 768 and 1023 — and 1299 is where the bar tightens (no ⌘K badge, no phone label).

   Tokens are aliased locally with literal fallbacks, like every section. Global styles 116474
   prints after this file, so every rule that could tie a global link/button/list rule is written
   at two classes or more. */

.ssr-hd {
  --hd-bg:            var(--surface-dark, #414042);
  --hd-ink:           var(--text-on-dark, #fff);
  --hd-ink-soft:      rgba(255, 255, 255, .85);
  --hd-ink-muted:     rgba(255, 255, 255, .6);
  --hd-ink-faint:     rgba(255, 255, 255, .55);
  --hd-line:          var(--border-on-dark, rgba(255, 255, 255, .14));
  --hd-line-strong:   var(--border-on-dark-strong, rgba(255, 255, 255, .24));
  --hd-fill:          rgba(255, 255, 255, .08);
  --hd-fill-hover:    rgba(255, 255, 255, .14);
  --hd-green:         var(--green-500, #d2e82e);
  --hd-green-300:     var(--green-300, #e2f18a);
  --hd-green-700:     var(--green-700, #8fa317);
  --hd-coral:         var(--accent-cta, #ff5a5f);
  --hd-coral-hover:   var(--accent-cta-hover, #ea3f45);
  --hd-coral-active:  var(--accent-cta-active, #c92e34);
  --hd-panel:         var(--surface-light, #fff);
  --hd-panel-muted:   var(--surface-light-muted, #f7f7f6);
  --hd-panel-line:    var(--border-on-light, #d6d5d8);
  --hd-panel-line-strong: var(--border-on-light-strong, #b3b1b6);
  --hd-text:          var(--text-on-light, #2f2e30);
  --hd-text-strong:   var(--charcoal-700, #414042);
  --hd-text-muted:    var(--text-on-light-muted, #6f6d73);
  --hd-text-soft:     var(--charcoal-400, #8f8d93);
  --hd-link:          var(--text-link, #0a3a5c);
  --hd-link-hover:    var(--text-link-hover, #0e4d5c);
  --hd-shadow-lg:     var(--shadow-lg, 0 16px 40px rgba(26, 26, 27, .14), 0 4px 10px rgba(26, 26, 27, .06));
  --hd-display:       var(--font-display, Outfit, system-ui, sans-serif);
  --hd-body:          var(--font-body, 'Public Sans', system-ui, sans-serif);
  --hd-pill:          var(--radius-pill, 999px);
  --hd-radius:        var(--radius-md, 8px);
  --hd-max:           var(--wp--style--global--wide-size, 1240px);  /* page width: Site Editor > Styles > Layout */
  --hd-pad:           40px;   /* the bar's side padding at full width (10a) */
  --hd-h:             76px;   /* 10a */
  --hd-hm:            62px;   /* 10f */

  position: relative;
  z-index: 1000;
  display: block;
  background: var(--hd-bg);
  color: var(--hd-ink);
  font-family: var(--hd-body);
  font-size: 14.5px;
  line-height: 1.3;
  border-bottom: 1px solid var(--hd-line);
  -webkit-font-smoothing: antialiased;
}
.ssr-hd--sticky { position: sticky; top: 0; }

.ssr-hd *, .ssr-hd *::before, .ssr-hd *::after { box-sizing: border-box; }
.ssr-hd p:not([class]) { display: contents; margin: 0; padding: 0; }
.ssr-hd p:empty { display: none; }
.ssr-hd svg { display: block; flex: none; }
.ssr-hd .ssr-hd__logo, .ssr-hd .ssr-hd__top, .ssr-hd .ssr-hd__row, .ssr-hd .ssr-hd__link, .ssr-hd .ssr-hd__card,
.ssr-hd .ssr-hd__town, .ssr-hd .ssr-hd__phone, .ssr-hd .ssr-hd__login, .ssr-hd .ssr-hd__cta, .ssr-hd .ssr-hd__sellcta,
.ssr-hd .ssr-hd__icon { text-decoration: none; }
.ssr-hd .ssr-hd__top, .ssr-hd .ssr-hd__icon {
  font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; border-radius: 0;
}
.ssr-hd a:focus-visible, .ssr-hd button:focus-visible, .ssr-hd input:focus-visible {
  outline: 2px solid var(--hd-green); outline-offset: 2px; border-radius: 4px;
}
.ssr-hd__panel a:focus-visible { outline-color: var(--hd-coral); }
/* the template-part wrapper: the header is edge to edge */
.wp-block-template-part:has(> .ssr-hd) { margin: 0; padding: 0; max-width: none; }

/* ---------- the bar (10a) ---------- */
.ssr-hd__bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--hd-gap, 32px);   /* between the logo, the nav, the pill and the buttons — Cameron asked for room here (2026-09-26) */
  min-height: var(--hd-h);
  padding: 0 var(--hd-pad);
  max-width: calc(var(--hd-max) + 2 * var(--hd-pad));
  margin-inline: auto;
}
.ssr-hd .ssr-hd__logo { display: block; flex: none; margin-right: 8px; }   /* logo to nav = gap + 8 */
.ssr-hd .ssr-hd__logoimg { display: block; height: 40px; width: auto; }   /* the 3b README: 40px on #414042 */
.ssr-hd__mobilectl { display: none; }
.ssr-hd__drawer { display: contents; }
.ssr-hd__drawerhead { display: none; }

/* nav */
.ssr-hd__nav { order: 1; display: flex; align-self: stretch; margin: 0; flex: none; }
.ssr-hd ul.ssr-hd__list { display: flex; align-items: stretch; gap: 22px; height: 100%; margin: 0; padding: 0; list-style: none; }   /* tight, so the five read as one unit */
.ssr-hd li.ssr-hd__item { display: flex; align-items: stretch; margin: 0; padding: 0; }
.ssr-hd li.ssr-hd__item--mobile { display: none; }
.ssr-hd .ssr-hd__top {
  display: flex; align-items: center; gap: 6px; height: 100%;
  font-family: var(--hd-body); font-size: 14.5px; font-weight: 600; line-height: 1;
  color: var(--hd-ink-soft); white-space: nowrap;
  transition: color .15s ease, box-shadow .15s ease;
}
.ssr-hd .ssr-hd__top:hover, .ssr-hd .ssr-hd__top:focus-visible, .ssr-hd .ssr-hd__item.is-open > .ssr-hd__top { color: var(--hd-ink); }
.ssr-hd .ssr-hd__item.is-open > .ssr-hd__top { box-shadow: inset 0 -2.5px 0 var(--hd-green); }
.ssr-hd__caret { margin-top: 2px; transition: transform .15s ease; }
.ssr-hd__item.is-open > .ssr-hd__top .ssr-hd__caret { transform: rotate(180deg); margin-top: 0; }

/* utilities */
.ssr-hd__util { order: 3; display: flex; align-items: center; gap: 24px; flex: none; }
.ssr-hd .ssr-hd__phone {
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 14px; font-weight: 600; color: var(--hd-ink); transition: color .15s ease;
}
.ssr-hd .ssr-hd__phone:hover { color: var(--hd-green-300); }
.ssr-hd__phone::before { display: none; }
.ssr-hd__divider { display: block; width: 1px; height: 20px; flex: none; background: var(--hd-line-strong); }
.ssr-hd .ssr-hd__login { font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--hd-ink-soft); transition: color .15s ease; }
.ssr-hd .ssr-hd__login:hover { color: var(--hd-ink); }
.ssr-hd .ssr-hd__cta, .ssr-hd .ssr-hd__sellcta {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--hd-display); font-size: 14.5px; font-weight: 600; line-height: 1.2;
  background: var(--hd-coral); color: #fff; padding: 11px 22px; border-radius: var(--hd-pill);
  white-space: nowrap; transition: background-color .15s ease, transform .15s ease;
}
.ssr-hd .ssr-hd__cta:hover, .ssr-hd .ssr-hd__sellcta:hover { background: var(--hd-coral-hover); color: #fff; transform: translateY(-1px); }
.ssr-hd .ssr-hd__cta:active, .ssr-hd .ssr-hd__sellcta:active { background: var(--hd-coral-active); transform: none; }

/* ---------- the search pill — the core search block. White, and it takes every pixel between the
   nav and the utilities (min-width 0 on both the item and the form: any non-zero minimum here makes
   the pill overflow its track and overlap the nav, the old header's own lesson) ---------- */
.ssr-hd__search { order: 2; flex: 1 1 auto; min-width: 0; }
.ssr-hd .ssr-hd__search form.wp-block-search { margin: 0; width: 100%; min-width: 0; }
.ssr-hd .ssr-hd__search .wp-block-search__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.ssr-hd .ssr-hd__search .wp-block-search__button { display: none; }
.ssr-hd .ssr-hd__search .wp-block-search__inside-wrapper {
  position: relative; display: flex; align-items: center; gap: 9px;
  width: 100%; height: 40px; padding: 0 8px 0 14px; box-sizing: border-box;
  border-radius: var(--hd-pill); background: var(--hd-panel); border: 1px solid var(--hd-panel);
  box-shadow: 0 1px 2px rgba(26, 26, 27, .12);
  cursor: text; transition: box-shadow .15s ease;
}
.ssr-hd .ssr-hd__search .wp-block-search__inside-wrapper::before {
  content: ""; flex: none; width: 15px; height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f6d73' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* no colour change on focus (no green keyline, 2026-09-26): a soft white halo on the charcoal is the affordance */
.ssr-hd .ssr-hd__search .wp-block-search__inside-wrapper:focus-within { box-shadow: 0 1px 2px rgba(26, 26, 27, .12), 0 0 0 3px rgba(255, 255, 255, .22); }
.ssr-hd .ssr-hd__search .wp-block-search__input {
  flex: 1 1 auto; min-width: 0; height: 100%; margin: 0; padding: 0;
  background: transparent; border: 0; border-radius: 0; box-shadow: none; outline: none;
  font-family: var(--hd-body); font-size: 13.5px; line-height: 1.2; color: var(--hd-text);
  -webkit-appearance: none; appearance: none;
}
.ssr-hd .ssr-hd__search .wp-block-search__input::placeholder { color: var(--hd-text-muted); opacity: 1; }
.ssr-hd .ssr-hd__search .wp-block-search__input:focus { outline: none; box-shadow: none; }
/* 10i: the clear control, drawn on the native search-cancel button */
.ssr-hd .ssr-hd__search .wp-block-search__input::-webkit-search-cancel-button {
  -webkit-appearance: none; appearance: none; width: 20px; height: 20px; margin: 0; flex: none;
  border-radius: 50%; background: var(--charcoal-100, #ececed) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23414042' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M18 6L6 18'/%3E%3Cpath d='M6 6l12 12'/%3E%3C/svg%3E") center / 10px no-repeat;
  cursor: pointer;
}
.ssr-hd__kbd {
  flex: none; font-family: var(--hd-body); font-size: 10.5px; font-weight: 600; line-height: 1.2;
  color: var(--hd-text-soft); border: 1px solid var(--hd-panel-line); border-radius: 5px; padding: 2px 6px;
}
.ssr-hd .ssr-hd__search .wp-block-search__inside-wrapper:focus-within .ssr-hd__kbd { display: none; }

/* ---------- panels ---------- */
.ssr-hd__panel {
  position: absolute; top: 100%; z-index: 3;
  background: var(--hd-panel); color: var(--hd-text); text-align: left;
  font-family: var(--hd-body); font-size: 14px; line-height: 1.4; cursor: auto;
}
.ssr-hd .ssr-hd__panel[hidden] { display: none; }
.ssr-hd__panel--mega { left: 0; right: 0; box-shadow: 0 18px 30px -18px rgba(26, 26, 27, .45); }
.ssr-hd__panelin { max-width: calc(var(--hd-max) + 2 * var(--hd-pad)); margin-inline: auto; }
.ssr-hd li.ssr-hd__item--dropdown { position: relative; }
.ssr-hd__panel--dropdown {
  left: -12px; width: 360px; padding: 10px 10px 12px;
  border: 1px solid var(--hd-panel-line); border-top: 0; border-radius: 0 0 var(--hd-radius) var(--hd-radius);
  box-shadow: 0 18px 30px -14px rgba(26, 26, 27, .35);
}
.ssr-hd__scrim { position: fixed; inset: 0; z-index: 1; background: rgba(26, 26, 27, .26); }
.ssr-hd .ssr-hd__scrim[hidden] { display: none; }

/* dropdown rows (10e) */
.ssr-hd .ssr-hd__row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--hd-text);
  transition: background-color .15s ease;
}
.ssr-hd .ssr-hd__row:hover, .ssr-hd .ssr-hd__row:focus-visible { background: var(--hd-panel-muted); color: var(--hd-text); }
.ssr-hd .ssr-hd__row--plain { display: block; padding: 10px 12px; color: var(--hd-text-strong); }
.ssr-hd__rowcount { font-size: 12px; font-weight: 600; color: var(--hd-text-soft); font-variant-numeric: tabular-nums; }
.ssr-hd__rowsep { height: 1px; background: var(--hd-panel-line); margin: 8px 12px; }

/* arrow links, shared by both megas */
.ssr-hd__linkwrap { display: block; }
.ssr-hd .ssr-hd__link {
  display: inline; font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--hd-link); transition: color .15s ease;
}
.ssr-hd__arrow { display: inline; margin-left: 4px; }   /* inline, so a wrapped label keeps its arrow after the last word */
.ssr-hd .ssr-hd__link:hover, .ssr-hd .ssr-hd__link:focus-visible { color: var(--hd-link-hover); }
.ssr-hd .ssr-hd__link--strong { color: var(--hd-text); font-weight: 700; }
.ssr-hd .ssr-hd__link--strong:hover { color: var(--hd-link); }
.ssr-hd__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hd-green-700); }

/* ---------- the Sell mega (10d) ---------- */
.ssr-hd__sell { display: flex; gap: 40px; padding: 32px var(--hd-pad) 30px; }
.ssr-hd__sellrail { flex: none; width: 290px; }
.ssr-hd__sellh { margin: 8px 0 0; font-family: var(--hd-display); font-size: 24px; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; color: var(--hd-text); }
.ssr-hd .ssr-hd__selllede { display: block; margin: 8px 0 0; padding: 0; font-size: 13.5px; line-height: 1.6; color: var(--hd-text-muted); }
.ssr-hd__sellact { margin-top: 18px; }
.ssr-hd .ssr-hd__sellcta { font-size: 14px; }
.ssr-hd__sellrail .ssr-hd__linkwrap { margin-top: 13px; }
.ssr-hd__cards { flex: 1 1 auto; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.ssr-hd .ssr-hd__card {
  display: flex; gap: 14px; align-items: flex-start;
  border: 1px solid var(--hd-panel-line); border-radius: var(--hd-radius); padding: 18px 20px; color: var(--hd-text);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ssr-hd .ssr-hd__card:hover, .ssr-hd .ssr-hd__card:focus-visible { transform: translateY(-3px); box-shadow: var(--hd-shadow-lg); border-color: var(--hd-panel-line-strong); color: var(--hd-text); }
.ssr-hd__cardic { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--hd-panel-muted); display: flex; align-items: center; justify-content: center; color: var(--hd-text-strong); }
.ssr-hd__cardbody { display: block; min-width: 0; }
.ssr-hd__cardname { display: block; font-family: var(--hd-display); font-size: 16px; font-weight: 700; line-height: 1.25; color: var(--hd-text); }
.ssr-hd__cardtext { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.5; color: var(--hd-text-muted); }
.ssr-hd__strip { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; padding: 14px var(--hd-pad); border-top: 1px solid var(--hd-panel-line); }
.ssr-hd__striplabel { font-size: 12.5px; color: var(--hd-text-muted); }
.ssr-hd__strip .ssr-hd__link { font-size: 13.5px; }

/* ---------- the Areas mega (10c) ---------- */
.ssr-hd__areas { display: grid; grid-template-columns: repeat(var(--hd-cols, 4), minmax(0, 1fr)) 300px; gap: 34px; padding: 30px var(--hd-pad) 6px; align-items: start; }
.ssr-hd__col { min-width: 0; }
.ssr-hd__col--stack .ssr-hd__county + .ssr-hd__county { margin-top: 22px; }
.ssr-hd__countyh { margin: 0; padding-bottom: 10px; border-bottom: 1px solid var(--hd-panel-line); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hd-text-muted); }
.ssr-hd__towns { display: flex; flex-direction: column; margin-top: 6px; }
.ssr-hd .ssr-hd__town {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  padding: 7px 0; font-size: 14px; font-weight: 600; color: var(--hd-text-strong); transition: color .15s ease;
}
.ssr-hd .ssr-hd__town:hover, .ssr-hd .ssr-hd__town:focus-visible { color: var(--hd-link); }
.ssr-hd__towncount { font-size: 12px; font-weight: 500; color: var(--hd-text-soft); font-variant-numeric: tabular-nums; }
.ssr-hd__county .ssr-hd__linkwrap { margin-top: 9px; }
.ssr-hd__county .ssr-hd__link { font-size: 12.5px; }
.ssr-hd__reports { background: var(--hd-panel-muted); border: 1px solid var(--hd-panel-line); border-radius: var(--hd-radius); padding: 20px 22px; align-self: start; }
.ssr-hd__reportsh { display: flex; align-items: center; gap: 8px; color: var(--hd-green-700); }
.ssr-hd__reportst { margin: 10px 0 0; font-family: var(--hd-display); font-size: 16.5px; font-weight: 700; line-height: 1.25; color: var(--hd-text); }
.ssr-hd .ssr-hd__reportsp { display: block; margin: 6px 0 0; padding: 0; font-size: 12.5px; line-height: 1.55; color: var(--hd-text-muted); }
.ssr-hd__reportlist { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.ssr-hd__reports .ssr-hd__link--all { margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--hd-text); }
.ssr-hd__reports .ssr-hd__link--all:hover { color: var(--hd-link); }
.ssr-hd__strip--areas { justify-content: space-between; margin-top: 22px; padding: 15px var(--hd-pad); }
.ssr-hd__stripcount { font-size: 12.5px; color: var(--hd-text-muted); }
.ssr-hd__striplinks { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
.ssr-hd__striplinks .ssr-hd__link { font-size: 13.5px; }

/* ---------- 1024–1299: the bar tightens (the old header's own lesson: hide the phone label and the badge) ---------- */
@media (max-width: 1299px) {
  .ssr-hd { --hd-pad: 24px; --hd-gap: 24px; }
  .ssr-hd ul.ssr-hd__list { gap: 18px; }
  .ssr-hd__util { gap: 18px; }
  .ssr-hd .ssr-hd__logo { margin-right: 4px; }
  .ssr-hd__phonetext, .ssr-hd__kbd { display: none; }
  .ssr-hd__areas { grid-template-columns: repeat(var(--hd-cols, 4), minmax(0, 1fr)) 260px; gap: 26px; }
  .ssr-hd__sell { gap: 28px; }
  .ssr-hd__sellrail { width: 250px; }
}

/* ---------- 1024–1199: tighter still, so five items, the pill and the CTA share 1024px ---------- */
@media (max-width: 1199px) {
  .ssr-hd { --hd-pad: 20px; --hd-gap: 20px; }
  .ssr-hd ul.ssr-hd__list { gap: 14px; }
  .ssr-hd .ssr-hd__logo { margin-right: 0; }
  .ssr-hd__util { gap: 14px; }
  .ssr-hd .ssr-hd__cta { padding: 10px 16px; font-size: 14px; }
}

/* ---------- ≤1023: the menus become accordions inside a full-screen sheet ----------
   On a tablet the sheet is the nav alone (the bar keeps the pill, Log in and the CTA, with the
   hamburger last); on a phone it is the whole drawer — see the ≤767 block, which comes after this
   one and wins its ties. Everything here applies to both. */
@media (max-width: 1023px) {
  .ssr-hd { --hd-pad: 16px; --hd-gap: 14px; }
  .ssr-hd__bar { min-height: var(--hd-hm); padding: 0 8px 0 16px; max-width: none; }
  .ssr-hd .ssr-hd__logo { margin: 0; }
  .ssr-hd .ssr-hd__logoimg { height: 30px; }
  .ssr-hd__mobilectl { display: flex; align-items: center; order: 9; }
  .ssr-hd .ssr-hd__icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--hd-ink); }
  .ssr-hd .ssr-hd__icon--search { display: none; }          /* the pill is in the bar on a tablet */
  .ssr-hd .ssr-hd__cta { padding: 10px 16px; font-size: 14px; }
  .ssr-hd__util { gap: 14px; }

  /* the nav as the sheet */
  .ssr-hd__nav {
    display: none; position: fixed; inset: 0; z-index: 100001; margin: 0; padding: 0;
    flex-direction: column; background: var(--hd-bg); color: var(--hd-ink); overflow: hidden;
  }
  .ssr-hd__nav.is-open { display: flex; }
  .ssr-hd__drawerhead { display: none; }
  .ssr-hd .ssr-hd__drawerhead--tablet { display: flex; align-items: center; justify-content: space-between; flex: none; height: var(--hd-hm); padding: 0 8px 0 16px; border-bottom: 1px solid var(--hd-line); }
  .ssr-hd .ssr-hd__drawerlogo { display: block; height: 30px; width: auto; }
  .ssr-hd ul.ssr-hd__list { display: block; height: auto; flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0 22px 16px; }
  .ssr-hd li.ssr-hd__item { display: block; border-bottom: 1px solid var(--hd-line); }
  .ssr-hd li.ssr-hd__item--mobile { display: inline-block; }
  .ssr-hd .ssr-hd__top {
    width: 100%; justify-content: space-between; height: auto; padding: 16px 0;
    font-family: var(--hd-display); font-size: 21px; font-weight: 600; color: var(--hd-ink);
  }
  .ssr-hd .ssr-hd__item.is-open > .ssr-hd__top { box-shadow: none; }
  .ssr-hd__caret { width: 17px; height: 17px; margin: 0; color: var(--hd-ink-faint); }
  .ssr-hd__item.is-open > .ssr-hd__top .ssr-hd__caret { color: var(--hd-green); }
  /* 10g's small row: About · Contact · Log in */
  .ssr-hd li.ssr-hd__item--link { display: inline-block; border: 0; margin: 18px 22px 0 0; }
  .ssr-hd .ssr-hd__item--link .ssr-hd__top { width: auto; padding: 0; font-family: var(--hd-body); font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, .8); }

  /* panels become accordion bodies */
  .ssr-hd__panel, .ssr-hd__panel--mega, .ssr-hd__panel--dropdown {
    position: static; width: auto; padding: 0 0 16px; background: transparent; color: var(--hd-ink);
    border: 0; border-radius: 0; box-shadow: none;
  }
  .ssr-hd__panelin { max-width: none; }
  .ssr-hd li.ssr-hd__item--dropdown { position: static; }
  .ssr-hd__scrim { display: none !important; }
  .ssr-hd .ssr-hd__row, .ssr-hd .ssr-hd__row--plain { padding: 7px 0; border-radius: 0; font-size: 15px; color: var(--hd-ink-soft); }
  .ssr-hd .ssr-hd__row:hover, .ssr-hd .ssr-hd__row:focus-visible { background: none; color: var(--hd-ink); }
  .ssr-hd__rowcount { color: var(--hd-ink-faint); }
  .ssr-hd__rowsep { background: var(--hd-line); margin: 8px 0; }
  .ssr-hd .ssr-hd__link { font-size: 14.5px; font-weight: 700; color: var(--hd-green-300); }
  .ssr-hd .ssr-hd__link:hover, .ssr-hd .ssr-hd__link--strong, .ssr-hd .ssr-hd__link--strong:hover, .ssr-hd__reports .ssr-hd__link--all, .ssr-hd__reports .ssr-hd__link--all:hover { color: var(--hd-ink); }
  .ssr-hd__eyebrow { color: var(--hd-green-300); }

  /* the Sell mega as 10g's accordion body */
  .ssr-hd__sell { display: flex; flex-direction: column; gap: 0; padding: 0; }   /* the tablet tier's 28px gap would hold the cards off the link */
  .ssr-hd__sellrail { width: auto; order: 2; }
  .ssr-hd__cards { order: 1; }
  .ssr-hd__sellrail .ssr-hd__eyebrow, .ssr-hd__sellh, .ssr-hd .ssr-hd__selllede, .ssr-hd__sellact { display: none; }
  .ssr-hd__sellrail .ssr-hd__linkwrap { margin-top: 0; padding: 9px 0 0; }
  .ssr-hd__cards { display: block; }
  .ssr-hd .ssr-hd__card { border: 0; padding: 7px 0; gap: 10px; align-items: center; color: var(--hd-ink-soft); box-shadow: none; transform: none; }
  .ssr-hd .ssr-hd__card:hover, .ssr-hd .ssr-hd__card:focus-visible { transform: none; box-shadow: none; color: var(--hd-ink); }
  .ssr-hd__cardic, .ssr-hd__cardtext { display: none; }
  .ssr-hd__cardname { font-family: var(--hd-body); font-size: 15px; font-weight: 600; color: inherit; }
  .ssr-hd__strip { padding: 6px 0 0; border: 0; gap: 6px 18px; }
  .ssr-hd__striplabel { display: none; }

  /* the Areas mega as an accordion body */
  .ssr-hd__areas { display: block; padding: 0; }
  .ssr-hd__col--empty { display: none; }
  .ssr-hd__county, .ssr-hd__col--stack .ssr-hd__county + .ssr-hd__county { margin-top: 12px; }
  .ssr-hd__col:first-child .ssr-hd__county:first-child { margin-top: 4px; }
  .ssr-hd__countyh { color: var(--hd-ink-faint); border-color: var(--hd-line); padding-bottom: 8px; }
  .ssr-hd .ssr-hd__town { color: var(--hd-ink-soft); }
  .ssr-hd .ssr-hd__town:hover { color: var(--hd-ink); }
  .ssr-hd__towncount { color: rgba(255, 255, 255, .5); }
  .ssr-hd__reports { background: transparent; border: 0; padding: 18px 0 0; }
  .ssr-hd__reportst { color: var(--hd-ink); }
  .ssr-hd .ssr-hd__reportsp { color: var(--hd-ink-muted); }
  .ssr-hd__strip--areas { justify-content: flex-start; margin-top: 8px; }
  .ssr-hd__stripcount { display: none; }
}

/* ---------- ≤767: the phone bar (10f) and the whole drawer as the sheet (10g) ---------- */
@media (max-width: 767px) {
  .ssr-hd__bar { gap: 0; justify-content: space-between; }
  .ssr-hd .ssr-hd__icon--search { display: flex; }

  .ssr-hd__drawer {
    display: none; position: fixed; inset: 0; z-index: 100001;
    flex-direction: column; background: var(--hd-bg); color: var(--hd-ink); overflow: hidden;
  }
  .ssr-hd__drawer.is-open { display: flex; }
  .ssr-hd .ssr-hd__drawerhead--phone { display: flex; align-items: center; justify-content: space-between; flex: none; height: var(--hd-hm); padding: 0 8px 0 16px; border-bottom: 1px solid var(--hd-line); }
  .ssr-hd .ssr-hd__drawerhead--tablet { display: none; }

  .ssr-hd__search { order: 0; flex: none; padding: 14px 22px 4px; }   /* the desktop order would sink it below the nav */
  .ssr-hd .ssr-hd__search .wp-block-search__inside-wrapper { height: auto; padding: 12px 16px; }
  .ssr-hd .ssr-hd__search .wp-block-search__inside-wrapper::before { width: 16px; height: 16px; }
  .ssr-hd .ssr-hd__search .wp-block-search__input { font-size: 14px; height: auto; line-height: 1.3; }
  .ssr-hd__kbd { display: none; }

  /* inside the drawer the nav is a scrolling block, not the sheet */
  .ssr-hd__nav, .ssr-hd__nav.is-open { display: block; position: static; order: 1; flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0 22px 8px; }
  .ssr-hd ul.ssr-hd__list { overflow: visible; padding: 0; }

  /* utilities: the drawer's foot — the coral CTA (and the outlined call button only with `phone`) */
  .ssr-hd__util { order: 2; flex: none; flex-direction: column; align-items: stretch; gap: 10px; padding: 16px 20px 22px; }
  .ssr-hd__divider, .ssr-hd .ssr-hd__login { display: none; }
  .ssr-hd .ssr-hd__cta { order: 1; padding: 15px; font-size: 16px; }
  .ssr-hd .ssr-hd__phone {
    order: 2; justify-content: center; padding: 14px; border: 1px solid var(--hd-line-strong); border-radius: var(--hd-pill);
    font-family: var(--hd-display); font-size: 15px; font-weight: 600; color: var(--hd-ink); transition: border-color .15s ease;
  }
  .ssr-hd .ssr-hd__phone:hover { color: var(--hd-ink); border-color: rgba(255, 255, 255, .5); }
  .ssr-hd .ssr-hd__phoneic { display: none; }   /* two classes: `.ssr-hd svg` is (0,1,1) */
  .ssr-hd__phonetext { display: inline; }
  .ssr-hd__phonetext::before { content: "Call "; }
}

html.ssr-hd-lock { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .ssr-hd *, .ssr-hd *::before, .ssr-hd *::after { transition: none !important; }
}
