/* Original CGCA forum and journal card styles; adapted markup in bbpress/loop-single-reply.php. */
/* =============================================================================
   9. PROGRESS JOURNAL HEADER
   Injected above the replies on every Progress Journal topic. Shows the topic
   title, a "Jump to latest update" button, and a preview card of the newest
   update (author, time, excerpt). See inc/progress-journal.php.
   ============================================================================= */
.cgca-pj-header {
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #ffffff;
  border: 1px solid #e3eaf0;
  border-radius: 12px;
  padding: 18px 20px;
  margin: 0 0 20px;
}

.cgca-pj-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.cgca-pj-title {
  font-size: 17px;
  font-weight: 600;
  color: #0d2438;
  letter-spacing: -0.01em;
  line-height: 1.3;
  min-width: 0;
}

/* Jump-to-latest button */
.cgca-pj-jump-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  background: #1a8fb8;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.cgca-pj-jump-btn:hover {
  background: #146a89;
  color: #ffffff !important;
  text-decoration: none !important;
}

.cgca-pj-jump-icon {
  font-size: 14px;
  line-height: 1;
}

/* Latest-update preview card */
.cgca-pj-latest {
  display: block;
  margin-top: 16px;
  padding: 16px;
  background: #f1f9f4;
  border: 1px solid #d4ead9;
  border-left: 4px solid #2e9e5b;
  border-radius: 10px;
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.cgca-pj-latest:hover {
  background: #e9f5ed;
  border-color: #bfe0c8;
  text-decoration: none !important;
}

.cgca-pj-latest-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2e9e5b;
  margin-bottom: 10px;
}

.cgca-pj-latest-body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.cgca-pj-latest-avatar {
  flex-shrink: 0;
}

.cgca-pj-latest-avatar img,
.cgca-pj-latest-avatar img.avatar {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
  border: none !important;
  margin: 0 !important;
}

.cgca-pj-latest-text {
  flex: 1;
  min-width: 0;
}

.cgca-pj-latest-meta {
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.cgca-pj-latest-author {
  font-weight: 600;
  color: #0d2438;
}

.cgca-pj-latest-time {
  color: #6b7c8a;
  margin-left: 8px;
}

.cgca-pj-latest-excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: #33424f;
}

/* Empty state (no replies yet) */
.cgca-pj-header--empty .cgca-pj-empty-note {
  margin-top: 12px;
  font-size: 14px;
  color: #6b7c8a;
  line-height: 1.5;
}

/* Mobile */
@media (max-width: 600px) {
  .cgca-pj-header {
    padding: 16px;
    border-radius: 10px;
  }

  .cgca-pj-header-top {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cgca-pj-jump-btn {
    justify-content: center;
    width: 100%;
  }

  .cgca-pj-title {
    font-size: 16px;
  }
}


/* ---- Journal entries vs. encouragement (visual nesting) ----
   Replies by the topic author are the journal "entries" and stay prominent.
   Replies by anyone else are encouragement: indented, smaller, lighter, so the
   author's updates read as the spine of the page. Classes are added in
   inc/progress-journal.php via the bbp_get_reply_class filter. */

/* Author's own entries — keep them as the visual anchor (no accent strip). */
#bbpress-forums .cgca-pj-entry {
  position: relative;
}

/* Non-author replies (encouragement): indented, smaller, lighter.
   These layer on top of the forum card styling in section 10 — the card gives
   the box, these tweaks de-emphasise it. !important on background so it wins
   over the card's white fill. */
/* Non-author replies (encouragement): indented, smaller, lighter.
   These must out-specify the section-10 card rule
   (#bbpress-forums li.bbp-body > div[class*="loop-item-"]) which sets margin
   and background with !important — that rule was overriding the indent in 1.7.
   We match its structure and use !important so the journal nesting wins. */
#bbpress-forums li.bbp-body > div[class*="loop-item-"].cgca-pj-encouragement {
  margin-left: 40px !important;
  background: #f7fafc !important;
  border-radius: 8px !important;
  font-size: 0.92em !important;
}

