/* Access map asset uses a versioned filename because site CSS is cached for one year. */
.clinic-map {
	position: relative;
	z-index: 0;
	isolation: isolate;
	width: 100%;
	height: 45rem;
	margin: 0 0 2rem;
	overflow: hidden;
	background: #f7f6f3;
}

.clinic-map__canvas,
.clinic-map__fallback,
.clinic-map__loading {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.clinic-map__loading {
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.2rem;
	background: #f7f6f3;
	color: #836b43;
	font-size: 1.4rem;
	letter-spacing: .08em;
	opacity: 1;
	transition: opacity .25s ease;
}

.clinic-map__loading img {
	display: block;
	width: 8.4rem;
	height: 8.4rem;
	border: .2rem solid #d8b363;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 .6rem 1.4rem rgba(100, 70, 20, .16);
}

.clinic-map__canvas {
	z-index: 3;
	opacity: 0;
	transition: opacity .3s ease;
}

.clinic-map__fallback {
	z-index: 2;
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s ease;
}

.clinic-map__fallback[hidden] {
	display: none !important;
}

.clinic-map__fallback iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.clinic-map.is-ready .clinic-map__canvas {
	opacity: 1;
}

.clinic-map.is-ready .clinic-map__loading,
.clinic-map.is-fallback .clinic-map__loading {
	opacity: 0;
	pointer-events: none;
}

.clinic-map.is-fallback .clinic-map__fallback {
	opacity: 1;
	pointer-events: auto;
}

.clinic-map__marker {
	position: absolute;
	display: block;
	width: 9.2rem;
	height: 9.2rem;
	padding: 0;
	border: .25rem solid #b98732;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 .7rem 1.5rem rgba(100, 70, 20, .25);
	transform: translate(-50%, -50%);
	cursor: pointer;
	overflow: hidden;
}

.clinic-map__marker img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.clinic-map__marker:focus-visible {
	outline: .3rem solid #78b4e6;
	outline-offset: .35rem;
}

.clinic-map--home {
	height: 36rem;
	border-radius: .6rem;
	box-shadow: 0 .8rem 2.4rem rgba(120, 180, 230, .14);
}

.clinic-map--footer {
	height: 32rem;
	margin-top: 1.2rem;
	border: .1rem solid rgba(120, 180, 230, .28);
	border-radius: .6rem;
	box-shadow: 0 .6rem 2rem rgba(120, 180, 230, .12);
}

@media screen and (max-width: 767px) {
	.clinic-map {
		height: 34rem;
		margin-bottom: 1.8rem;
	}

	.clinic-map--home,
	.clinic-map--footer {
		height: 31rem;
		border-radius: .5rem;
	}

	.clinic-map__loading {
		gap: 1rem;
		font-size: 1.3rem;
	}

	.clinic-map__loading img,
	.clinic-map__marker {
		width: 6.8rem;
		height: 6.8rem;
	}

	.clinic-map__marker {
		border-width: .2rem;
	}
}
