.dpi-betriebe-map {
	position: relative;
	max-width: 80%;
	margin: 0 auto;
	color: var(--dpi-lime-fg);
	font-family: var(--dpi-font, sans-serif);
}

.dpi-betriebe-map__svg {
	display: block;
	width: 100%;
	height: auto;
	max-height: 100%;
	margin-top: 25%;
	overflow: hidden;
	touch-action: none;
	background: transparent;
}

.dpi-betriebe-map__shape {
	fill: var(--dpi-lime-fg);
}

.dpi-betriebe-map__pins {
	pointer-events: all;
}

.dpi-betriebe-map__pin {
	fill: var(--dpi-blue);
	cursor: pointer;
	transition: fill .12s ease, opacity .12s ease;
}

.dpi-betriebe-map__pin:hover,
.dpi-betriebe-map__pin:focus {
	fill: var(--dpi-orange);
	outline: 0;
}

.dpi-betriebe-map__pin.is-dim {
	fill: #54679e;
	opacity: .72;
}

.dpi-betriebe-map__pin.is-active {
	fill: var(--dpi-orange);
	opacity: 1;
}

.dpi-betriebe-map__ring circle {
	fill: none;
	stroke: var(--dpi-lime);
	stroke-width: 2.5;
	stroke-dasharray: 14 10;
	vector-effect: non-scaling-stroke;
}

/* !important needed: Elementor's "Abstand oben" Style control on this widget targets the same element with a more specific {{WRAPPER}} selector. */
.dpi-betriebe-map.is-zoomed .dpi-betriebe-map__svg {
	margin-top: 0 !important;
}

.dpi-betriebe-map.is-zoomed .dpi-betriebe-map__svg {
	cursor: grab;
}

.dpi-betriebe-map.is-dragging .dpi-betriebe-map__svg {
	cursor: grabbing;
}

.dpi-betriebe-map__zoom {
	position: absolute;
	right: 40px;
	bottom: 42px;
	display: grid;
	gap: 5px;
}

.dpi-betriebe-map__zoom button {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--dpi-orange);
	color: var(--dpi-fg-on-dark);
	cursor: pointer;
	font: 700 16px/1 sans-serif;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}

.dpi-betriebe-map__zoom button:focus {
	outline: 3px solid var(--dpi-dark);
	outline-offset: 2px;
}

/* Elementor's global kit button style resets border-radius on :hover/:focus for every <button>; keep these round. */
.dpi-betriebe-map__zoom button:hover,
.dpi-betriebe-map__zoom button:focus {
	border-radius: 50% !important;
}

.dpi-betriebe-map__popover {
	position: absolute;
	z-index: 4;
	max-width: 270px;
	padding: 11px 13px;
	transform: translate(-50%, -100%);
	margin-top: -14px;
	background: var(--dpi-orange);
	color: var(--dpi-fg-on-dark);
	font-size: 12.5px;
	line-height: 1.4;
	pointer-events: none;
}

.dpi-betriebe-map__popover-name,
.dpi-betriebe-map__popover-address,
.dpi-betriebe-map__popover-meta {
	display: block;
}

.dpi-betriebe-map__popover-name {
	margin-bottom: 2px;
	font-size: 13.5px;
}

.dpi-betriebe-map__popover-meta {
	margin-top: 5px;
	font-weight: 700;
}

.dpi-betriebe-map__status {
	display: none;
	margin: 10px 0 0;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
}

@media (min-width: 768px) {
	.dpi-mehrdrauf-betriebe-hero:not(.is-map-active) .dpi-betriebe-map__zoom {
		right: calc(-12.5% + 10px);
	}

	.dpi-mehrdrauf-betriebe-hero.is-map-active .dpi-betriebe-map {
		max-width: none;
		padding: 0;
		color: var(--dpi-fg-on-dark);
	}

	.dpi-mehrdrauf-betriebe-hero.is-map-active .dpi-betriebe-map__svg {
		max-height: none;
		height: 100vh;
		min-height: 620px;
		margin-top: 0 !important;
		background: transparent;
	}

	.dpi-mehrdrauf-betriebe-hero.is-map-active .dpi-betriebe-map__shape {
		fill: var(--dpi-lime-fg);
	}

	.dpi-mehrdrauf-betriebe-hero.is-map-active .dpi-betriebe-map__status {
		display: none;
	}
}

@media (max-width: 860px) {
	.dpi-betriebe-map {
		max-width: 360px;
	}
}

@media (max-width: 767px) {
	.dpi-betriebe-map {
		max-width: 100%;
	}

	.dpi-betriebe-map__svg {
		margin-top: 0;
	}
}
