/* ========================================================================
 * CodeLinSoft Nova 4.9.19 — linear bbPress breadcrumb navigation
 * - Index / Topic recenti are always visible, including on mobile.
 * - No blue "Forum" dropdown button.
 * - Account/login stays on the same linear navigation row.
 * - Display Page and bbPress editors are intentionally untouched.
 * ======================================================================== */

:where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-hub-toolbar--nav,
:where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-hub-toolbar--nav.cls-forum-index__toolbar {
  display:block !important;
  width:100% !important;
  margin:0 0 18px !important;
  padding:0 2px 10px !important;
  border:0 !important;
  border-bottom:1px solid #dce8f1 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
}

:where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-hub-toolbar--nav .bbp-hub-toolbar__left {
  width:100% !important;
  min-width:0 !important;
}

:where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs-bar {
  position:relative !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  align-items:center !important;
  gap:12px !important;
  width:100% !important;
  min-height:36px !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  overflow:visible !important;
}

/* The old mobile dropdown no longer exists in the markup; hide any stale/cached instance. */
:where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs-mobile-toggle {
  display:none !important;
}

:where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs--inner {
  position:static !important;
  display:flex !important;
  flex:1 1 auto !important;
  flex-direction:row !important;
  align-items:center !important;
  gap:6px !important;
  width:auto !important;
  min-width:0 !important;
  max-height:none !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  scrollbar-width:none !important;
  white-space:nowrap !important;
}
:where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs--inner::-webkit-scrollbar { display:none !important; }

:where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs-home {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 0 auto !important;
  width:24px !important;
  height:30px !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  color:#537089 !important;
  box-shadow:none !important;
  text-decoration:none !important;
}

:where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs-home:hover,
:where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs-home:focus-visible {
  color:#173d5b !important;
  background:transparent !important;
  outline:none !important;
}

:where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs-separator {
  display:inline-flex !important;
  align-items:center !important;
  flex:0 0 auto !important;
  margin:0 1px !important;
  color:#a4b5c3 !important;
  font-size:16px !important;
  line-height:1 !important;
}

:where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs--inner .bbp-tab {
  position:relative !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  flex:0 0 auto !important;
  width:auto !important;
  min-height:30px !important;
  margin:0 !important;
  padding:3px 2px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  color:#587087 !important;
  box-shadow:none !important;
  font-family:"Cantarell",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
  font-size:14px !important;
  font-weight:650 !important;
  line-height:1.2 !important;
  text-decoration:none !important;
  white-space:nowrap !important;
}

:where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs--inner .bbp-tab::after {
  display:none !important;
  content:none !important;
}

:where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs--inner .bbp-tab:hover,
:where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs--inner .bbp-tab:focus-visible {
  color:#173d5b !important;
  background:transparent !important;
  text-decoration:underline !important;
  text-underline-offset:3px !important;
  outline:none !important;
}

:where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs--inner .bbp-tab.is-active,
:where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs--inner .bbp-tab.active {
  color:#102d45 !important;
  background:transparent !important;
  font-weight:800 !important;
  box-shadow:none !important;
}

/* Account/login remains part of the breadcrumb row, but is not a blue CTA. */
:where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-account {
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  min-width:0 !important;
  margin:0 !important;
}

:where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs-bar .bbp-account-toggle {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:7px !important;
  min-width:0 !important;
  min-height:34px !important;
  height:auto !important;
  margin:0 !important;
  padding:3px 4px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  color:#173d5b !important;
  box-shadow:none !important;
  font-family:"Cantarell",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
  font-size:13px !important;
  font-weight:750 !important;
  line-height:1.2 !important;
}

:where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs-bar .bbp-account-toggle:hover,
:where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs-bar .bbp-account-toggle:focus-visible,
:where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs-bar .bbp-account-toggle[aria-expanded="true"] {
  border:0 !important;
  background:transparent !important;
  color:#0a6fae !important;
  box-shadow:none !important;
  outline:none !important;
}

:where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs-bar .bbp-account-avatar {
  width:26px !important;
  height:26px !important;
  flex:0 0 26px !important;
  border-radius:50% !important;
}

:where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs-bar .bbp-account-caret {
  color:#73899c !important;
  opacity:1 !important;
}

