/* Purpose: contact_hero section – 400px (240px mobile) banner with a cover image and the H1 absolutely positioned over it.
   Values from Elementor "Contact Banner" 8f50258 (page 450): heading left 6.5em / top 11em (1em / 11em mobile) of a 16px widget. */

/* ---- Section tokens (Pages builder) ---- */
.contact-hero {
	--contact-hero-min-h: 240px;
	--contact-hero-left: var(--space-16);
	--contact-hero-top: 176px;
	--contact-hero-title-size: var(--text-32);
	--contact-hero-title-leading: 40px;
}

.contact-hero {
	position: relative;
	min-height: var(--contact-hero-min-h);
	overflow: hidden;
}

.contact-hero__media {
	position: absolute;
	inset: 0;
	display: block;
}

.contact-hero__media .contact-hero__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.contact-hero__heading {
	position: absolute;
	top: var(--contact-hero-top);
	left: var(--contact-hero-left);
	z-index: 1;
	margin: 0;
	color: var(--color-white);
	font-family: var(--font-heading);
	font-size: var(--contact-hero-title-size);
	font-weight: var(--weight-bold);
	line-height: var(--contact-hero-title-leading);
}

@media (min-width: 768px) {
	.contact-hero {
		--contact-hero-min-h: 400px;
		--contact-hero-left: 104px;
		--contact-hero-title-size: var(--text-48);
		--contact-hero-title-leading: 56px;
	}
}
