
html body:has(.journey-hero) #masthead{opacity:1!important;visibility:visible!important;pointer-events:auto!important;background:transparent!important;box-shadow:none!important}
body:has(.journey-hero) #masthead .elementor-section,body:has(.journey-hero) #masthead .main-header,body:has(.journey-hero) #masthead .main-header__main-line{background:transparent!important;box-shadow:none!important;border-color:transparent!important}
/* Only the opening banner uses a transparent header. Scrolling restores the standard white navbar. */
html body.homepage-nav-visible:has(.journey-hero) #masthead{background:#fff!important;box-shadow:0 5px 20px #2236450d!important}
body:has(.journey-hero) #masthead{transition:background-color 360ms ease,box-shadow 360ms ease!important}
body:has(.journey-hero) #masthead .main-menu>li{transform-origin:left center}
body:has(.journey-hero) #masthead .main-menu>li>a,
body:has(.journey-hero) #masthead .main-menu>li>.dropdown-btn{transition:color 300ms ease!important}
body:has(.journey-hero) #masthead .main-header__menu-box,body:has(.journey-hero) #masthead .main-header__widget-box{transition:opacity 320ms ease,transform 320ms cubic-bezier(.2,.7,.3,1),visibility 320ms;opacity:1;transform:translateY(0);visibility:visible}
body:not(.homepage-nav-visible):has(.journey-hero) #masthead .main-header__menu-box,body:not(.homepage-nav-visible):has(.journey-hero) #masthead .main-header__widget-box{opacity:0!important;transform:translateY(-8px);visibility:hidden!important;pointer-events:none!important}
body:has(.journey-hero) #masthead .main-menu>li>a,body:has(.journey-hero) #masthead .main-menu>li>.dropdown-btn{color:#161616!important;text-shadow:none!important}
body:has(.journey-hero) #masthead .main-menu>li:hover>a,body:has(.journey-hero) #masthead .main-menu>li>a:focus-visible{color:#64171d!important}
body:has(.journey-hero) #masthead .hamburger-inner,body:has(.journey-hero) #masthead .hamburger-inner:before,body:has(.journey-hero) #masthead .hamburger-inner:after{background-color:#161616!important}
@media(prefers-reduced-motion:reduce){body:has(.journey-hero) #masthead .main-header__menu-box,body:has(.journey-hero) #masthead .main-header__widget-box{transition:none}}
/* Over the film, only the navigation links use the transparent white treatment. */
html body.homepage-over-banner:has(.journey-hero) #masthead{background:transparent!important;box-shadow:none!important}
body.homepage-over-banner #masthead .sub-menu,
body.homepage-over-banner #masthead .sub-menu li,
body.homepage-over-banner #masthead .sub-menu a{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important}
body.homepage-over-banner #masthead .sub-menu a{color:rgb(var(--hrs-nav-ink,255),var(--hrs-nav-ink,255),var(--hrs-nav-ink,255))!important;text-shadow:none!important}
body.homepage-over-banner #masthead .sub-menu:before,
body.homepage-over-banner #masthead .sub-menu:after{display:none!important}
body.homepage-over-banner #masthead .sub-menu a:hover{color:#edbc68!important}
@media(min-width:1025px){
 body.homepage-over-banner #masthead .main-menu>li>a{font-size:14px!important;letter-spacing:.03em!important}
 body.homepage-over-banner #masthead .main-menu .sub-menu a{font-size:13px!important;letter-spacing:0!important}
 body.homepage-over-banner #masthead .hrs-account-menu a,
 body.homepage-over-banner #masthead .hrs-account-role-name{font-size:13px!important}
}

/* Blend the header into the next section without changing its layout. */
html body:has(.journey-hero) #masthead,
html body.homepage-nav-visible:has(.journey-hero) #masthead,
html body.homepage-over-banner:has(.journey-hero) #masthead{
 background:rgba(255,255,255,var(--hrs-nav-surface,0))!important;
 box-shadow:0 5px 20px rgba(34,54,69,var(--hrs-nav-shadow,0))!important;
 transition:background-color 420ms ease-out,box-shadow 420ms ease-out!important;
}
body:has(.journey-hero) #masthead .main-menu>li>a,
body:has(.journey-hero) #masthead .main-menu>li>.dropdown-btn{
 color:rgb(var(--hrs-nav-ink,255),var(--hrs-nav-ink,255),var(--hrs-nav-ink,255))!important;
 transition:color 420ms ease-out,text-shadow 280ms ease!important;
}
body:has(.journey-hero) #masthead .hamburger-inner,
body:has(.journey-hero) #masthead .hamburger-inner:before,
body:has(.journey-hero) #masthead .hamburger-inner:after{
 background-color:rgb(var(--hrs-nav-ink,255),var(--hrs-nav-ink,255),var(--hrs-nav-ink,255))!important;
 transition:background-color 420ms ease-out!important;
}
@media(prefers-reduced-motion:reduce){
 html body:has(.journey-hero) #masthead,
 body:has(.journey-hero) #masthead .main-menu>li>a,
 body:has(.journey-hero) #masthead .main-menu>li>.dropdown-btn{transition:none!important}
}
body:has(.journey-hero) #masthead .main-menu>li:hover>a,
body:has(.journey-hero) #masthead .main-menu>li>a:focus-visible,
body:has(.journey-hero) #masthead .main-menu>li:hover>.dropdown-btn{color:#edbc68!important}
/* Submenus follow the same scroll colour as the main links, including after the banner. */
body:has(.journey-hero) #masthead .main-menu .sub-menu a{color:rgb(var(--hrs-nav-ink,22),var(--hrs-nav-ink,22),var(--hrs-nav-ink,22))!important;text-shadow:none!important;transition:color 420ms ease-out!important}
body:has(.journey-hero) #masthead .main-menu .sub-menu a:is(:hover,:focus-visible){color:#a66b16!important}
@media(max-width:1024px){body:has(.journey-hero) #masthead .main-menu .sub-menu a{color:#161616!important}}
