#nav .navbar-brand.logo>.terence-mobile-logo{display:none}
#nav .terence-mobile-search{display:none;text-decoration:none}
@media(max-width:991.98px){
 html body #nav.navbar{padding:0!important;min-height:54px;background:#151515}
 html body #nav.navbar>.container{display:grid!important;grid-template-columns:32px minmax(0,1fr) 32px;align-items:center;gap:0 12px;width:100%!important;max-width:none!important;padding:0 16px!important}
 html body #nav .navbar-brand.logo{grid-column:2;grid-row:1;display:flex!important;align-items:center;justify-content:center;width:100%;height:54px;margin:0!important;padding:0!important;min-width:0}
 html body #nav .navbar-brand.logo>img{display:none!important}
 html body #nav .navbar-brand.logo>.terence-mobile-logo{display:block!important;height:36%;width:auto;max-width:100%;aspect-ratio:296.97/48;flex-shrink:1}
 html body #nav .navbar-toggler{grid-column:1;grid-row:1;display:flex;align-items:center;justify-content:center;width:32px;height:40px;padding:0!important;margin:0!important;border:0;color:#fff}
 #nav .navbar-toggler-icon{width:24px;height:24px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 5h20M2 12h20M2 19h20' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E")!important}
 html body #nav .terence-mobile-search{grid-column:3;grid-row:1;display:flex!important;align-items:center;justify-content:center;width:32px;height:40px;color:#fff}
 #nav .terence-mobile-search svg{width:21px;height:21px}
 html body #nav #navbarNav{grid-column:1/-1;grid-row:2;width:100%;max-height:calc(100vh - 54px);max-height:calc(100dvh - 54px);overflow-y:auto;overscroll-behavior:contain;background:#151515;margin:0!important;padding:0 0 12px}
 html body #nav #navbarNav:not(.show){display:none!important}
 html body #nav #navbarNav.show{display:block!important}
 #nav #accordion{display:block;width:100%;padding:0;margin:0}
 #nav #accordion .nav-link{display:block;color:#fff;padding:12px 0;line-height:1.6}
 #nav #accordion .wapsubmenu{position:static;float:none;width:100%;padding:0 16px;box-sizing:border-box}
 #nav #accordion .wapsubmenu a{display:block;padding:9px 0;color:#bbb}
 #nav #accordion [aria-expanded=true]>.fa-angle-right{transform:rotate(90deg)}
 body.site-menu-open{overflow:hidden}
}
#site-back-top{position:fixed;right:20px;bottom:max(24px,env(safe-area-inset-bottom));z-index:1050;width:44px;height:44px;padding:0;border:1px solid #777;border-radius:50%;background:#222;color:#fff;font-size:24px;cursor:pointer}
#site-back-top[hidden]{display:none!important}
