/* Contact page — KV hero with map, then Spaciaz-style info */

body.page-template-page-contact,
body.page-template-page-contact-php,
body.page-contact {
	background: #fff;
	color: #24367d;
}

.lh-page--contact {
	background: #fff;
	color: #24367d;
	padding: 0;
}

.lh-map-hero.lh-kv-hero,
.wp-block-linkhouse-map-hero {
	width: 100%;
	max-width: none;
	margin: 0;
}

.lh-map-hero.alignfull,
.wp-block-linkhouse-map-hero.alignfull {
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}

.lh-map-hero .lh-kv-hero__media {
	background: #e8eaed;
}

.lh-map-hero__canvas {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	z-index: 0;
	border: 0;
}

.lh-contact.lh-kv-panel,
.wp-block-linkhouse-contact-info.lh-kv-panel {
	padding: 0 0 5rem;
}

.lh-contact__inner {
	width: var(--container-wide);
	margin-inline: auto;
	padding-top: clamp(2.5rem, 5vw, 4rem);
}

.lh-contact__intro {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 1.5rem 3rem;
	align-items: end;
	margin-bottom: 2.75rem;
}

.lh-contact__heading {
	margin: 0;
	font-size: clamp(2.4rem, 5vw, 4.25rem);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: 0;
	color: #24367d;
}

.lh-contact__lead {
	margin: 0;
	max-width: 34rem;
	font-size: 1.05rem;
	line-height: 1.7;
	color: #24367d;
}

.lh-contact-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	margin-bottom: 3.5rem;
}

.lh-contact-card {
	background: #f4f6fb;
	padding: 2rem 1.75rem 1.75rem;
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.lh-contact-card__icon {
	display: block;
	margin-bottom: 1.15rem;
	color: #24367d;
}

.lh-contact-card__title {
	margin: 0 0 0.65rem;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
	color: #24367d;
	text-transform: uppercase;
}

.lh-contact-card__value {
	margin: 0 0 1.25rem;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #24367d;
	flex: 1 1 auto;
}

.lh-contact-card__value a {
	color: inherit;
}

.lh-contact-card__value a:hover {
	color: #000021;
}

.lh-contact-card__link {
	margin-top: auto;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0;
	color: #24367d;
	text-decoration: underline;
	text-underline-offset: 0.28em;
}

.lh-contact-card__link:hover,
.lh-contact-card__link:focus-visible {
	color: #000021;
}

.lh-contact-form__heading {
	margin: 0 0 1.5rem;
	font-size: clamp(1.7rem, 3vw, 2.35rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0;
	color: #24367d;
}

.lh-contact-form .lh-form > input[type="hidden"] {
	display: none;
}

.lh-contact-form .lh-form {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 1.15rem 1.35rem;
	max-width: none;
}

.lh-contact-form .lh-field:nth-of-type(n + 4),
.lh-contact-form .btn {
	grid-column: 1 / -1;
}

.lh-contact-form .lh-field__label {
	color: #24367d;
	letter-spacing: 0;
	text-transform: none;
	font-size: 0.82rem;
	font-weight: 600;
}

.lh-page .lh-contact-form .lh-field input,
.lh-page .lh-contact-form .lh-field textarea,
.lh-contact-form input,
.lh-contact-form textarea {
	border: 0;
	border-bottom: 1px solid rgba(36, 54, 125, 0.22);
	border-radius: 0;
	background: transparent;
	color: #24367d;
	min-height: 2.85rem;
	padding: 0.55rem 0;
}

.lh-contact-form textarea {
	min-height: 7.5rem;
	resize: vertical;
}

.lh-page .lh-contact-form .lh-field input:focus,
.lh-page .lh-contact-form .lh-field textarea:focus,
.lh-contact-form input:focus,
.lh-contact-form textarea:focus {
	outline: none;
	border-bottom-color: #24367d;
}

.lh-contact-form .btn,
.lh-contact-form .btn--block {
	width: auto;
	min-width: 11rem;
	justify-self: start;
	border: 0;
	border-radius: 0;
	background: #24367d;
	color: #fff;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.lh-contact-form .btn:hover,
.lh-contact-form .btn:focus-visible {
	background: #000021;
	color: #fff;
}

.lh-contact-form .lh-notice {
	grid-column: 1 / -1;
	margin: 0 0 0.5rem;
	padding: 0.75rem 0;
	border-radius: 0;
	font-size: 0.9rem;
}

.lh-contact-form .lh-notice--ok {
	color: #24367d;
}

.lh-contact-form .lh-notice--err {
	color: #8a1f1f;
}

@media (max-width: 900px) {
	.lh-contact__intro,
	.lh-contact-cards,
	.lh-contact-form .lh-form {
		grid-template-columns: 1fr;
	}

	.lh-contact.lh-kv-panel,
	.wp-block-linkhouse-contact-info.lh-kv-panel {
		padding: 0 0 3.5rem;
	}
}
