/* Contact page. Every rule is scoped to .mbf-contact / .capsule-contact,
   so no other page is affected. */
@media (min-width: 768px) {
  .mbf-contact > .wp-block-group {
    min-height: 720px;
  }
  .mbf-contact .mbf-contact-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 680px;
    padding: 3rem;
  }
}
.capsule-contact textarea {
  min-height: 9rem;
  resize: vertical;
}
/* Honeypot field: hidden from people, visible to bots. */
.capsule-contact .capsule-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.capsule-contact .wpcf7-response-output {
  margin: 1.5rem 0 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--mbf-color-notice, #000);
}
.capsule-contact--sent .wpcf7-response-output {
  border-color: var(--mbf-color-success, #00a339);
}
.capsule-contact--error .wpcf7-response-output {
  border-color: var(--mbf-color-warning, #f00);
}

/* On phones the Capsule stylesheet turns every input white, which also
   whitened the Submit button. Keep the button in the theme's button colours. */
.mbf-contact .capsule-contact .wpcf7-form input.wpcf7-submit {
  background-color: var(--mbf-color-button, #000) !important;
  color: var(--mbf-color-button-contrast, #fff) !important;
}
