/**
 * Office location block in the site footer.
 */

.footer-location {
	display: grid;
	gap: 16px;
	margin-top: 28px;
	border-block: 1px solid rgba(255, 255, 255, 0.14);
	padding-block: 24px;
}

.footer-location__content {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-content: center;
	align-items: start;
	gap: 12px;
	min-width: 0;
}

.footer-location__icon {
	display: grid;
	grid-row: span 2;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(214, 173, 103, 0.42);
	border-radius: var(--radius);
	background: rgba(214, 173, 103, 0.1);
	color: #d6ad67;
}

.footer-location__icon .lucide-icon {
	width: 21px;
	height: 21px;
}

.footer-location__heading {
	min-width: 0;
}

.footer-location__kicker {
	display: block;
	margin-bottom: 2px;
	color: #d6ad67;
	font-size: 0.72rem;
	font-weight: 900;
	line-height: 1.4;
}

.footer-location__heading h2 {
	margin: 0;
	color: #fff;
	font-size: 1.05rem;
	line-height: 1.5;
}

.footer-location__heading p {
	margin: 5px 0 0;
	color: #aebdb7;
	font-size: 0.84rem;
	line-height: 1.75;
}

.footer-location__directions {
	grid-column: 1 / -1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	border: 1px solid #53665f;
	border-radius: var(--radius);
	background: #202d28;
	padding: 8px 14px;
	color: #fff;
	font-size: 0.86rem;
	font-weight: 800;
	transition: border-color 160ms ease, background-color 160ms ease;
}

.footer-location__directions:hover,
.footer-location__directions:focus-visible {
	border-color: #d6ad67;
	background: #293832;
	color: #fff;
}

.footer-location__directions .lucide-icon {
	width: 18px;
	height: 18px;
	color: #d6ad67;
}

.footer-location__map {
	overflow: hidden;
	width: 100%;
	height: 240px;
	border: 1px solid #34423d;
	border-radius: var(--radius);
	background: #19231f;
}

.footer-location__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (min-width: 760px) {
	.footer-location {
		grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.7fr);
		align-items: stretch;
		gap: 28px;
	}

	.footer-location__content {
		align-content: center;
		padding-inline-end: 6px;
	}

	.footer-location__map {
		height: 260px;
	}
}

@media (min-width: 1080px) {
	.footer-location {
		grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.8fr);
		gap: 36px;
	}

	.footer-location__map {
		height: 280px;
	}
}
