/* Native CF7 block in the shared pre-footer template part. */
.fa-prefooter-contact {
  scroll-margin-top: 90px;
  background: #fff;
  padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 7vw, 6rem);
}
.fa-prefooter-contact .fa-about-contact__inner {
  width: min(88%, 1080px);
  margin-inline: auto;
}
.fa-prefooter-contact h2 {
  --fa-heading-highlight: var(--fa-color-green);
  display: table;
  position: relative;
  isolation: isolate;
  margin: 0 auto 65px;
  font-size: var(--fa-heading-size, 30px);
  line-height: var(--fa-heading-leading, 1.4);
  text-align: center;
}
.fa-prefooter-contact h2::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -4px;
  bottom: 2px;
  left: 0;
  height: 0.3em;
  background: var(--fa-heading-highlight);
  pointer-events: none;
}
.fa-prefooter-contact .editorial-contact__controls {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  text-align: right;
}
.fa-prefooter-contact .editorial-contact__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}
.fa-prefooter-contact .editorial-contact__fields label { min-width: 0; }
.fa-prefooter-contact .editorial-contact__fields .wpcf7-form-control-wrap { display: block; }
.fa-prefooter-contact .editorial-contact__fields input,
.fa-prefooter-contact .editorial-contact__fields textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 16px;
  border: 0;
  border-radius: 0;
  background: #fdf3f1;
  color: var(--fa-color-blue-dark);
  font: 400 15px/1.5 var(--fa-font-body);
}
.fa-prefooter-contact .editorial-contact__fields ::placeholder {
  color: var(--fa-color-blue-dark);
  opacity: 1;
}
.fa-prefooter-contact .editorial-contact__fields :focus-visible,
.fa-prefooter-contact .editorial-contact__consent input:focus-visible {
  outline: 2px solid var(--fa-color-blue-dark);
  outline-offset: 2px;
}
.fa-prefooter-contact .editorial-contact__message { grid-column: 1 / -1; }
.fa-prefooter-contact .editorial-contact__consent {
  display: flex;
  align-items: start;
  gap: 5px;
  margin-block: 30px;
  text-align: left;
  font-size: 14px;
  text-transform: uppercase;
}
.fa-prefooter-contact .editorial-contact__consent input { flex: 0 0 auto; margin-top: 5px; }
.fa-prefooter-contact .editorial-contact__consent .wpcf7-list-item { margin: 0; }
.fa-prefooter-contact .editorial-contact__consent .wpcf7-list-item label { display: flex; align-items: start; gap: 5px; }
.fa-prefooter-contact .editorial-contact__consent .wpcf7-list-item-label { display: block; }
.fa-prefooter-contact .wpcf7-not-valid-tip { text-align: left; font-size: .875rem; }
.fa-prefooter-contact .editorial-contact__controls .fa-button {
  min-height: 46px;
  padding: var(--fa-button-padding, 11px 26px);
  border: 0;
  border-radius: var(--fa-button-radius, 0);
  background: var(--fa-button-background, var(--fa-color-rust));
  color: var(--fa-button-text, #fff);
  font: var(--fa-button-font-spec, 500 15px/1.4 var(--fa-font-body));
}
.fa-prefooter-contact .editorial-contact__controls .fa-button:disabled { opacity: .65; cursor: not-allowed; }
/* Keep decoys out of sight and keyboard navigation without disabling their form values. */
.fa-prefooter-contact .fa-contact-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.fa-prefooter-contact .fa-about-contact__message { margin-top: 1.5rem; }
@media (max-width: 640px) {
  .fa-prefooter-contact h2 { margin-bottom: 40px; font-size: var(--fa-heading-size, 26px); }
  .fa-prefooter-contact .editorial-contact__fields { grid-template-columns: 1fr; gap: 15px; }
}
