/* NSAForum V0.17.6 — compact native header, isolated Staging review.
   CSS only. Forum-home body.page1; no new nav, routes, DOM moves, or ACL.
   >=1181: one-row primary nav+logo+search. Tablet: tight two-row fallback.
*/
@media(min-width:1181px){
 body.page1.l-desktop .b-top-menu__background:not([style*="display: none"]){
  height:30px!important;min-height:30px!important;max-height:30px!important;
 }
 body.page1.l-desktop .b-top-menu__container{
  height:30px!important;min-height:30px!important;max-height:30px!important;
  display:flex!important;align-items:center!important;
 }
 body.page1.l-desktop .b-top-menu__container > *{
  max-height:30px!important;
 }
 body.page1.l-desktop .b-top-background__header-mainnav{
  position:relative!important;height:52px!important;min-height:52px!important;max-height:52px!important;
  padding:0!important;overflow:visible!important;
 }
 body.page1.l-desktop #header{
  height:52px!important;min-height:52px!important;max-height:52px!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;
 }
 body.page1.l-desktop #header .header-cell{
  height:52px!important;min-height:52px!important;
  display:flex!important;align-items:center!important;max-width:180px!important;
  flex:0 0 180px!important;overflow:visible!important;
 }
 body.page1.l-desktop #header .site-logo{
  box-sizing:border-box!important;width:176px!important;height:52px!important;
  min-height:0!important;padding:3px 8px!important;margin:0!important;
  position:static!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;
 }
 body.page1.l-desktop #header .site-logo a{
  display:inline-flex!important;align-items:center!important;height:46px!important;
 }
 body.page1.l-desktop #header .site-logo img{
  display:block!important;width:auto!important;height:auto!important;
  max-height:44px!important;max-width:157px!important;object-fit:contain!important;
 }
 body.page1.l-desktop #header .toolbar{
  height:52px!important;min-height:52px!important;
  width:260px!important;max-width:260px!important;
  flex:0 0 260px!important;align-items:center!important;
 }
 body.page1.l-desktop #header .toolbar > ul,
 body.page1.l-desktop #header .toolbar .search-container{
  width:250px!important;max-width:250px!important;
 }
 body.page1.l-desktop #header #searchForm,
 body.page1.l-desktop #header #searchForm .search-box{
  box-sizing:border-box!important;width:246px!important;height:44px!important;min-height:44px!important;
 }
 body.page1.l-desktop #header #q{
  box-sizing:border-box!important;height:44px!important;min-height:44px!important;
 }
 body.page1.l-desktop #channel-tabbar{
  box-sizing:border-box!important;position:absolute!important;
  top:0!important;left:50%!important;right:auto!important;
  transform:translateX(-50%)!important;
  width:calc(100% - 475px)!important;max-width:690px!important;
  height:52px!important;min-height:52px!important;
  margin:0!important;padding:0!important;
  z-index:8!important;display:flex!important;align-items:center!important;justify-content:center!important;
 }
 body.page1.l-desktop #channel-tabbar .channel-tabbar-list{
  box-sizing:border-box!important;display:flex!important;align-items:center!important;
  justify-content:center!important;flex-wrap:nowrap!important;
  width:auto!important;height:52px!important;margin:0 auto!important;float:none!important;
 }
 body.page1.l-desktop #channel-tabbar .channel-tabbar-list > li{
  float:none!important;box-sizing:border-box!important;width:auto!important;
  height:52px!important;min-height:52px!important;margin:0!important;white-space:nowrap!important;
 }
 body.page1.l-desktop #channel-tabbar .channel-tabbar-list > li > a{
  max-height:52px!important;
  box-sizing:border-box!important;display:flex!important;align-items:center!important;
  justify-content:center!important;height:52px!important;min-height:52px!important;
  padding:0 11px!important;
 }
}
@media(min-width:768px) and (max-width:1180px){
 body.page1.l-desktop .b-top-menu__background:not([style*="display: none"]){
  height:30px!important;min-height:30px!important;max-height:30px!important;
 }
 body.page1.l-desktop .b-top-menu__container{
  height:30px!important;min-height:30px!important;max-height:30px!important;
  display:flex!important;align-items:center!important;
 }
 body.page1.l-desktop #header{
  height:50px!important;min-height:50px!important;
  display:flex!important;align-items:center!important;
 }
 body.page1.l-desktop #header .header-cell,
 body.page1.l-desktop #header .toolbar{height:50px!important;min-height:50px!important}
 body.page1.l-desktop #header .site-logo{
  height:50px!important;min-height:50px!important;padding:2px 7px!important;
  margin:0!important;position:static!important;display:flex!important;align-items:center!important;
 }
 body.page1.l-desktop #header .site-logo img{height:auto!important;max-height:45px!important;max-width:135px!important}
 body.page1.l-desktop #channel-tabbar{
  height:46px!important;min-height:46px!important;
 }
 body.page1.l-desktop #channel-tabbar .channel-tabbar-list{
  height:46px!important;display:flex!important;align-items:center!important;
 }
 body.page1.l-desktop #channel-tabbar .channel-tabbar-list>li{
  height:46px!important;min-height:46px!important;
 }
 body.page1.l-desktop #channel-tabbar .channel-tabbar-list>li>a{
  min-height:44px!important;height:46px!important;display:flex!important;align-items:center!important;
 }
}
@media(min-width:768px){
 body.page1.l-desktop #channel-subtabbar{
  height:30px!important;min-height:30px!important;max-height:30px!important;
  overflow:visible!important;
 }
 body.page1.l-desktop #channel-subtabbar .channel-subtabbar-list{
  height:30px!important;min-height:30px!important;display:flex!important;align-items:center!important;
 }
 body.page1.l-desktop #channel-subtabbar .channel-subtabbar-list > li{
  box-sizing:border-box!important;margin:0 12px 0 0!important;
  height:30px!important;min-height:30px!important;display:flex!important;align-items:center!important;
 }
 body.page1.l-desktop #channel-subtabbar a{
  display:inline-flex!important;align-items:center!important;height:30px!important;
 }
 body.page1.l-desktop .breadcrumbs-wrapper{
  height:17px!important;min-height:17px!important;margin-top:0!important;margin-bottom:0!important;
  overflow:visible!important;
 }
 body.page1.l-desktop #breadcrumbs{height:17px!important;min-height:17px!important}
 body.page1.l-desktop #nsaforum-v0175-activity{
  margin-top:8px!important;margin-bottom:11px!important;
 }
 body.page1.l-desktop #nsaforum-v0175-activity .v175-header{
  padding-top:8px!important;padding-bottom:8px!important;
 }
}
@media(max-width:767px){
 /* Retain native hamburger and its 44px touch target; reduce only decorative header height. */
 body.page1 #header{height:50px!important;min-height:50px!important}
 body.page1 #header .header-cell{height:50px!important;min-height:50px!important}
 body.page1 #header .site-logo{
  height:50px!important;min-height:50px!important;
  padding:2px 0!important;margin:0!important;
 }
 body.page1 #header .site-logo img{height:auto!important;max-height:43px!important}
 body.page1 #channel-tabbar{height:50px!important;min-height:50px!important}
 body.page1 .breadcrumbs-wrapper{min-height:13px!important}
 body.page1 #nsaforum-v0175-activity{margin-top:8px!important;margin-bottom:9px!important}
}
@media(prefers-reduced-motion:reduce){
 body.page1 #channel-tabbar{transition:none!important}
}

