/*
 * Loaded after CMS HeadStyles so inline .toppadding rules do not reintroduce scroll white space.
 * Matches consumer layout: header offset on hero, not on nested CMS <main>.
 */
body.b2b-newui-app.bo-page.pf2-page:not(.b2b-newui-home-hero):not(:has(.hero.home-banner)) main.b2b-newui-main#main:has(.business-objective-hero) {
    padding-top: 0 !important;
    background: transparent !important;
}

body.b2b-newui-app.bo-page.pf2-page .b2b-newui-html-body > main.toppadding,
body.b2b-newui-app.bo-page.pf2-page .b2b-newui-html-body > main:has(> .business-objective-hero),
body.b2b-newui-app.bo-page.pf2-page .b2b-newui-html-body > main:has(.business-objective-hero:first-child) {
    padding-top: 0 !important;
    margin-top: 0 !important;
    background: transparent !important;
}

body.b2b-newui-app.bo-page.pf2-page:not(.b2b-newui-home-hero):not(:has(.hero.home-banner)) .business-objective-hero {
    margin-top: calc(-1 * var(--header-h)) !important;
    padding-top: var(--header-h) !important;
    box-sizing: content-box !important;
    min-height: 458px !important;
    height: 458px !important;
}

@media (max-width: 1023px) {
    body.b2b-newui-app.bo-page.pf2-page:not(.b2b-newui-home-hero):not(:has(.hero.home-banner)) .business-objective-hero {
        height: auto !important;
        min-height: 340px !important;
    }
}
