/* MH24 Header Core 1.4.3 — fix the 75% primary / invisible 25% sidebar on homepage.
   Scope to front page AND the existing center-homepage checkbox.
   Leave hero children, search, Lotti, navigation and other pages unchanged. */
body.home.mh24hc-home-fullwidth #primary,
body.home.mh24hc-home-fullwidth .site-content > .content-area,
body.home.mh24hc-home-fullwidth .site-content > #primary {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}
body.home.mh24hc-home-fullwidth #right-sidebar,
body.home.mh24hc-home-fullwidth .site-content > .right-sidebar,
body.home.mh24hc-home-fullwidth .site-content > #secondary {
  display: none !important;
}
body.home.mh24hc-home-fullwidth .site-content {
  grid-template-columns: minmax(0, 1fr) !important;
}
/* Keep the OUTER page centered, not the individual hero columns. */
@media (min-width: 768px) {
  body.home.mh24hc-home-fullwidth #page.site,
  body.home.mh24hc-home-fullwidth #page.grid-container,
  body.home.mh24hc-home-fullwidth .site.grid-container {
    width: 100%;
    max-width: min(100%, var(--mh24hc-max-width, 1440px));
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }
  body.home.mh24hc-home-fullwidth #content.site-content,
  body.home.mh24hc-home-fullwidth .site-content.grid-container,
  body.home.mh24hc-home-fullwidth .mh24-page-shell,
  body.home.mh24hc-home-fullwidth .mh24-home-shell,
  body.home.mh24hc-home-fullwidth .mh24-home-wrapper,
  body.home.mh24hc-home-fullwidth .mh24-homepage-container {
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }
  body.home.mh24hc-home-fullwidth #content.site-content:not(.grid-parent),
  body.home.mh24hc-home-fullwidth .site-content.grid-container {
    max-width: min(100%, var(--mh24hc-max-width, 1440px));
  }
}