#bbpress-forums .cgca-pj-encouragement .bbp-reply-content,
#bbpress-forums .cgca-pj-encouragement .bbp-reply-author {
  opacity: 0.9;
}

/* Slightly smaller avatars on encouragement replies to de-emphasise them.
   Must beat the section-10 card avatar rule (64px), so high specificity. */
#bbpress-forums li.bbp-body > div[class*="loop-item-"].cgca-pj-encouragement .bbp-reply-author .bbp-author-avatar img,
#bbpress-forums li.bbp-body > div[class*="loop-item-"].cgca-pj-encouragement .bbp-reply-author img.avatar {
  width: 48px !important;
  height: 48px !important;
}

@media (max-width: 600px) {
  #bbpress-forums li.bbp-body > div[class*="loop-item-"].cgca-pj-encouragement {
    margin-left: 18px !important;
  }
}


/* =============================================================================
   10. FORUM — CLEAN CARD STYLING
   Styles raw bbPress single-topic output (bbp Style Pack retired) into clean
   cards matching the community cards elsewhere in this theme. Scoped to
   #bbpress-forums so it never leaks into other content.

   Structure (from bbPress default templates):
     #bbpress-forums
       ul.bbp-replies
         li.bbp-header / li.bbp-footer   "Author | Posts" label rows
         li.bbp-body
           div.loop-item-N ...           ONE POST (flex row)
             div.bbp-reply-author        left column (avatar, name, role, meta)
             div.bbp-reply-content       right column
               div.bbp-reply-header > .bbp-meta   permalink + admin links
               div.bbp-reply-entry       the post text (+ .bbp-arrow)
   ============================================================================= */

/* Wrapper: give the forum room to breathe, neutral background. */
#bbpress-forums {
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0d2438;
}

/* Strip bbPress's default list chrome. */
#bbpress-forums ul.bbp-replies {
  border: none !important;
  background: transparent !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
}

/* Hide the "Author | Posts" header and footer label rows — cards don't need them. */
#bbpress-forums ul.bbp-replies > li.bbp-header,
#bbpress-forums ul.bbp-replies > li.bbp-footer,
#bbpress-forums .bbp-header.fusion-bbp-header {
  display: none !important;
}

#bbpress-forums li.bbp-body {
  border: none !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ---- The post card ---- */
#bbpress-forums li.bbp-body > div[class*="loop-item-"] {
  display: flex !important;
  gap: 18px !important;
  background: #ffffff !important;
  border: 1px solid #e3eaf0 !important;
  border-radius: 12px !important;
  padding: 18px 22px !important;
  margin: 0 0 12px !important;
  box-shadow: 0 1px 2px rgba(13, 36, 56, 0.04);
}

#bbpress-forums li.bbp-body > div[class*="loop-item-"]:last-child {
  margin-bottom: 0 !important;
}

/* ---- Left column: author ---- */
#bbpress-forums .bbp-reply-author {
  flex: 0 0 120px !important;
  width: 120px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  float: none !important;
}

#bbpress-forums .bbp-reply-author .bbp-author-avatar img,
#bbpress-forums .bbp-reply-author img.avatar {
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 auto 10px !important;
  border: none !important;
}

#bbpress-forums .bbp-author-name {
  display: block !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #0d2438 !important;
  line-height: 1.3 !important;
  margin-bottom: 4px !important;
}

#bbpress-forums .bbp-author-link {
  text-decoration: none !important;
}

#bbpress-forums .bbp-author-role {
  display: inline-block !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  color: #1a8fb8 !important;
  background: #eef4f8 !important;
  border-radius: 20px !important;
  padding: 2px 10px !important;
  margin: 0 0 8px !important;
}

/* De-emphasise post-count and hide IP addresses from view. */
#bbpress-forums .bbps-post-count {
  display: none !important;
}

