/* OpenStreetMap Divi Module – Frontend Styles */

.osm-divi-map-wrapper {
	width: 100%;
	position: relative;
	overflow: hidden;
}

.osm-divi-map {
	width: 100%;
	min-height: 200px;
	background: #e8e8e8;
	/* Leaflet sets its own z-index layers; keep the map below Divi overlays */
	z-index: 1;
}

/* Leaflet attribution – ensure it stays legible on all themes */
.osm-divi-map .leaflet-control-attribution {
	font-size: 11px;
	background: rgba( 255, 255, 255, 0.8 );
}

/* Fix: some themes set img max-width which breaks Leaflet markers */
.osm-divi-map img.leaflet-marker-icon,
.osm-divi-map img.leaflet-marker-shadow {
	max-width: none !important;
}
