/* Hamburger menu on desktop and mobile. */
html body #siteHeader .jp-burger{display:inline-flex!important;align-items:center;justify-content:center;width:46px!important;min-width:46px!important;height:46px;flex-shrink:0;padding:10px!important;cursor:pointer;font-size:0!important;position:relative;gap:0!important}
html body #siteHeader .jp-burger::before{content:"";display:block;width:24px;height:2px;background:currentColor;box-shadow:0 -7px 0 currentColor,0 7px 0 currentColor;transition:transform .2s}
html body #siteHeader .jp-burger span{display:none!important}
html body.jp-open #siteHeader .jp-burger::before{box-shadow:none;transform:rotate(45deg)}
html body.jp-open #siteHeader .jp-burger::after{content:"";position:absolute;width:24px;height:2px;background:currentColor;transform:rotate(-45deg)}
html body.jp-corporate nav.jp-drawer{display:none!important}
html body.jp-corporate.jp-open nav.jp-drawer{display:block!important;position:fixed!important;inset:125px 0 0!important;max-height:calc(100dvh - 125px)!important;overflow-y:auto!important;z-index:999;opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:none!important;padding:24px max(24px,calc((100vw - 1000px)/2))!important}
@media(max-width:760px){html body.jp-corporate.jp-open nav.jp-drawer{inset:107px 0 0!important;max-height:calc(100dvh - 107px)!important}}
@media(min-width:1101px){html body #siteHeader .jp-nav{gap:18px!important}html body #siteHeader .jp-hin{gap:20px!important}}

/* Mobile navigation only; preserve the full desktop navigation. */
@media(min-width:1101px){html body #siteHeader .jp-burger{display:none!important}}

html body:not(.jp-open) #siteHeader .jp-burger::before{width:26px;height:26px;background:transparent url("../images/mobile-menu-icon.png") center/contain no-repeat;box-shadow:none;transform:none}

/* Use the supplied menu artwork, without the previous circle or line. */
html body #siteHeader .jp-burger{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;color:#111!important}
html body #siteHeader .jp-burger::before,html body #siteHeader .jp-burger::after{display:none!important;content:none!important}
html body #siteHeader .jp-burger img{display:block!important;width:28px!important;height:28px!important;object-fit:contain}

/* Anchor the open drawer to the actual header height. */
html body.jp-open{overflow:hidden!important}
html body.jp-open #siteHeader{position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:1002!important;transform:none!important}
html body.jp-corporate.jp-open nav.jp-drawer{top:var(--jp-menu-top,125px)!important;bottom:0!important;max-height:calc(100dvh - var(--jp-menu-top,125px))!important;margin:0!important;border:0!important;overscroll-behavior:contain;scrollbar-gutter:stable;padding-top:14px!important;padding-bottom:30px!important}
html body.jp-corporate nav.jp-drawer>a,html body.jp-corporate nav.jp-drawer summary{font-size:18px!important;line-height:1.4!important;min-height:48px!important;padding:12px 0!important;margin:0!important}
html body.jp-corporate nav.jp-drawer details{margin:0!important}

html body.jp-corporate.jp-open nav.jp-drawer{padding-top:0!important;border-top:0!important;box-shadow:0 -18px 0 #fff!important}