#bbpress-forums .bbp-reply-ip,
#bbpress-forums .fusion-reply-id {
  display: none !important;
}

/* The post date: sits in the author column, centred under the avatar/role,
   compact. No icon. */
#bbpress-forums .bbp-reply-author .bbp-reply-post-date {
  display: block !important;
  font-size: 12px !important;
  color: #8a9aa6 !important;
  margin: 4px 0 0 !important;
  text-align: center !important;
}

/* ---- Right column: content ----
   Flex column: body text on top (snug, no wasted gap), meta row as a footer
   pushed to the bottom with margin-top:auto. */
#bbpress-forums .bbp-reply-content {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  float: none !important;
}

/* Post body text. */
#bbpress-forums .bbp-reply-entry {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #33424f !important;
  margin: 0 !important;
}

#bbpress-forums .bbp-reply-entry p {
  margin: 0 0 10px !important;
}

#bbpress-forums .bbp-reply-entry p:last-child {
  margin-bottom: 0 !important;
}

/* Meta row sits at its natural position — top of the content column, aligned
   right (Reply button + admin links + #num). */
#bbpress-forums .bbp-reply-header {
  background: transparent !important;
  border: none !important;
  padding: 0 0 12px !important;
  margin: 0 0 12px !important;
  border-bottom: 1px solid #eef2f5 !important;
  font-size: 12px !important;
}

#bbpress-forums .bbp-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 14px !important;
  color: #8a9aa6 !important;
  font-size: 12px !important;
}

/* Permalink (#258088) at the far right, muted. */
#bbpress-forums .bbp-reply-permalink {
  order: 3 !important;
  color: #b8c4cd !important;
  text-decoration: none !important;
  font-size: 12px !important;
}

#bbpress-forums .bbp-reply-permalink:hover {
  color: #1a8fb8 !important;
}

/* Admin links cluster — small and muted; moderation links don't shout. */
#bbpress-forums .bbp-admin-links {
  order: 2 !important;
  font-size: 11px !important;
  color: #d6dee4 !important;
}

#bbpress-forums .bbp-admin-links a {
  color: #b8c4cd !important;
  text-decoration: none !important;
}

#bbpress-forums .bbp-admin-links a:hover {
  color: #1a8fb8 !important;
}

#bbpress-forums .bbp-admin-links .admin_links_sep:last-child {
  display: none !important;
}

/* The Reply link styled as the outlined activity-feed button
   (matches .cgca-bbp-reply-btn): teal outlined pill that fills on hover. */
#bbpress-forums .bbp-admin-links a.bbp-reply-to-link,
#bbpress-forums .bbp-admin-links a.bbp-topic-reply-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #1a8fb8 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  text-decoration: none !important;
  padding: 6px 14px !important;
  border: 1px solid #d9e3eb !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  line-height: 1 !important;
  transition: all 0.2s ease !important;
}

#bbpress-forums .bbp-admin-links a.bbp-reply-to-link:hover,
#bbpress-forums .bbp-admin-links a.bbp-topic-reply-link:hover {
  color: #ffffff !important;
  background: #1a8fb8 !important;
  border-color: #1a8fb8 !important;
}

/* Remove the little speech-bubble arrow — not needed in the card layout. */
#bbpress-forums .bbp-arrow {
  display: none !important;
}

/* ---- Breadcrumb / toolbar above the posts ---- */
#bbpress-forums .bbp-breadcrumb {
  font-size: 13px !important;
  color: #8a9aa6 !important;
  margin-bottom: 16px !important;
}

#bbpress-forums .bbp-breadcrumb a {
  color: #1a8fb8 !important;
  text-decoration: none !important;
}

#bbpress-forums .bbp-breadcrumb a:hover {
  text-decoration: underline !important;
}

/* ---- Pagination count ---- */
#bbpress-forums .bbp-pagination-count {
  font-size: 13px !important;
  color: #8a9aa6 !important;
  border: none !important;
  background: transparent !important;
}

