/* AYAGOZ.ONLINE v4 – Leaflet tile isolation and geometry fallback. */
#cityMap, #aygHomeMap, #issueMap { display:block; position:relative!important; isolation:isolate; overflow:hidden!important; box-sizing:border-box!important; width:100%; z-index:0!important; }
#cityMap {height: min(72vh, 680px); min-height:430px; border-radius:16px; background:#dce9e6; }
#aygHomeMap {min-height:260px;height:100%;border-radius:15px;}
.city-map-shell, .city-map-canvas-wrap { min-width:0; width:100%; }
.city-map-shell {display:grid;grid-template-columns:minmax(240px,320px) minmax(0,1fr);gap:18px;align-items:stretch;}
.city-map-canvas-wrap {overflow:hidden;position:relative;}
/* Preserve Leaflet's absolute pan/tiles even when site's CSS or an incomplete CDN stylesheet overrides them. */
#cityMap .leaflet-map-pane, #aygHomeMap .leaflet-map-pane, #issueMap .leaflet-map-pane,
#cityMap .leaflet-pane, #aygHomeMap .leaflet-pane, #issueMap .leaflet-pane,
#cityMap .leaflet-tile-container, #aygHomeMap .leaflet-tile-container, #issueMap .leaflet-tile-container,
#cityMap .leaflet-overlay-pane svg, #aygHomeMap .leaflet-overlay-pane svg { position:absolute!important;left:0;top:0; }
#cityMap .leaflet-pane, #aygHomeMap .leaflet-pane, #issueMap .leaflet-pane { width:100%;height:100%; }
#cityMap .leaflet-tile, #aygHomeMap .leaflet-tile, #issueMap .leaflet-tile { position:absolute!important; width:256px!important;height:256px!important;max-width:none!important;max-height:none!important;object-fit:fill!important;display:block!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important; }
#cityMap .leaflet-marker-icon, #aygHomeMap .leaflet-marker-icon, #issueMap .leaflet-marker-icon,
#cityMap .leaflet-marker-shadow, #aygHomeMap .leaflet-marker-shadow, #issueMap .leaflet-marker-shadow {position:absolute!important;max-width:none!important;max-height:none!important;}
#cityMap .leaflet-control-container, #aygHomeMap .leaflet-control-container {position:relative;z-index:500;}
#cityMap .leaflet-top, #aygHomeMap .leaflet-top, #cityMap .leaflet-bottom, #aygHomeMap .leaflet-bottom {position:absolute;z-index:1000;pointer-events:none;}
#cityMap .leaflet-top, #aygHomeMap .leaflet-top {top:0;} #cityMap .leaflet-bottom,#aygHomeMap .leaflet-bottom{bottom:0;}
#cityMap .leaflet-left,#aygHomeMap .leaflet-left{left:0;} #cityMap .leaflet-right,#aygHomeMap .leaflet-right{right:0;}
#cityMap .leaflet-control,#aygHomeMap .leaflet-control{position:relative;z-index:1000;pointer-events:auto;clear:both;}
#cityMap .leaflet-left .leaflet-control,#aygHomeMap .leaflet-left .leaflet-control{float:left;margin-left:10px;}
#cityMap .leaflet-right .leaflet-control,#aygHomeMap .leaflet-right .leaflet-control{float:right;margin-right:10px;}
#cityMap .leaflet-top .leaflet-control,#aygHomeMap .leaflet-top .leaflet-control{margin-top:10px;}
#cityMap .leaflet-bottom .leaflet-control,#aygHomeMap .leaflet-bottom .leaflet-control{margin-bottom:10px;}
#cityMap .leaflet-container img,#aygHomeMap .leaflet-container img{max-width:none!important;}
@media(max-width:850px){.city-map-shell{grid-template-columns:minmax(0,1fr);}#cityMap{height:480px;min-height:380px;}}
@media(max-width:550px){#cityMap{height:370px;min-height:330px;}#aygHomeMap{height:280px;}}
