.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );text-transform:var( --e-global-typography-text-text-transform );line-height:var( --e-global-typography-text-line-height );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}@media(max-width:1366px){.elementor-widget-text-editor{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}}@media(max-width:1024px){.elementor-widget-text-editor{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}}@media(max-width:767px){.elementor-widget-text-editor{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}}/* Start custom CSS for text-editor, class: .elementor-element-26457b09 *//*
  Ray Williams / Mortgage Maestro Group — Trust Package page layout
  WordPress + Elementor + Hello Elementor
  Appearance → Customize → Additional CSS
  Live target: https://mortgage-maestro.com/trusted-citations-awards-reviews/
*/

body:has(#mortgage-maestro-trust-center) {
  --mmg-deep: #070707;
  --mmg-pull-up: clamp(168px, 18vw, 220px);
  /* Overlap hero under floating header to kill 1px white seam */
  --mmg-seam-overlap: 17px;
  /* Space for floating Elementor nav before hero badge */
  --mmg-nav-clearance: clamp(335px, 25vw, 220px);
  --mmg-badge-offset: 14px;
  background: var(--mmg-deep) !important;
}

/* Hide theme page title on this page only */
body:has(#mortgage-maestro-trust-center) .page-header,
body:has(#mortgage-maestro-trust-center) .entry-header,
body:has(#mortgage-maestro-trust-center) .elementor-page-title,
body:has(#mortgage-maestro-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(#mortgage-maestro-trust-center) .uicore-content:has(#mortgage-maestro-trust-center),
body:has(#mortgage-maestro-trust-center) .uicore-page-wrapper:has(#mortgage-maestro-trust-center),
body:has(#mortgage-maestro-trust-center) .uicore-main:has(#mortgage-maestro-trust-center),
body:has(#mortgage-maestro-trust-center) .site-content:has(#mortgage-maestro-trust-center),
body:has(#mortgage-maestro-trust-center) .content-area:has(#mortgage-maestro-trust-center),
body:has(#mortgage-maestro-trust-center) .entry-content:has(#mortgage-maestro-trust-center),
body:has(#mortgage-maestro-trust-center) #primary:has(#mortgage-maestro-trust-center),
body:has(#mortgage-maestro-trust-center) main:has(#mortgage-maestro-trust-center),
body:has(#mortgage-maestro-trust-center) .elementor-section-wrap:has(#mortgage-maestro-trust-center),
body:has(#mortgage-maestro-trust-center) .elementor-section:has(#mortgage-maestro-trust-center),
body:has(#mortgage-maestro-trust-center) .elementor-top-section:has(#mortgage-maestro-trust-center),
body:has(#mortgage-maestro-trust-center) .e-con:has(#mortgage-maestro-trust-center),
body:has(#mortgage-maestro-trust-center) .e-con-inner:has(#mortgage-maestro-trust-center),
body:has(#mortgage-maestro-trust-center) .e-con-boxed:has(#mortgage-maestro-trust-center),
body:has(#mortgage-maestro-trust-center) .elementor-widget-html:has(#mortgage-maestro-trust-center),
body:has(#mortgage-maestro-trust-center) .elementor-widget-html:has(#mortgage-maestro-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(#mortgage-maestro-trust-center) .elementor-widget-html:has(#mortgage-maestro-trust-center) .elementor-widget-container > p:first-child:empty,
body:has(#mortgage-maestro-trust-center) .elementor-widget-html:has(#mortgage-maestro-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(#mortgage-maestro-trust-center) #mortgage-maestro-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(--mmg-pull-up)) !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  font-size: 20px !important;
  line-height: 1.65 !important;
  background: var(--mmg-deep) !important;
}

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

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

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

body:has(#mortgage-maestro-trust-center) #mortgage-maestro-trust-center .mmg-topbar span,
body:has(#mortgage-maestro-trust-center) #mortgage-maestro-trust-center .mmg-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(#mortgage-maestro-trust-center) #mortgage-maestro-trust-center .mmg-hero-grid {
  padding-top: var(--mmg-badge-offset) !important;
}

body:has(#mortgage-maestro-trust-center) #mortgage-maestro-trust-center .mmg-eyebrow {
  margin-top: 4px !important;
}

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

body:has(#mortgage-maestro-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(#mortgage-maestro-trust-center) .elementor-location-header .elementor-section,
body:has(#mortgage-maestro-trust-center) .elementor-location-header .e-con,
body:has(#mortgage-maestro-trust-center) .uicore-header-wrapper,
body:has(#mortgage-maestro-trust-center) .uicore-navbar,
body:has(#mortgage-maestro-trust-center) header[data-elementor-type="header"] {
  margin-bottom: 0 !important;
  border-bottom: none !important;
}

body:has(#mortgage-maestro-trust-center) .elementor-section:has(#mortgage-maestro-trust-center),
body:has(#mortgage-maestro-trust-center) .e-con:has(#mortgage-maestro-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(#mortgage-maestro-trust-center) .elementor-location-footer,
body:has(#mortgage-maestro-trust-center) footer[data-elementor-type="footer"],
body:has(#mortgage-maestro-trust-center) .uicore-footer,
body:has(#mortgage-maestro-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(#mortgage-maestro-trust-center) .elementor-location-footer .elementor-section,
body:has(#mortgage-maestro-trust-center) .elementor-location-footer .e-con,
body:has(#mortgage-maestro-trust-center) .elementor-location-footer .e-con-inner,
body:has(#mortgage-maestro-trust-center) footer[data-elementor-type="footer"] .elementor-section,
body:has(#mortgage-maestro-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(#mortgage-maestro-trust-center) #mortgage-maestro-trust-center .mmg-hero-grid,
  body:has(#mortgage-maestro-trust-center) #mortgage-maestro-trust-center .mmg-grid-2,
  body:has(#mortgage-maestro-trust-center) #mortgage-maestro-trust-center .mmg-grid-3,
  body:has(#mortgage-maestro-trust-center) #mortgage-maestro-trust-center .mmg-grid-4,
  body:has(#mortgage-maestro-trust-center) #mortgage-maestro-trust-center .mmg-cta {
    grid-template-columns: 1fr !important;
  }
}

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

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