/* Client review, 30 September 2026, final cache-safe revision. */
body.handhome-site.single-property .top-gallery-section {
  max-width: 1260px;
  margin-inline: auto;
  background: #dbe2dc;
}
body.handhome-site.single-property .top-gallery-section .lSSlideOuter {
  padding-bottom: 16px;
  background: #fbfaf6;
}
body.handhome-site.single-property .top-gallery-section .lSPager.lSGallery {
  margin-top: 12px !important;
}
body.handhome-site.single-property .top-gallery-section .lSPager.lSGallery li {
  border: 2px solid transparent;
  border-radius: 0;
}
body.handhome-site.single-property .top-gallery-section .lSPager.lSGallery li.active {
  border-color: #123f3b;
}
body.handhome-site.single-property .top-gallery-section .lSAction > a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  background-color: #0b2f2d;
  opacity: .95;
}
body.handhome-site.single-property .top-gallery-section .lSAction > a::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font: 400 32px/1 sans-serif;
  content: "‹";
}
body.handhome-site.single-property .top-gallery-section .lSAction > .lSNext::after { content: "›"; }
body.handhome-site.single-property .top-gallery-section .lSAction > a > i,
body.handhome-site.single-property .top-gallery-section .lSAction > a > button { visibility: hidden !important; }
body.handhome-site.single-property .top-gallery-section .lSAction > a:focus-visible,
.hh-map-close:focus-visible {
  outline: 3px solid #cac3af;
  outline-offset: 3px;
}
body.handhome-site.single-property .top-gallery-section .houzez-gallery-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.hh-map-close {
  position: absolute;
  z-index: 1200;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  display: none;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #cac3af;
  border-radius: 2px;
  color: #fff;
  background: #0b2f2d;
  font: 600 14px/1.4 var(--hh-sans, sans-serif);
}
body.hh-map-fullscreen { overflow: hidden !important; }
body.handhome-site.hh-map-fullscreen #map-view-wrap {
  position: fixed !important;
  z-index: 20000 !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  overflow: visible !important;
  border: 0;
}
body.handhome-site.hh-map-fullscreen #map-view-wrap .map-wrap.houzez-fullscreen-map {
  position: absolute !important;
  z-index: 1 !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
body.hh-map-fullscreen .hh-map-close { display: block; }
body.hh-map-fullscreen #houzez-gmap-full-osm { display: none; }
body.hh-map-fullscreen #half-map-listing-area { visibility: hidden; }

@media (max-width: 991px) {
  body.handhome-site .hh-search-hero h1 { overflow-wrap: anywhere; }
  /* A backdrop-filtered header must not become the fixed menu's containing block. */
  body.handhome-site .hh-site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  body.handhome-site .hh-header-navigation {
    position: fixed !important;
    inset: 72px 0 auto !important;
    width: 100vw;
    height: calc(100vh - 72px) !important;
    height: calc(100dvh - 72px) !important;
    max-height: none !important;
    overflow-x: hidden;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    padding: 24px 24px max(32px, env(safe-area-inset-bottom));
    color: #0b2f2d !important;
    background: #fbfaf6 !important;
    visibility: hidden;
    pointer-events: none;
  }
  body.handhome-site .hh-header-navigation.is-open {
    z-index: 1001;
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: none;
  }
  body.handhome-site.admin-bar .hh-header-navigation {
    top: 118px !important;
    height: calc(100dvh - 118px) !important;
  }
  body.hh-nav-open .hh-site-header {
    color: #0b2f2d !important;
    background: #fbfaf6 !important;
  }
  body.hh-nav-open .hh-brand--header .hh-brand__logo {
    filter: brightness(0) saturate(100%) invert(14%) sepia(7%) saturate(340%) hue-rotate(104deg) brightness(95%) contrast(92%) !important;
  }
  body.handhome-site .hh-menu-toggle {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
  }
  body.handhome-site .hh-menu-toggle > span:not(.screen-reader-text) {
    width: 24px;
    height: 2px;
    margin: 0;
    background: currentColor;
  }
  body.handhome-site .hh-menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.handhome-site .hh-menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.handhome-site .hh-menu-toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
  }
  body.handhome-site.page-template-template-search .half-map-wrap {
    display: flex !important;
    flex-direction: column;
    min-height: 0;
  }
  body.handhome-site.page-template-template-search #map-view-wrap {
    position: relative !important;
    top: auto;
    display: block !important;
    width: 100% !important;
    height: 320px !important;
    overflow: hidden;
  }
  body.handhome-site.page-template-template-search #map-view-wrap .map-wrap {
    display: block !important;
    height: 100% !important;
  }
  body.handhome-site.page-template-template-search #houzez-properties-map {
    display: block !important;
    height: 100% !important;
    min-height: 0;
  }
  body.handhome-site.page-template-template-search #half-map-listing-area {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }
  body.handhome-site.hh-map-fullscreen #map-view-wrap {
    position: fixed !important;
    top: 0 !important;
    height: 100vh !important;
    height: 100dvh !important;
  }
  body.handhome-site.single-property .top-gallery-section .houzez-gallery-img { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  body.handhome-site .hh-header-navigation { transition: none; }
}