/* ---- Reply form ---- */
#bbpress-forums .bbp-reply-form {
  background: #ffffff !important;
  border: 1px solid #e3eaf0 !important;
  border-radius: 12px !important;
  padding: 22px 24px !important;
  margin-top: 20px !important;
}

#bbpress-forums .bbp-reply-form fieldset {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#bbpress-forums .bbp-reply-form legend {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #0d2438 !important;
  margin-bottom: 14px !important;
}

#bbpress-forums .bbp-the-content,
#bbpress-forums textarea.bbp-the-content {
  border: 1px solid #d9e3eb !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  font-family: inherit !important;
  font-size: 15px !important;
}

#bbpress-forums .bbp-reply-form button.submit,
#bbpress-forums #bbp_reply_submit {
  background: #1a8fb8 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 12px 28px !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
}

#bbpress-forums .bbp-reply-form button.submit:hover,
#bbpress-forums #bbp_reply_submit:hover {
  background: #146a89 !important;
}

/* ---- Mobile: stack author above content ---- */
@media (max-width: 600px) {
  #bbpress-forums li.bbp-body > div[class*="loop-item-"] {
    flex-direction: column !important;
    gap: 12px !important;
    padding: 16px !important;
  }

  /* Mobile author block: keep the vertical centred stack (avatar, name, role,
     date) but full-width and compact. This matches the desktop structure and
     avoids the misalignment that came from forcing a horizontal row, since in
     bbPress the avatar+name sit inside one link while role and date are
     separate siblings. */
  #bbpress-forums .bbp-reply-author {
    flex-direction: column !important;
    width: 100% !important;
    flex-basis: auto !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0 !important;
    padding-bottom: 14px !important;
    margin-bottom: 14px !important;
    border-bottom: 1px solid #eef2f5 !important;
  }

  #bbpress-forums .bbp-reply-author .bbp-author-avatar img,
  #bbpress-forums .bbp-reply-author img.avatar {
    width: 56px !important;
    height: 56px !important;
    margin: 0 auto 8px !important;
  }

  #bbpress-forums .bbp-author-name {
    margin: 0 0 6px !important;
    text-align: center !important;
  }

  #bbpress-forums .bbp-reply-author .bbp-reply-post-date {
    justify-content: center !important;
    margin: 6px 0 0 !important;
  }

  /* Content sits below the author block, hugging the top. */
  #bbpress-forums .bbp-reply-content {
    padding-top: 0 !important;
  }

  #bbpress-forums .bbp-reply-header {
    margin-top: 10px !important;
    padding-top: 10px !important;
    border-top: 1px solid #eef2f5 !important;
  }
}


/* =============================================================================
   11. FORUM — TOPIC LIST (forum index: list of topics within a forum)
   Styles the bbPress topics-loop into clean cards matching the single-topic
   reply cards. Different markup from the reply loop:

     #bbpress-forums
       ul.bbp-topics
         li.bbp-header                       column labels (Topic/Voices/...)
         li.bbp-body
           ul.topic.loop-item-N
             li.bbp-topic-title
               .bbp-topic-permalink          the topic link
               .bbp-topic-meta               "Started by: <author>"
             li.bbp-topic-voice-count
             li.bbp-topic-reply-count
             li.bbp-topic-freshness          "x days ago" + last poster
   ============================================================================= */

/* Hide the column-header row — the cards are self-explanatory. */
#bbpress-forums ul.bbp-topics > li.bbp-header {
  display: none !important;
}

#bbpress-forums ul.bbp-topics {
  border: none !important;
  background: transparent !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
}

#bbpress-forums ul.bbp-topics > li.bbp-body {
  border: none !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Each topic row → a card. */
#bbpress-forums ul.bbp-topics li.bbp-body ul.topic {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  background: #ffffff !important;
  border: 1px solid #e3eaf0 !important;
  border-radius: 12px !important;
  padding: 16px 22px !important;
  margin: 0 0 12px !important;
  box-shadow: 0 1px 2px rgba(13, 36, 56, 0.04) !important;
  list-style: none !important;
}

