/* Primary header overlay; native Divi sticky positioning and placeholders remain intact. */
body.tm-header-blend #page-container {padding-top:0!important;}
body.tm-header-blend .tm-blend-header {
 position:fixed!important;top:calc(var(--tm-header-blend-offset,0px) + var(--tm-header-blend-secondary,0px))!important;
 left:0!important;right:0;width:100%!important;margin-top:0!important;z-index:99998;
}
body.tm-header-blend .tm-blend-secondary {
 position:fixed!important;top:var(--tm-header-blend-offset,0px)!important;left:0;width:100%;
}
/* Override backgrounds only at the top. Scrolling releases every surface to Divi,
   including its normal/sticky colors, images, gradients and shadows. */
body.tm-header-blend:not(.tm-header-scrolled) :is(.tm-blend-header,.tm-blend-secondary),
body.tm-header-blend:not(.tm-header-scrolled) .tm-blend-header>.et_builder_inner_content,
body.tm-header-blend:not(.tm-header-scrolled) .tm-blend-header>.et_builder_inner_content>.et_pb_section,
body.tm-header-blend:not(.tm-header-scrolled) .tm-blend-header>.et_builder_inner_content>.et_pb_section>.et_pb_row {
 background:transparent!important;box-shadow:none!important;
}
/* Sticky clones reserve height only; they must not cover the real menu trigger. */
body.tm-header-blend .tm-blend-header .et_pb_sticky_placeholder {
 visibility:hidden!important;pointer-events:none!important;
}
