/* ABAU-1585: /subscription shows the site header. Loaded by view/subscription only, AFTER
   subscription.css, so the promo pages that share subscription.css keep their header-less layout
   (PM decision, Jira comment 67663). Each rule below undoes one subscription.css / landing.css
   suppression at equal-or-higher specificity. */

/* subscription.css hides .top-header.sticky; base/footer.php adds .sticky at scrollTop >= 112. */
.top-header.sticky {
    display: block;
}

/* landing.css hides #navBar !important on every landing page. Restore Bootstrap's own
   navbar-expand-lg behaviour: expanded from lg, collapsed and toggled below it. */
@media (min-width: 992px) {
    #navBar {
        display: flex !important;
    }
}
@media (max-width: 991.98px) {
    /* Bootstrap keeps .show across a resize; below lg only, so the desktop rule above stays flex. */
    #navBar.show, #navBar.collapsing {
        display: block !important;
    }
}

@media (max-width: 590px) {
    /* subscription.css hides the mobile toggler. */
    .homeHeader .navbar-toggler {
        display: inline-block;
    }
    /* subscription.css paints .top-header blue !important; the sticky state keeps theme.css's white,
       as on the home page, otherwise the blue sticky logo sits on this blue. */
    .top-header.sticky {
        background: #ffffff !important;
    }
}
