/* cjuice.it OSM Maps: front end. Inherits the theme: colours from currentColor and the theme's own tokens. */
.cjosm {
	margin: 0 0 1.5em;
	position: relative;
}
.cjosm__canvas {
	position: relative;
	width: 100%;
	height: var(--cjosm-h, 420px);
	border-radius: var(--cjosm-radius, 0);
	overflow: hidden;
	background: color-mix(in srgb, currentColor 6%, transparent);
}
.cjosm__canvas:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
/* Before the map loads, or when it cannot (no WebGL, missing extract): a quiet panel with the address. */
.cjosm__fallback {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	text-align: center;
	font-size: 0.9em;
	opacity: 0.75;
}
.cjosm.is-ready .cjosm__fallback {
	display: none;
}
.cjosm__caption {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25em 1em;
	align-items: baseline;
	margin-top: 0.6em;
	font-size: 0.95em;
}
.cjosm__caption a {
	color: inherit;
}
.cjosm-pin {
	cursor: pointer;
	line-height: 0;
	filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.25));
}
.cjosm-popup {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font: inherit;
	font-size: 13px;
	line-height: 1.35;
	color: #1e2022;
}
@media (prefers-reduced-motion: reduce) {
	.cjosm .maplibregl-canvas {
		transition: none;
	}
}
