.rbr-kb-list { margin-top: 1em; }
.rbr-kb-title { margin: 0 0 0.2em 0; }
.rbr-kb-thumb img { border-radius: 5px; }
.rbr-kb-search { margin-bottom: 1em; }
.rbr-kb-filters { margin-bottom: 1em; }
.rbr-kb-content {
    transition: max-height 0.3s ease;
    overflow: hidden;
}
.rbr-kb-content-truncated { /* New class for truncation */
    -webkit-line-clamp: 5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 7.5em; /* Approx 5 lines */
}
.rbr-kb-link {
    color: #0073aa;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
}
.rbr-kb-link:hover, .rbr-kb-link:focus {
    color: #005177;
    text-decoration: underline;
}
.rbr-kb-readmore { /* Styling for the Read More button */
    background: none;
    color: #0073aa;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s;
}
.rbr-kb-readmore:hover, .rbr-kb-readmore:focus {
    color: #005177;
}
.rbr-kb-meta small { /* Styling for author/date */
    font-size: 13px; /* Default, overridden by setting if set */
}

/* Styles for the back button */
.rbr-kb-back-button {
    display: inline-block;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.rbr-kb-back-button:hover {
    opacity: 0.9;
    text-decoration: none;
}

/* Removed background-color from #primary.content-area, as it will be set by the new setting */
#primary.content-area {
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 5px;
}
