/* ESTMOYA Cinematic Photos v2: short moving image preview, no video required. */
.propertyCard .propertyMedia,.resultCard .resultMedia,.map-property-card .map-property-photo,.media-gallery-grid .media-gallery-item{overflow:hidden}
.propertyCard .propertyMedia > img,.resultCard .resultMedia > img,.map-property-card .map-property-photo > img,.media-gallery-grid .media-gallery-item > img{
  display:block;transform:translate3d(0,0,0) scale(1);transform-origin:center;
  transition:transform .65s cubic-bezier(.2,.75,.2,1);backface-visibility:hidden;
}
@keyframes estmoya-cinematic-zoom{
  0%{transform:translate3d(0%,0%,0) scale(1.015)}
  35%{transform:translate3d(-1.4%,-.8%,0) scale(1.095)}
  70%{transform:translate3d(1.2%,-1.1%,0) scale(1.145)}
  100%{transform:translate3d(-.6%,.6%,0) scale(1.175)}
}
.propertyCard .propertyMedia.estmoya-photo-active > img,
.resultCard .resultMedia.estmoya-photo-active > img,
.map-property-card .map-property-photo.estmoya-photo-active > img,
.media-gallery-grid .media-gallery-item.estmoya-photo-active > img{
  animation:estmoya-cinematic-zoom 5.2s ease-in-out both;
  will-change:transform;
}
@media (hover:hover) and (pointer:fine){
 .propertyCard .propertyMedia:hover > img,
 .resultCard .resultMedia:hover > img,
 .map-property-card .map-property-photo:hover > img,
 .media-gallery-grid .media-gallery-item:hover > img{
   animation:estmoya-cinematic-zoom 5.2s ease-in-out both;
 }
}
/* Fullscreen gallery: cinematic motion on the current main photo only. */
.media-lightbox .media-lightbox-stage{overflow:hidden}
.media-lightbox[aria-hidden="false"] .media-lightbox-stage.estmoya-lightbox-playing > img{
  animation:estmoya-cinematic-zoom 5.2s ease-in-out both;
  transform-origin:center;
  backface-visibility:hidden;
  will-change:transform;
}
@media (prefers-reduced-motion:reduce){
 .propertyCard .propertyMedia > img,.resultCard .resultMedia > img,.map-property-card .map-property-photo > img,.media-gallery-grid .media-gallery-item > img,.media-lightbox .media-lightbox-stage > img{
  animation:none!important;transform:none!important;transition:none!important;
 }
}
