/**
 * References map [rutschen_karte].
 * Colors as in the former GeoChart map; override the variables per widget if needed.
 */
.arminum-karte {
	--karte-land: #ffffff;
	--karte-grenze: #c2d0df;
	--karte-aktiv: #2b3133;
	--karte-hover: #009fe3;
	--karte-tooltip-text: #2b3133;
	--karte-tooltip-hintergrund: #ffffff;
	--karte-tooltip-rahmen: #2b3133;
	position: relative;
	width: 100%;
}

.arminum-karte svg {
	display: block;
	width: 100%;
	height: auto;
}

.arminum-karte path,
.arminum-karte circle {
	fill: var(--karte-land);
	stroke: var(--karte-grenze);
	stroke-width: 1px;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
}

.arminum-karte .is-active path,
.arminum-karte .is-active circle {
	fill: var(--karte-aktiv);
	cursor: pointer;
}

.arminum-karte .is-active:hover path,
.arminum-karte .is-active:focus path,
.arminum-karte .is-active:hover circle,
.arminum-karte .is-active:focus circle {
	fill: var(--karte-hover);
}

.arminum-karte .is-active:focus {
	outline: none;
}

.arminum-karte__tooltip {
	position: absolute;
	z-index: 2;
	padding: 0.4em 0.7em;
	background: var(--karte-tooltip-hintergrund);
	border: 1px solid var(--karte-tooltip-rahmen);
	color: var(--karte-tooltip-text);
	font-family: "Figtree", sans-serif;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.3;
	white-space: nowrap;
	pointer-events: none;
	transform: translate(-50%, calc(-100% - 12px));
}

.arminum-karte__tooltip[hidden] {
	display: none;
}

.arminum-karte__liste {
	columns: 4 160px;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.arminum-karte__liste li {
	break-inside: avoid;
	margin-bottom: 0.25rem;
}
