/* Contact page — page-contact-en.php / page-contact-confirmation-en.php */

.contact-heading {
	padding: 96px max(64px, calc((100% - var(--container-max)) / 2)) 64px;
	text-align: center;
}

.contact-heading__lead {
	font-size: 16px;
	color: rgba(233, 228, 216, 0.8);
	line-height: 1.75;
	margin: 20px auto 0;
	max-width: 560px;
}

.contact-layout {
	padding: 0 64px 96px;
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 72px;
	max-width: 1180px;
	margin: 0 auto;
}

.contact-side {
	border-left: 1px solid var(--c-border);
	padding-left: 40px;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.contact-side__value {
	font-size: 14px;
	color: rgba(233, 228, 216, 0.8);
	margin: 8px 0 0;
}

.contact-side__note {
	font-size: 13px;
	color: rgba(233, 228, 216, 0.6);
	line-height: 1.7;
	margin: 12px 0 0;
}

.contact-confirmation {
	padding: 0 64px 96px;
	max-width: 720px;
	margin: 0 auto;
}

/* Confirmation-screen summary (page-contact-confirmation-en.php) — label/value
   pairs from the "Contact Form 7 Multi-Step Forms" [multiform] tags render as
   two adjacent inline spans with no built-in spacing, so the grid + gap below
   is what actually separates them. */
.cf7-confirm-summary {
	display: flex;
	flex-direction: column;
}

.cf7-confirm-row {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 24px;
	padding: 18px 0;
	border-bottom: 1px solid var(--c-border);
}

/* CF7 runs its own auto-formatter (wpcf7_autop) on the form template and can
   wrap the label/value spans in a <p>, which would otherwise collapse them
   back to two inline elements with no grid columns. display:contents removes
   that <p>'s box so the spans stay direct grid items. */
.cf7-confirm-row > p {
	display: contents;
	margin: 0;
}

.cf7-confirm-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--c-cream);
}

.cf7-confirm-value {
	font-size: 14px;
	color: rgba(233, 228, 216, 0.8);
	line-height: 1.6;
	word-break: break-word;
}

@media (max-width: 900px) {
	.contact-layout {
		grid-template-columns: 1fr;
	}

	.contact-side {
		border-left: none;
		border-top: 1px solid var(--c-border);
		padding-left: 0;
		padding-top: 32px;
	}
}

@media (max-width: 640px) {
	.cf7-confirm-row {
		grid-template-columns: 1fr;
		gap: 4px;
		padding: 16px 0;
	}
}