#bbpress-forums ul.bbp-topics li.bbp-body ul.topic:last-child {
  margin-bottom: 0 !important;
}

/* Pinned / sticky topics: pale-blue tint (in line with #1f9ab6) so they stand
   apart from normal topics while keeping text high-contrast. bbPress adds
   .sticky / .super-sticky to the topic row. */
#bbpress-forums ul.bbp-topics li.bbp-body ul.topic.sticky,
#bbpress-forums ul.bbp-topics li.bbp-body ul.topic.super-sticky {
  background: #eaf4f8 !important;
  border-color: #cfe5ee !important;
}

/* Title column takes the available space. */
#bbpress-forums li.bbp-topic-title {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  text-align: left !important;
}

#bbpress-forums li.bbp-topic-title .bbp-topic-permalink {
  display: inline-block !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #1a8fb8 !important;
  text-decoration: none !important;
  line-height: 1.35 !important;
  margin-bottom: 4px !important;
}

#bbpress-forums li.bbp-topic-title .bbp-topic-permalink:hover {
  color: #146a89 !important;
  text-decoration: underline !important;
}

/* "Started by: Name" line — small and muted, with the avatar inline. */
#bbpress-forums li.bbp-topic-title .bbp-topic-meta {
  font-size: 12px !important;
  color: #8a9aa6 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
}

#bbpress-forums li.bbp-topic-title .bbp-topic-meta .bbp-author-avatar img,
#bbpress-forums li.bbp-topic-title .bbp-topic-meta img.avatar {
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  vertical-align: middle !important;
}

#bbpress-forums li.bbp-topic-title .bbp-topic-meta a {
  color: #6b7c8a !important;
  text-decoration: none !important;
}

/* Voices / Posts count columns — compact, centred, muted. */
#bbpress-forums li.bbp-topic-voice-count,
#bbpress-forums li.bbp-topic-reply-count {
  flex: 0 0 64px !important;
  width: 64px !important;
  text-align: center !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #33424f !important;
}

/* Add a tiny label under each count so they're meaningful without the header. */
#bbpress-forums li.bbp-topic-voice-count::after {
  content: "voices" !important;
  display: block !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: #b8c4cd !important;
  margin-top: 2px !important;
}

#bbpress-forums li.bbp-topic-reply-count::after {
  content: "posts" !important;
  display: block !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: #b8c4cd !important;
  margin-top: 2px !important;
}

/* Last Post / freshness column. */
#bbpress-forums li.bbp-topic-freshness {
  flex: 0 0 160px !important;
  width: 160px !important;
  text-align: center !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  font-size: 12px !important;
  color: #8a9aa6 !important;
}

#bbpress-forums li.bbp-topic-freshness a {
  color: #1a8fb8 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}

#bbpress-forums li.bbp-topic-freshness a:hover {
  text-decoration: underline !important;
}

#bbpress-forums li.bbp-topic-freshness .bbp-author-avatar img,
#bbpress-forums li.bbp-topic-freshness img.avatar {
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  margin: 6px auto 2px !important;
  display: block !important;
}

/* Topic-list pagination count. */
#bbpress-forums .bbp-topics .bbp-pagination-count,
#bbpress-forums .bbp-pagination-count {
  font-size: 13px !important;
  color: #8a9aa6 !important;
}

