/* v10.6.7 — homepage newsletter: positioning and transparent host ONLY.
 * Do not style GoHighLevel input or button; they are cross-origin iframe content.
 * Do not constrain iframe height, apply filters, or clip the embed. */
#ngw-home .ngw-fg-ghl-newsletter {
  box-sizing:border-box;
  display:block;
  position:relative;
  z-index:2;
  width:100%;
  max-width:960px;
  min-width:0;
  padding:0;
  margin:42px auto 0;
  border:0;
  border-radius:0;
  background:transparent !important;
  background-color:transparent !important;
  box-shadow:none !important;
  overflow:visible;
}
#ngw-home .ngw-fg-ghl-newsletter > iframe {
  display:block;
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  min-width:0;
  padding:0;
  margin:0;
  border:none;
  border-radius:0;
  background:transparent !important;
  background-color:transparent !important;
  box-shadow:none !important;
}
@media (max-width:760px) {
  #ngw-home .ngw-fg-ghl-newsletter {
    width:100%;
    max-width:100%;
    margin-top:28px;
  }
}

/* No opaque panel or decorative layer is introduced by the WordPress theme.
 * The GHL form's own internal background must be disabled in GHL's Form Builder:
 * cross-origin iframe contents cannot be restyled from this stylesheet. */
#ngw-home .ngw-fg-newsletter-inner {
  background:transparent !important;
  background-color:transparent !important;
  box-shadow:none !important;
}
#ngw-home .ngw-fg-ghl-newsletter::before,
#ngw-home .ngw-fg-ghl-newsletter::after {
  content:none !important;
  display:none !important;
}

/* v10.6.8 — GHL form_embed.js injects TWO parent containers around the
 * iframe after the initial HTML loads. The old direct-child iframe selector
 * misses the generated .ep-iFrameContainer / .ep-wrapper structure. Remove
 * opaque backgrounds from all SAME-ORIGIN generated containers; keep actual
 * input/button UI and form submission inside GHL untouched. */
#ngw-home .ngw-fg-ghl-newsletter .ep-iFrameContainer,
#ngw-home .ngw-fg-ghl-newsletter .ep-wrapper,
#ngw-home .ngw-fg-ghl-newsletter [id$="-div"],
#ngw-home .ngw-fg-ghl-newsletter [id$="-wrapper"],
#ngw-home .ngw-fg-ghl-newsletter iframe,
#ngw-home .ngw-fg-ghl-newsletter [data-original-tag="iframe"] {
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}
#ngw-home .ngw-fg-ghl-newsletter iframe {
  color-scheme: normal;
}
