/* Loaded only on the Contact page. The form and its feedback are rendered by Contact Form 7. */
.ps #main .pagehead .h1,
.ps #contact .px8-contact-copy :is(h2, .crow, .cl, .cl > span, .cl > b:not(.num)),
.ps #contact .wpcf7-acceptance .link {
	font-family: Heebo, Barlow, system-ui, sans-serif;
}

.ps #main .pagehead .crumbs > :last-child {
	color: var(--text-strong);
	font-weight: 600;
}

#contact .wpcf7-form {
	column-gap: 20px;
}

#contact .wpcf7-form .fld > p {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

#contact .wpcf7-form .fld label {
	line-height: 1.6;
}

#contact .wpcf7-form .fld input,
#contact .wpcf7-form .fld textarea {
	display: block;
	margin: 0;
	padding: 10px 14px;
	min-height: 44px;
	border: 0;
	box-shadow: none;
}

#contact .wpcf7-form .fld textarea {
	height: 120px;
	min-height: 120px;
	resize: vertical;
}

#contact .wpcf7-form .fld :is(input, textarea):focus {
	box-shadow: inset 0 -2px 0 var(--focus-line);
}

#contact .wpcf7-form .fld [aria-invalid="true"] {
	box-shadow: inset 0 -2px 0 var(--status-error);
}

#contact .wpcf7-acceptance .wpcf7-list-item {
	display: block;
}

#contact .wpcf7-acceptance label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	line-height: 1.5;
}

#contact .wpcf7-acceptance .link {
	font-size: 14px;
	font-weight: 400;
	text-decoration: underline;
	text-underline-offset: 3px;
}

#contact .wpcf7-acceptance input[type="checkbox"] {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
}

#contact .wpcf7-submit {
	min-width: 142px;
	min-height: 52px;
	padding: 0 26px;
	background-color: var(--brand-primary);
}

#contact .wpcf7-submit:enabled:hover {
	background-color: var(--brand-hover, #a81118);
}