@media (max-width:767px) {
  :where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-hub-toolbar--nav,
  :where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-hub-toolbar--nav.cls-forum-index__toolbar {
    margin:0 0 14px !important;
    padding:0 0 8px !important;
  }

  :where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs-bar {
    grid-template-columns:minmax(0,1fr) auto !important;
    gap:8px !important;
    min-height:32px !important;
  }

  :where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs--inner {
    display:flex !important;
    gap:5px !important;
    padding:0 !important;
  }

  :where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs-home {
    width:22px !important;
    height:28px !important;
    font-size:12px !important;
  }

  :where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs-separator {
    font-size:14px !important;
  }

  :where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs--inner .bbp-tab {
    min-height:28px !important;
    padding:2px 1px !important;
    font-size:12.5px !important;
  }

  :where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs-bar .bbp-account-toggle {
    min-height:30px !important;
    padding:2px 0 2px 4px !important;
    font-size:12px !important;
  }

  :where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs-bar .bbp-account-avatar {
    width:24px !important;
    height:24px !important;
    flex-basis:24px !important;
  }

  :where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs-bar .bbp-account-name {
    display:inline-block !important;
    max-width:88px !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
  }

  :where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs-bar .bbp-account-menu {
    right:0 !important;
    left:auto !important;
    width:min(330px,calc(100vw - 28px)) !important;
    max-width:calc(100vw - 28px) !important;
  }
}

