/* CodeLinSoft Nova 4.9.18 — breadcrumb-style forum nav + clean thread replies. */
:where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-hub-toolbar--nav {
  display:block!important;
  margin:0 0 18px!important;
  padding:8px 10px!important;
  border:1px solid #dbeaf5!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:0 8px 24px rgba(25,78,121,.045)!important;
  backdrop-filter:blur(10px);
}
:where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-hub-toolbar--nav .bbp-hub-toolbar__left { width:100%; min-width:0; }
:where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs-bar {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center!important;
  gap:12px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
:where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs-mobile-toggle { display:none!important; }
:where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs--inner {
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  min-width:0;
  overflow-x:auto;
  scrollbar-width:none;
  white-space:nowrap;
}
:where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs--inner::-webkit-scrollbar { display:none; }
:where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs-home {
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  flex:0 0 30px;
  width:30px;
  height:30px;
  border-radius:9px;
  color:#0b86f9!important;
  background:#edf8ff;
  text-decoration:none!important;
}
:where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs-separator {
  color:#9bb0c8;
  font-size:18px;
  line-height:1;
  flex:0 0 auto;
}
:where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs--inner .bbp-tab {
  position:relative;
  display:inline-flex!important;
  align-items:center;
  min-height:32px;
  padding:5px 6px!important;
  border:0!important;
  border-radius:8px!important;
  background:transparent!important;
  color:#536987!important;
  box-shadow:none!important;
  font-weight:700!important;
  font-size:14px!important;
  text-decoration:none!important;
}
:where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs--inner .bbp-tab::after { display:none!important; }
:where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs--inner .bbp-tab:hover,
:where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs--inner .bbp-tab:focus-visible {
  color:#0b86f9!important;
  background:#f4faff!important;
}
:where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs--inner .bbp-tab.is-active,
:where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs--inner .bbp-tab.active {
  color:#0b86f9!important;
  background:#edf8ff!important;
}
:where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-account { position:relative; min-width:0; }
:where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-account-toggle {
  min-height:36px!important;
  padding:5px 9px!important;
  border:1px solid #dbeaf5!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#17365c!important;
  box-shadow:none!important;
  white-space:nowrap;
}
:where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-account-avatar { width:26px!important; height:26px!important; }

/* Forum index intro now follows the same airy structure as the approved mockup. */
body.cls-bbp-forum-home .cls-forum-index__intro {
  margin-top:0!important;
  padding:18px 4px 16px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.cls-bbp-forum-home .cls-forum-index__intro-copy h1 {
  margin:0!important;
  color:#101d3f!important;
  font-size:clamp(30px,3vw,44px)!important;
  letter-spacing:-.025em!important;
}
body.cls-bbp-forum-home .cls-forum-index__intro-copy p { margin-top:7px!important; color:#6c7d9d!important; }

/* Only actual replies follow the lead topic. No redundant reply-count panel. */
body.cls-bbp-unified .cls-thread-replies--plain {
  margin:14px 0 0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.cls-bbp-unified .cls-thread-replies--plain .bbp-replies { display:grid; gap:14px; }
body.cls-bbp-unified .cls-thread-replies--plain .bbp-reply-card:first-child { margin-top:0!important; }

@media (max-width:760px) {
  :where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-hub-toolbar--nav {
    margin:0 0 14px!important;
    padding:7px 8px!important;
    border-radius:12px!important;
  }
  :where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs-bar { gap:8px!important; }
  :where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs--inner { gap:4px!important; }
  :where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs-home {
    flex-basis:28px; width:28px; height:28px; border-radius:8px; font-size:12px;
  }
  :where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs--inner .bbp-tab {
    min-height:30px; padding:4px 5px!important; font-size:12.5px!important;
  }
  :where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs-separator { font-size:15px; }
  :where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-account-toggle {
    min-height:34px!important; padding:4px 7px!important;
  }
  :where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-account-name {
    display:inline-block!important;
    max-width:92px;
    overflow:hidden;
    text-overflow:ellipsis;
    vertical-align:middle;
  }
  body.cls-bbp-forum-home .cls-forum-index__intro { padding:12px 2px 14px!important; }
  body.cls-bbp-forum-home .cls-forum-index__intro-copy h1 { font-size:32px!important; }
}
@media (max-width:430px) {
  :where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-account-name { max-width:74px; }
  :where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-account-caret { font-size:10px; }
}

/* ========================================================================
   Nova 4.9.20 — reply cards use exactly the same visual grammar as the lead
   topic card.  Editor markup/assets are intentionally untouched.
   ======================================================================== */
body.cls-bbp-unified .cls-thread-replies--plain .bbp-replies {
  display:grid!important;
  gap:14px!important;
}
body.cls-bbp-unified .cls-thread-replies--plain .cls-post-card--reply {
  margin:0!important;
}
body.cls-bbp-unified .cls-post-card__author-name {
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.25!important;
  text-decoration:none!important;
}
body.cls-bbp-unified .cls-post-card__role {
  margin:3px 0 9px!important;
  color:#0b82ed!important;
  font-size:9px!important;
  font-weight:900!important;
  line-height:1.25!important;
  text-transform:uppercase!important;
}
body.cls-bbp-unified .cls-post-card__avatar--guest {
  display:grid;
  place-items:center;
  width:76px!important;
  height:76px!important;
  margin-bottom:10px;
  border-radius:20px!important;
  background:linear-gradient(145deg,#e9f5ff,#dcecff);
  color:#6e8cb1;
  font-size:27px;
}
body.cls-bbp-unified .cls-post-card__date {
  color:#8a97aa!important;
  text-decoration:none!important;
}
body.cls-bbp-unified .cls-post-card__number { color:#71839e!important; font-weight:800!important; }
body.cls-bbp-unified .cls-post-card__reply-link {
  display:inline-flex;
  align-items:center;
  gap:6px;
}
body.cls-bbp-unified .cls-post-card--reply .cls-post-admin-links {
  display:inline-flex;
  align-items:center;
  flex-wrap:wrap;
  gap:0;
}
body.cls-bbp-unified .cls-post-card--reply .cls-post-admin-links a {
  color:#71809a!important;
  font-size:9px!important;
  font-weight:800!important;
  letter-spacing:.035em;
  text-transform:uppercase;
}
body.cls-bbp-unified .cls-post-card--reply .cls-post-admin-links a:hover { color:#0878e5!important; }

@media (max-width:760px) {
  body.cls-bbp-unified .cls-post-card--reply .cls-post-card__content>footer {
    align-items:flex-start;
    flex-wrap:wrap;
    gap:8px 12px;
  }
  body.cls-bbp-unified .cls-post-card--reply .cls-post-admin-links { row-gap:5px; }
}


/* ========================================================================
   Nova 4.9.21 — account dropdown stacking and public author links.
   ======================================================================== */
:where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-hub-toolbar--nav {
  position:relative!important;
  z-index:12000!important;
  overflow:visible!important;
}
:where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-hub-toolbar--nav .bbp-hub-toolbar__left,
:where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs-bar,
:where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-account {
  position:relative!important;
  overflow:visible!important;
}
:where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-tabs-bar {
  z-index:12010!important;
}
:where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-account {
  z-index:12020!important;
}
:where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-account-menu {
  z-index:12050!important;
  isolation:isolate;
  box-shadow:0 18px 46px rgba(9,47,80,.20)!important;
}
:where(body.cls-bbp-unified, body.cls-bbp-forum-home) .bbp-account-menu:not([hidden]) {
  display:block!important;
}

body.cls-bbp-unified a.cls-post-card__author-name,
body.cls-bbp-unified a.bbp-search-card__author,
body.cls-bbp-unified a.bbp-topic-author-profile {
  text-decoration:none!important;
}
body.cls-bbp-unified a.cls-post-card__author-name:hover,
body.cls-bbp-unified a.cls-post-card__author-name:focus-visible,
body.cls-bbp-unified a.bbp-search-card__author:hover,
body.cls-bbp-unified a.bbp-search-card__author:focus-visible,
body.cls-bbp-unified a.bbp-topic-author-profile:hover,
body.cls-bbp-unified a.bbp-topic-author-profile:focus-visible {
  text-decoration:underline!important;
}


/* ==========================================================================
   Nova 4.9.52 — topic/reply footer actions as coherent buttons.
   ========================================================================== */

/* Remove bbPress textual separators "|" without changing PHP output. */
body.cls-bbp-unified .cls-post-admin-links,
body.cls-bbp-unified .cls-post-admin-links .bbp-admin-links {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-end;
  flex-wrap:wrap!important;
  gap:6px!important;
  margin-left:auto!important;
  font-size:0!important;
  line-height:1!important;
}

/* Every bbPress moderation/admin action becomes a compact Nova button. */
body.cls-bbp-unified .cls-post-admin-links .bbp-admin-links a,
body.cls-bbp-unified .cls-post-admin-links > a {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:29px!important;
  margin:0!important;
  padding:6px 9px!important;
  border:1px solid #d3e1eb!important;
  border-radius:8px!important;
  background:#f8fbfd!important;
  color:#526c85!important;
  box-shadow:none!important;
  font-size:9px!important;
  font-weight:800!important;
  line-height:1!important;
  letter-spacing:.025em!important;
  text-decoration:none!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  transition:
    background .16s ease,
    border-color .16s ease,
    color .16s ease,
    transform .16s ease!important;
}

body.cls-bbp-unified .cls-post-admin-links .bbp-admin-links a:hover,
body.cls-bbp-unified .cls-post-admin-links .bbp-admin-links a:focus-visible,
body.cls-bbp-unified .cls-post-admin-links > a:hover,
body.cls-bbp-unified .cls-post-admin-links > a:focus-visible {
  border-color:#aed2ec!important;
  background:#edf8ff!important;
  color:#0878df!important;
  transform:translateY(-1px);
  outline:none!important;
}

/* Edit actions: primary-soft blue. */
body.cls-bbp-unified .cls-post-admin-links :is(
  .bbp-topic-edit-link,
  .bbp-reply-edit-link
) {
  border-color:#bcdcf2!important;
  background:#eef8ff!important;
  color:#086ebf!important;
}

/* Moderation/status actions: amber-neutral. */
body.cls-bbp-unified .cls-post-admin-links :is(
  .bbp-topic-sticky-link,
  .bbp-topic-super-sticky-link,
  .bbp-topic-close-link,
  .bbp-topic-open-link,
  .bbp-topic-merge-link,
  .bbp-reply-move-link,
  .bbp-reply-split-link,
  .bbp-topic-approve-link,
  .bbp-reply-approve-link
) {
  border-color:#ead9a8!important;
  background:#fffaf0!important;
  color:#8b6711!important;
}

/* Destructive/moderation actions: restrained red. */
body.cls-bbp-unified .cls-post-admin-links :is(
  .bbp-topic-trash-link,
  .bbp-reply-trash-link,
  .bbp-topic-spam-link,
  .bbp-reply-spam-link,
  .bbp-topic-delete-link,
  .bbp-reply-delete-link
) {
  border-color:#efcece!important;
  background:#fff7f7!important;
  color:#b13c3c!important;
}

body.cls-bbp-unified .cls-post-admin-links :is(
  .bbp-topic-trash-link,
  .bbp-reply-trash-link,
  .bbp-topic-spam-link,
  .bbp-reply-spam-link,
  .bbp-topic-delete-link,
  .bbp-reply-delete-link
):hover,
body.cls-bbp-unified .cls-post-admin-links :is(
  .bbp-topic-trash-link,
  .bbp-reply-trash-link,
  .bbp-topic-spam-link,
  .bbp-reply-spam-link,
  .bbp-topic-delete-link,
  .bbp-reply-delete-link
):focus-visible {
  border-color:#e7abab!important;
  background:#fff0f0!important;
  color:#982b2b!important;
}

/* "Rispondi" uses the same visual language instead of looking like plain text. */
body.cls-bbp-unified .cls-post-card__content > footer > a:not(.cls-post-card__date),
body.cls-bbp-unified .cls-post-card__reply-link {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  min-height:29px!important;
  padding:6px 10px!important;
  border:1px solid #c5dded!important;
  border-radius:8px!important;
  background:#f2f9fe!important;
  color:#176da8!important;
  font-size:9px!important;
  font-weight:800!important;
  line-height:1!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}

body.cls-bbp-unified .cls-post-card__content > footer > a:not(.cls-post-card__date):hover,
body.cls-bbp-unified .cls-post-card__content > footer > a:not(.cls-post-card__date):focus-visible,
body.cls-bbp-unified .cls-post-card__reply-link:hover,
body.cls-bbp-unified .cls-post-card__reply-link:focus-visible {
  border-color:#9bcce9!important;
  background:#e7f5ff!important;
  color:#075f9c!important;
  outline:none!important;
}

@media (max-width:760px) {
  body.cls-bbp-unified .cls-post-card__content > footer {
    align-items:flex-start!important;
    flex-wrap:wrap!important;
    gap:7px!important;
  }

  body.cls-bbp-unified .cls-post-admin-links,
  body.cls-bbp-unified .cls-post-admin-links .bbp-admin-links {
    width:100%!important;
    justify-content:flex-start!important;
    margin-left:0!important;
  }

  body.cls-bbp-unified .cls-post-admin-links .bbp-admin-links a,
  body.cls-bbp-unified .cls-post-admin-links > a,
  body.cls-bbp-unified .cls-post-card__reply-link,
  body.cls-bbp-unified .cls-post-card__content > footer > a:not(.cls-post-card__date) {
    min-height:34px!important;
    padding:7px 9px!important;
    font-size:9px!important;
  }
}


/* ==========================================================================
   Nova 4.9.53 — unified linear action bars for topic/reply footer.
   ========================================================================== */
body.cls-bbp-unified .cls-post-card__content > footer {
  gap:10px!important;
}

/* Group containers look like a single coherent toolbar. */
body.cls-bbp-unified .cls-post-admin-links,
body.cls-bbp-unified .cls-post-admin-links .bbp-admin-links {
  display:inline-flex!important;
  align-items:stretch!important;
  justify-content:flex-end!important;
  gap:0!important;
  margin-left:auto!important;
  font-size:0!important;
  line-height:1!important;
  border:0!important;
  border-radius:0!important;
  overflow:visible!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* Every footer action becomes part of a linear segmented control. */
body.cls-bbp-unified .cls-post-admin-links .bbp-admin-links a,
body.cls-bbp-unified .cls-post-admin-links > a,
body.cls-bbp-unified .cls-post-card__content > footer > a:not(.cls-post-card__date),
body.cls-bbp-unified .cls-post-card__reply-link {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:34px!important;
  margin:0!important;
  padding:0 14px!important;
  border:0!important;
  border-right:1px solid #e3ebf1!important;
  border-radius:0!important;
  background:#fff!important;
  color:#5a6e82!important;
  box-shadow:none!important;
  font-size:10px!important;
  font-weight:800!important;
  line-height:1!important;
  letter-spacing:.045em!important;
  text-decoration:none!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  transition:background .16s ease,color .16s ease,border-color .16s ease!important;
}

body.cls-bbp-unified .cls-post-admin-links .bbp-admin-links a:last-child,
body.cls-bbp-unified .cls-post-admin-links > a:last-child,
body.cls-bbp-unified .cls-post-card__content > footer > a:not(.cls-post-card__date):last-child,
body.cls-bbp-unified .cls-post-card__reply-link:last-child {
  border-right:0!important;
}

body.cls-bbp-unified .cls-post-admin-links .bbp-admin-links a:hover,
body.cls-bbp-unified .cls-post-admin-links .bbp-admin-links a:focus-visible,
body.cls-bbp-unified .cls-post-admin-links > a:hover,
body.cls-bbp-unified .cls-post-admin-links > a:focus-visible,
body.cls-bbp-unified .cls-post-card__content > footer > a:not(.cls-post-card__date):hover,
body.cls-bbp-unified .cls-post-card__content > footer > a:not(.cls-post-card__date):focus-visible,
body.cls-bbp-unified .cls-post-card__reply-link:hover,
body.cls-bbp-unified .cls-post-card__reply-link:focus-visible {
  background:#f4f9fd!important;
  color:#116cb7!important;
  outline:none!important;
}

/* Reply action: same linear style but slightly emphasized text. */
body.cls-bbp-unified .cls-post-card__content > footer > a:not(.cls-post-card__date),
body.cls-bbp-unified .cls-post-card__reply-link {
  color:#176aa7!important;
}

/* Subtle semantic tones without the previous overcolored look. */
body.cls-bbp-unified .cls-post-admin-links :is(
  .bbp-topic-edit-link,
  .bbp-reply-edit-link,
  .bbp-topic-merge-link,
  .bbp-reply-move-link,
  .bbp-reply-split-link
) {
  color:#176aa7!important;
}

body.cls-bbp-unified .cls-post-admin-links :is(
  .bbp-topic-sticky-link,
  .bbp-topic-super-sticky-link,
  .bbp-topic-close-link,
  .bbp-topic-open-link,
  .bbp-topic-approve-link,
  .bbp-reply-approve-link
) {
  color:#6f6b35!important;
}

body.cls-bbp-unified .cls-post-admin-links :is(
  .bbp-topic-sticky-link,
  .bbp-topic-super-sticky-link,
  .bbp-topic-close-link,
  .bbp-topic-open-link,
  .bbp-topic-approve-link,
  .bbp-reply-approve-link
):hover,
body.cls-bbp-unified .cls-post-admin-links :is(
  .bbp-topic-sticky-link,
  .bbp-topic-super-sticky-link,
  .bbp-topic-close-link,
  .bbp-topic-open-link,
  .bbp-topic-approve-link,
  .bbp-reply-approve-link
):focus-visible {
  background:#fbfaf3!important;
  color:#827723!important;
}

body.cls-bbp-unified .cls-post-admin-links :is(
  .bbp-topic-trash-link,
  .bbp-reply-trash-link,
  .bbp-topic-spam-link,
  .bbp-reply-spam-link,
  .bbp-topic-delete-link,
  .bbp-reply-delete-link
) {
  color:#b44a4a!important;
}

body.cls-bbp-unified .cls-post-admin-links :is(
  .bbp-topic-trash-link,
  .bbp-reply-trash-link,
  .bbp-topic-spam-link,
  .bbp-reply-spam-link,
  .bbp-topic-delete-link,
  .bbp-reply-delete-link
):hover,
body.cls-bbp-unified .cls-post-admin-links :is(
  .bbp-topic-trash-link,
  .bbp-reply-trash-link,
  .bbp-topic-spam-link,
  .bbp-reply-spam-link,
  .bbp-topic-delete-link,
  .bbp-reply-delete-link
):focus-visible {
  background:#fff6f6!important;
  color:#9d3434!important;
}

@media (max-width:760px) {
  body.cls-bbp-unified .cls-post-card__content > footer {
    align-items:flex-start!important;
    flex-wrap:wrap!important;
    gap:8px!important;
  }

  body.cls-bbp-unified .cls-post-admin-links,
  body.cls-bbp-unified .cls-post-admin-links .bbp-admin-links {
    width:100%!important;
    justify-content:flex-start!important;
    margin-left:0!important;
    flex-wrap:wrap!important;
    border-radius:0!important;
  }

  body.cls-bbp-unified .cls-post-admin-links .bbp-admin-links a,
  body.cls-bbp-unified .cls-post-admin-links > a,
  body.cls-bbp-unified .cls-post-card__content > footer > a:not(.cls-post-card__date),
  body.cls-bbp-unified .cls-post-card__reply-link {
    min-height:36px!important;
    padding:0 12px!important;
    font-size:10px!important;
    border-right:1px solid #e3ebf1!important;
    border-bottom:1px solid #e3ebf1!important;
    flex:0 0 auto!important;
  }

  body.cls-bbp-unified .cls-post-admin-links .bbp-admin-links a:last-child,
  body.cls-bbp-unified .cls-post-admin-links > a:last-child,
  body.cls-bbp-unified .cls-post-card__content > footer > a:not(.cls-post-card__date):last-child,
  body.cls-bbp-unified .cls-post-card__reply-link:last-child {
    border-right:1px solid #e3ebf1!important;
  }

  body.cls-bbp-unified .cls-post-admin-links .bbp-admin-links a:nth-last-child(-n+2),
  body.cls-bbp-unified .cls-post-admin-links > a:nth-last-child(-n+2) {
    border-bottom:0!important;
  }
}
