/*
 NSAForum Production mobile v3 package — owner authorized 2026-10-16.
 Isolated to viewports <= 767px. Default style 208.
 Approved Staging mobile layers 1-5; intentionally EXCLUDES rule that hides #header-axd.
 No ad-slot, JavaScript, auth, permission or desktop behavior changes intended.
 Reverse by deleting the single head_include stylesheet link; see isolated rollback.
*/
@media screen and (max-width: 767px) {
  /* Layer 1 */
#header {
  height: auto !important;
  min-height: 0 !important;
}
#header .site-logo {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 84px !important;
  max-height: 84px !important;
  min-height: 0 !important;
  padding: 8px 0 !important;
}
#header .site-logo img {
  display: inline-block !important;
  width: auto !important;
  height: 64px !important;
  max-height: 64px !important;
  max-width: 75vw !important;
  object-fit: contain !important;
}
@media (max-width: 767px) {
  
  #header .header-cell {
    position: static !important;
    top: auto !important;
    transform: none !important;
    min-height: 0 !important;
  }
}

  /* Layer 2 */
.topic-list-container.conversation-list {
  color: #243446;
  line-height: 1.55;
}
.topic-list-container.conversation-list tr.topic-item > td {
  background: #ffffff;
  border-top: 1px solid #b9c8d8;
  border-bottom: 1px solid #b9c8d8;
  vertical-align: middle;
}
.topic-list-container.conversation-list tr.topic-item:nth-child(even) > td {
  background: #f1f6fb;
}
.topic-list-container.conversation-list tr.topic-item.sticky > td,
.topic-list-container.conversation-list tr.topic-item.sticky:nth-child(even) > td {
  background: #fff6de;
  border-top-color: #c19a47;
  border-bottom-color: #c19a47;
}
.topic-list-container.conversation-list tr.topic-item:hover > td,
.topic-list-container.conversation-list tr.topic-item:focus-within > td {
  background: #e8f2fb;
}
.topic-list-container.conversation-list .topic-wrapper,
.topic-list-container.conversation-list .topic-wrapper .prefix,
.topic-list-container.conversation-list .cell-topic,
.topic-list-container.conversation-list .cell-count,
.topic-list-container.conversation-list .cell-lastpost {
  color: #283849 !important;
}
.topic-list-container.conversation-list a.topic-title {
  color: #164773 !important;
  font-weight: 700 !important;
  font-size: 19px !important;
  line-height: 1.5 !important;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.topic-list-container.conversation-list a.topic-title:hover,
.topic-list-container.conversation-list a.topic-title:focus-visible {
  text-decoration: underline;
  color: #0d3154 !important;
}
.topic-list-container.conversation-list .topic-wrapper a:not(.topic-title),
.topic-list-container.conversation-list .cell-lastpost a,
.topic-list-container.conversation-list .cell-topic a:not(.topic-title) {
  color: #155488 !important;
  font-weight: 600;
}
.topic-list-container.conversation-list .cell-topic .prefix {
  font-size: 15px !important;
  font-weight: 600 !important;
}
.topic-list-container.conversation-list .cell-count,
.topic-list-container.conversation-list .cell-count *,
.topic-list-container.conversation-list .cell-lastpost,
.topic-list-container.conversation-list .cell-lastpost .post-date {
  color: #334155 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}
.topic-list-container.conversation-list a:focus-visible,
#topic-tab button:focus-visible,
#topic-tab select:focus-visible {
  outline: 3px solid #b45309;
  outline-offset: 3px;
}
#topic-tab .topic-list-container th,
#topic-tab .topic-list-container thead td {
  color: #283849 !important;
  font-size: 15px !important;
  font-weight: 700;
}
#topic-tab .pagenav a,
#topic-tab .pagenav span,
#topic-tab .pagination a {
  color: #174b79;
  font-weight: 700;
}
@media (max-width: 767px) {
  .topic-list-container.conversation-list tr.topic-item {
    display: block;
    margin: 0 0 14px !important;
    border: 2px solid #b3c4d6 !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(23, 51, 79, 0.10);
  }
  .topic-list-container.conversation-list tr.topic-item.sticky {
    border-color: #bb944a !important;
  }
  .topic-list-container.conversation-list tr.topic-item > td {
    background: transparent !important;
    border: 0 !important;
  }
  .topic-list-container.conversation-list tr.topic-item {
    background: #ffffff !important;
  }
  .topic-list-container.conversation-list tr.topic-item:nth-child(even) {
    background: #f1f6fb !important;
  }
  .topic-list-container.conversation-list tr.topic-item.sticky {
    background: #fff6de !important;
  }
  .topic-list-container.conversation-list .cell-topic-image {
    padding: 10px 12px 0 !important;
    min-height: 0 !important;
  }
  .topic-list-container.conversation-list .cell-topic {
    padding: 9px 14px 6px !important;
  }
  .topic-list-container.conversation-list .topic-wrapper {
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
  }
  .topic-list-container.conversation-list a.topic-title {
    font-size: 21px !important;
    line-height: 1.5 !important;
  }
  .topic-list-container.conversation-list .cell-topic .prefix {
    font-size: 16px !important;
    line-height: 1.5 !important;
  }
  .topic-list-container.conversation-list .cell-count {
    padding: 8px 14px 2px !important;
  }
  .topic-list-container.conversation-list .cell-lastpost {
    padding: 3px 14px 13px !important;
  }
  .topic-list-container.conversation-list .cell-count,
  .topic-list-container.conversation-list .cell-count *,
  .topic-list-container.conversation-list .cell-lastpost,
  .topic-list-container.conversation-list .cell-lastpost .post-date {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }
  #topic-tab .pagenav a,
  #topic-tab .pagenav span,
  #topic-tab .pagination a {
    min-width: 42px;
    min-height: 42px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .topic-list-container.conversation-list * {
    transition: none !important;
  }
}


