/* Brand styling for the bbPress community forum. Default bbPress styling
   was small (11-12px in most places vs. the site's 14-16px body scale),
   cramped, and used its own gray/blue palette instead of CCRLIS brand
   colors -- this pass also adds breathing room and clearer clickable-vs-
   informational cues, and matches the navy breadcrumb bar already used on
   LearnDash course pages so the two areas feel like one site.

   bbPress's own CSS scopes everything under the #bbpress-forums ID and
   uses !important in places, so overrides need matching specificity plus
   !important on color/background properties to reliably win. */

/* Breadcrumb -- styled as a navy bar to match the LearnDash course
   breadcrumb, for a consistent feel between the course and the forum. */
#bbpress-forums .bbp-breadcrumb {
    background: #103c66 !important;
    padding: 12px 20px !important;
    border-radius: 4px;
    font-size: 15px !important;
}
#bbpress-forums .bbp-breadcrumb a {
    color: #c0dab4 !important;
}
#bbpress-forums .bbp-breadcrumb .bbp-breadcrumb-current {
    color: #fff !important;
    font-weight: 600;
}
#bbpress-forums .bbp-breadcrumb .bbp-breadcrumb-sep {
    color: #95c7eb !important; /* brand light-blue -- visible against the navy bar, distinct from the mint links */
    padding: 0 4px;
}

/* Forum / topic / reply list header row */
#bbpress-forums li.bbp-header {
    background-color: #103c66 !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600;
    padding: 14px 20px !important;
}
#bbpress-forums li.bbp-header a {
    color: #fff !important;
}

/* List rows -- more breathing room, clearer zebra striping */
#bbpress-forums li.bbp-body ul.forum,
#bbpress-forums li.bbp-body ul.topic,
#bbpress-forums li.bbp-body ul.reply {
    font-size: 15px;
    padding-top: 6px;
    padding-bottom: 6px;
}
#bbpress-forums li.bbp-body .odd {
    background-color: #f4f8f6; /* faint mint tint, distinct from the white "even" rows */
}
#bbpress-forums li.bbp-forum-info,
#bbpress-forums li.bbp-topic-title,
#bbpress-forums li.bbp-forum-topic-count,
#bbpress-forums li.bbp-forum-reply-count,
#bbpress-forums li.bbp-forum-freshness,
#bbpress-forums li.bbp-topic-voice-count,
#bbpress-forums li.bbp-topic-reply-count,
#bbpress-forums li.bbp-topic-freshness {
    padding: 16px 20px !important;
}

/* Title links -- the primary clickable element in every row, made to
   stand out clearly against the surrounding informational text. */
#bbpress-forums a.bbp-forum-title,
#bbpress-forums a.bbp-topic-permalink {
    color: #103c66 !important;
    font-weight: 700 !important;
    font-size: 17px;
}
#bbpress-forums a.bbp-forum-title:hover,
#bbpress-forums a.bbp-topic-permalink:hover {
    color: #4a90c4 !important; /* darker than the brand light-blue, stays readable on white */
    text-decoration: underline;
}

/* Secondary/informational text (descriptions, "Started by...", byline,
   counts) -- deliberately muted and lighter-weight so it reads as
   supporting info, not another clickable target, next to the bold titles
   above. */
#bbpress-forums .bbp-forum-content,
#bbpress-forums .bbp-topic-meta,
#bbpress-forums li.bbp-body li.bbp-forum-topic-count,
#bbpress-forums li.bbp-body li.bbp-forum-reply-count,
#bbpress-forums li.bbp-body li.bbp-topic-voice-count,
#bbpress-forums li.bbp-body li.bbp-topic-reply-count {
    color: #5a5a5a;
    font-weight: 400;
}
#bbpress-forums .bbp-topic-freshness-author,
#bbpress-forums .bbp-forum-freshness-author {
    color: #103c66 !important;
    font-weight: 600;
}

/* "Associated Courses and Groups" tag links (LearnDash-bbPress
   integration output, no class of its own to hook) */
#bbpress-forums li.bbp-forum-info a:not(.bbp-forum-title) {
    color: #4a90c4;
}

/* Pagination -- brand pill links, matching the rounded nav buttons used
   elsewhere on the course pages. */
#bbpress-forums .bbp-pagination-links a,
#bbpress-forums .bbp-pagination-links span.current {
    display: inline-block;
    padding: 8px 16px;
    margin-right: 4px;
    border-radius: 4px;
    background-color: #103c66;
    color: #fff !important;
    font-weight: 600;
}
#bbpress-forums .bbp-pagination-links span.current {
    background-color: #95c7eb;
    color: #103c66 !important;
}
#bbpress-forums .bbp-pagination-links a:hover {
    background-color: #4a90c4;
}

/* Notice boxes */
#bbpress-forums div.bbp-template-notice,
#bbpress-forums div.bbp-template-notice p,
#bbpress-forums div.bbp-template-notice li {
    font-size: 15px !important;
}
#bbpress-forums div.bbp-template-notice {
    padding: 16px 20px !important;
}
#bbpress-forums div.bbp-template-notice.info {
    background-color: #eaf4fb !important;
    border-color: #95c7eb !important;
    color: #103c66 !important;
}
#bbpress-forums div.bbp-template-notice.important {
    background-color: #fdf6e3 !important;
    border-color: #dba617 !important;
    color: #6b5410 !important;
}

/* Single topic/reply thread view */
#bbpress-forums .bbp-reply-header,
#bbpress-forums .bbp-reply-content,
#bbpress-forums .bbp-reply-author {
    padding: 16px 20px;
}
#bbpress-forums .bbp-reply-header {
    background-color: #f4f8f6;
    font-size: 14px;
    color: #5a5a5a;
}
#bbpress-forums a.bbp-reply-permalink {
    color: #103c66 !important;
    font-weight: 600;
}
#bbpress-forums .bbp-topic-content,
#bbpress-forums .bbp-reply-content {
    font-size: 16px;
    line-height: 1.6;
}

/* Forms -- more breathing room around fields, consistent with the site's
   own generously-spaced form styling. */
#bbpress-forums fieldset.bbp-form {
    margin-bottom: 20px;
}
#bbpress-forums label {
    font-weight: 600;
    color: #103c66;
}

/* Hide the (empty, irrelevant) Genesis post-date meta line on all
   bbPress pages, same treatment as the LearnDash pages. */
.bbpress .content .entry-header .entry-meta {
    display: none;
}
