.ghl-form-shell {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(14, 43, 51, .13);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(19, 57, 64, .13);
}

.ghl-form-heading {
  padding: 25px 28px 22px;
  border-bottom: 1px solid rgba(14, 43, 51, .1);
  background: #fbf8f1;
}

.ghl-form-heading h2,
.ghl-form-heading h3 {
  margin: 0 0 5px;
  color: #0e2b33;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.ghl-form-heading p {
  margin: 0;
  color: #526a6d;
  font-size: 14px;
}

.ghl-form-body {
  position: relative;
  min-height: 812px;
}

.ghl-form-status {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 28px;
  color: #526a6d;
  font-size: 14px;
  text-align: center;
  pointer-events: none;
}

.ghl-form-status[hidden] { display: none; }
.ghl-form-shell[data-form-state="delayed"] .ghl-form-body { min-height: 220px; }

.ghl-form-shell iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  min-height: 812px;
  background: transparent;
}

.ghl-form-assist {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 58px;
  padding: 14px 20px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-top: 1px solid rgba(14, 43, 51, .1);
  flex-wrap: wrap;
  background: #fbf8f1;
  color: #61777a;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.ghl-form-assist a {
  color: #0e2b33;
  font-weight: 800;
  text-underline-offset: 4px;
}

.ghl-form-assist a:hover,
.ghl-form-assist a:focus-visible {
  color: #326965;
}

.ghl-form-fallback {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 220px;
  padding: 32px;
  place-items: center;
  color: #183238;
  text-align: center;
}

.ghl-form-fallback a {
  color: #0e2b33;
  font-weight: 800;
  text-underline-offset: 4px;
}

@media (max-width: 680px) {
  .ghl-form-shell iframe { min-height: 812px; }
  .ghl-form-shell { border-radius: 22px; }
  .ghl-form-heading { padding: 22px 20px 20px; }
  .ghl-form-heading h2,
  .ghl-form-heading h3 { font-size: 28px; }
  .ghl-form-assist { padding: 14px 18px; gap: 3px 7px; }
}
