/* Only the selected/open house image, only the existing mobile breakpoint. */
@media(max-width:800px) {
  .v6-house-modal.v29-house-modal .v6-house-dialog {
    grid-template-rows:clamp(150px,35dvh,300px) minmax(0,1fr)!important;
  }
  .v6-house-modal.v29-house-modal .v6-house-dialog>img {
    object-fit:contain!important;object-position:center center!important;
    width:100%!important;height:100%!important;max-height:none!important;
    min-height:0!important;transform:none!important;background:#ead9c2!important;
  }
}
/* Touch phones in landscape: keep existing layout, remove image-only cropping. */
@media(min-width:801px) and (max-width:950px) and (max-height:500px) and (pointer:coarse) {
  .v6-house-modal.v29-house-modal .v6-house-dialog>img {
    object-fit:contain!important;object-position:center center!important;
    transform:none!important;background:#ead9c2!important;
  }
}