/* ---- Topic-list mobile: stacked cards, left-aligned, compact ---- */
@media (max-width: 600px) {
  #bbpress-forums ul.bbp-topics li.bbp-body ul.topic {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 14px 16px !important;
  }

  /* Title column: full-width, left-aligned. */
  #bbpress-forums li.bbp-topic-title {
    width: 100% !important;
    flex-basis: auto !important;
    text-align: left !important;
  }

  #bbpress-forums li.bbp-topic-title .bbp-topic-permalink {
    font-size: 15px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  #bbpress-forums li.bbp-topic-title .bbp-topic-meta {
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  /* Voices/Posts: low-value on mobile — hide to keep cards compact. */
  #bbpress-forums li.bbp-topic-voice-count,
  #bbpress-forums li.bbp-topic-reply-count {
    display: none !important;
  }

  /* Last-post column: becomes a vertical stack below the title. The timestamp
     sits on its own line (block) and the avatar + author name align left
     below it, instead of trying to flow inline (which wrapped awkwardly with
     the avatar floating between the timestamp and the name). */
  #bbpress-forums li.bbp-topic-freshness {
    width: 100% !important;
    flex-basis: auto !important;
    text-align: left !important;
    padding-top: 10px !important;
    margin-top: 2px !important;
    border-top: 1px solid #eef2f5 !important;
    display: block !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  /* The "21 hours ago" link — full-width block on its own line. */
  #bbpress-forums li.bbp-topic-freshness > a,
  #bbpress-forums li.bbp-topic-freshness .bbp-topic-freshness-link {
    display: block !important;
    margin: 0 0 6px !important;
    font-weight: 600 !important;
  }

  /* The author block (avatar + name) — flex row, left-aligned, below the
     timestamp. bbPress wraps this in either <p class="bbp-topic-meta"> or
     a freshness-author span, so we target both. */
  #bbpress-forums li.bbp-topic-freshness > p,
  #bbpress-forums li.bbp-topic-freshness .bbp-topic-meta,
  #bbpress-forums li.bbp-topic-freshness .bbp-topic-freshness-author {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  /* Avatar in the freshness column: small, inline (not block), no auto margin. */
  #bbpress-forums li.bbp-topic-freshness .bbp-author-avatar img,
  #bbpress-forums li.bbp-topic-freshness img.avatar {
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
  }

  #bbpress-forums li.bbp-topic-freshness a {
    font-weight: 600 !important;
  }

  /* The "Started by:" label + avatar in the title's meta line — keep tight. */
  #bbpress-forums li.bbp-topic-title .bbp-topic-meta .bbp-author-avatar img,
  #bbpress-forums li.bbp-topic-title .bbp-topic-meta img.avatar {
    width: 18px !important;
    height: 18px !important;
  }
}


/* GeneratePress/default-bbPress markup compatibility and readable contrast. */
#bbpress-forums{font-family:inherit}#bbpress-forums .bbp-reply-author img.avatar{position:static;max-width:64px}#bbpress-forums .bbp-reply-author{min-height:0;margin:0!important}#bbpress-forums .bbp-reply-header .bbp-meta{flex-wrap:wrap}#bbpress-forums .bbp-reply-entry{overflow-wrap:anywhere}#bbpress-forums .bbp-reply-entry iframe,#bbpress-forums .bbp-reply-entry video{max-width:100%;aspect-ratio:16/9;height:auto}#bbpress-forums .bbp-admin-links a,#bbpress-forums .bbp-reply-permalink{color:#647986!important}#bbpress-forums .bbp-pagination-count,#bbpress-forums .bbp-reply-post-date,#bbpress-forums .bbp-topic-meta{color:#637986!important}#bbpress-forums ul.bbp-topics>.bbp-footer{display:none}#bbpress-forums li.bbp-topic-title{width:auto}#bbpress-forums li.bbp-topic-freshness{float:none}#bbpress-forums a:focus-visible{outline:3px solid #1f9ab6;outline-offset:3px}
#bbpress-forums .bbp-template-notice .bbp-author-name{display:inline!important;margin:0!important}#bbpress-forums .bbp-template-notice .bbp-author-avatar img{display:inline!important;vertical-align:middle}#bbpress-forums .bbp-reply-author .bbp-author-avatar img{position:static!important;float:none!important}
#bbpress-forums .cgca-pj-header{clear:both;font-family:inherit}#bbpress-forums .cgca-pj-header-top{width:100%}
