.rdmmb-region, .rdmmb-region > .rdmmb-slot { box-sizing: border-box; width: 100%; max-width: none; }
.rdmmb-region > .rdmmb-slot { display: flow-root; }
.rdmmb-region .rdmmb-slot > .vc_row { margin-left: 0; margin-right: 0; }
.rdmmb-region .rdmmb-slot > :last-child { margin-bottom: 0; }
#colophon.rdmmb-footer { margin: 0; padding: 0; border: 0; }

/* Page-top TopBar stays in document flow, outside the menu's fixed/sticky container. */
body.rdmmb-topbar-static > #rdm-topbar { position: relative; top: auto; z-index: 1300; }
/* Native theme positioning respects only the visible remainder of the TopBar. */
body.rdmmb-topbar-ready #masthead:is(.site-headerpos--fixed, .site-headerpos--sticky, .fixed-header) {
    top: calc(var(--rdmmb-topbar-admin-offset, 0px) + var(--rdmmb-topbar-height, 0px)) !important;
}
/* Without measurement/JS the two areas remain in document order, never overlapping. */
body.rdmmb-topbar-static:not(.rdmmb-topbar-ready) #masthead {
    position: relative !important;
    top: auto !important;
}
body.rdmmb-topbar-static:not(.rdmmb-topbar-ready) > .rdm-header-spacer { height: 0 !important; }
html.rdmmb-topbar-scroll-managed { scroll-padding-top: var(--rdmmb-topbar-scroll-offset, 0px); }
