/**
 * Map (click to load) widget.
 */

.msd-map {
	padding-bottom: clamp(64px, 8vw, 104px);
}

.msd-map .msd-map__frame {
	position: relative;
	height: clamp(320px, 40vw, 460px);
	overflow: hidden;
	border: 1px solid var(--msd-line, #e6e0d5);
	border-radius: clamp(24px, 3vw, 32px);
	background-color: var(--msd-sand, #efe9df);
}

.msd-map__iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Shown until the visitor agrees to load the map. */
.msd-map__consent {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	height: 100%;
	padding: 24px;
	color: var(--msd-ink, #1e2a30);
	text-align: center;
}

.msd-map__consent[hidden] {
	display: none;
}

.msd-map__pin {
	display: grid;
	width: 56px;
	height: 56px;
	border-radius: 18px;
	background-color: var(--msd-red, #9d2020);
	color: var(--msd-white, #fff);
	font-size: 28px;
	place-items: center;
}

.msd-map .msd-map__title {
	margin: 4px 0 0;
	color: var(--msd-ink, #1e2a30);
	font-family: var(--msd-font-heading, "Bricolage Grotesque", system-ui, sans-serif);
	font-size: 24px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.msd-map .msd-map__text {
	max-width: 520px;
	margin: 0;
	color: var(--msd-text-muted, #4c565d);
	font-size: 15.5px;
	line-height: 1.6;
}

.msd-map .msd-map__text a {
	color: var(--msd-red, #9d2020);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.msd-map .msd-map__button {
	min-height: 52px;
	margin-top: 8px;
	padding: 0 26px;
	border: 0;
	border-radius: 999px;
	background-color: var(--msd-espresso, #281616);
	color: var(--msd-white, #fff);
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s;
}

.msd-map .msd-map__button:hover {
	background-color: var(--msd-espresso-hover, #3e2323);
}

.msd-map__error {
	padding: 16px;
	border: 1px dashed var(--msd-red, #9d2020);
	border-radius: 12px;
	font-size: 14px;
}
