/*
 * Ara Map (`ara/map` block).
 *
 * Height: the chosen height on wide spaces; on narrow ones (a footer column, a phone) the map gets
 * shorter, down to about 4:3 and never below 240px, so it never ends up taller than wide. Next to
 * text in a column it grows to match it. The height comes from an empty first line (::before) sized
 * against the map's own width (container units), so the map and the "Show the map" box share it.
 *
 * Its own stacking context keeps the map layers below the sticky header and the dropdown menus.
 */
.ara-map {
	position: relative;
	isolation: isolate;
	container-type: inline-size;
	width: 100%;
	height: 100%;
}

.ara-map::before {
	content: "";
	display: block;
	height: clamp(240px, 75cqi, var(--ara-map-height, 400px));
}

.ara-map__canvas,
.ara-map__consent {
	position: absolute;
	inset: 0;
}

.ara-map__consent {
	z-index: 1;
	overflow: auto;
}

.ara-map__canvas:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -2px;
}