@media (max-width:390px) {
  :where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs--inner .bbp-tab { font-size:12px !important; }
  :where(body.cls-bbpress, body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs-bar .bbp-account-name { max-width:68px !important; }
}


/* ========================================================================
 * CodeLinSoft Nova 4.9.22 — final mobile breadcrumb/account correction.
 * The old 4.9.16 responsive layer had higher selector specificity and could
 * still paint the account button blue or collapse the forum links.
 * These rules intentionally use equally/highly specific selectors and are
 * loaded last.
 * ======================================================================== */

/* Account: never a blue CTA, on desktop or mobile. */
body.cls-bbpress .bbp-tabs-bar .bbp-account-toggle,
body.cls-bbp-unified .bbp-tabs-bar .bbp-account-toggle,
body.cls-bbp-forum-home .bbp-tabs-bar .bbp-account-toggle {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  color: #173d5b !important;
  box-shadow: none !important;
}

body.cls-bbpress .bbp-tabs-bar .bbp-account-toggle:hover,
body.cls-bbpress .bbp-tabs-bar .bbp-account-toggle:focus-visible,
body.cls-bbpress .bbp-tabs-bar .bbp-account-toggle[aria-expanded="true"],
body.cls-bbp-unified .bbp-tabs-bar .bbp-account-toggle:hover,
body.cls-bbp-unified .bbp-tabs-bar .bbp-account-toggle:focus-visible,
body.cls-bbp-unified .bbp-tabs-bar .bbp-account-toggle[aria-expanded="true"],
body.cls-bbp-forum-home .bbp-tabs-bar .bbp-account-toggle:hover,
body.cls-bbp-forum-home .bbp-tabs-bar .bbp-account-toggle:focus-visible,
body.cls-bbp-forum-home .bbp-tabs-bar .bbp-account-toggle[aria-expanded="true"] {
  background: #f6fafc !important;
  background-image: none !important;
  border: 0 !important;
  color: #0a6fae !important;
  box-shadow: none !important;
}

/* Mobile: Index and Topic recenti are always rendered inline and visible. */
@media (max-width: 767px) {
  body.cls-bbpress .bbp-hub-toolbar--nav,
  body.cls-bbp-unified .bbp-hub-toolbar--nav,
  body.cls-bbp-forum-home .bbp-hub-toolbar--nav,
  body.cls-bbp-forum-home .bbp-hub-toolbar--nav.cls-forum-index__toolbar {
    display: block !important;
    overflow: visible !important;
    padding: 0 0 8px !important;
  }

  body.cls-bbpress .bbp-tabs-bar,
  body.cls-bbp-unified .bbp-tabs-bar,
  body.cls-bbp-forum-home .bbp-tabs-bar {
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 34px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  /* Kill every legacy mobile dropdown/toggle path. */
  body.cls-bbpress .bbp-tabs-mobile-toggle,
  body.cls-bbp-unified .bbp-tabs-mobile-toggle,
  body.cls-bbp-forum-home .bbp-tabs-mobile-toggle {
    display: none !important;
  }

  body.cls-bbpress .bbp-tabs-bar .bbp-tabs--inner,
  body.cls-bbp-unified .bbp-tabs-bar .bbp-tabs--inner,
  body.cls-bbp-forum-home .bbp-tabs-bar .bbp-tabs--inner {
    position: static !important;
    inset: auto !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 1 1 auto !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 5px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    scrollbar-width: none !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  body.cls-bbpress .bbp-tabs-bar .bbp-tabs--inner::-webkit-scrollbar,
  body.cls-bbp-unified .bbp-tabs-bar .bbp-tabs--inner::-webkit-scrollbar,
  body.cls-bbp-forum-home .bbp-tabs-bar .bbp-tabs--inner::-webkit-scrollbar {
    display: none !important;
  }

  body.cls-bbpress .bbp-tabs-bar .bbp-tabs--inner .bbp-tabs-home,
  body.cls-bbp-unified .bbp-tabs-bar .bbp-tabs--inner .bbp-tabs-home,
  body.cls-bbp-forum-home .bbp-tabs-bar .bbp-tabs--inner .bbp-tabs-home {
    display: inline-flex !important;
    flex: 0 0 22px !important;
    width: 22px !important;
    height: 28px !important;
    background: transparent !important;
    color: #537089 !important;
  }

  body.cls-bbpress .bbp-tabs-bar .bbp-tabs--inner .bbp-tabs-separator,
  body.cls-bbp-unified .bbp-tabs-bar .bbp-tabs--inner .bbp-tabs-separator,
  body.cls-bbp-forum-home .bbp-tabs-bar .bbp-tabs--inner .bbp-tabs-separator {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    color: #9fb1c1 !important;
  }

  body.cls-bbpress .bbp-tabs-bar .bbp-tabs--inner .bbp-tab,
  body.cls-bbp-unified .bbp-tabs-bar .bbp-tabs--inner .bbp-tab,
  body.cls-bbp-forum-home .bbp-tabs-bar .bbp-tabs--inner .bbp-tab {
    position: static !important;
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-height: 28px !important;
    margin: 0 !important;
    padding: 2px 1px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #587087 !important;
    box-shadow: none !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    transform: none !important;
  }

  body.cls-bbpress .bbp-tabs-bar .bbp-tabs--inner .bbp-tab.is-active,
  body.cls-bbpress .bbp-tabs-bar .bbp-tabs--inner .bbp-tab.active,
  body.cls-bbp-unified .bbp-tabs-bar .bbp-tabs--inner .bbp-tab.is-active,
  body.cls-bbp-unified .bbp-tabs-bar .bbp-tabs--inner .bbp-tab.active,
  body.cls-bbp-forum-home .bbp-tabs-bar .bbp-tabs--inner .bbp-tab.is-active,
  body.cls-bbp-forum-home .bbp-tabs-bar .bbp-tabs--inner .bbp-tab.active {
    background: transparent !important;
    color: #102d45 !important;
    box-shadow: none !important;
    font-weight: 800 !important;
  }

  body.cls-bbpress .bbp-tabs-bar .bbp-account,
  body.cls-bbp-unified .bbp-tabs-bar .bbp-account,
  body.cls-bbp-forum-home .bbp-tabs-bar .bbp-account {
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }

  body.cls-bbpress .bbp-tabs-bar .bbp-account-toggle,
  body.cls-bbp-unified .bbp-tabs-bar .bbp-account-toggle,
  body.cls-bbp-forum-home .bbp-tabs-bar .bbp-account-toggle {
    min-height: 30px !important;
    max-width: 122px !important;
    padding: 2px 3px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    background-image: none !important;
    color: #173d5b !important;
    box-shadow: none !important;
  }

  body.cls-bbpress .bbp-tabs-bar .bbp-account-name,
  body.cls-bbp-unified .bbp-tabs-bar .bbp-account-name,
  body.cls-bbp-forum-home .bbp-tabs-bar .bbp-account-name {
    display: inline-block !important;
    max-width: 72px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 380px) {
  body.cls-bbpress .bbp-tabs-bar .bbp-account-name,
  body.cls-bbp-unified .bbp-tabs-bar .bbp-account-name,
  body.cls-bbp-forum-home .bbp-tabs-bar .bbp-account-name {
    max-width: 52px !important;
  }

  body.cls-bbpress .bbp-tabs-bar .bbp-tabs--inner .bbp-tab,
  body.cls-bbp-unified .bbp-tabs-bar .bbp-tabs--inner .bbp-tab,
  body.cls-bbp-forum-home .bbp-tabs-bar .bbp-tabs--inner .bbp-tab {
    font-size: 12px !important;
  }
}


/* Nova 4.9.66 — remove the OUTER Index / Topic recenti card on every forum view.
   Do not remove the separate borders/focus indicators of bell or account controls. */
body.cls-bbpress .bbp-hub-toolbar--nav,
body.cls-bbp-unified .bbp-hub-toolbar--nav,
body.cls-bbp-forum-home .bbp-hub-toolbar--nav,
body.cls-bbp-forum-home .bbp-hub-toolbar--nav.cls-forum-index__toolbar {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  overflow: visible !important;
}
body.cls-bbpress .bbp-hub-toolbar--nav .bbp-tabs-bar,
body.cls-bbp-unified .bbp-hub-toolbar--nav .bbp-tabs-bar,
body.cls-bbp-forum-home .bbp-hub-toolbar--nav .bbp-tabs-bar {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible !important;
}
