/* Overlay items such as the home "Create press center" control use z-10.
   The top bar used to share that level, and the menu's own z-index stays
   inside the bar, so the button painted over the open account menu.
   Modals stay at 50. The :behind bar keeps its own rule. */
.fp-layout-top-nav:not([data-fp-layout-top-nav-position="behind"]) {
  z-index: 30;
}

/* Flatpack pins the layout photo to the viewport. On a page taller than
   the screen, that photo stops and the plain page color shows underneath.
   Stretch it with the page column instead. */
[data-flat-pack-layout-background].fp-page-layout {
  position: relative;
}

[data-flat-pack-layout-background] > .fp-backdrop {
  position: absolute;
}
