/* Librarian's Choice - frontend/home/section_librarians_choice.blade.php */

.text-truncate-1 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.book-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 2/3;
    overflow: hidden;
    border-radius: 8px;
}

.book-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* หัวข้อ section (<h2>): ภาษาไทยเป็นกราฟิก .img-header ขนาดเดียวกับหัวข้อ section อื่น / ภาษาอื่นเป็นข้อความ */
.lib-title {
    margin: 0;
    line-height: 1;
}

.lib-title-text {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--bs-primary-900);
}
