/**
 * Styling voor de OpenStreetMap-kaarten (Leaflet) van het Bricks map-element.
 *
 * @package bricks-child
 */

.brxe-map.wms-osm-kaart {
	background-color: #f1f1e6;
	line-height: 1.4;
}

.brxe-map.wms-osm-kaart .leaflet-container,
.brxe-map.wms-osm-kaart.leaflet-container {
	font-family: inherit;
}

/* Voorkom dat kaartlagen onder de sectie eromheen verdwijnen. */
.brxe-map.wms-osm-kaart .leaflet-pane,
.brxe-map.wms-osm-kaart .leaflet-top,
.brxe-map.wms-osm-kaart .leaflet-bottom {
	z-index: 400;
}

.brxe-map.wms-osm-kaart .leaflet-popup-pane {
	z-index: 700;
}

/* Popup */
.wms-osm-popup {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 4px 2px;
}

.wms-osm-popup__title {
	font-weight: 600;
	font-size: 16px;
	line-height: 1.3;
	color: #063344;
}

.wms-osm-popup__title a {
	color: inherit;
	text-decoration: none;
}

.wms-osm-popup__title a:hover,
.wms-osm-popup__address a:hover {
	text-decoration: underline;
}

.wms-osm-popup__address,
.wms-osm-popup__subtitle,
.wms-osm-popup__line {
	font-size: 14px;
	color: #4a5a63;
}

.wms-osm-popup__link {
	margin-top: 6px;
}

.wms-osm-popup__link a {
	font-size: 14px;
	font-weight: 600;
	color: #063344;
	text-decoration: none;
	border-bottom: 2px solid #ffcd05;
}

.wms-osm-popup__link a:hover {
	color: #0a4b62;
}

.leaflet-popup-content {
	margin: 12px 16px;
}

.leaflet-popup-content-wrapper {
	border-radius: 4px;
	box-shadow: 0 6px 24px rgba(6, 51, 68, 0.22);
}

.wms-osm-kaart__leeg {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	color: #063344;
	background: rgba(241, 241, 230, 0.85);
	z-index: 500;
}