#topic-tab .conversation-toolbar .toolbar-filter .filter-wrapper {
  box-sizing: border-box !important;
  min-height: 44px !important;
  background: #e8f0f9 !important;
  border: 1px solid #91a9c1 !important;
  border-radius: 8px !important;
  padding: 9px 12px !important;
}
#topic-tab .conversation-toolbar .toolbar-filter .filter-wrapper .label {
  color: #1e344c !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}
#topic-tab .toolbar-filter-overlay .filter-header,
#topic-tab .toolbar-filter-overlay .filter-options {
  color: #243449 !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}
#topic-tab .toolbar-filter-overlay label {
  color: #243449 !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}
#topic-tab .conversation-toolbar .filter-wrapper:focus-visible,
#topic-tab .toolbar-filter-overlay input:focus-visible {
  outline: 3px solid #b45309 !important;
  outline-offset: 3px !important;
}
@media (max-width: 767px) {
  #topic-tab .js-pagenav-button {
    min-height: 44px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
  }
}

  /* Layer 3 */
@media (max-width: 767px) {
  
  #header .site-logo {
    box-sizing: border-box !important;
    height: 52px !important;
    max-height: 52px !important;
    min-height: 0 !important;
    padding: 4px 0 !important;
  }
  #header .site-logo > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 44px !important;
    max-height: 44px !important;
  }
  #header .site-logo img {
    height: 42px !important;
    max-height: 42px !important;
    width: auto !important;
    max-width: 75vw !important;
    object-fit: contain !important;
  }

  
  #channel-tabbar {
    box-sizing: border-box !important;
    height: 48px !important;
    min-height: 48px !important;
  }
  #channel-tabbar .b-comp-menu-dropdown--main-menu {
    height: 48px !important;
    min-height: 48px !important;
  }
  #channel-tabbar .b-comp-menu-dropdown__trigger {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
  }
  #channel-tabbar .b-icon__hamburger {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    transform: none !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  
  .breadcrumbs-wrapper #breadcrumbs {
    box-sizing: border-box !important;
    min-height: 0 !important;
    padding: 7px 6px 6px !important;
  }

  
  #content .page-title-widget {
    margin-bottom: 6px !important;
  }
  #content .page-title-widget .main-title {
    margin-top: 4px !important;
    margin-bottom: 0 !important;
    font-size: 25px !important;
    line-height: 1.35 !important;
  }
}

  /* Layer 4 */
@media (max-width: 767px) {
  
  .b-top-background__header-mainnav {
    position: relative !important;
    overflow: visible !important;
  }
  #channel-tabbar {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    overflow: visible !important;
    z-index: 45 !important;
    background: transparent !important;
  }
  #channel-tabbar .b-comp-menu-dropdown--main-menu {
    float: none !important;
    width: 52px !important;
    height: 52px !important;
    min-height: 52px !important;
  }
  #channel-tabbar .b-comp-menu-dropdown__trigger {
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    margin: 2px !important;
  }
  
  #channel-tabbar .b-icon__hamburger {
    width: 20px !important;
    height: 16px !important;
    background: linear-gradient(to bottom,
      #fff 0, #fff 3px,
      transparent 3px, transparent 6px,
      #fff 6px, #fff 9px,
      transparent 9px, transparent 12px,
      #fff 12px, #fff 15px,
      transparent 15px) !important;
    border-radius: 1px !important;
  }
  
  #channel-tabbar .b-comp-menu-dropdown--open {
    z-index: 55 !important;
  }

  
  #content .channel-conversation-list-wrapper {
    margin-top: 4px !important;
  }
  #content .channel-conversation-list-wrapper .blockhead.widget-tabs-nav-background {
    min-height: 44px !important;
    height: 44px !important;
  }
  #content .channel-conversation-list-wrapper .blockhead .selectBox {
    box-sizing: border-box !important;
    min-height: 40px !important;
    height: 40px !important;
    margin-top: 2px !important;
    margin-bottom: 2px !important;
  }

  
  #topic-tab .conversation-toolbar-wrapper,
  #topic-tab .conversation-toolbar {
    min-height: 44px !important;
  }
  #topic-tab .js-under-toolbar-pagenav {
    margin-top: 3px !important;
    margin-bottom: 4px !important;
  }
  #topic-tab .js-under-toolbar-pagenav .pagenav-container {
    margin-top: 0 !important;
    margin-bottom: 2px !important;
  }

  
  #channel-tabbar .b-comp-menu-dropdown__trigger:focus-visible,
  #content .blockhead .selectBox:focus-visible {
    outline: 3px solid #f7c575 !important;
    outline-offset: 2px !important;
  }
}

  /* Layer 5 */
