/* Static-site contact form styling.
   Reproduces the few Contact Form 7 wrapper rules we still need after the
   `.wpcf7` wrapper was renamed to `.wpcf7-static` (which stops CF7's old JS
   from initialising the form and making dead wp-json calls).
   Values copied verbatim from the original CF7 stylesheet. */

.wpcf7-static .screen-reader-response {
  position: absolute; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; padding: 0; border: 0;
  word-wrap: normal !important;
}

/* response message box — hidden until the JS handler sets a state class */
.wpcf7-static .wpcf7-response-output {
  display: none;
  margin: 2em .5em 1em;
  padding: .2em 1em;
  border: 2px solid #00a0d2;
}
.wpcf7-static form.sent .wpcf7-response-output {
  display: block;
  border-color: #46b450;
}
.wpcf7-static form.failed .wpcf7-response-output,
.wpcf7-static form.aborted .wpcf7-response-output {
  display: block;
  border-color: #dc3232;
}
.wpcf7-static form.submitting .wpcf7-response-output {
  display: block;
  border-color: #00a0d2;
}

.wpcf7-static input[type=tel] { direction: ltr; }
.wpcf7-static .wpcf7-submit:disabled { cursor: not-allowed; }
