/* WordPress additions to the static site's styles (assets/css). Loaded on the site and in the editor. */

/* The admin bar (logged-in users) sits above the sticky header */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 1100px) {
  .admin-bar .main-nav { top: calc(var(--header-h) + 32px); }
}
@media (max-width: 782px) {
  .admin-bar .main-nav { top: calc(var(--header-h) + 46px); }
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Contact Form 7 in the site's form layout ---------- */
.wpcf7 form { margin: 0; }
.wpcf7-form-control-wrap { display: block; }
.wpcf7 .form-foot .wpcf7-submit { font: 600 1rem/1.2 var(--font-body); }
.wpcf7-not-valid-tip { display: block; margin-top: 6px; color: var(--pink); font-size: .88rem; font-weight: 600; }
.wpcf7 .field input.wpcf7-not-valid, .wpcf7 .field textarea.wpcf7-not-valid { border-color: var(--pink); }
.wpcf7 form .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 14px 18px;
  border: 0;
  border-radius: var(--radius-s);
  background: var(--teal-tint);
  color: var(--teal-dark);
  font-weight: 600;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output { background: var(--pink-tint); color: #8f1a4f; }
.wpcf7-spinner { margin: 0 8px; }
/* reCAPTCHA badge on the contact page: above the phone action bar */
@media (max-width: 900px) {
  .grecaptcha-badge { bottom: 84px !important; }
}
