.elementor-3715 .elementor-element.elementor-element-32a9516{--display:flex;}.elementor-widget .tippy-tooltip .tippy-content{text-align:center;}/* Start custom CSS for text-editor, class: .elementor-element-434941ee *//*
  Pamela Beattie / Waterstone Mortgage Fox Valley — Trust Package page layout
  WordPress + Elementor + UiCore Pro
  Appearance → Customize → Additional CSS
  Live target: https://wmcfoxvalley.com/trusted-citations-awards-reviews/
*/

body:has(#wmcfv-trust-center) {
  --wmcfv-deep: #07172b;
  --wmcfv-pull-up: clamp(158px, 36vw, 206px);
  /* Overlap hero under floating header to kill 1px white seam */
  --wmcfv-seam-overlap: 17px;
  /* Space for floating Elementor nav before hero badge */
  --wmcfv-nav-clearance: clamp(118px, 7.5vw, 88px);
  --wmcfv-badge-offset: 14px;
  background: var(--wmcfv-deep) !important;
}

/* Hide theme page title on this page only */
body:has(#wmcfv-trust-center) .page-header,
body:has(#wmcfv-trust-center) .entry-header,
body:has(#wmcfv-trust-center) .elementor-page-title,
body:has(#wmcfv-trust-center) .uicore-page-title {
  display: none !important;
}

/*
  Kill white gaps — scoped to trust HTML widget only (NOT global .elementor-section).
  Global .elementor-section / .e-con rules break the Elementor footer on this page.
*/
body:has(#wmcfv-trust-center) .uicore-content:has(#wmcfv-trust-center),
body:has(#wmcfv-trust-center) .uicore-page-wrapper:has(#wmcfv-trust-center),
body:has(#wmcfv-trust-center) .uicore-main:has(#wmcfv-trust-center),
body:has(#wmcfv-trust-center) .site-content:has(#wmcfv-trust-center),
body:has(#wmcfv-trust-center) .content-area:has(#wmcfv-trust-center),
body:has(#wmcfv-trust-center) .entry-content:has(#wmcfv-trust-center),
body:has(#wmcfv-trust-center) #primary:has(#wmcfv-trust-center),
body:has(#wmcfv-trust-center) main:has(#wmcfv-trust-center),
body:has(#wmcfv-trust-center) .elementor-section-wrap:has(#wmcfv-trust-center),
body:has(#wmcfv-trust-center) .elementor-section:has(#wmcfv-trust-center),
body:has(#wmcfv-trust-center) .elementor-top-section:has(#wmcfv-trust-center),
body:has(#wmcfv-trust-center) .e-con:has(#wmcfv-trust-center),
body:has(#wmcfv-trust-center) .e-con-inner:has(#wmcfv-trust-center),
body:has(#wmcfv-trust-center) .e-con-boxed:has(#wmcfv-trust-center),
body:has(#wmcfv-trust-center) .elementor-widget-html:has(#wmcfv-trust-center),
body:has(#wmcfv-trust-center) .elementor-widget-html:has(#wmcfv-trust-center) > .elementor-widget-container {
  padding-top: 0 !important;
  margin-top: 0 !important;
  background: transparent !important;
}

/* Hide empty paragraphs Elementor/HTML widgets sometimes inject */
body:has(#wmcfv-trust-center) .elementor-widget-html:has(#wmcfv-trust-center) .elementor-widget-container > p:first-child:empty,
body:has(#wmcfv-trust-center) .elementor-widget-html:has(#wmcfv-trust-center) .elementor-widget-container > p:first-child {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Full-bleed trust page under floating header — navy fill kills white strip */
body:has(#wmcfv-trust-center) #wmcfv-trust-center {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-top: calc(-1 * var(--wmcfv-pull-up)) !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  font-size: 20px !important;
  line-height: 1.65 !important;
  background: var(--wmcfv-deep) !important;
}

/*
  Paint navy upward over the Elementor header seam (thin white line).
  Content position unchanged — extra padding offsets the negative margin.
*/
body:has(#wmcfv-trust-center) #wmcfv-trust-center .wmcfv-hero {
  margin-top: calc(-1 * var(--wmcfv-seam-overlap)) !important;
  padding-top: calc(var(--wmcfv-nav-clearance) + var(--wmcfv-seam-overlap)) !important;
  box-shadow: 0 calc(-1 * var(--wmcfv-seam-overlap)) 0 0 var(--wmcfv-deep) !important;
  border-top: var(--wmcfv-seam-overlap) solid var(--wmcfv-deep) !important;
}

/* Topbar lives inside hero — no separate dark band above gradient */
body:has(#wmcfv-trust-center) #wmcfv-trust-center .wmcfv-topbar {
  background: transparent !important;
  border: none !important;
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
}

body:has(#wmcfv-trust-center) #wmcfv-trust-center .wmcfv-topbar .wmcfv-wrap {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body:has(#wmcfv-trust-center) #wmcfv-trust-center .wmcfv-topbar span,
body:has(#wmcfv-trust-center) #wmcfv-trust-center .wmcfv-topbar strong {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.92em !important;
}

/* Extra breathing room under floating navbar for the Trust Center badge */
body:has(#wmcfv-trust-center) #wmcfv-trust-center .wmcfv-hero-grid {
  padding-top: var(--wmcfv-badge-offset) !important;
}

body:has(#wmcfv-trust-center) #wmcfv-trust-center .wmcfv-badge {
  margin-top: 4px !important;
}

body:has(#wmcfv-trust-center) #wmcfv-trust-center .wmcfv-wrap {
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 22px !important;
  padding-right: 22px !important;
}

body:has(#wmcfv-trust-center) .elementor-location-header {
  z-index: 999 !important;
  margin-bottom: 0 !important;
}

/* Floating UiCore / Elementor header — remove bottom gap that shows as white hairline */
body:has(#wmcfv-trust-center) .elementor-location-header .elementor-section,
body:has(#wmcfv-trust-center) .elementor-location-header .e-con,
body:has(#wmcfv-trust-center) .uicore-header-wrapper,
body:has(#wmcfv-trust-center) .uicore-navbar,
body:has(#wmcfv-trust-center) header[data-elementor-type="header"] {
  margin-bottom: 0 !important;
  border-bottom: none !important;
}

body:has(#wmcfv-trust-center) .elementor-section:has(#wmcfv-trust-center),
body:has(#wmcfv-trust-center) .e-con:has(#wmcfv-trust-center) {
  margin-top: 0 !important;
  padding-top: 0 !important;
  gap: 0 !important;
  row-gap: 0 !important;
}

/* Restore theme footer — must not inherit trust-page transparent/reset rules */
body:has(#wmcfv-trust-center) .elementor-location-footer,
body:has(#wmcfv-trust-center) footer[data-elementor-type="footer"],
body:has(#wmcfv-trust-center) .uicore-footer,
body:has(#wmcfv-trust-center) .uicore-copyright {
  background: revert !important;
  background-color: revert !important;
  padding-top: revert !important;
  margin-top: revert !important;
  width: 100% !important;
  max-width: 100% !important;
}

body:has(#wmcfv-trust-center) .elementor-location-footer .elementor-section,
body:has(#wmcfv-trust-center) .elementor-location-footer .e-con,
body:has(#wmcfv-trust-center) .elementor-location-footer .e-con-inner,
body:has(#wmcfv-trust-center) footer[data-elementor-type="footer"] .elementor-section,
body:has(#wmcfv-trust-center) footer[data-elementor-type="footer"] .e-con {
  background: revert !important;
  background-color: revert !important;
  padding-top: revert !important;
  margin-top: revert !important;
}

@media (max-width: 980px) {
  body:has(#wmcfv-trust-center) #wmcfv-trust-center .wmcfv-hero-grid,
  body:has(#wmcfv-trust-center) #wmcfv-trust-center .wmcfv-grid-2,
  body:has(#wmcfv-trust-center) #wmcfv-trust-center .wmcfv-grid-3,
  body:has(#wmcfv-trust-center) #wmcfv-trust-center .wmcfv-grid-4,
  body:has(#wmcfv-trust-center) #wmcfv-trust-center .wmcfv-cta {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  body:has(#wmcfv-trust-center) #wmcfv-trust-center .wmcfv-actions .wmcfv-btn {
    width: 100% !important;
  }
}

/*
  Fine-tune:
  --wmcfv-pull-up: pull page under floating header
  --wmcfv-seam-overlap: increase (e.g. 10px) if thin white line remains
  --wmcfv-nav-clearance / --wmcfv-badge-offset: badge distance from navbar
*//* End custom CSS */