/*
 * contact.css — contact template layout, form fields and inline ARIA messages.
 * Uses the palette and type scale from style.css; no new design language.
 */

.pos-contact-intro .entry-title {
	margin-bottom: 20px;
}

.pos-contact-lead {
	max-width: 760px;
	margin-bottom: 40px;
	color: var(--muted, #5c7588);
}

.pos-contact-grid {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr);
	gap: 60px;
	align-items: start;
}

@media (max-width: 900px) {
	.pos-contact-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}
}

/* Details column */

.pos-contact-details h2,
.pos-contact-form-wrap h2 {
	margin: 0 0 20px;
	font-family: 'Italiana', Georgia, serif;
	font-size: clamp(26px, 2.4vw, 34px);
	font-weight: 400;
	line-height: 1.25;
	color: var(--ink, #25465e);
}

.pos-contact-email {
	margin: 0 0 18px;
	padding: 20px 22px;
	background: #e3f1fa;
	border-left: 3px solid #356a8d;
	font-size: 15px;
	color: var(--ink, #25465e);
	overflow-wrap: anywhere;
}

.pos-contact-email .pos-label {
	display: block;
	margin-bottom: 6px;
	font-size: 10px;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	color: #547d99;
}

.pos-email-big {
	font-family: 'Italiana', Georgia, serif;
	font-size: clamp(22px, 2vw, 28px);
	color: var(--ink, #25465e);
	border-bottom: 1px solid #7aa5c1;
	word-break: break-word;
}

.pos-email-big:hover,
.pos-email-big:focus {
	color: #356a8d;
	border-bottom-color: #356a8d;
}

.pos-contact-note {
	max-width: 420px;
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.75;
	color: var(--muted, #5c7588);
}

/* Form */

.pos-contact-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px 26px;
	padding: 34px 36px 38px;
	background: #fff;
	border: 1px solid var(--line, #d3e4ef);
}

@media (max-width: 600px) {
	.pos-contact-form {
		grid-template-columns: minmax(0, 1fr);
		padding: 26px 20px 30px;
	}
}

.pos-form-status-wrap {
	grid-column: 1 / -1;
}

.pos-field {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.pos-field-full,
.pos-form-actions,
.pos-form-status-wrap,
.pos-hp {
	grid-column: 1 / -1;
}

.pos-contact-form label {
	display: block;
	margin-bottom: 8px;
	font-size: 11px;
	letter-spacing: 1.7px;
	text-transform: uppercase;
	color: #5b819b;
}

.pos-required {
	color: #b06a4f;
}

.pos-contact-form textarea {
	resize: vertical;
	min-height: 150px;
}

/* CAPTCHA (only rendered when a provider is configured). */
.pos-captcha {
	margin: 2px 0 8px;
}

.pos-form-actions {
	display: flex;
	align-items: center;
	gap: 14px;
}

.pos-submit {
	min-height: 51px;
	padding: 14px 30px;
	background: #356a8d;
	color: #fff;
	border: 0;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background .2s ease;
}

.pos-submit:hover,
.pos-submit:focus {
	background: #285574;
}

.pos-submit[disabled] {
	opacity: .7;
	cursor: progress;
}

.pos-form-hint {
	font-size: 13px;
	color: #5b819b;
}

/* Inline ARIA live regions */

.pos-form-status,
.pos-form-errors {
	margin: 0;
	padding: 14px 18px;
	font-size: 14px;
	line-height: 1.6;
}

.pos-form-status:empty,
.pos-form-errors:empty {
	display: none;
}

.pos-form-status {
	background: #e3f1fa;
	border-left: 4px solid #356a8d;
	color: #25465e;
}

.pos-form-errors {
	margin-top: 10px;
	background: #fbeaea;
	border-left: 4px solid #b4433f;
	color: #7c2b28;
}

.pos-form-errors ul {
	margin: 0;
	padding-left: 18px;
}

/* Honeypot — visually and programmatically hidden */

.pos-hp {
	position: absolute !important;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
