/* Location pages and hub. Self-contained: no Elementor kit variables. */

@font-face {
	font-family: "CL Alta Caption";
	src: url("../../fonts/alta-caption.woff2") format("woff2"), url("../../fonts/alta-caption.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "CL Poppins";
	src: url("../../fonts/poppins-400-latin.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "CL Poppins";
	src: url("../../fonts/poppins-500-latin.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "CL Poppins";
	src: url("../../fonts/poppins-600-latin.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

/* The full-bleed hero sits directly under the site header. */
.site-main:has(> .cl-location) { padding-block: 0; }

.cl-location {
	--cl-navy: #0f182f;
	--cl-text: #414024;
	--cl-accent: #f1f2f2;
	--cl-border: #eeeeee;
	--cl-white: #ffffff;
	--cl-display: "CL Alta Caption", Georgia, serif;
	--cl-sans: "CL Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background: var(--cl-white);
	color: var(--cl-text);
	font-family: var(--cl-sans);
	font-size: 16px;
	line-height: 1.75;
}

.cl-location *,
.cl-location *::before,
.cl-location *::after {
	box-sizing: border-box;
}

.cl-wrap {
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 16px;
}

/* Hero */
.cl-hero {
	position: relative;
	display: grid;
	place-items: center;
	height: clamp(240px, 31.25vw, 600px);
	overflow: hidden;
	background: var(--cl-accent);
}
.cl-hero__media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.cl-hero video.cl-hero__media {
	opacity: 0;
	transition: opacity 0.8s ease;
}
.cl-hero video.cl-hero__media.is-playing {
	opacity: 1;
}
.cl-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(15, 24, 47, 0.35);
}
.cl-hero__inner {
	position: relative;
	z-index: 1;
	padding: 0 16px;
	text-align: center;
}
.cl-location .cl-hero .cl-hero__title {
	margin: 0;
	color: var(--cl-white);
	font-family: var(--cl-display);
	font-size: 60px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* Short horizontal rules, as on the Connect page */
.cl-rule {
	display: block;
	width: 37px;
	height: 4.4px;
	margin: 0 auto 24px;
	background: var(--cl-navy);
}
.cl-rule--light {
	background: var(--cl-accent);
}

/* Breadcrumbs */
.cl-breadcrumbs {
	padding-top: 16px;
	font-size: 13px;
	letter-spacing: 0.5px;
}
.cl-breadcrumbs a {
	color: var(--cl-text);
}
.cl-breadcrumbs .separator {
	margin: 0 6px;
}

/* Intro */
.cl-intro {
	max-width: 760px;
	padding-top: 48px;
	padding-bottom: 24px;
	text-align: center;
}
.cl-intro p {
	margin: 0;
	font-size: 18px;
}

/* Headings */
.cl-h2,
.cl-h3 {
	margin: 0 0 16px;
	color: var(--cl-navy);
	font-family: var(--cl-display);
	font-weight: 400;
	line-height: 1.2;
	text-transform: uppercase;
}
.cl-h2 {
	font-size: 32px;
	letter-spacing: 0.5px;
}
.cl-h3 {
	margin-top: 24px;
	font-size: 20px;
	letter-spacing: 1px;
}
.cl-h2 a {
	color: inherit;
	text-decoration: none;
}

/* Details + map */
.cl-details {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	padding-top: 32px;
	padding-bottom: 32px;
}
.cl-card {
	padding: 32px;
	border: 1px solid var(--cl-border);
	background: var(--cl-white);
	box-shadow: 0 2px 12px rgba(15, 24, 47, 0.06);
}
.cl-address {
	margin: 0 0 16px;
	font-style: normal;
}
.cl-contact,
.cl-hours {
	margin: 0;
	padding: 0;
	list-style: none;
}
.cl-contact__label {
	display: inline-block;
	min-width: 56px;
	font-weight: 600;
	color: var(--cl-navy);
}
.cl-location a {
	color: var(--cl-navy);
}
.cl-note {
	margin: 24px 0 0;
	padding: 16px;
	background: var(--cl-accent);
	color: var(--cl-navy);
	font-weight: 500;
}
.cl-link {
	display: inline-block;
	margin-top: 16px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.cl-map {
	min-height: 360px;
	border: 1px solid var(--cl-border);
}
.cl-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 360px;
	border: 0;
}

/* CTA */
.cl-cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	padding-top: 16px;
	padding-bottom: 48px;
}
.cl-btn {
	display: inline-block;
	padding: 14px 28px;
	border: 1px solid var(--cl-navy);
	background: var(--cl-navy);
	color: var(--cl-white) !important;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1px;
	text-decoration: none;
	text-transform: uppercase;
	transition: background 0.2s ease, color 0.2s ease;
}
.cl-btn:hover,
.cl-btn:focus-visible {
	background: var(--cl-white);
	color: var(--cl-navy) !important;
}
.cl-btn--outline {
	background: var(--cl-white);
	color: var(--cl-navy) !important;
}
.cl-btn--outline:hover,
.cl-btn--outline:focus-visible {
	background: var(--cl-navy);
	color: var(--cl-white) !important;
}

/* Body copy */
.cl-content {
	max-width: 860px;
	padding-top: 16px;
	padding-bottom: 32px;
}
.cl-content h2,
.cl-content h3 {
	color: var(--cl-navy);
	font-family: var(--cl-display);
	font-weight: 400;
	text-transform: uppercase;
}

/* Services and other offices */
.cl-services,
.cl-others {
	padding-top: 48px;
	padding-bottom: 48px;
	text-align: center;
}
.cl-others {
	border-top: 1px solid var(--cl-border);
}
.cl-services__list,
.cl-others__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.cl-services__list a,
.cl-others__list a {
	display: inline-block;
	padding: 10px 18px;
	border: 1px solid var(--cl-border);
	text-decoration: none;
	transition: border-color 0.2s ease;
}
.cl-services__list a:hover,
.cl-others__list a:hover {
	border-color: var(--cl-navy);
}

/* Hub */
.cl-hub__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	padding-top: 32px;
	padding-bottom: 64px;
}

@media (max-width: 1024px) {
	.cl-location .cl-hero .cl-hero__title {
		font-size: 48px;
	}
	.cl-hub__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 767px) {
	.cl-location .cl-hero .cl-hero__title {
		font-size: 40px;
	}
	.cl-intro p {
		font-size: 16px;
	}
	.cl-h2 {
		font-size: 26px;
	}
	.cl-details,
	.cl-hub__grid {
		grid-template-columns: 1fr;
	}
	.cl-card {
		padding: 24px;
	}
}
