.frm-map {
	position: relative;
	width: 100%;
	margin: 0 auto;
	line-height: 0;
}

.frm-map .frm-map-svg {
	display: block;
	width: 100%;
	height: auto;
}

.frm-map .frm-region {
	fill: var(--frm-inactive, #c7d2dd);
	stroke: var(--frm-stroke, #ffffff);
	/*
	 * non-scaling-stroke keeps the border a constant ~1px on screen no matter
	 * how the SVG is scaled, so the large-viewBox regions map and the dense,
	 * small-viewBox departments map render with matching hairline borders.
	 */
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
	stroke-linejoin: round;
	transition: fill 0.15s ease-in-out, filter 0.15s ease-in-out;
	outline: none;
}

/* The departments map is much denser — a slightly thinner border reads better. */
.frm-map--departments .frm-region {
	stroke-width: 0.75;
}

/* Regions that have a link. */
.frm-map .frm-region.frm-clickable {
	fill: var(--frm-base, #023c67);
	cursor: pointer;
}

.frm-map .frm-region.frm-clickable:hover,
.frm-map .frm-region.frm-clickable:focus-visible,
.frm-map .frm-region.frm-active {
	fill: var(--frm-hover, #0476cb);
}

.frm-map .frm-region.frm-clickable:focus-visible {
	filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.45));
}

/* Tooltip. */
.frm-map .frm-tooltip {
	position: absolute;
	z-index: 5;
	pointer-events: none;
	background: rgba(17, 24, 39, 0.92);
	color: #fff;
	font-size: 13px;
	line-height: 1.3;
	padding: 5px 9px;
	border-radius: 5px;
	white-space: nowrap;
	transform: translate(-50%, -130%);
	opacity: 0;
	transition: opacity 0.12s ease-in-out;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.frm-map .frm-tooltip.is-visible {
	opacity: 1;
}
