/* HomeLynx V8.1.54 — Open Home media/source integrity.
   Images are inert; source links live only in Sources. Gallery handoff is visual,
   not a navigation gesture. Detail header remains reachable at the true top. */

.hlx-v8-photo-stage[data-photo-rail],
.hlx-v8-result-photo-rail{
  -webkit-tap-highlight-color:transparent!important;
  touch-action:pan-y!important;
  will-change:height;
  transition:height 230ms cubic-bezier(.2,.8,.2,1)!important;
  background:#F4F6F4!important;
}
.hlx-v8-photo-stage[data-photo-rail] img,
.hlx-v8-result-photo-rail img{
  -webkit-user-drag:none!important;
  user-select:none!important;
  cursor:default!important;
}

.hlx-v8-gallery-ghost{
  position:absolute!important;
  inset:0!important;
  z-index:4!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  pointer-events:none!important;
  overflow:hidden!important;
  opacity:1;
}
.hlx-v8-gallery-ghost.hlx-v8-photo-slide,
.hlx-v8-gallery-ghost .hlx-v8-photo-img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#F4F6F4!important;
}
.hlx-v8-result-photo-rail>.hlx-v8-gallery-ghost{
  object-fit:contain!important;
  object-position:center!important;
  background:#F4F6F4!important;
}
@media(prefers-reduced-motion:reduce){
  .hlx-v8-photo-stage[data-photo-rail],
  .hlx-v8-result-photo-rail{transition:none!important}
}


/* Expanded V8 property detail and fixed HomeLynx chrome share one target clock.
   This prevents the detail crown from remaining underneath returning chrome. */
@media(max-width:767px){
  body.hlx-search-active .hlx-v8-sheet.is-slidable.is-expanded.is-chrome-sync{
    transition:height var(--hlx-mobile-chrome-ms,560ms) var(--hlx-mobile-chrome-ease,cubic-bezier(.16,1,.30,1))!important;
  }
}

@media(max-width:767px){
  body.hlx-search-active.hlx-mobile-chrome-top .hlx-v8-property-card .hlx-v8-card-head,
  body.hlx-search-active.hlx-mobile-chrome-navigate .hlx-v8-property-card .hlx-v8-card-head{
    position:sticky!important;
    top:0!important;
    z-index:12!important;
    background:#fff!important;
    padding-top:6px!important;
    padding-bottom:12px!important;
    box-shadow:0 1px 0 rgba(23,24,22,.06)!important;
  }
  body.hlx-search-active .hlx-v8-property-card .hlx-v8-back{
    min-width:86px!important;
    min-height:44px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    white-space:nowrap!important;
  }
}
