/* Powered from Within: standard Rewiring mega-nav + footer around the locked page.
   The main nav sits in the flow and scrolls away; the page's own fixed section bar
   (.pfw-topbar) only slides in once the reader has scrolled, so the two never stack. */

.rw-nav-root .rw-nav { position: relative; z-index: 60; }

.pfw-topbar {
    transition: transform .3s ease, visibility .3s, background .3s ease, border-color .3s ease;
}
.pfw-topbar:not(.is-scrolled) { transform: translateY(-100%); visibility: hidden; }

/* hero no longer sits under a transparent bar, so drop the bar's height from its top padding */
.pfw-hero { padding-top: 56px; }
@media (max-width: 767px) {
    .pfw-hero { padding-top: 32px; }
}

/* the Sources band above is already dark, so no gap between it and the footer */
.rw-footer { margin-top: 0; }
