.leaflet-popup-content {margin:0!important;}
.leaflet-popup-content a {text-decoration:none;width:100%;display:block;}
.leaflet-popup-content a > img {display:block;width:100%;height:auto;border-top-left-radius:11px;border-top-right-radius:11px;border-bottom:1px solid rgba(0,0,0,0.1);}
.leaflet-popup-content a > strong {display: block; font-size: 14px; margin: 10px 0 3px 0;padding:0 10px;color: #777; font-weight: normal;line-height:16px;}
.leaflet-popup-content a > span {display: block; font-size: 12px; margin: 0 0 12px 0;padding:0 10px; color: #111; font-weight: bold;line-height:14px;}
.leaflet-popup-content a > span .MCtooltip {display:none!important;}
.leaflet-popup-content .osm-address {margin:12px 15px;display:inline-block;max-width:200px;line-height:14px;font-size:12px;text-align:center;}
/* Fix: ensure map is fully interactive regardless of theme CSS overrides */
.leaflet-container {
  cursor: grab !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  user-select: none !important;
}
.leaflet-container a {
  pointer-events: auto !important;
}
.leaflet-interactive {
  pointer-events: visiblePainted !important;
  pointer-events: auto !important;
}
.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-overlay-pane svg,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
  pointer-events: none !important;
}
.leaflet-overlay-pane svg,
.leaflet-zoom-box,
.leaflet-mouse-marker,
.leaflet-interactive,
.leaflet-control,
.leaflet-popup-pane,
.leaflet-dragging .leaflet-grab {
  pointer-events: auto !important;
}
#itemMap, #searchMap, #homeMap, #publishMap, #userMap {
  pointer-events: auto !important;
  touch-action: pan-x pan-y !important;
  z-index: 1 !important;
}
