/* Shared by the three saved old sites. Kept small: the old themes' own CSS does the design. */

/* Divi hides animated modules until its script reveals them; show them at once instead, so a
   slow script or reduced motion never leaves a blank section. */
.et_animated,
.et-waypoint:not(.et_pb_counters) {
  opacity: 1 !important;
  animation: none !important;
}

/* Forms that replaced the GoHighLevel embeds. They take the page's font and colour. */
.legacy-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 0.875rem 1rem;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  font: inherit;
  color: inherit;
  text-align: left;
}
.legacy-form .lf-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.3;
}
.legacy-form .lf-wide,
.legacy-form .lf-submit,
.legacy-form .lf-status {
  grid-column: 1 / -1;
}
.legacy-form input,
.legacy-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 2.875rem;
  margin: 0;
  padding: 0.7rem 0.85rem;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 1rem; /* 16px or more stops iOS zooming into the field */
}
.legacy-form textarea {
  min-height: 8rem;
  resize: vertical;
}
.legacy-form input:focus-visible,
.legacy-form textarea:focus-visible,
.legacy-form .lf-submit:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.legacy-form .lf-submit {
  justify-self: start;
  min-height: 2.875rem;
  padding: 0.75rem 1.75rem;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.legacy-form .lf-submit:hover {
  opacity: 0.8;
}
.legacy-form .lf-submit:disabled {
  opacity: 0.5;
  cursor: progress;
}
.legacy-form .lf-status {
  min-height: 1.25em;
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
}
.legacy-form .lf-status.lf-error {
  font-weight: 600;
}
.legacy-form .lf-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Embedded video never pushes the page sideways on a phone. */
video,
iframe {
  max-width: 100%;
}
