/* Keep the entire drawer scrollable on short screens and mobile browser chrome. */
@media (max-width: 1024px) {
    .mobile-nav.wd-side-hidden {
        height: 100vh;
        height: 100dvh;
        max-height: 100dvh;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
        touch-action: pan-y;
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
        box-sizing: border-box;
    }
    .mobile-nav .wd-nav-mobile {
        flex-shrink: 0;
    }
    .mobile-nav .wd-nav-mobile > li > a {
        white-space: normal;
        overflow-wrap: anywhere;
    }
}
