#nav .terence-mobile-search{display:none}
@media(max-width:991.98px){
html body #nav.navbar#nav>.container{display:grid!important;grid-template-columns:28px minmax(0,1fr) 28px;column-gap:12px;align-items:center;padding-left:20px!important;padding-right:20px!important}
html body #nav.navbar#nav>.container>.navbar-brand.logo{grid-column:2;grid-row:1;order:2;justify-content:center!important;width:100%;max-width:none!important;height:54px;min-height:54px}
html body #nav.navbar#nav>.container>.navbar-brand.logo>.terence-mobile-logo{height:36%;width:auto;max-width:100%;aspect-ratio:296.97/48}
html body #nav.navbar#nav>.container>.navbar-toggler{grid-column:1;grid-row:1;order:1;width:28px;height:32px;justify-self:start;padding:0!important;margin:0!important}
html body #nav.navbar#nav>.container>.terence-mobile-search{display:flex!important;align-items:center;justify-content:center;grid-column:3;grid-row:1;order:3;width:28px;min-width:28px;min-height:32px;height:32px;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#fff!important;box-shadow:none!important;cursor:pointer}
#nav .terence-mobile-search svg{width:21px;height:21px;display:block}
html body #nav.navbar#nav>.container>.navbar-collapse{grid-column:1/-1;grid-row:2;order:4;min-width:0;width:100%}
}
#terenceMobileSearchDialog{box-sizing:border-box;width:min(560px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 100px);height:fit-content;inset:74px 0 auto;margin:0 auto;padding:22px;border:1px solid #ddd;border-radius:16px;background:#fff;color:#151515;box-shadow:0 16px 60px #0003;font:400 14px/1.5 Sfont,sans-serif;overflow:auto;text-align:left}
#terenceMobileSearchDialog:not([open]){display:none}
#terenceMobileSearchDialog::backdrop{background:rgba(0,0,0,.8)}
html:has(#terenceMobileSearchDialog[open]){overflow:hidden}
#terenceMobileSearchDialog .tm-search-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
#terenceMobileSearchDialog .tm-search-heading strong{font:400 20px/1.4 Bfont,sans-serif;color:#151515}
#terenceMobileSearchDialog .tm-search-close{display:flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;min-height:32px;padding:0;border:0;border-radius:50%;background:#f5f5f5;color:#444;cursor:pointer}
#terenceMobileSearchDialog form{display:flex;align-items:center;gap:8px;width:100%;border:1px solid #ddd;border-radius:999px;padding:0 8px 0 16px;margin:0}
#terenceMobileSearchDialog input{width:100%;min-width:0;height:44px;padding:0;border:0;background:transparent;box-shadow:none;outline:0;font:400 14px/1.5 Bfont,sans-serif;color:#000}
#terenceMobileSearchDialog input::placeholder{font:400 14px/1.5 Sfont,sans-serif;color:#999}
#terenceMobileSearchDialog form:focus-within{border-color:#dbbc87;box-shadow:0 0 0 3px #dbbc8726}
#terenceMobileSearchDialog button[type=submit]{flex:0 0 34px;display:flex;align-items:center;justify-content:center;width:34px;min-height:34px;height:34px;padding:0;border:0;background:transparent;color:#151515;border-radius:50%;cursor:pointer}
#terenceMobileSearchDialog button svg{width:20px;height:20px}
#terenceMobileSearchDialog .tm-search-tip{font:400 12px/1.6 Sfont,sans-serif;color:#888;margin:12px 0 0}
#terenceMobileSearchDialog .tm-search-results{max-height:45dvh;overflow:auto;margin-top:12px}
#terenceMobileSearchDialog .tm-search-category{padding:8px 4px 4px;font:400 12px/1.5 Sfont,sans-serif;color:#888}
#terenceMobileSearchDialog .tm-search-results a{display:block;padding:10px 4px;border-bottom:1px solid #eee;text-decoration:none;color:#151515;font:400 14px/1.6 Sfont,sans-serif;overflow-wrap:anywhere}
#terenceMobileSearchDialog .tm-search-results a:hover,#terenceMobileSearchDialog .tm-search-results a:focus{color:#dbbc87}
#terenceMobileSearchDialog .tm-search-status{padding:10px 4px;color:#888;font:400 12px/1.6 Sfont,sans-serif}

@media(min-width:992px){#terenceMobileSearchDialog{width:50vw;max-width:none;padding:28px 32px;}}

@media(max-width:991.98px){html.terence-mobile-locked,html.terence-mobile-locked body{max-width:100%;overflow-x:hidden;overflow-x:clip;overscroll-behavior-x:none;touch-action:pan-x pan-y;}html.terence-mobile-locked body{min-width:0;}}

html.terence-forced-desktop,html.terence-forced-desktop body{overflow-x:hidden;overflow-x:clip;touch-action:pan-x pan-y;}
@media(max-width:991.98px){html body #nav.navbar#nav>.container>#navbarNav{box-sizing:border-box;margin:0!important;padding-bottom:12px;max-height:calc(100dvh - 54px - env(safe-area-inset-bottom,0px));overflow-y:auto;overscroll-behavior-y:contain;background:#151515;box-shadow:none!important;}#nav .box-show{display:none!important;}#nav #accordion{padding-bottom:0;margin-bottom:0;}}

