.mj-osm-map {
	width: 100%;
	max-width: 100%;
	min-height: 100px;
	background: #e8eef2;
	/* Keep Leaflet panes (z-index 400–700+) inside this box so they
	   do not cover the site sticky header (.mj-header z-index: 200). */
	position: relative;
	z-index: 0;
	isolation: isolate;
}

.mj-osm-map .leaflet-container {
	font: inherit;
	z-index: 0;
	isolation: isolate;
}

.mj-osm-map .leaflet-popup-content {
	margin: 0;
	line-height: 1.4;
	width: 280px !important;
}

.mj-osm-map .leaflet-popup-content-wrapper {
	padding: 0;
	overflow: hidden;
}

.mj-osm-map .mj-osm-popup-inner {
	display: block;
}

.mj-osm-map .mj-osm-popup-img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	object-fit: cover;
	vertical-align: top;
}

.mj-osm-map .mj-osm-popup-body {
	padding: 0.75rem 1rem 1rem;
}

.mj-osm-map .mj-osm-popup-body > strong {
	display: block;
	margin-bottom: 0.35rem;
}

.mj-osm-map .mj-osm-line {
	margin-top: 0.15rem;
}

.mj-osm-map .mj-osm-row {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin-top: 0.4rem;
}

.mj-osm-map .mj-osm-ico {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin-top: 0.1rem;
	color: #1f4e79;
	line-height: 0;
}

.mj-osm-map .mj-osm-ico svg {
	display: block;
	width: 16px;
	height: 16px;
}

.mj-osm-map .mj-osm-row-text {
	flex: 1 1 auto;
	min-width: 0;
	word-break: break-word;
}

.mj-osm-map .mj-osm-row-text .visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Close (X) — white circle so it stays visible on the photo */
.mj-osm-map .leaflet-popup-close-button {
	top: 8px !important;
	right: 8px !important;
	width: 28px !important;
	height: 28px !important;
	padding: 0 !important;
	border-radius: 50%;
	background: #fff !important;
	color: #222 !important;
	font: 700 18px/28px Arial, sans-serif !important;
	text-align: center !important;
	text-decoration: none !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
	opacity: 1 !important;
	z-index: 10;
}

.mj-osm-map .leaflet-popup-close-button:hover,
.mj-osm-map .leaflet-popup-close-button:focus {
	background: #f3f3f3 !important;
	color: #000 !important;
}

.mj-osm-map .leaflet-control-attribution {
	font-size: 11px;
	line-height: 1.3;
}
