/* Neutral layout for the GoHighLevel form section. Themes restyle it through these classes. */
.ghl-section { padding: 80px 0; }
.ghl-section__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 56px; align-items: start;
}
.ghl-form { width: 100%; }
.ghl-form iframe { display: block; }
@media (max-width: 860px) {
  .ghl-section { padding: 56px 0; }
  .ghl-section__inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .ghl-section__inner { padding: 0 16px; }
}

/* Modal forms */
.ghl-modal {
  width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0;
  border: 0; border-radius: 10px; background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); overflow: auto;
}
.ghl-modal::backdrop { background: rgba(20, 20, 20, .6); }
.ghl-modal__body { padding: 44px 20px 20px; }
.ghl-modal__close {
  position: sticky; top: 8px; float: right; margin: 8px 8px -44px 0; z-index: 1;
  width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .06);
  font-size: 24px; line-height: 1; cursor: pointer; color: #333;
}
.ghl-modal__close:hover { background: rgba(0, 0, 0, .12); }
@media (max-width: 560px) {
  .ghl-modal { width: 100vw; max-width: 100vw; max-height: 100vh; height: 100vh; border-radius: 0; }
  .ghl-modal__body { padding: 44px 8px 8px; }
}
