/*Theme Name:Child Theme for Divi Template: Divi*/
/* ── MPO 1:1 clone fix (2026-07-04) ───────────────────────────────────────────
   Divi transparent + non-fixed nav (et_transparent_nav et_non_fixed_nav):
   on LIVE the header overlays only the homepage hero (absolute) and is IN-FLOW
   on every inner page (position:static; margin-top:26px). Divi normally flips
   this per-page via JS; on the static clone that flip doesn't run, so inner-page
   headers stayed absolute and overlapped the page title + right sidebar. Restore
   the live behaviour: homepage (body.home) keeps the absolute hero overlay; all
   inner pages get the in-flow header. Values match live computed style exactly. */
body:not(.home) #main-header {
  position: static !important;
  margin-top: 26px !important;
}
/* Companion to the header fix: Divi's transparent-nav JS also injects a
   header-height padding-top (~292px) onto the first content section to clear
   the absolute overlay. On inner pages the header is now in-flow, so that
   clearance is redundant and leaves a big gap under the page title. Restore the
   intended 0 (live inner pages have no such clearance). Homepage keeps its hero
   clearance (body.home excluded). */
body:not(.home) .et_pb_section_0.et_pb_section {
  padding-top: 0 !important;
}
