/* Corozalito v4.27 — Leaflet tiles must preserve their original 256x256 pixel
   grid. The former general image rules stretched each tile to 100% width and
   imposed a 650/760px min-width inside the modal, causing stripes/blank maps. */
#location .cr28-map-frame .leaflet-container .leaflet-tile-pane img.leaflet-tile,
#location .cr28-modal-image .leaflet-container .leaflet-tile-pane img.leaflet-tile {
  display:block!important;
  width:256px!important;
  height:256px!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:fill!important;
  border:0!important;
  border-radius:0!important;
  margin:0!important;
  padding:0!important;
  filter:none!important;
  transition:none!important;
  /* Do not override position/transform: Leaflet uses both to align tiles. */
}
/* Allow Leaflet to own the pan/zoom interactions, not the photograph hover. */
#location .cr28-map-card:hover .leaflet-container img.leaflet-tile {
  filter:none!important;
  transition:none!important;
}
/* Hidden iframe fallback must not conceal map tiles. */
#location .cr34-guanacaste-map > iframe[hidden] {display:none!important;}
/* Hide stale detail when selecting another map. */
#location .cr32-modal-pin-detail[hidden] {display:none!important;}
