.section-map {
	position: relative;
	height: 450px;
	padding: 0;
	margin: 0;
}

.section-row:not(.has-bg) + .section-map {
	margin-top: 0;
}

.map-embed {
	width: 100%;
	min-height: 400px;
	border-radius: var(--radius-sm);
	overflow: hidden;
	color: initial;
}

.section-hours.sh2 .container.container-5050 {
	align-items: stretch;
}

.section-hours.sh2 .map-embed {
	height: 100%;
	min-height: 0;
}

.section-map .map-embed {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 0;
	border-radius: 0;
	z-index: 1;
}

@media (max-width: 767px) {
	.section-hours.sh2 .map-embed {
		height: auto;
		min-height: 400px;
	}
}

.map-embed *,
.map-embed *::before,
.map-embed *::after {
	box-sizing: content-box;
	line-height: normal;
	text-wrap: unset;
}

.map-embed img,
.map-embed picture {
	max-width: none;
	display: revert;
}

.map-embed__marker {
	--marker-size: 2.75rem;

	display: grid;
	place-items: center;
	width: var(--marker-size);
	height: var(--marker-size);
	border: 0.1875rem solid #fff;
	border-radius: 50%;
	background: var(--medium-base);
	box-shadow:
		0 0 0 0.375rem rgba(var(--medium-rgb, 0, 181, 221), 0.35),
		0 0.25rem 0.75rem rgba(0, 0, 0, 0.25);
}

/* Fallback when no data-icon is set */
.map-embed__marker:empty::after {
	content: "";
	width: 35%;
	height: 35%;
	border-radius: 50%;
	background: #fff;
}

/* Forces any dark icon (e.g. heartpaw.png) to white */
.map-embed__marker-icon {
	width: 60%;
	height: 60%;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.section-map .map-overlay-container {
	display: none;
}

/* ==========================================================================
   MAP LAYOUT 2 (FLOATING LOCATION CARD)
   ========================================================================== */

.section-map.sm2 {
	position: relative;
	height: auto;
	min-height: 28.125rem;
	display: flex;
	align-items: center;
	padding: calc(var(--item-gap) * 2.25) 0;
}

.section-map.sm2 .map-embed {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.section-map.sm2 .map-embed__marker {
	--marker-size: 3.5rem;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	transform: translateY(50%);
}

.section-map.sm2 .map-embed__marker-icon {
	width: 100%;
	height: 100%;
	filter: none;
}

.section-map.sm2 .map-overlay-container {
	display: block;
	position: relative;
	z-index: 2;
	width: 100%;
	pointer-events: none;
}

.section-map.sm2 .map-card {
	pointer-events: auto;
	width: 100%;
	max-width: 19.75rem;
	padding: calc(var(--item-gap) * 1.5) calc(var(--item-gap) * 1.35);
	background-color: var(--white);
	color: var(--black);
	box-shadow: var(--shadow-md);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.section-map.sm2 .map-card-logo {
	width: 100%;
	max-width: 13.25rem;
	margin-bottom: calc(var(--item-gap) * 0.85);
}

.section-map.sm2 .map-card-logo img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 3.75rem;
	object-fit: contain;
	margin: 0 auto;
}

.section-map.sm2 .map-card-divider {
	display: flex;
	align-items: center;
	width: 100%;
	gap: 0.625rem;
	margin-bottom: calc(var(--item-gap) * 0.85);
	color: var(--dark);
}

.section-map.sm2 .map-card-divider::before,
.section-map.sm2 .map-card-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background-color: rgba(var(--dark-rgb), 0.35);
}

.section-map.sm2 .map-card-pin {
	display: block;
	width: 1.125rem;
	height: 1.375rem;
	flex-shrink: 0;
}

.section-map.sm2 .map-card-title {
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--black);
	margin: 0 0 0.25rem;
}

.section-map.sm2 .map-card-address {
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.45;
	color: var(--black);
	margin: 0 0 calc(var(--item-gap) * 0.9);
}

.section-map.sm2 .map-card-cta {
	display: flex;
	justify-content: center;
	width: 100%;
}

.section-map.sm2 .map-card-cta .btn {
	min-height: 2.75rem;
	padding: 0.65rem 1.25rem;
}

@media (min-width: 1024px) {
	.section-map.sm2 .map-overlay-container {
		padding-inline: calc(var(--header-pad-x) * 3);
	}
}

@media (max-width: 767px) {
	.section-map.sm2 {
		padding: 0;
	}

	.section-map.sm2 .map-overlay-container {
		display: none;
	}
}
