/* Contact Form 7 in the Syl-track design. CF7 adds a wrapper, hidden fields, a reply box and its own error tips;
   these rules make them look like the prototype forms. Loaded only on pages with a form. */
.wpcf7 .hidden-fields-container{display:none}
.wpcf7 .screen-reader-response{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.wpcf7-form-control-wrap{display:block}
.wpcf7-not-valid-tip{display:block;margin-top:6px;color:var(--syl-bad);font-weight:500;font-size:.92rem}
.wpcf7 .wpcf7-response-output{grid-column:1/-1;margin:16px 0 0;padding:12px 16px;border:1px solid var(--syl-line);border-radius:2px;color:var(--syl-ink)}
.wpcf7 form .wpcf7-response-output:empty{display:block;margin:0;padding:0;border:0}
/* the empty reply line keeps the slot of the prototype's status line */
.wpcf7 form.sent .wpcf7-response-output{border-color:var(--syl-ok)}
.wpcf7 form.invalid .wpcf7-response-output,.wpcf7 form.failed .wpcf7-response-output{border-color:var(--syl-bad)}
.wpcf7-spinner{display:none}
.wpcf7 form.submitting .wpcf7-spinner{display:inline-block;width:18px;height:18px;margin-left:12px;border:2px solid var(--syl-sand);border-right-color:transparent;border-radius:50%;animation:syl-spin .8s linear infinite;vertical-align:middle}
@keyframes syl-spin{to{transform:rotate(1turn)}}
/* The prototype puts an empty error line under each field; this keeps the same spacing. */
.wpcf7 label:has(.wpcf7-validates-as-required)::after{content:""}
/* Field size exactly as the prototype; something else gave CF7 fields 12px padding and inline display. */
.syl-page-contact .wpcf7 .wpcf7-form-control:not(.wpcf7-submit),.syl-page-landowners .wpcf7 .wpcf7-form-control:not(.wpcf7-submit){display:block;width:100%;box-sizing:border-box}
.syl-landowners-form .wpcf7-form-control:not(.wpcf7-submit){padding:14px 16px}
.syl-landowners-form textarea.wpcf7-form-control{height:96px}
.syl-page-contact .syl-contact-section .wpcf7-form-control:not(.wpcf7-submit){padding:15px 16px}
