/* One menu hierarchy: desktop presentation is CSS-only; .active is the drawer state. */
    #unifiedNavHost { position:static; visibility:visible; opacity:1; transform:none; height:auto; padding:0; width:auto; }
    #menu_bar .nav-contact-desktop { display:none; }
    #menu_bar .nav-login-space { height:58px; flex-shrink:0; }
    #menu_bar .nav-back { position:relative; }
    #menu_bar .nav-expand::after { content:'+'; position:absolute; right:5px; border:0; font-size:18px; font-weight:300; }
    #menu_bar .nav-back::after { content:''; position:absolute; width:6px; height:6px; left:0; top:50%; border-bottom:1px solid #000; border-left:1px solid #000; transform:translateY(-50%) rotate(45deg); opacity:0; }
    #menu_bar .nav-back.is-open { padding-left:20px; }
    #menu_bar .nav-back.is-open::after { opacity:1; }
    #menu_bar.nav-depth-1 > .nav-item > .nav-main-link, #menu_bar.nav-depth-2 > .nav-item > .nav-main-link { display:none; }
    #menu_bar.nav-depth-2 .first_menu > li > .link_subpage, #menu_bar.nav-depth-2 .h2__head { display:none; }
    #menu_bar .nav-branch.is-open > .first_menu, #menu_bar .reports-branch.is-open > .second_menu { display:block; }
    #header.nav-open #nav-login { display:block; position:fixed; background-color:#fff; top:0; left:calc(100% - 380px); width:345px; z-index:1050; color:#000; font-size:15px; font-weight:400; line-height:27px; letter-spacing:1.3px; padding:15px 3px; border-bottom:1px solid #d3d3d3; }
    #header.nav-open #nav-login svg { width:20px; height:20px; fill:#000; margin-right:0; }
    #header.nav-open #nav-login svg path { fill:#000; }
    #header.nav-open #nav-login:hover, #header.nav-open #nav-login:hover svg path { color:#ee661e; fill:#ee661e; }
    @media (min-width:1025px) {
        #header.single-navigation > .content .navbar { min-height:74px; }
        #menu_bar:not(.active) { position:static; display:flex; flex-direction:row; align-items:center; height:auto; width:auto; margin:0 0 0 auto; padding:0; overflow:visible; background:transparent; box-shadow:none; transition:none; }
        #menu_bar:not(.active) > .nav-login-space, #menu_bar:not(.active) > .js_back { display:none; }
        #menu_bar:not(.active) > .nav-item > .nav-link { display:block; position:relative; color:#000; font-size:16px; font-weight:400; letter-spacing:normal; line-height:74px; padding:0; margin:0 20px; border:0; animation:none; text-transform:initial; }
        #menu_bar:not(.active) > .nav-item > .nav-link::after { content:''; width:0; height:3px; background:#ee661e; position:absolute; right:auto; left:50%; bottom:20px; top:auto; transform:translateX(-50%); transition:.3s linear; }
        #menu_bar:not(.active) > .nav-item > .nav-link:hover { color:#ee661e; }
        #menu_bar:not(.active) > .nav-item > .nav-link:hover::after { width:100%; }
        #menu_bar:not(.active) > .nav-branch { position:relative; }
        #menu_bar:not(.active) > .nav-branch > .first_menu { display:block; visibility:hidden; opacity:0; position:absolute !important; top:100%; left:0; min-width:220px; margin:20px 0 0; padding:10px 0; border:0; border-radius:0; background:rgb(245 245 245); box-shadow:rgba(50,50,93,.25) 0 13px 27px -5px,rgba(0,0,0,.3) 0 8px 16px -8px; transition:.3s linear; z-index:1040; }
        #menu_bar:not(.active) > .nav-branch:hover > .first_menu, #menu_bar:not(.active) > .nav-branch:focus-within > .first_menu, #menu_bar:not(.active) > .nav-branch.is-open > .first_menu { visibility:visible; opacity:1; margin-top:0; }
        #menu_bar:not(.active) .h2__head { display:none; }
        #menu_bar:not(.active) .first_menu a { display:block; color:#000; font-size:15px; font-weight:400; line-height:1; letter-spacing:normal; padding:13px 20px 14px; border:0; animation:none; }
        #menu_bar:not(.active) .first_menu a::after { display:none; }
        #menu_bar:not(.active) .first_menu a:hover { color:#ee661e; }
        #menu_bar:not(.active) > .nav-branch:has(.reports-branch) { position:static; }
        #menu_bar:not(.active) > .nav-branch > .first_menu:has(.reports-branch) { left:max(12px,calc((100% - 1216px)/2)); width:min(1216px,calc(100% - 24px)); padding:25px; display:grid; grid-template-columns:2fr 1fr; grid-template-rows:repeat(3,37.5px); min-height:314px; }
        #menu_bar:not(.active) .reports-branch { grid-column:1; grid-row:1 / 4; }
        #menu_bar:not(.active) .reports-branch > .nav-expand { display:none; }
        #menu_bar:not(.active) .second_menu { display:grid; grid-template-columns:1fr 1fr; grid-template-rows:24px repeat(6,22.5px); gap:15px 0; padding:0; margin:0; list-style:none; }
        #menu_bar:not(.active) .second_menu > .h2__subhead { display:block; grid-column:1; grid-row:1; padding:0; font-size:16px; line-height:24px; font-weight:600; }
        #menu_bar:not(.active) .second_menu > li:nth-child(n+2):nth-child(-n+7) { grid-column:1; }
        #menu_bar:not(.active) .second_menu > li:nth-child(n+8) { grid-column:2; }
        #menu_bar:not(.active) .second_menu > li:nth-child(8) { grid-row:1; }
        #menu_bar:not(.active) .second_menu > li:nth-child(9) { grid-row:2; }
        #menu_bar:not(.active) .second_menu > li:nth-child(10) { grid-row:3; }
        #menu_bar:not(.active) .second_menu > li:nth-child(11) { grid-row:4; }
        #menu_bar:not(.active) .second_menu > li:nth-child(12) { grid-row:5; }
        #menu_bar:not(.active) .second_menu > li:nth-child(13) { grid-row:6; }
        #menu_bar:not(.active) .second_menu a { padding:0; line-height:22.5px; }
        #menu_bar:not(.active) .first_menu:has(.reports-branch) > .navlist-heading:not(.reports-branch) { grid-column:2; }
        #menu_bar:not(.active) .first_menu:has(.reports-branch) > .navlist-heading:not(.reports-branch) a { padding:0; font-weight:600; line-height:22.5px; }
        #menu_bar:not(.active) > .nav-item:last-child { margin-left:20px; }
        #menu_bar:not(.active) > .nav-item > .nav-contact { display:block; background:#ee661e; border:1px solid #ee661e; border-radius:50px; padding:8px; margin:0; width:160px; color:#fff; font-size:14px; line-height:21px; text-align:center; overflow:hidden; }
        #menu_bar:not(.active) .nav-contact-mobile { display:none; }
        #menu_bar:not(.active) .nav-contact-desktop { display:block; position:relative; transition:.3s ease-out; }
        #menu_bar:not(.active) .nav-contact-desktop .rightArrow { position:absolute; right:0; top:50%; transform:translateY(-50%); opacity:0; transition:.3s ease-out; }
        #menu_bar:not(.active) .nav-contact:hover .nav-contact-desktop { transform:translateX(-.5rem); }
        #menu_bar:not(.active) .nav-contact:hover .rightArrow { opacity:1; right:-1rem; }
        #menu_bar:not(.active) .nav-contact::after { display:none; }
    }
    @media (min-width:1025px) and (max-width:1199.98px) {
        #menu_bar:not(.active) > .nav-item > .nav-link { margin-left:10px; margin-right:10px; font-size:14px; }
        #menu_bar:not(.active) > .nav-item > .nav-contact { margin:0; }
    }
    @media (max-width:1024px) {
        #header.single-navigation > .content { display:block; height:0; }
        #header.single-navigation > .content .navbar { height:0; min-height:0; }
        #header.single-navigation > .content .navbar > .container > .navbar-brand, #header.single-navigation > .content .site-search { display:none; }
        #unifiedNavHost { width:0; height:0; }
        #menu_bar .nav-expand::after { font-weight:400; }
        #menu_bar .nav-back { background:#d5d4d2; }
        #menu_bar .nav-back::after { left:12px; }
        #header.nav-open #nav-login { left:20px; width:365px; padding:15px 10px; font-weight:500; }
    }
    @media (max-width:768px) {
        #header.nav-open .topnav { display:block; height:0; min-height:0; padding:0; background:none; }
        #header.nav-open .topnav .top-contact, #header.nav-open .tapactions > li:not(:has(#nav-login)) { display:none; }
    }
    @media (max-width:575px) { #header.nav-open #nav-login { width:calc(100% - 45px); } }

/* Keep the complete close icon and its hit area above the fixed login row. */
#header.nav-open #unifiedMenuToggle {
    position:fixed;
    top:7px;
    right:12px;
    width:44px;
    height:44px;
    display:flex !important;
    align-items:center;
    justify-content:center;
    z-index:1060;
    background:#fff;
    border-radius:0;
}
#header.nav-open #unifiedMenuToggle input {
    inset:0;
    width:100%;
    height:100%;
    margin:0;
}
#header.nav-open #unifiedMenuToggle .hamburger_icon {
    background:transparent;
    animation:none;
}
#header.nav-open #unifiedMenuToggle .hamburger_icon::before,
#header.nav-open #unifiedMenuToggle .hamburger_icon::after {
    top:0;
    bottom:auto;
    left:0;
    width:20px;
    animation:none;
    transform:rotate(45deg);
}
#header.nav-open #unifiedMenuToggle .hamburger_icon::after {
    transform:rotate(-45deg);
}
@media (min-width:576px) and (max-width:1024px) {
    #header.nav-open #unifiedMenuToggle { right:calc(100% - 410px + 12px); }
}
