/* Static-export overrides (not from Squarespace).
 * Form markup is ours (Web3Forms); it inherits the section theme colours
 * and the site's form typography variables. */
.ml-form { text-align: left; color: inherit; }
.ml-form .ml-hp { display: none; }
.ml-form .ml-field { border: 0; margin: 0 0 1.6em; padding: 0; min-width: 0; }
.ml-form legend,
.ml-form label {
  display: block;
  font-family: var(--form-block-title-text-font-font-family, inherit);
  font-size: var(--form-block-title-text-font-font-size, 0.9rem);
  font-weight: var(--form-block-title-text-font-font-weight, inherit);
  margin-bottom: 0.5em;
}
.ml-form legend { padding: 0; }
.ml-form .ml-sub { font-size: var(--form-block-caption-text-font-font-size, 0.75rem); }
.ml-form .ml-req { opacity: 0.6; font-size: 0.85em; margin-left: 0.35em; }
.ml-form .ml-desc { margin: 0 0 0.5em; opacity: 0.75; font-size: 0.85em; }
.ml-form .ml-row { display: flex; gap: 2rem; }
.ml-form .ml-row > * { flex: 1 1 0; }
.ml-form input:not([type="checkbox"]):not([type="radio"]),
.ml-form textarea,
.ml-form select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.4em;
  padding: 0.6em 0;
  background: transparent;
  color: inherit;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  font-family: var(--form-block-input-text-font-font-family, inherit);
  font-size: var(--form-block-input-text-font-font-size, 1rem);
  outline: none;
}
.ml-form input:focus,
.ml-form textarea:focus,
.ml-form select:focus { border-bottom-width: 2px; }
.ml-form textarea { min-height: 6em; resize: vertical; }
.ml-form .ml-actions { margin-top: 1.2em; }
.ml-form button[type="submit"] { cursor: pointer; border: 0; }
.ml-form button[disabled] { opacity: 0.6; cursor: wait; }
.ml-form .ml-status { margin: 1em 0 0; min-height: 1.2em; }
.ml-form .ml-status.is-success { font-weight: 600; }
.ml-form .ml-status.is-error { color: #ff6b6b; }
.ml-form .h-captcha { margin-top: 0.5em; }
@media (max-width: 767px) {
  .ml-form .ml-row { flex-direction: column; gap: 0; }
}
