/* Reserve native map and finder space without changing editable content. */
.hd-map-on-request { min-height: 340px; position: relative; }
.hd-map-on-request[hidden] { display: none; }
.hd-map-status { color: var(--hd-muted); }
.hd-load-map:focus-visible { outline: var(--hd-focus-ring); outline-offset: var(--hd-focus-offset); }
@media (max-width: 700px) {
 .hd-find-sentence { min-height: 6rem; }
}
/* Match the native mobile header geometry before its ready handler adds classes.
   This guard expires when Citadela initializes; no-JS navigation stays available. */
@media (max-width: 599px) {
 html.hd-performance-js body:not(.mobile-screen-width) #masthead .grid-main {
  display: block; width: 100%; padding-inline: 0; margin-inline: 0;
 }
 html.hd-performance-js body:not(.mobile-screen-width) #masthead .site-branding {
  display: block; width: 100%;
 }
 html.hd-performance-js body:not(.responsive-menu) #masthead .main-navigation {
  position: absolute; top: 0; right: 0; width: 60px;
 }
 html.hd-performance-js body:not(.responsive-menu) #masthead .citadela-menu-container {
  visibility: hidden;
 }
}
@media (max-width: 599px) {
 html.hd-performance-js #masthead { min-height: 90.1px; }
}
/* The native React clinic finder hydrates in place; reserve its measured height. */
.hd-plan-step .search-form-component-container { min-height: 237px; }
@media (max-width: 599px) {
 .hd-plan-step .search-form-component-container { min-height: 323px; }
}
.hd-load-map { display: inline-flex; align-items: center; gap: var(--hd-space-2); }