@media (max-width:767px) {
  
  .b-top-menu__background.js-top-menu-user {
    height:44px !important;
    min-height:44px !important;
    background:#20384f !important;
    border:0 !important;
  }
  .js-top-menu-user .b-top-menu__container,
  .js-top-menu-user .b-top-menu--user,
  .js-top-menu-user .b-top-menu__item,
  .js-top-menu-user .b-comp-menu-dropdown--headerbar,
  .js-top-menu-user #lnkLoginSignupMenu {
    height:44px !important;
    min-height:44px !important;
  }
  .js-top-menu-user #lnkLoginSignupMenu,
  .js-top-menu-user #lnkUsernameMenu {
    line-height:44px !important;
    font-size:14px !important;
    color:#e9f4ff !important;
  }
  .b-top-background__header-mainnav {
    background:#20384f !important;
  }
  
  #header,
  #header .site-logo {
    height:64px !important;
    max-height:64px !important;
  }
  #header .site-logo {
    box-sizing:border-box !important;
    padding:3px 0 !important;
  }
  #header .site-logo > a {
    height:58px !important;
    max-height:58px !important;
  }
  #header .site-logo img {
    height:54px !important;
    max-height:54px !important;
    max-width: min(48vw, 160px) !important;
    width:auto !important;
    object-fit:contain !important;
  }
  #channel-tabbar {
    width:58px !important;
    min-width:58px !important;
    max-width:58px !important;
    height:64px !important;
    min-height:64px !important;
    max-height:64px !important;
  }
  #channel-tabbar .b-comp-menu-dropdown--main-menu {
    width:58px !important;
    height:64px !important;
    min-height:64px !important;
  }
  #channel-tabbar .b-comp-menu-dropdown__trigger {
    width:48px !important;
    height:48px !important;
    min-width:48px !important;
    min-height:48px !important;
    margin:8px 5px !important;
  }
  
  #content .page-title-widget {
    min-height:0 !important;
    margin-bottom:4px !important;
  }
  #content .page-title-widget .main-title {
    font-size:22px !important;
    line-height:1.3 !important;
    padding-left:32px !important;
    margin-top:3px !important;
  }
  #content .channel-conversation-list-wrapper {
    margin-top:0 !important;
  }
  .topic-list-container.conversation-list tr.topic-item {
    margin-bottom:10px !important;
    border-radius:8px !important;
    box-shadow:0 1px 2px rgba(23,51,79,.09) !important;
  }
  
  .topic-list-container.conversation-list tr.topic-item td.cell-topic-image {
    height:auto !important;
    max-height:none !important;
    padding:8px 10px 0 !important;
  }
  .topic-list-container.conversation-list .cell-topic {
    padding:9px 11px 3px !important;
  }
  .topic-list-container.conversation-list .topic-wrapper {
    font-size:15px !important;
    line-height:1.42 !important;
  }
  .topic-list-container.conversation-list a.topic-title {
    font-size:19px !important;
    line-height:1.4 !important;
  }
  .topic-list-container.conversation-list .cell-topic .prefix {
    font-size:14.5px !important;
    line-height:1.4 !important;
  }
  .topic-list-container.conversation-list .cell-count {
    padding:5px 11px 1px !important;
  }
  .topic-list-container.conversation-list .cell-lastpost {
    padding:3px 11px 10px !important;
  }
  .topic-list-container.conversation-list .cell-count,
  .topic-list-container.conversation-list .cell-count *,
  .topic-list-container.conversation-list .cell-lastpost,
  .topic-list-container.conversation-list .cell-lastpost .post-date {
    font-size:14.5px !important;
    line-height:1.5 !important;
  }
  #topic-tab .conversation-toolbar .toolbar-filter .filter-wrapper .label {
    font-size:15px !important;
    line-height:1.45 !important;
  }
  #topic-tab .js-pagenav-button {
    font-size:15px !important;
    min-height:44px !important;
  }
}
}
