/* Explicit desktop-only correction: remove home.css global tall body
   min-height on the Our Guiding Forces page, which creates a plain patch below footer. */
@media (min-width: 701px) {
  body:has(.our-guiding-forces) {
    min-height: 0 !important;
    height: auto !important;
  }
  body:has(.our-guiding-forces) #page,
  body:has(.our-guiding-forces) #content,
  body:has(.our-guiding-forces) .site-content,
  body:has(.our-guiding-forces) #primary,
  body:has(.our-guiding-forces) .content-area,
  body:has(.our-guiding-forces) .our-guiding-forces {
    min-height: 0 !important;
    height: auto !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}


/*
 * FFLT final footer-gap correction.
 * home.css applies min-height:182vw to BODY globally. On these standalone
 * content pages that creates a large empty area after the footer. Reset that
 * global homepage height and remove inherited Astra container spacing only
 * when one of the four target page wrappers is present.
 */
body:has(.our-founder-page),
body:has(.our-mission-page),
body:has(.our-vision-page),
body:has(.fflt-heal-page) {
  min-height: 0 !important;
  height: auto !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  background-image: none !important;
}

body:has(.our-founder-page) #page,
body:has(.our-founder-page) .site,
body:has(.our-founder-page) #content,
body:has(.our-founder-page) .site-content,
body:has(.our-founder-page) .site-content > .ast-container,
body:has(.our-founder-page) #primary,
body:has(.our-founder-page) .content-area,
body:has(.our-founder-page) article,
body:has(.our-founder-page) .entry-content,
body:has(.our-founder-page) .site-main,
body:has(.our-mission-page) #page,
body:has(.our-mission-page) .site,
body:has(.our-mission-page) #content,
body:has(.our-mission-page) .site-content,
body:has(.our-mission-page) .site-content > .ast-container,
body:has(.our-mission-page) #primary,
body:has(.our-mission-page) .content-area,
body:has(.our-mission-page) article,
body:has(.our-mission-page) .entry-content,
body:has(.our-mission-page) .site-main,
body:has(.our-vision-page) #page,
body:has(.our-vision-page) .site,
body:has(.our-vision-page) #content,
body:has(.our-vision-page) .site-content,
body:has(.our-vision-page) .site-content > .ast-container,
body:has(.our-vision-page) #primary,
body:has(.our-vision-page) .content-area,
body:has(.our-vision-page) article,
body:has(.our-vision-page) .entry-content,
body:has(.our-vision-page) .site-main,
body:has(.fflt-heal-page) #page,
body:has(.fflt-heal-page) .site,
body:has(.fflt-heal-page) #content,
body:has(.fflt-heal-page) .site-content,
body:has(.fflt-heal-page) .site-content > .ast-container,
body:has(.fflt-heal-page) #primary,
body:has(.fflt-heal-page) .content-area,
body:has(.fflt-heal-page) article,
body:has(.fflt-heal-page) .entry-content,
body:has(.fflt-heal-page) .site-main {
  min-height: 0 !important;
  height: auto !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body:has(.our-founder-page) footer,
body:has(.our-mission-page) footer,
body:has(.our-vision-page) footer,
body:has(.fflt-heal-page) footer,
body:has(.our-founder-page) .site-footer,
body:has(.our-mission-page) .site-footer,
body:has(.our-vision-page) .site-footer,
body:has(.fflt-heal-page) .site-footer {
  margin-bottom: 0 !important;
}
