/* WorkScout Platform — Contact page ([wsp_contact]) inside the content page template. */

.wsp-routes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 800px) { .wsp-routes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }

.wsp-route { padding: 18px 20px; border: 1px solid var(--wsp-line); border-radius: var(--wsp-radius); background: #fff; }
.wsp-route--warn { border-top: 4px solid #c2410c; }
.wsp-route--employer { background: var(--wsp-sky); border-color: #cfe6f8; }

.wsp-page__body .wsp-route h2 { margin: 0 0 8px; font-size: 18px; line-height: 1.3; }
.wsp-page__body .wsp-route p { margin: 0 0 10px; font-size: 15px; line-height: 1.55; }
.wsp-page__body .wsp-route p:last-child { margin-bottom: 0; }
.wsp-page__body .wsp-route__note { color: var(--wsp-muted); font-size: 14px; }
.wsp-page__body .wsp-route .wsp-btn { text-decoration: none; }
.wsp-page__body .wsp-route .wsp-btn--ghost { color: var(--wsp-action); }
.wsp-page__body .wsp-route .wsp-btn--ghost:hover { color: #fff; }

.wsp-contact__form { margin-top: 40px; padding: 20px; border: 1px solid var(--wsp-line); border-radius: var(--wsp-radius); background: #fff; }
.wsp-page__body .wsp-contact__form h2 { margin-top: 0; }

/* Contact Form 7 fields */
.wsp-cf-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 16px; }
@media (min-width: 700px) { .wsp-cf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.wsp-contact .wsp-field { margin: 0 0 14px; }
.wsp-contact .wsp-field label { display: block; margin-bottom: 6px; color: var(--wsp-ink); font-weight: 600; font-size: 14px; }
.wsp-contact .wsp-field .wpcf7-form-control-wrap { display: block; }

.wsp-contact .wsp-field input,
.wsp-contact .wsp-field select,
.wsp-contact .wsp-field textarea {
	display: block;
	width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 10px 12px;
	box-sizing: border-box;
	border: 1px solid #c9d3dd;
	border-radius: 10px;
	background: #fff;
	color: var(--wsp-ink);
	font: inherit;
	font-size: 16px; /* No zoom on phones. */
	box-shadow: none;
}

.wsp-contact .wsp-field textarea { min-height: 140px; resize: vertical; }
.wsp-contact .wsp-field input:focus,
.wsp-contact .wsp-field select:focus,
.wsp-contact .wsp-field textarea:focus { border-color: var(--wsp-action); outline: 3px solid rgba(2, 112, 187, 0.18); }

.wsp-page__body .wsp-contact .wsp-form-note { margin: 0 0 14px; color: var(--wsp-muted); font-size: 13px; }

.wsp-contact .wpcf7-submit {
	min-height: 46px;
	padding: 12px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--wsp-action);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.wsp-contact .wpcf7-submit:hover { background: var(--wsp-action-dark); }
.wsp-contact .wpcf7-submit:focus-visible { outline: 3px solid var(--wsp-action); outline-offset: 2px; }

.wsp-contact .wpcf7-not-valid-tip { margin-top: 4px; color: #9a3c0b; font-size: 13px; }
.wsp-contact .wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.wsp-contact .wpcf7 form.sent .wpcf7-response-output { border-color: #0d6b38; background: #e6f6ec; color: #0d6b38; }
.wsp-contact .wpcf7 form.invalid .wpcf7-response-output,
.wsp-contact .wpcf7 form.failed .wpcf7-response-output,
.wsp-contact .wpcf7 form.spam .wpcf7-response-output { border-color: #c2410c; background: #fff1e6; color: #9a3c0b; }

.wsp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wsp-contact__social { margin-top: 32px; }
.wsp-page__body .wsp-contact__social ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.wsp-page__body .wsp-contact__social li { margin: 0; padding: 0; list-style: none; }
.wsp-page__body .wsp-contact__social li::marker { content: none; }
.wsp-page__body .wsp-contact__social a { display: inline-block; padding: 8px 14px; border: 1px solid var(--wsp-line); border-radius: 999px; color: var(--wsp-ink); font-weight: 600; font-size: 14px; text-decoration: none; }
.wsp-page__body .wsp-contact__social a:hover { border-color: var(--wsp-action); color: var(--wsp-action); }
