/* Keep every desktop menu centred on the header in all open states. */
@media(min-width:992px){
 header.header .header-right,header.header .bottom-header,header.header .bottom-header-left,header.header .header-link{position:static!important}
 header.header .header-link>.ft-panel,header.header .header-link.ft-keyboard-open>.ft-panel,header.header .header-link.ft-pinned>.ft-panel,header.header .header-link.active>.ft-panel,header.header .header-link:hover>.ft-panel{left:50%!important;right:auto!important;top:100%!important;transform:translateX(-50%)!important;width:min(var(--container-width,124rem),calc(100vw - 6rem))!important;max-width:calc(100vw - 6rem)!important;min-width:0!important;box-sizing:border-box;height:auto!important;max-height:calc(100dvh - var(--ft-header-bottom,180px) - 16px)!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain}
}


/* Restore the staging scroll-and-peek header. The original shared script owns its state. */
@media(min-width:992px){.header-wrapper.is-detached{top:var(--ft-header-offset,0px)}}
/* Keep the existing touch menu within the viewport while its background is locked. */
@media(max-width:991px){
 body.ft-nav-open>.header-wrapper{position:fixed!important;left:0!important;right:0!important;top:var(--ft-header-offset,0px)!important;width:100%!important;z-index:1000!important}
 body.ft-nav-open header.header .header-mobile-menu{height:calc(100dvh - var(--ft-header-bottom,85px))!important;max-height:calc(100dvh - var(--ft-header-bottom,85px))!important;overflow-y:auto!important;overscroll-behavior:contain}
}

/* Keep the phone arrow inside the same accessible, full-width row button. */
@media(max-width:991px){header.header button.header-mobile-menu-link__title .header-mobile-menu-link-right{margin-left:auto;flex:none;pointer-events:none}}
