/* Consistent full-map mode and map-pin previews that fit the map viewport. */
.eh9-restore-results{position:absolute;z-index:1300;top:auto;right:14px;bottom:14px;min-height:44px;padding:9px 15px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#253044;font:inherit;font-weight:750;box-shadow:0 4px 16px #17203330}
.eh9-restore-results:focus-visible{outline:3px solid #2768a8;outline-offset:3px}
.maplibregl-popup-content{box-sizing:border-box;max-height:min(72dvh,680px);overflow:auto;overscroll-behavior:contain}
.maplibregl-popup.eh910-cluster-popup{max-width:min(430px,calc(100vw - 24px))!important}
body .eh9-preview{box-sizing:border-box;width:min(330px,calc(100vw - 44px));max-width:100%}
.eh910-cluster{max-width:min(406px,calc(100vw - 52px))}
@media(min-width:601px){
  .eh9-split.is-map-only{position:fixed;inset:0;z-index:1200;width:100vw;height:100dvh;min-height:0;grid-template-columns:minmax(0,1fr);background:#eef2f6}
  .eh9-split.is-map-only .eh9-map-column{position:absolute;inset:0;width:100%;height:100%}
  .eh9-split.is-map-only .eh9-divider,.eh9-split.is-map-only .eh9-results{display:none}
  .eh9-split.is-map-only .eh9-restore-results{position:fixed;top:max(14px,env(safe-area-inset-top));right:max(14px,env(safe-area-inset-right));bottom:auto}
}
@media(max-width:600px){
  .eh9-restore-results{top:auto;right:12px;bottom:calc(29% + 14px);min-height:42px}
  .eh9-split.is-map-only .eh9-restore-results{top:max(12px,env(safe-area-inset-top));right:12px;bottom:auto}
  body .eh9-preview{display:block;width:min(320px,calc(100vw - 52px))}
  body .eh9-preview .eh91-pin-photo{width:calc(100% - 20px);height:128px;margin:10px;border-radius:7px}
  body .eh9-preview .eh91-pin-photo img{width:100%;height:128px;object-fit:cover}
  body .eh9-preview-body{padding:8px 12px 12px}
  .eh910-cluster{max-width:calc(100vw - 52px)}
}
@media(max-width:800px){
  .eh91-mobile-location-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:-4px 0 14px;padding:10px;border:1px solid #dce3eb;border-radius:10px;background:#fff}
  .eh91-mobile-map-view,.eh91-mobile-map-link{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 13px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#253044;font:inherit;font-weight:700;text-decoration:none}
  .eh91-mobile-map-view{background:#a81031;border-color:#a81031;color:#fff}
  .eh91-mobile-map-view:focus-visible,.eh91-mobile-map-link:focus-visible{outline:3px solid #2768a8;outline-offset:2px}
  .eh91-gallery-map-slide{min-height:300px}
  .eh91-map-in-gallery{min-height:300px}
  .eh91-gallery-map-caption{max-width:calc(100% - 14px);left:7px;right:7px;bottom:7px}
}
@media(max-width:800px){
  .eh9-detail .eh9-mobile-showing{left:max(12px,env(safe-area-inset-left));right:auto;bottom:max(12px,env(safe-area-inset-bottom));width:calc(100vw - 214px);max-width:250px;min-height:48px;display:flex;align-items:center;justify-content:center;padding:8px 10px;font-size:13px;line-height:1.15;box-sizing:border-box}
  .ehqc{right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom))}
}
