/* ============================================================
   MBP front page — host shell overrides

   Undo Jupiter's boxed layout and white page background so the full-bleed
   design can run edge to edge. Deployment-side only — nothing here belongs
   in the design source.

   Scoped to body.home / .page-id-8445 so the rest of the site is untouched.

   HISTORY: this file also used to carry two design corrections
   ([SOURCE FIX 2] .nav-in max-width container, [SOURCE FIX 3] .nmenu
   right-offset). Both are baked into the v1 handoff source, so they were
   removed here to avoid duplicating — and silently diverging from — the
   source. See JKM/MBP Website/MBP-front-page-deviations.md
   ============================================================ */

/* Paper background everywhere behind the design */
html:has(body.home),
body.home,
body.page-id-8445,
body.home #mk-boxed-layout,
body.page-id-8445 #mk-boxed-layout,
body.home #theme-page-bg,
body.page-id-8445 #theme-page-bg,
body.home .master-holder-bg,
body.page-id-8445 .master-holder-bg,
body.home #mk-theme-container,
body.page-id-8445 #mk-theme-container,
body.home #theme-page,
body.page-id-8445 #theme-page,
body.home .mk-main-wrapper-holder,
body.page-id-8445 .mk-main-wrapper-holder{
  background:#E8E0D4 !important;
  background-color:#E8E0D4 !important;
  background-image:none !important;
}

/* Full width: drop the theme's 1100px box and side padding */
body.home .theme-page-wrapper,
body.page-id-8445 .theme-page-wrapper,
body.home .mk-main-wrapper,
body.page-id-8445 .mk-main-wrapper,
body.home #mk-page-id-8445,
body.page-id-8445 #mk-page-id-8445{
  max-width:100% !important;
  width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
  float:none !important;
}
body.home .theme-content,
body.page-id-8445 .theme-content{
  width:100% !important;
  max-width:100% !important;
  padding-left:0 !important;
  padding-right:0 !important;
  margin-left:0 !important;
  margin-right:0 !important;
  float:none !important;
}

/* The design owns its own vertical rhythm */
body.home #theme-page,
body.page-id-8445 #theme-page,
body.home .theme-page-wrapper,
body.page-id-8445 .theme-page-wrapper,
body.home .master-holder,
body.page-id-8445 .master-holder{
  padding-top:0 !important;
  padding-bottom:0 !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
}

/* Empty theme header/footer shells must add no height or white band */
body.home header.mk-header,
body.page-id-8445 header.mk-header,
body.home #mk-footer,
body.page-id-8445 #mk-footer,
body.home #mk-footer-unfold-spacer,
body.page-id-8445 #mk-footer-unfold-spacer{
  display:none !important;
}

body.home,
body.page-id-8445{ overflow-x:hidden !important; }
