.ghl-live-form {
  width: min(100%, 896px);
  margin-inline: auto;
  overflow: visible;
}

.ghl-live-form.template-form-card,
.ghl-live-form.form-card {
  display: block;
  padding: 24px;
  border: 1px solid #f3f4f6;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 10%), 0 8px 10px -6px rgb(0 0 0 / 10%);
}

.ghl-live-form__frame {
  display: block !important;
  width: 100% !important;
  height: 1003px !important;
  min-height: 1003px !important;
  border: 0 !important;
  border-radius: 3px !important;
  background: #fff;
}

.ghl-live-form__privacy,
.ghl-live-form__fallback {
  max-width: 680px;
  margin: 12px auto 0;
  color: #74777d;
  font-size: .75rem;
  line-height: 1.55;
  text-align: center;
}

.ghl-live-form__fallback {
  margin-top: 6px;
}

.ghl-live-form__fallback a {
  color: #ff6602;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ghl-live-form--contact {
  width: min(100%, 900px);
}

@media (min-width: 48rem) {
  .ghl-live-form.template-form-card,
  .ghl-live-form.form-card {
    padding: 48px;
  }
}

@media (max-width: 47.9375rem) {
  .ghl-live-form.template-form-card,
  .ghl-live-form.form-card {
    padding: 16px;
    border-radius: 18px;
  }

  .ghl-live-form__frame {
    height: 1120px !important;
    min-height: 1120px !important;
  }

  .ghl-live-form__privacy,
  .ghl-live-form__fallback {
    padding-inline: 8px;
  }
}
