.book-section {
    padding-bottom: 40px;
}

.book-section-main {
    position: relative;
}

/* book tabs */
.book-section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin: 42px 0;
}

.book-section .nav-tabs {
    padding: 30px 0 28px;
    gap: 16px;
}

.book-section-tab-line {
    width: 2px;
    height: 28px;
    background-image: linear-gradient(to bottom, #11703A, #2BA650, #5BA33F);
    transform: rotate(25deg);
    opacity: .45;
}

.book-section .nav-link {
    opacity: .6;
    isolation: auto !important;
    padding-left: 0;
    padding-right: 0;
}

    .book-section .nav-link.active {
        opacity: 1;
    }

.nav-tab-book-marker {
    background-color: var(--primary-color);
    max-width: 100px;
    height: 3px;
    position: absolute;
    bottom: 24px;
    right: 0;
    transition: right 0.4s ease;
}

.book-section .swiper-pagination {
    width: fit-content;
    height: fit-content;
    position: absolute;
    left: auto;
    right: 0;
    top: 0;
    margin-top: 48px;
}

.book-section .swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    background: #9FA2A3;
    opacity: 1;
    transition: width 0.3s ease;
    border-radius: 20px;
    padding: 4px;
}

    .book-section .swiper-pagination-bullet:hover {
        width: 32px;
        background: var(--gradient-search-active);
    }

    .book-section .swiper-pagination-bullet.swiper-pagination-bullet-active {
        width: 80px;
        background: var(--gradient-search-active);
    }

/* book tabs content */
.slide-new-book {
    padding: 20px 8px;
    position: relative;
}

.slide-top-book {
    padding: 20px 24px;
}

.book-slide-item {
    position: relative;
    width: 100%;
    aspect-ratio: 8 / 12;
    -webkit-transform: preserve-3d;
    -ms-transform: preserve-3d;
    transform: preserve-3d;
    -webkit-perspective: 2000px;
    perspective: 2000px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #000;
    box-shadow: -4px 4px 6px 2px rgba(0,0,0,.2);
    border-radius: 10px;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
    background-color: transparent;
    user-select: none;
}

.book-section-slide-item-bg {
    position: absolute;
    transform: rotate(10deg);
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    border-radius: 10px;
    overflow: hidden;
    opacity: .3;
}

    .book-section-slide-item-bg::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(87, 82, 78, .8);
    }

.book-section-slide-item-cover {
    top: 0;
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-transform-origin: 0;
    -ms-transform-origin: 0;
    transform-origin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

    .book-section-slide-item-bg img,
    .book-section-slide-item-cover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
    }

.book-slide-item-info {
    position: relative;
    display: block;
    z-index: 1;
    background-color: #fff !important;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    padding: 12px 12px 12px 32px;
    background: url(../../../img/publishImg/cms_ftu_library_blur.png) no-repeat bottom center;
    background-size: 65%;
    background-position: 62% calc(100% - 24px);
}

.book-slide-item-info-title {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.book-slide-item-info-sub {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 6px;
    line-height: 1.4;
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

    .book-slide-item-info-sub span {
        font-weight: 700;
    }

.book-slide-item:hover .book-section-slide-item-cover {
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-transform: rotatey(-82deg);
    -ms-transform: rotatey(-82deg);
    transform: rotatey(-82deg);
}

.slide-new-book-item-title,
.slide-new-book-item-publisher {
    position: absolute;
    right: 10%;
    width: 90%;
    text-align: center;
}
.slide-new-book-item-title {
    color: #fddfde;
    top: 8%;
    font-weight: 600;
    transform: rotate3d(1, 0, 0, 5deg) rotate3d(0, 1, 0, -30deg);
    line-height: 1.5;
}
.slide-new-book-item-publisher {
    font-size: 11px;
    bottom: 6%;
    font-weight: 300;
    color: #fabcbb;
    transform: rotate3d(1, 0, 0, -9deg) rotate3d(0, 1, 0, -30deg);
    margin-bottom: 0;
}

@media (max-width: 1200px) {
    .book-section .swiper-pagination {
        width: 100px;
        height: 12px;
        border-radius: 100px;
        overflow: hidden;
        margin-bottom: 4px;
        margin-top: 52px;
    }

    .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
        background: var(--gradient-search-active);
    }
}

@media (max-width: 992px) {
    .slide-new-book {
        padding-left: 16px;
        padding-right: 16px;
    }

    .book-slide-item-info {
        padding: 12px 8px 12px 24px;
    }

    .book-slide-item-info-title {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .book-slide-item-info-sub {
        font-size: 10px;
        margin-bottom: 4px;
    }

        .book-slide-item-info-sub:last-child {
            -webkit-line-clamp: 2;
        }

    .book-section .tab-pane {
        position: relative;
    }

    .book-section .swiper-pagination {
        margin: 0;
        height: 6px;
        top: -6px;
    }
}

@media (max-width: 768px) {
    .slide-new-book-item-title {
        font-size: 13px;
    }
    .slide-new-book-item-publisher {
        font-size: 9px;
    }
}

@media (max-width: 500px) {
    .slide-new-book-item-title {
        font-size: 10px;
    }
    .slide-new-book-item-publisher {
        font-size: 6px;
    }
}

@media (max-width: 410px) {
    .slide-new-book-item-title {
        font-size: 8px;
    }
}