/* High-specificity override for the older accepted Stage bundle's 118/66px min-heights. */
@media(min-width:1181px){
 body.page1.l-desktop .b-top-background__header-mainnav-subnav > .b-top-background__header-mainnav{
  height:52px!important;min-height:0!important;max-height:52px!important;
 }
 body.page1.l-desktop .b-top-background__header-mainnav #header{
  height:52px!important;min-height:0!important;max-height:52px!important;
 }
 body.page1.l-desktop .b-top-background__header-mainnav #header .header-cell,
 body.page1.l-desktop .b-top-background__header-mainnav #header .toolbar{
  min-height:0!important;max-height:52px!important;
 }
}

@media(min-width:1181px){
 body.page1.l-desktop header.b-top-background__header-mainnav-subnav{
  min-height:0!important;height:auto!important;max-height:none!important;
 }
}

/* Homepage mobile: make the native vBulletin dropdown scrollable, not 645px tall. */
@media(max-width:767px){
 body.page1 #channel-tabbar{z-index:120!important}
 body.page1 #channel-tabbar .b-comp-menu-dropdown--main-menu.b-comp-menu-dropdown--open > ul.js-comp-menu-dropdown__content--main-menu{
  box-sizing:border-box!important;
  width:min(310px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;
  max-height:min(68dvh,580px)!important;
  overflow-y:auto!important;overflow-x:hidden!important;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  background:#fff!important;border:1px solid #b8cedd!important;
  box-shadow:0 9px 22px rgba(17,43,65,.20)!important;border-radius:10px!important;
 }
 body.page1 #channel-tabbar ul.js-comp-menu-dropdown__content--main-menu > li > a{
  display:flex!important;align-items:center!important;
  box-sizing:border-box!important;min-height:44px!important;
  padding:9px 14px!important;text-align:start!important;
 }
 body.page1 #channel-tabbar ul.js-comp-menu-dropdown__content--main-menu > li.js-search-item:first-child{
  position:sticky;top:0;z-index:2;
  min-height:60px!important;box-sizing:border-box!important;
  padding:8px 10px!important;background:#f7fbfe!important;
  border-bottom:1px solid #d9e5ed!important;
 }
 body.page1 #channel-tabbar ul.js-comp-menu-dropdown__content--main-menu > li.js-search-item:first-child input.search-term{
  min-height:44px!important;box-sizing:border-box!important;
 }
 body.page1 #channel-tabbar ul.js-comp-menu-dropdown__content--main-menu > li.js-search-item:first-child button.search-btn{
  min-width:44px!important;min-height:44px!important;
 }
 body.page1 #channel-tabbar ul.js-comp-menu-dropdown__content--main-menu > li>a:focus-visible{
  outline:3px solid #bf8727!important;outline-offset:-3px!important;
 }
}
