/* React contact form — layout/fields styled via wp-custom.css (synced from production). */

.post-914 .wpcf7-form-control.textsp,
.post-914 .wpcf7-form-control.mailsp,
.post-914 .wpcf7-form-control.tel {
  line-height: normal;
  box-sizing: border-box;
  padding-top: 10px;
  padding-bottom: 10px;
}

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

.contact-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 10050;
  box-sizing: border-box;
  width: min(92vw, 420px);
  margin: 0;
  padding: 16px 16px 12px;
  transform: translateX(-50%);
  border: 2px solid #00a0d2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  color: #1d2327;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}

.contact-toast.success {
  border-color: #46b450;
  color: #046b00;
}

.contact-toast.error {
  border-color: #dc3232;
  color: #a40000;
}

.contact-toast p {
  margin: 0;
}

.contact-toast ul {
  margin: 0.5em 0 0;
  padding-left: 1.2em;
  text-align: left;
}

.contact-toast-close {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 12px;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}

#formbtn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Match production gap between submit button and breadcrumb (~39.6px below CF7). */
.post-914 .entry-content > .wpcf7 {
  margin-bottom: 39.6px;
}

.post-914 .entry-content > p.wp-block-paragraph:last-child {
  margin: 0;
  display: none;
}

/* reCAPTCHA v3 — same vertical offset as Cocoon theme; do not cover #go-to-top (bottom:10px, 40px tall) */
body .grecaptcha-badge {
  visibility: visible !important;
  bottom: 64px !important;
  z-index: 998 !important;
}

#go-to-top.go-to-top {
  z-index: 1001 !important;
}

@media screen and (max-width: 834px) {
  body .grecaptcha-badge {
    bottom: 110px !important;
  }
}

