/* Approved Contact page, Figma node 891:1456. */
.tt-contact-page {
	--tt-contact-page-green: #214d2b;
	--tt-contact-page-gold: #efd36a;
	--tt-contact-page-cream: #f6f3ec;
	color: var(--tt-contact-page-green);
	font-family: var(--tt-font, "Source Sans Pro", sans-serif);
}

.tt-contact-page__article > .wp-block-group {
	margin-block: 0;
}

.tt-contact-page__hero {
	position: relative;
	display: flex;
	min-height: 543px;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 72px 24px;
	color: #fff;
	text-align: center;
	background: var(--tt-contact-page-green) url("images/contact/contact-hero.webp") center 59.84% / cover no-repeat;
}

.tt-contact-page__hero::before {
	position: absolute;
	inset: 0;
	content: "";
	background: linear-gradient(180deg, rgb(12 28 15 / 76%) 0%, rgb(12 28 15 / 55%) 60%, rgb(12 28 15 / 70%) 100%);
}

.tt-contact-page__hero-inner {
	position: relative;
	z-index: 1;
	width: min(100%, 1180px);
}

.tt-contact-page__hero h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(46px, 3.4vw, 65px);
	font-weight: 300;
	letter-spacing: -.57px;
	line-height: 1.17;
}

.tt-contact-page__hero-tagline {
	margin: 0 auto;
	color: #fff;
	font-size: 17px;
	font-weight: 600;
	line-height: 30.26px;
}

.tt-contact-page__hero-copy {
	max-width: 505px;
	margin: 33.6px auto 0;
	color: #fff;
	font-size: 21px;
	font-weight: 300;
	line-height: 33.6px;
}

.tt-contact-details {
	position: relative;
	min-height: 300px;
	display: flex;
	align-items: center;
	overflow: hidden;
	padding: 48px 24px;
	background: var(--tt-contact-page-cream);
}

.tt-contact-details::before {
	position: absolute;
	top: -129.3px;
	left: 94.93%;
	width: 380px;
	height: 444px;
	content: "";
	background: url("images/contact/contact-details-decoration.png") center / 100% 100% no-repeat;
	transform: rotate(45deg);
	transform-origin: top left;
	opacity: .07;
	pointer-events: none;
}

.tt-contact-details__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px;
	width: min(100%, 1432px);
	margin: 0 auto;
}

.tt-contact-details__card {
	position: relative;
	display: flex;
	min-height: 148px;
	align-items: center;
	gap: 18px;
	padding: 28px 38px;
	border-radius: 30px;
	color: #fff;
	background: var(--tt-contact-page-green);
}

.tt-contact-details__icon {
	display: grid;
	width: 52px;
	height: 52px;
	flex: 0 0 52px;
	margin: 0;
	place-items: center;
	border-radius: 14px;
	background: linear-gradient(85deg, #efd36a 8%, #c6a548 52%, #9f8634 100%);
}

.tt-contact-details__icon img {
	display: block;
	width: 18px;
	height: 18px;
	filter: brightness(0) saturate(100%) invert(25%) sepia(12%) saturate(1835%) hue-rotate(79deg) brightness(91%) contrast(87%);
}

.tt-contact-details__copy {
	min-width: 0;
}

.tt-contact-details__label,
.tt-contact-details__value {
	display: block;
	margin: 0;
}

.tt-contact-details__card:last-child .tt-contact-details__value {
	font-size: 19px;
	line-height: 24px;
}

.tt-contact-details__label {
	margin-bottom: 3px;
	color: #d9b95c;
	font-size: 14px;
	font-weight: 700;
	line-height: 18px;
	letter-spacing: 1.96px;
}

.tt-contact-details__value {
	color: #fff;
	font-size: 19px;
	font-weight: 400;
	line-height: 24px;
	text-decoration: none;
	overflow-wrap: anywhere;
}

a.tt-contact-details__value:hover,
a.tt-contact-details__value:focus-visible {
	color: var(--tt-contact-page-gold);
	text-decoration: underline;
}

/* Match the full-height Contact section while reusing the theme's existing
   responsive image and single enquiry form. */
.tt-contact-page .tt-contact {
	min-height: 1214px;
}

.tt-contact-page .tt-contact__lead > p:first-child {
	max-width: 700px;
}

@media (max-width: 800px) {
	.tt-contact-page__hero {
		background-image: url("images/contact/contact-hero-800.webp");
	}
}

@media (max-width: 1050px) {
	.tt-contact-details__grid {
		grid-template-columns: 1fr;
		max-width: 620px;
	}

	.tt-contact-details__card {
		min-height: 124px;
	}

	.tt-contact-details::before {
		left: 70%;
	}
}

@media (max-width: 640px) {
	.tt-contact-page__hero {
		min-height: 470px;
		padding: 64px 20px;
		background-position: 44% 59.84%;
	}

	.tt-contact-page__hero h1 {
		font-size: 48px;
	}

	.tt-contact-page__hero-tagline {
		font-size: 17px;
	}

	.tt-contact-page__hero-copy {
		font-size: 19px;
	}

	.tt-contact-details {
		min-height: 0;
		padding: 40px 20px;
	}

	.tt-contact-details__card {
		gap: 16px;
		padding: 24px;
	}

	.tt-contact-details__value {
		font-size: 18px;
	}

	.tt-contact-details__card:last-child .tt-contact-details__value {
		font-size: 18px;
		line-height: 24px;
	}

	.tt-contact-details::before {
		top: -220px;
		left: 50%;
	}
	.tt-contact-page__hero-copy br { display: none; }

	.tt-contact-page .tt-contact {
		min-height: 0;
	}
}
