/* 图书列表部分 */
.book-list {
    margin-top: 30px;
}

.book-row {
    display: flex;
    /*justify-content: space-between;*/
    /*margin-bottom: 37px;*/
    flex-wrap: wrap;
    gap: 37px;
}

.book-item {
    text-decoration: none;
    color: #333;
    margin-bottom: 24px;
}

.book-cover {
    border: 1px solid rgba(72, 192, 163, 0.5);
    padding: 10px;
    margin-bottom: 16px;
    height: 352px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.book-cover img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.book-title {
    font-size: 16px;
    line-height: 20px;
    text-align: left;
    margin: 0;
}

/* 计算每个图书项的宽度，考虑4列和间距 */
.book-item {
    width: calc((100% - 111px) / 4); /* 100% - (3个间距×37px) 再除以4 */
}
/*wap样式*/
@media screen and (max-width: 750px) {

    .book-banner,.show-bread-info,.header-title,.video-date{
        display: none;
    }
    .book-row {
        gap: 16px;
    }
    .book-list{
        margin-top: 0;
    }
    .book-item{
        width: calc((100% - 16px) / 2);
        margin-bottom: 16px;
    }
    .book-cover{
        aspect-ratio: 163 / 226;
        height: auto;
        padding:8px
    }
    .book-title{
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
