/* Theme Supports */

.bclib-container{
    color: #000;
}
.book-catalogue-library-single-page #content .ast-container,
.book-catalogue-library-archive-page #content .ast-container,
.book-catalogue-library-author-tax-page #content .ast-container,
.book-catalogue-library-category-tax-page #content .ast-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.book-catalogue-library-single-page .site-content {
    display: block !important;
}

.bclib-book-loop-content-wrapper a {
    text-decoration: none !important;
}

/* Plugin Design Css Start From Here */
.bclib-archive-pages-wrapper {
    background: #fff;
    padding: 30px 0 30px 0;
    width: 100%;
}

.masonaryactive {
    position: relative;
    display: block;
    overflow: visible !important;
    min-height: auto;
}

body.bclib-book-showcase-page .bclib-books-showcase-book-loop-container img {
    max-width: 100% !important;
    height: auto;
}

.bclib-bclib_author-container-inner {
    background: #fff;
    padding: 30px;
}

.bclib-bclib_category-container-inner {
    background: #fff;
    padding: 30px;
}

.bclib-book-single-wrapper {
    margin-top: 30px;
    margin-bottom: 30px;
    width: 100%;
}

.book-single-column.book-col-have-margin {
    margin-bottom: 30px;
}

.book-single-column.book-col-have-margin .book-grid-layout {
    margin-bottom: 0;
    height: 100%;
}

.bclib-book-single-wrapper img {
    max-width: 100%;
    max-height: max-content;
    height: auto;
}

.book-catalogue-library-archive-page .book-content-column,
.book-catalogue-library-author-tax-page .book-content-column,
.book-catalogue-library-category-tax-page .book-content-column {
    margin-bottom: 30px;
}

.bclib-book-container {
    border: 1px solid #f1f1f1;
    margin-bottom: 30px;
}

.align-self-stretch .bclib-book-container {
    background: #fff;
}

.bclib-books-showcase-book-loop-container {
    margin-top: 40px;
}

article.page .bclib-books-showcase-book-loop-container,
article.post .bclib-books-showcase-book-loop-container {
    margin-top: 0;
}

.bclib-book-loop-content-wrapper {
    background: #ffff;
    padding: 15px;
}

.editor-styles-wrapper .bclib-book-loop-content-wrapper a {
    pointer-events: none !important;
    cursor: default !important;
    text-decoration: none !important;
}

body.single-post.right-sidebar .book-grid-layout h2.book-title,
body.single-post.left-sidebar .book-grid-layout h2.book-title,
body.single-post.both-sidebar .book-grid-layout h2.book-title {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 0;
    padding: 0;
}

body.single-post.right-sidebar .book-grid-layout h2.book-title a body.single-post.left-sidebar .book-grid-layout h2.book-title a,
body.single-post.both-sidebar .book-grid-layout h2.book-title a {
    display: block;
    color: #000;
}

.bclib-book-loop-content-wrapper .book-title,
.editor-styles-wrapper .bclib-book-loop-content-wrapper .book-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 0;
    text-align: center;
    line-height: 32px;
}

.bclib-book-loop-content-wrapper .book-title a {
    color: #000;
    font-weight: 600;
}

.editor-styles-wrapper .bclib-book-loop-content-wrapper .book-title a {
    color: #000;
}

.bclib-book-loop-content-wrapper .book-title a,
.bclib-book-loop-content-wrapper .bclib_author a {
    transition: .4s;
}

.bclib-book-loop-content-wrapper .bclib_author a {
    color: #444;
}

.editor-styles-wrapper .bclib-book-loop-content-wrapper .bclib_author a {
    color: #444;
}

.bclib-book-loop-content-wrapper .book-title a:hover,
.bclib-book-loop-content-wrapper .bclib_author a:hover {
    color: #3eb059;
}

.bclib-book-loop-content-wrapper .bclib_author {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
    margin-top: 0;
    text-align: center;
    margin-bottom: 10px;
}

.book-content-column .book-content-wraper {
    text-align: center;
    background: #fff;
    padding: 20px;
    border: 1px solid #f1f1f1;
}

.bclib-book-loop-content-wrapper .book-buy-btn a.bclib-book-buy-now-button {
    background: #39b152;
    color: #fff;
    text-transform: capitalize;
    border: none;
    font-weight: 400;
    font-size: 15px;
    align-self: center;
}

.bclib-book-loop-content-wrapper .book-buy-btn a.bclib-book-buy-now-button:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.bclib-book-loop-content-wrapper .bclib_author strong {
    font-weight: 700;
    color: #444;
}

.bclib-book-loop-content-wrapper a {
    text-decoration: none;
}

.bclib-book-loop-image {
    margin-bottom: 0;
}

.bclib-book-loop-image img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

.bclib-book-container.book-list-layout.thumbnail-position-right .bclib-book-loop-image img,
.bclib-book-container.book-list-layout.thumbnail-position-left .bclib-book-loop-image img {
    margin: 0 0;
    height: auto;
}

.bclib-book-container.book-list-layout.thumbnail-position-right .bclib-book-loop-image {
    display: flex;
    justify-content: end;
}

.bclib-book-container.book-list-layout.thumbnail-position-left .bclib-book-loop-image {
    display: flex;
    justify-content: flex-start;
}

@media (max-width: 767px) {
    .bclib-book-container.book-list-layout.thumbnail-position-left .bclib-book-loop-image {
        margin-bottom: 20px;
    }
}

.bclib-book-loop-content-wrapper a:hover,
.bclib-book-loop-content-wrapper a:focus {
    text-decoration: underline;
}

.bclib-book-loop-content-wrapper .book-title a:hover,
.bclib-book-loop-content-wrapper .book-title a:focus,
.bclib-book-loop-content-wrapper .bclib_author a:hover,
.bclib-book-loop-content-wrapper .bclib_author a:focus {
    text-decoration: none !important;
}

.bclib-book-loop-content-wrapper .book-price .regular-price {
    margin-right: 10px;
}

.bclib-book-slider .bclib-book-loop-content-wrapper .book-price .regular-price {
    margin-right: 0;
}

.bclib-book-loop-content-wrapper .book-price .regular-price.previous-price strong {
    font-weight: 400;
    text-decoration: line-through;
}

.bclib-book-loop-content-wrapper .book-price {
    justify-content: center;
    margin-bottom: 10px;
    font-size: 20px;
}

.book-gallery-list-layout-1-col .book-list-layout {
    background: #fff;
    padding: 30px;
}

.book-gallery-list-layout-2-col .book-list-layout {
    background: #fff;
    padding: 15px;
}

.book-gallery-list-layout-3-col .book-list-layout {
    background: #fff;
    padding: 10px;
}

.book-gallery-list-layout-1-col .book-list-layout .book-title {
    font-size: 36px;
    line-height: 46px;
}

.book-gallery-list-layout-3-col .book-list-layout .book-title {
    font-size: 18px;
    line-height: 28px;
}

.book-gallery-list-layout-1-col .book-list-layout .bclib_author {
    font-size: 24px;
}

.book-gallery-list-layout-1-col .book-list-layout .msl-text {
    margin-top: 0;
}

.book-gallery-list-layout-1-col .book-list-layout .book-also-available-websites-wrapper {
    margin-top: 0;
}

.book-gallery-list-layout-3-col .book-list-layout .bclib_author {
    font-size: 15px;
}

.book-gallery-list-layout-1-col .book-list-layout .book-price {
    font-size: 36px;
}

.book-gallery-list-layout-1-col .book-list-layout .book-desc {
    font-size: 18px;
    margin-bottom: 20px;
}

.book-gallery-list-layout-3-col .book-list-layout .book-buy-btn a {
    font-size: 14px;
    padding: 10px 20px;
    line-height: normal;
}

.book-gallery-list-layout-3-col .book-single-column {
    padding-right: 10px !important;
    padding-left: 10px !important;
}

.book-gallery-list-layout-3-col .book-single-column .bclib-book-container {
    margin-bottom: 20px;
}

.book-gallery-list-layout-3-col .book-list-layout .book-desc {
    font-size: 14px;
}

.book-gallery-list-layout-2-col .bclib-book-loop-content-wrapper {
    padding: 0;
}

.book-gallery-list-layout-3-col .bclib-book-loop-content-wrapper {
    padding: 0;
    background: transparent;
}

.book-gallery-list-layout-1-col .bclib-book-loop-content-wrapper .book-multiple-sales-links {
    margin-top: 30px;
}

.book-gallery-list-layout-1-col .bclib-book-loop-content-wrapper {
    padding-bottom: 0;
    padding-top: 0;
    padding-right: 0;
}

.book-gallery-list-layout-1-col .bclib-book-loop-content-wrapper .msl-title-wrapper {
    margin-bottom: 15px;
}

@media (max-width: 1200px) {
    .book-gallery-list-layout-1-col .book-list-layout .book-title {
        font-size: 36px;
        line-height: 46px;
    }

    .book-gallery-list-layout-1-col .book-list-layout .bclib_author {
        font-size: 26px;
    }

    .book-gallery-list-layout-1-col .book-list-layout .book-price {
        font-size: 30px;
    }

    .book-gallery-list-layout-1-col .book-list-layout .book-desc {
        font-size: 18px;
    }

    .book-gallery-list-layout-1-col .bclib-book-loop-content-wrapper {
        padding: 0;
    }
}

@media (max-width: 991px) {
    .book-gallery-list-layout-1-col .book-list-layout .book-title {
        font-size: 32px !important;
        line-height: 46px !important;
    }

    .book-gallery-list-layout-1-col .book-list-layout .bclib_author {
        font-size: 24px !important;
    }

    .book-gallery-list-layout-1-col .book-list-layout .book-price {
        font-size: 30px !important;
    }

    .book-gallery-list-layout-1-col .book-list-layout .book-desc {
        font-size: 18px !important;
    }

    .book-gallery-list-layout-1-col .bclib-book-loop-content-wrapper {
        padding: 0;
    }
}

@media (max-width: 767px) {
    .book-gallery-list-layout-1-col .book-list-layout .book-title {
        font-size: 26px !important;
        line-height: 36px !important;
    }

    .book-gallery-list-layout-1-col .book-list-layout .bclib_author {
        font-size: 20px !important;
    }

    .book-gallery-list-layout-1-col .book-list-layout .book-price {
        font-size: 26px !important;
    }

    .book-gallery-list-layout-1-col .book-list-layout .book-desc {
        font-size: 16px !important;
    }

    .book-gallery-list-layout-1-col .bclib-book-loop-content-wrapper {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
    }
}

.bclib-book-showcase-page-title {
    margin-bottom: 30px;
    padding: 15px 30px;
    background: #fff;
    border: 1px solid #f1f1f1;
    color: #000000;
}

.book-catalogue-library-single-page {
    background: #f1f1f1;
}

body.custom-background .bclib-book-showcase-page-title {
    background: #fff;
    border-radius: 5px;
    padding: 15px 30px;
}

.bclib-book-showcase-page-title h1 {
    font-size: 32px;
    font-weight: 700;
    padding-bottom: .2em;
    line-height: normal;
    margin-top: 0;
    color: #000;
}

.bclib-book-showcase-page-title p:last-child {
    margin-bottom: 0;
}

.bclib-book-showcase-page-title p {
    margin-top: 0;
}

.bclib-book-single-header-content-container {
    background: #ffffff;
    padding: 50px 0;
    margin-bottom: 2em;
    border: 1px solid #f1f1f1;
}

.bclib-book-single-header-content-container.others-pages {
    padding-top: 15px;
    padding-bottom: 15px;
}

.bclib-book-image-wrapper a {
    display: block;
}

.bclib-book-image-wrapper a img {
    display: block;
}

.bclib-book-image-wrapper img {
    max-width: 100%;
}

.bclib-book-single-header-content-container h1.book-name,
.bclib-book-single-header-content-container h2.book-name {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
    margin-top: 0;
    color: #000;
    line-height: 46px;
}

@media (max-width: 767px) {

    .bclib-book-single-header-content-container h1.book-name,
    .bclib-book-single-header-content-container h2.book-name {
        font-size: 26px;
        line-height: 36px;
    }
}

.bclib-book-single-header-content-container.others-pages h2.book-name {
    font-size: 28px;
    margin: 0 0 5px 0;
}

.bclib-book-single-header-content-container.others-pages h2.book-name a {
    color: #000;
    display: block;
}

.bclib-book-single-header-content-container.others-pages a {
    text-decoration: none;
}

.bclib-book-single-header-content-container h4.bclib_author {
    font-weight: 400;
    margin-bottom: 15px;
    margin-top: 0;
    color: #000;
}

.bclib-book-single-header-content-container h4.bclib_author br {
    display: none;
}

.mfp-image-holder .mfp-close:hover,
.mfp-iframe-holder .mfp-close:hover {
    background: transparent;
}

.bclib-book-single-header-content-container.others-pages h4.bclib_author {
    font-size: 16px;
}

.bclib-book-content-wrapper .book-ratings {
    margin-bottom: 15px;
    color: #3eb059;
}

.star-rating-inner {
    align-items: center;
    display: inline-flex;
    gap: 2px;
}

.star-rating-inner .bclib-rating-star {
    color: #22c55e;
    display: inline-block;
    font-family: inherit;
    font-size: 1em;
    font-style: normal;
    line-height: 1;
}

.star-rating-inner .bclib-rating-star--empty {
    color: #cbd5e1;
}

.star-rating-inner .bclib-rating-star--half {
    color: #22c55e;
    opacity: 0.72;
}

.bclib-book-content-wrapper .total-ratings {
    margin-left: 10px;
}

.bclib-book-single-header-content-container .book-ratings a.rating-link {
    color: #3eb059;
}

.bclib-book-single-header-content-container .book-ratings a.rating-link .total-ratings {
    margin-left: 6px;
    word-spacing: 1px;
    text-transform: capitalize;
}

.bclib-book-short-description p:last-child {
    margin-bottom: 0;
}

.bclib-book-short-description p:first-child {
    margin-top: 0px;
}

.bclib-book-single-header-content-container h4.bclib_author a {
    color: #444;
    text-decoration: none;
    transition: .4s;
}

.bclib-book-single-header-content-container h4.bclib_author a:hover {
    color: #3eb059;
}

.bclib-book-single-header-content-container .book-price {
    margin-bottom: 20px;
    align-items: center;
    font-size: 22px;
}

.bclib-book-single-header-content-container .book-price>strong {
    font-weight: 300;
}

.bclib-book-single-header-content-container .book-price .regular-price.previous-price {
    text-decoration: line-through;
    font-weight: 100;
    margin-right: 10px;
    font-size: 28px;
}

.bclib-book-single-header-content-container .book-price .sale-price {
    font-size: 25px;
}

.bclib-book-loop-content-wrapper.book-content-column.content-align-left * {
    text-align: left;
}

body.single-post .book-also-available-website-list a:hover {
    color: #fff;
}

.bclib-book-loop-content-wrapper.content-align-left .book-title,
.bclib-book-loop-content-wrapper.content-align-left .bclib_author,
.bclib-book-loop-content-wrapper.content-align-left .book-price,
.bclib-book-loop-content-wrapper.content-align-left .book-desc,
.bclib-book-loop-content-wrapper.content-align-left .bclib-book-buttons-wrapper {
    text-align: left;
    justify-content: flex-start;
}

.bclib-book-loop-content-wrapper.content-align-right .book-title,
.bclib-book-loop-content-wrapper.content-align-right .bclib_author,
.bclib-book-loop-content-wrapper.content-align-right .book-price,
.bclib-book-loop-content-wrapper.content-align-right .book-desc,
.bclib-book-loop-content-wrapper.content-align-right .bclib-book-buttons-wrapper {
    text-align: right;
    justify-content: flex-end;
}

.bclib-book-loop-content-wrapper.content-align-center .book-title,
.bclib-book-loop-content-wrapper.content-align-center .bclib_author,
.bclib-book-loop-content-wrapper.content-align-center .book-price,
.bclib-book-loop-content-wrapper.content-align-center .book-desc,
.bclib-book-loop-content-wrapper.content-align-center .bclib-book-buttons-wrapper {
    text-align: center;
    justify-content: center;
}

.bclib-book-slider.slider-content-left .book-title,
.bclib-book-slider.slider-content-left .bclib_author,
.bclib-book-slider.slider-content-left .book-price,
.bclib-book-slider.slider-content-left .book-desc,
.bclib-book-slider.slider-content-left .bclib-book-buttons-wrapper {
    text-align: left;
    justify-content: flex-start;
}

.bclib-book-slider.slider-content-right .book-title,
.bclib-book-slider.slider-content-right .bclib_author,
.bclib-book-slider.slider-content-right .book-price,
.bclib-book-slider.slider-content-right .book-desc,
.bclib-book-slider.slider-content-right .bclib-book-buttons-wrapper {
    text-align: right;
    justify-content: flex-end;
}

.bclib-book-slider.slider-content-center .book-title,
.bclib-book-slider.slider-content-center .bclib_author,
.bclib-book-slider.slider-content-center .book-price,
.bclib-book-slider.slider-content-center .book-desc,
.bclib-book-slider.slider-content-center .bclib-book-buttons-wrapper {
    text-align: center;
    justify-content: center;
}


.bclib-book-single-header-content-container .bclib-book-external-website-list .website-list-container a:hover,
.bclib-book-single-header-content-container .bclib-book-external-website-list .website-list-container a:focus,
.bclib-book-single-header-content-container .bclib-book-external-website-list .website-list-container a:active {
    background: #000 !important;
    color: #fff;
}

.bclib-book-single-header-content-container h4.also-available-in {
    margin-top: 2em;
}

.bclib-book-single-header-content-container .bclib-book-external-website-list {
    margin-top: 1em;
    width: 200px;
    position: relative;
}

a.bclib-book-buy-now-button {
    background: #fb4747;
    color: #fff;
    display: inline-block;
    padding: 10px 30px;
    transition: .4s;
}

a.bclib-book-buy-now-button:hover {
    background: #000;
    color: #fff;
}

.bclib-book-single-header-content-container .bclib-book-external-website-list .bclib-book-buy-now-button:hover,
.bclib-book-single-header-content-container .bclib-book-external-website-list .bclib-book-buy-now-button:active,
.bclib-book-single-header-content-container .bclib-book-external-website-list .bclib-book-buy-now-button:focus {
    background: #000 !important;
    color: #fff;
}

.bclib-book-single-header-content-container .bclib-book-external-website-list ul.website-list-container {
    display: block;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 0;
    top: calc(100% + 15px);
    box-shadow: 0px 9px 15px -10px #00000036;
    visibility: hidden;
    opacity: 0;
    background: #fff;
    z-index: 5;
}

.bclib-book-single-header-content-container .bclib-book-external-website-list ul.website-list-container.open {
    visibility: visible;
    opacity: 1;
}

.bclib-book-single-header-content-container .bclib-book-external-website-list ul.website-list-container:before {
    position: absolute;
    content: "";
    border: 10px solid transparent;
    border-bottom-color: #fff;
    width: 20px;
    height: 20px;
    left: calc(50%);
    margin-left: -5px;
    top: -20px;
}

.bclib-book-content-wrapper a.bclib-book-buy-now-button {
    background: #39b152;
    padding: 10px 35px;
    border: 1px solid #39b152;
    color: #fff;
    transition: .4s;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
}

.bclib-book-single-header-content-container.others-pages .bclib-book-content-wrapper a.bclib-book-buy-now-button {
    text-transform: capitalize;
    font-weight: 400;
    padding: 6px 25px;
}

.bclib-book-content-wrapper a.bclib-book-buy-now-button:hover {
    background: #000000;
    color: #fff;
}

.bclib-book-webstore-buttons {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 22px auto 0;
    max-width: 100%;
    width: 100%;
}

.bclib-book-webstore-button {
    --bclib-store-color: #2563eb;
    align-items: center;
    background: var(--bclib-store-color);
    border: 2px solid var(--bclib-store-color);
    border-radius: 4px;
    color: #fff !important;
    display: inline-flex;
    flex: 0 1 auto;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    min-height: 38px;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    text-align: center;
    text-decoration: none !important;
    width: auto;
}

.bclib-book-webstore-button:hover,
.bclib-book-webstore-button:focus {
    color: #fff !important;
    filter: brightness(0.96);
}

.bclib-book-webstore-button__title {
    display: block;
    min-width: 0;
    overflow: hidden;
    padding: 8px 26px 8px 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bclib-book-webstore-button__price {
    align-items: center;
    align-self: stretch;
    background: #fff;
    color: var(--bclib-store-color);
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-width: 62px;
    padding: 0 14px 0 24px;
    position: relative;
    white-space: nowrap;
}

.bclib-book-webstore-button__price::before {
    border-bottom: 19px solid transparent;
    border-right: 19px solid #fff;
    border-top: 19px solid transparent;
    content: "";
    height: 0;
    left: -18px;
    position: absolute;
    top: 0;
    width: 0;
}

.bclib-book-download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 18px auto 0;
    width: 100%;
}

.bclib-book-download-button,
.bclib-book-gamebook-button {
    align-items: center;
    background: #0f172a;
    border: 1px solid #0f172a;
    border-radius: 6px;
    color: #fff !important;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 46px;
    min-width: 190px;
    padding: 11px 20px;
    text-decoration: none !important;
}

.bclib-book-gamebook-button {
    background: #16a34a;
    border-color: #16a34a;
}

.bclib-book-download-button:hover,
.bclib-book-download-button:focus,
.bclib-book-gamebook-button:hover,
.bclib-book-gamebook-button:focus {
    filter: brightness(0.92);
}

.bclib-book-download-button--login {
    background: transparent;
    color: inherit !important;
}

.bclib-book-reader-actions {
    display: flex;
    justify-content: center;
    margin: 18px auto 0;
    width: 100%;
}

.bclib-book-reader-button {
    align-items: center;
    background: #111827;
    border: 1px solid #111827;
    border-radius: 6px;
    color: #fff !important;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 46px;
    min-width: 190px;
    padding: 11px 20px;
    text-decoration: none !important;
}

.bclib-book-reader-button:hover,
.bclib-book-reader-button:focus {
    filter: brightness(0.92);
}

.bclib-book-reader-button--locked {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #111827 !important;
}

.bclib-online-reader {
    margin: 28px 0;
}

.bclib-online-reader--modal {
    align-items: center;
    display: none;
    inset: 0;
    justify-content: center;
    margin: 0;
    padding: 24px;
    position: fixed;
    z-index: 999999;
}

.bclib-online-reader--modal.is-open {
    display: flex;
}

.bclib-online-reader__backdrop {
    background: rgba(2, 6, 23, 0.68);
    inset: 0;
    position: absolute;
}

.bclib-online-reader__modal {
    max-height: min(92vh, var(--bclib-online-reader-height, 900px));
    max-width: min(var(--bclib-online-reader-width, 1120px), calc(100vw - 36px));
    position: relative;
    width: 100%;
    z-index: 1;
}

body.bclib-online-reader-modal-open {
    overflow: hidden;
}

.bclib-online-reader__shell {
    background: var(--bclib-catalogue-surface, #fff);
    border: 1px solid #dbe5f3;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(8, 26, 68, 0.08);
    color: inherit;
    padding: 28px;
}

.bclib-online-reader--modal .bclib-online-reader__shell {
    max-height: min(92vh, var(--bclib-online-reader-height, 900px));
    overflow: auto;
}

.bclib-online-reader__header {
    align-items: flex-start;
    border-bottom: 1px solid #e5edf7;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 18px;
}

.bclib-online-reader__header p {
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.bclib-online-reader__header h2,
.bclib-online-reader--locked h2 {
    font-size: 30px;
    line-height: 1.15;
    margin: 0;
}

.bclib-online-reader__header span,
.bclib-online-reader--locked p,
.bclib-online-reader__empty {
    color: #526179;
    font-size: 15px;
    line-height: 1.6;
}

.bclib-online-reader__close {
    align-items: center;
    background: #eef4ff;
    border: 1px solid #dbe5f3;
    border-radius: 999px;
    color: #0f1f3d;
    cursor: pointer;
    display: inline-flex;
    font-size: 28px;
    font-weight: 400;
    height: 42px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 42px;
}

.bclib-online-reader__close:hover,
.bclib-online-reader__close:focus {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.bclib-online-reader__pages {
    display: grid;
    gap: 20px;
}

.bclib-online-reader__page {
    display: none;
}

.bclib-online-reader__page.is-active {
    display: block;
}

.bclib-online-reader__page-content {
    background: #fff;
    border: 1px solid #e5edf7;
    border-radius: 8px;
    font-size: 18px;
    line-height: 1.8;
    min-height: 360px;
    padding: 34px;
}

.bclib-online-reader--modal .bclib-online-reader__page-content {
    max-height: min(calc(var(--bclib-online-reader-height, 900px) - 230px), calc(92vh - 230px));
    overflow: auto;
}

.bclib-online-reader__page-content img {
    height: auto;
    max-width: 100%;
}

.bclib-online-reader__page-content .bclib-reader-align-center {
    text-align: center;
}

.bclib-online-reader__page-content .bclib-reader-align-right {
    text-align: right;
}

.bclib-online-reader__page-content .bclib-reader-align-justify {
    text-align: justify;
}

.bclib-online-reader__page-content table {
    border-collapse: collapse;
    margin: 1.2em 0;
    width: 100%;
}

.bclib-online-reader__page-content td,
.bclib-online-reader__page-content th {
    border: 1px solid #dbe5f3;
    padding: 8px 10px;
    vertical-align: top;
}

.bclib-online-reader__nav {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.bclib-online-reader__nav button {
    background: #2563eb;
    border: 0;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    min-height: 44px;
    padding: 12px 18px;
}

.bclib-online-reader__nav button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.bclib-online-reader__nav span {
    color: #526179;
    font-weight: 700;
}

.bclib-online-reader__pdf iframe {
    background: #f8fafc;
    border: 1px solid #e5edf7;
    border-radius: 8px;
    min-height: 720px;
    width: 100%;
}

.bclib-online-reader__image-page {
    text-align: center;
}

.bclib-online-reader__image-page img {
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(8, 26, 68, 0.16);
    height: auto;
    max-width: 100%;
}

.bclib-book-information-container .information-list h4 {
    font-size: 15px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 0;
    text-transform: inherit;
    color: #000;
}

.bclib-book-information-container .information-list .information-label h4 {
    font-weight: 700;
}

.bclib-book-information-container .information-list {
    display: flex;
    justify-content: space-between;
}

.bclib-book-information-container .information-list .information-content {
    text-align: left;
    width: 60%;
}

.bclib-book-information-container .information-list .information-content h4 a.rating-link {
    text-decoration: none;
}

.bclib-book-information-container .information-list .information-content .star-rating-inner {
    color: #39b152;
}

.bclib-book-information-container .information-list .information-content .total-ratings {
    margin-left: 6px;
}

.bclib-book-information-container .information-list .information-content h4 a {
    color: #39b152;
    text-decoration: underline;
    font-weight: 700;
}

.bclib-book-information-container .information-list .information-label {
    width: 40%;
}

@media (max-width: 576px) {
    .bclib-book-information-container .information-list {
        display: block;
        justify-content: space-between;
    }

    .bclib-book-information-container .information-list .information-content {
        text-align: left;
        width: 100%;
    }

    .bclib-book-information-container .information-list .information-label {
        width: 100%;
    }
}

.bclib-book-overview-section {
    background: #fff;
    padding: 25px 50px;
    border: 1px solid #f1f1f1;
}

.bclib-book-overview .a-text-italic {
    font-style: italic;
}

.bclib-book-overview ul.a-unordered-list,
.bclib-book-overview ul {
    margin-bottom: 20px !important;
    !i;
    !;
    !i;
    !;
}

.bclib-book-overview span.a-text-bold {
    font-weight: 700;
}

.bclib-book-overview-section .bclib-book-overview {
    color: #444;
}

.bclib-book-overview-section .bclib-book-overview h1,
.bclib-book-overview-section .bclib-book-overview h2,
.bclib-book-overview-section .bclib-book-overview h4,
.bclib-book-overview-section .bclib-book-overview h5,
.bclib-book-overview-section .bclib-book-overview h6,
.bclib-book-overview-section .bclib-book-overview strong {
    color: #000;
    font-weight: 700;
}

.bclib-book-overview-section .bclib-book-overview h1,
.bclib-book-overview-section .bclib-book-overview h2,
.bclib-book-overview-section .bclib-book-overview h4,
.bclib-book-overview-section .bclib-book-overview h5,
.bclib-book-overview-section .bclib-book-overview h6 {
    margin-bottom: 20px;
    margin-top: 40px;
}

.bclib-book-overview-section .bclib-book-overview p {
    margin-top: 0;
    margin-bottom: 30px;
}

.bclib-book-overview img {
    height: auto;
    max-width: 100%;
}

.bclib-book-overview .alignnone,
.bclib-book-overview img.alignnone {
    display: inline-block;
    margin: 0 0 24px;
}

.bclib-book-overview .aligncenter,
.bclib-book-overview img.aligncenter {
    clear: both;
    display: block;
    margin: 0 auto 24px;
}

.bclib-book-overview .alignleft,
.bclib-book-overview img.alignleft {
    display: inline;
    float: left;
    margin: 6px 24px 18px 0;
}

.bclib-book-overview .alignright,
.bclib-book-overview img.alignright {
    display: inline;
    float: right;
    margin: 6px 0 18px 24px;
}

.bclib-book-overview .wp-caption {
    max-width: 100%;
}

.bclib-book-overview .wp-caption.aligncenter {
    margin-left: auto;
    margin-right: auto;
}

.bclib-book-overview::after {
    clear: both;
    content: "";
    display: table;
}

.bclib-bclib_author-bios {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.bclib-author-bio-card {
    align-items: start;
    background: var(--bclib-catalogue-surface, Canvas);
    border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
    border-radius: 8px;
    color: inherit;
    display: block;
    gap: 20px;
    margin: 0 0 28px;
    padding: 22px;
}

.bclib-author-bio-card--author {
    margin-bottom: 28px;
}

.bclib-author-bio-card__image {
    border-radius: 999px;
    display: inline-flex;
    flex: 0 0 72px;
    height: 72px;
    overflow: hidden;
    text-decoration: none !important;
    width: 72px;
}

.bclib-author-bio-card__image img {
    aspect-ratio: 1 / 1;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.bclib-author-bio-card__heading {
    align-items: center;
    display: flex;
    gap: 16px;
    margin: 0 0 12px;
}

.bclib-author-bio-card__content {
    min-width: 0;
}

.bclib-author-bio-card__eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0 0 8px !important;
    text-transform: uppercase;
}

.bclib-author-bio-card h2 {
    color: inherit;
    font-family: inherit;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.15;
    margin: 0 0 12px !important;
}

.bclib-author-bio-card__text {
    color: inherit;
    font-family: inherit;
    line-height: 1.65;
}

.bclib-author-bio-card__text p {
    margin: 0 0 14px !important;
}

.bclib-author-bio-card__text p:last-child {
    margin-bottom: 0 !important;
}

.bclib-author-bio-card__link {
    align-items: center;
    border: 1px solid currentColor;
    border-radius: 6px;
    color: inherit !important;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    margin-top: 18px;
    min-height: 42px;
    padding: 10px 16px;
    text-decoration: none !important;
}

.bclib-author-profile-page {
    color: inherit;
}

.bclib-author-profile-page .bclib-container {
    display: grid;
    gap: 34px;
}

.bclib-author-profile-hero {
    align-items: stretch;
    background: var(--bclib-catalogue-surface, Canvas);
    border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
    border-radius: 8px;
    color: inherit;
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    min-height: 320px;
    overflow: hidden;
}

.bclib-author-profile-hero__media {
    align-items: center;
    background: color-mix(in srgb, currentColor 7%, transparent);
    color: inherit;
    display: flex;
    font-size: clamp(64px, 8vw, 120px);
    font-weight: 900;
    justify-content: center;
    min-height: 100%;
}

.bclib-author-profile-hero__media img {
    display: block;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    width: 100%;
}

.bclib-author-profile-hero__content {
    align-content: center;
    display: grid;
    gap: 16px;
    padding: clamp(28px, 5vw, 58px);
}

.bclib-author-profile-hero__eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0 !important;
    text-transform: uppercase;
}

.bclib-author-profile-hero h1 {
    color: inherit;
    font-family: inherit;
    font-size: clamp(38px, 5vw, 72px);
    line-height: 1;
    margin: 0 !important;
}

.bclib-author-profile-hero__bio {
    color: inherit;
    font-family: inherit;
    font-size: 1.02em;
    line-height: 1.75;
    max-width: 760px;
}

.bclib-author-profile-hero__bio p {
    margin: 0 0 14px !important;
}

.bclib-author-profile-hero__bio p:last-child {
    margin-bottom: 0 !important;
}

.bclib-author-profile-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.bclib-author-profile-hero__meta span {
    align-items: center;
    border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
    border-radius: 999px;
    display: inline-flex;
    gap: 8px;
    min-height: 38px;
    padding: 7px 14px;
}

.bclib-author-profile-hero__meta strong {
    color: inherit;
    font-size: 1.15em;
    line-height: 1;
}

.bclib-author-profile-books {
    display: grid;
    gap: 18px;
}

.bclib-author-profile-books__header h2 {
    color: inherit;
    font-family: inherit;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.1;
    margin: 0 !important;
}

.bclib-author-profile-books .bclib-catalogue-grid {
    margin: 0;
}

.bclib-author-profile-books .bclib-catalogue-grid__status {
    margin-top: 0;
}

.bclib-author-directory-header {
    margin: 0 0 24px;
}

.bclib-author-directory-header__eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.bclib-author-directory-header h1 {
    color: inherit;
    font-family: inherit;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
    margin: 0;
}

.bclib-author-directory-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin: 0 0 34px;
}

.bclib-author-directory-card {
    background: var(--bclib-catalogue-surface, Canvas);
    border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
    border-radius: 8px;
    color: inherit;
    display: grid;
    gap: 16px;
    grid-template-columns: 92px minmax(0, 1fr);
    padding: 20px;
}

.bclib-author-directory-card__media {
    align-items: center;
    aspect-ratio: 1 / 1;
    background: color-mix(in srgb, currentColor 8%, transparent);
    border-radius: 8px;
    color: inherit !important;
    display: flex;
    font-size: 34px;
    font-weight: 900;
    justify-content: center;
    overflow: hidden;
    text-decoration: none !important;
}

.bclib-author-directory-card__media img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.bclib-author-directory-card h2 {
    color: inherit;
    font-family: inherit;
    font-size: 22px;
    line-height: 1.2;
    margin: 0 0 7px;
}

.bclib-author-directory-card h2 a {
    color: inherit !important;
    text-decoration: none !important;
}

.bclib-author-directory-card p {
    margin: 0 0 12px;
}

.bclib-author-directory-card__count {
    font-size: 13px;
    font-weight: 800;
}

.bclib-author-directory-card__link {
    border: 1px solid currentColor;
    border-radius: 6px;
    color: inherit !important;
    display: inline-flex;
    font-weight: 800;
    min-height: 40px;
    padding: 9px 14px;
    text-decoration: none !important;
}

.bclib-author-directory-empty {
    background: var(--bclib-catalogue-surface, Canvas);
    border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
    border-radius: 8px;
    padding: 20px;
}

@media (max-width: 640px) {
    .bclib-author-profile-hero {
        grid-template-columns: 1fr;
    }

    .bclib-author-profile-hero__media {
        min-height: 260px;
    }

    .bclib-author-profile-hero__media img {
        min-height: 260px;
    }

    .bclib-author-bio-card {
        grid-template-columns: 1fr;
    }

    .bclib-author-bio-card__image {
        max-width: 160px;
    }

    .bclib-author-directory-card {
        grid-template-columns: 1fr;
    }

    .bclib-author-directory-card__media {
        max-width: 128px;
    }
}

.bclib-book-information-container {
    background: #f1f1f1;
    padding: 1.5em;
    margin-top: 6px;
    border: 1px solid #f1f1f1;
}

.bclib-book-information-container .information-list {
    margin-bottom: .6em;
}

.author-image-container {
    height: 212px;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}

h2.book-container-section-title {
    padding-bottom: 10px;
    margin-bottom: 25px;
    border-bottom: 1px solid #f1f1f1;
    font-weight: 700;
    font-size: 22px;
    margin-top: 0;
    text-transform: uppercase;
}

.bclib-book-information-container .information-list .information-content h4 span.sep {
    display: inline-block;
    background: #000;
    width: 3px;
    height: 3px;
    border-radius: 50%;
}

span.bclib-arrow-down {
    width: 10px;
    height: 10px;
    border: 5px solid transparent;
    line-height: normal;
    display: inline-block;
    border-top-color: #000;
    margin-top: 10px;
    margin-top: 10px;
}

.bclib-book-single-header-content-container .bclib-book-external-website-list .bclib-book-buy-now-button:hover .bclib-arrow-down,
.bclib-book-single-header-content-container .bclib-book-external-website-list .bclib-book-buy-now-button:focus .bclib-arrow-down,
.bclib-book-single-header-content-container .bclib-book-external-website-list .bclib-book-buy-now-button:active .bclib-arrow-down {
    border-top-color: #fff;
}

.bclib-books-showcase-search-form-container {
    padding: 20px 20px 5px 20px;
    background: #ffffff;
    margin-bottom: 30px;
    border: 1px solid #f1f1f1;
}

.bclib-search-form .search-field input,
.search-field select {
    width: 100%;
    height: 40px;
    padding: 0 10px !important;
    text-transform: math-auto;
    border: 1px solid #f1f1f1;
    background: #fff;
}

.bclib-search-form .search-field input::placeholder {
    color: #000
}

.bclib-search-form .select2-container .select2-selection--single .select2-selection__arrow b {
    border-color: #444 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    width: 0
}

.bclib-search-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px;
    padding-top: 0;
    padding-bottom: 0;
}

.bclib-search-form .select2-container--default .select2-selection--single .select2-selection__clear {
    margin-right: 20px;
}

.bclib-search-form .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 0;
    height: 100%;
    right: 5px;
}

.bclib-search-form .select2-container .select2-selection--single .select2-selection__placeholder {
    font-size: 14px;
}

.bclib-search-form .select2-container .select2-selection--single {
    height: 40px;
}

.bclib-search-form .search-field .selectize-dropdown,
.bclib-search-form .search-field .selectize-input {
    border: 1px solid #f1f1f1;
}

.bclib-search-form .search-field input:focus,
.search-field select:focus {
    border: 1px solid #ddd;
    outline: none;
}

.bclib-search-form .search-field input[type=submit] {
    border-radius: 0;
}

/*.bclib-search-form.bclib-row.bclib-free-search-form-row > div {
    max-width: 20% !important;!i;!;
    flex: 0 0 20%;
}*/
.bclib-search-form .search-field input[type=submit],
.bclib-search-form .search-field input[type=submit]:hover {
    background: #39b152;
    color: #fff;
    border-color: #39b152;
}

.bclib-search-form .search-field {
    margin-bottom: 15px;
}

.bclib-search-form .search-field input[type="search"],
.bclib-search-form .search-field input[name="book_name"],
.bclib-search-form .search-field input[name="name"] {
    max-width: 50% !important;
    width: 50% !important;
}

@media (max-width: 767px) {
    .bclib-search-form.bclib-row>div {
        padding: 5px;
        padding-left: 5px;
    }
}

.bclib-books-sorting-field {
    display: block;
    text-align: right;
    float: right;
}

.bclib-book-container.bclib-row.book-list-layout.thumbnail-position-left,
.bclib-book-container.bclib-row.book-list-layout.thumbnail-position-right {
    margin-bottom: 0;
}

.bclib-books-sorting-field select#bclib-sort {
    background-image: none;
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
    width: 200px;
    height: 50px;
    padding: 10px;
    border: 1px solid #f1f1f1;
    background: #f1f1f1;
    color: #000;
}

.bclib-sorting-sections-wrapper {
    padding: 20px;
    border: 1px solid #f1f1f1;
    margin-bottom: 30px;
    background: #fff;
}

@media (max-width: 767px) {
    .bclib-sorting-sections-wrapper {
        padding: 10px;
    }

    .bclib-books-sorting-field select#bclib-sort {
        width: 140px;
        height: 40px;
        padding: 10px;
        font-size: 14px;
    }

    div#result-count {
        font-size: 14px;
    }
}

.bclib-books-pagination {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    width: 100%;
    margin-top: 2em;
}

.bclib-books-pagination .bclib-pagination,
.bclib-books-pagination .bclib-pagination .pagination {
    margin: 0;
}

.bclib-books-pagination a {
    text-decoration: none !important;
}

.bclib-books-pagination a,
.bclib-books-pagination span {
    color: #000;
    background: #f4f4ec;
    border-radius: 50px;
    margin: 5px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    text-align: center;
    font-weight: 700;
}

.bclib-books-pagination span.current {
    background: #ffffff;
    box-shadow: 0 0 6px -2px rgb(0 0 0 / 50%);
    color: #000;
}

.bclib-select-field .selectize-input>div.item {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 0px 10px;
    line-height: 40px;
    text-transform: math-auto;
}

.selectize-dropdown .option {
    text-transform: math-auto;
}

/********* Featured Book Widget ***********/
.bclib-featured-book-area-inner .book-name h2 {
    font-size: 1.3rem;
    margin: 0;
    margin-bottom: 10px;
    text-align: center;
}

.bclib-featured-book-area-inner {
    text-align: center;
}

.bclib-featured-book-area-inner .book-name h2 a {
    color: #000;
    display: inline-block;
}

.bclib-featured-book-area-inner .bclib_author h4 {
    font-size: 16px;
    margin: 0;
    color: #000;
    font-weight: 400;
    text-align: center;
}

.bclib-featured-book-purchase-button a.bclib-book-buy-now-button {
    background: #fb4747;
    display: inline-block;
    padding: 10px 39px;
    border: 1px solid #fb4747;
    color: #fff;
    transition: .4s;
}

.bclib-featured-book-purchase-button a.bclib-book-buy-now-button:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.bclib-featured-book-purchase-button {
    margin-top: 20px;
}

.bclib-featured-book-area-inner {
    text-align: center;
}

.bclib-featured-book-area-inner a {
    text-decoration: none;
}

.bclib-featured-book-area-inner .order-button {
    margin-top: 1em;
}

.bclib-featured-book-area-inner .book-image {
    margin-bottom: 1em;
}

.bclib-purchase-ext-website-list-container {
    position: relative;
}

.bclib-featured-book-area-inner .order-button a:hover {
    background: #000000;
}

.bclib-purchase-ext-website-list-container a.bclib-buy-now-button {
    width: 200px;
    height: 50px;
    background: #fb4747;
    display: flex;
    text-align: center;
    margin: 0 auto;
    border: 1px solid #fb4747;
    line-height: 40px;
    margin-top: 1em;
    align-items: center;
    justify-content: space-around;
    text-transform: uppercase;
    color: #fff;
}

.bclib-purchase-ext-website-list-container ul.ext-website-list-container {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
    width: 200px;
    box-shadow: none;
    position: absolute;
    left: 50%;
    top: calc(100% + 16px);
    visibility: hidden;
    opacity: 0;
    transition: .4s;
    margin-left: -100px;
    border: 1px solid #fb4747;
    text-align: center;
}

.bclib-purchase-ext-website-list-container ul.ext-website-list-container.open {
    opacity: 1;
    visibility: visible;
}

.bclib-purchase-ext-website-list-container ul.ext-website-list-container:before {
    width: 20px;
    height: 20px;
    border: 10px solid transparent;
    border-bottom-color: #fb4747;
    position: absolute;
    content: "";
    left: calc(50% - 10px);
    top: -20px;
}

.bclib-purchase-ext-website-list-container li {
    padding: 10px !important;
    display: block !important;
    border-bottom: 1px solid #fb4747;
    line-height: normal;
    display: block;
    margin: 0 !important;
}

.bclib-purchase-ext-website-list-container li:last-child {
    border-bottom: 0;
}

.bclib-purchase-ext-website-list-container li a {
    display: block;
}

/*Testimonial*/
/*Books list Widget*/
.bclib-book-list-widget-area-inner .book-name h2 {
    font-size: 1.3rem;
    line-height: 1.4;
    text-align: center;
}

.bclib-book-list-widget-area-inner .book-image img {
    display: block;
    margin: 0 auto;
}

.bclib-book-list-widget-area-inner .book-price {
    font-size: 1.1rem;
    display: flex;
    color: #fb4747;
    justify-content: center;
}

.bclib-book-list-widget-area-inner .book-price .regular-price.previous-price {
    text-decoration: line-through;
    font-weight: 100;
    margin-right: 10px;
}

.bclib-book-list-widget-area-inner .book-price .sale-price strong {
    font-weight: 900;
}

.bclib-book-list-widget-area-inner .bclib_author h4 {
    font-size: 16px;
    margin-top: 0;
    font-weight: 400;
    text-align: center;
}

.bclib-book-loop-content-wrapper .book-desc {
    margin: 0 0 20px 0;
    color: #444;
    text-align: center;
    justify-content: center;
}

.bclib-book-loop-content-wrapper .book-desc p:last-child {
    margin-bottom: 0;
    margin-top: 0;
}

.bclib-book-loop-content-wrapper .book-buy-btn {
    justify-content: center;
}

.bclib-book-loop-content-wrapper .bclib-book-buttons-wrapper>div {
    margin-left: 5px;
    margin-right: 5px;
}

.bclib-book-loop-content-wrapper .bclib-book-buttons-wrapper>div a {
    display: block;
    margin-bottom: 10px;
}

.bclib-book-loop-content-wrapper .bclib-book-buttons-wrapper {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    flex-flow: wrap;
    margin-left: -5px;
    margin-right: -5px;
}

.bclib-book-loop-content-wrapper .book-buy-btn a {
    color: #fff;
}

.bclib-book-buttons-wrapper .bclib-loop-read-more-button {
    text-align: center;
    align-self: center;
}

.bclib-book-buttons-wrapper .bclib-loop-read-more-button a {
    color: #000;
    text-decoration: none;
    border: 1px solid #f1f1f1;
    padding: 10px 30px;
    transition: .4s;
}

.bclib-book-buttons-wrapper .bclib-loop-read-more-button a:hover {
    background: #000;
    color: #fff;
}

.bclib-book-loop-content-wrapper.bclib-col-md-6>div.book-multiple-sales-links {
    width: 100%;
    max-width: 100%;
    flex-flow: column;
}

.bclib-book-list-widget-area-inner {
    margin-bottom: 30px;
    text-align: center;
    background: #f1f1f1;
    padding: 20px;
}

.bclib-book-list-widget-area-inner:last-child {
    margin-bottom: 0;
}

.bclib-book-list-widget-area-inner .book-image {
    position: relative;
    backdrop-filter: none;
    filter: none;
}

.bclib-book-list-widget-area-inner .book-image:after {
    display: none;
}

.bclib-book-list-widget-area-inner .book-image .book-view-button a {
    position: absolute;
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 15px 30px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-transform: uppercase;
    font-weight: 400;
    transition: .4s;
    visibility: hidden;
    opacity: 0;
    line-height: normal;
    width: max-content;
}

.bclib-book-list-widget-area-inner .book-image .book-view-button a:hover {
    background: #f9464a;
    color: #fff;
}

.footer-sidebar.widget .bclib-book-list-widget-area-inner .book-view-button a,
.footer-sidebar.widget .bclib-book-list-widget-area-inner .book-name a,
.footer-sidebar.widget .bclib-book-list-widget-area-inner .bclib_author a,
.footer-sidebar.widget .bclib-book-list-widget-area-inner .book-price .regular-price,
.footer-sidebar.widget .bclib-book-list-widget-area-inner .book-price .sale-price {
    color: #000;
}

.bclib-book-list-widget-area-inner:hover .book-image .book-view-button a {
    visibility: visible;
    opacity: 1;
}

body.theme-bclib_author-template section.footer-content.footer-top-area .footer-sidebar.widget .bclib-book-list-widget-area-inner .book-name h2 a {
    color: #000 !important;
}

body.theme-bclib_author-template section.footer-content.footer-top-area .footer-sidebar.widget .bclib-book-list-widget-area-inner .bclib_author a {
    color: #000;
}

body.theme-bclib_author-template section.footer-content.footer-top-area .footer-sidebar.widget .bclib-book-list-widget-area-inner .book-price strong {
    color: #000;
}

body.theme-bclib_author-template section.footer-content.footer-top-area .footer-sidebar.widget .bclib-book-list-widget-area-inner .book-image .book-view-button a {
    color: #000;
}

body.theme-bclib_author-template section.footer-content.footer-top-area .footer-sidebar.widget .bclib-book-list-widget-area-inner .book-image .book-view-button a:hover {
    color: #fff;
}

.bclib-search-form .search-field button.reset-search-form {
    background: #fb4747;
    border-color: #fb4747;
    height: 40px;
    border-radius: 0;
    padding: 0;
    width: 100%;
    color: #fff;
}

.bclib-search-form .search-field button.reset-search-form:hover,
.bclib-search-form .search-field button.reset-search-form:visited,
.bclib-search-form .search-field button.reset-search-form:active {
    background: #000;
    color: #fff;
}

/*Book Archive Page Pagination*/
.bclib-pagination {
    margin: 50px 0;
}

.bclib-pagination nav.navigation.pagination .nav-links {
    display: flex;
    justify-content: center;
}

.bclib-pagination .navigation.pagination .nav-links li a,
.bclib-pagination .navigation.pagination .nav-links li span,
.bclib-pagination .navigation.pagination .nav-links a,
.bclib-pagination .navigation.pagination .nav-links span {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin: 0 5px;
    border: 1px solid #f1f1f1;
    font-weight: 700;
    color: #000;
    background: #fff;
    transition: .4s;
    box-shadow: 0 0 5px 1px rgb(0 0 0 / 10%);
}

.bclib-pagination nav.navigation.pagination .nav-links a.next.page-numbers,
.bclib-pagination nav.navigation.pagination .nav-links a.prev.page-numbers {
    width: auto;
    padding: 0 20px;
}

.bclib-pagination nav.navigation.pagination .nav-links .page-numbers.current,
.bclib-pagination nav.navigation.pagination .nav-links .page-numbers:hover {
    background: #3dae58;
    color: #fff;
    border-color: #3dae58;
}

/* Book Carousel */
.bclib-book-slider {
	--bclib-slider-surface: var(--bclib-catalogue-surface, Canvas);
	--bclib-slider-border: color-mix(in srgb, currentColor 14%, transparent);
	--bclib-slider-muted: color-mix(in srgb, currentColor 66%, transparent);
	--bclib-slider-shadow: 0 18px 38px color-mix(in srgb, currentColor 9%, transparent);
	color: inherit;
	font-family: inherit;
	margin: 0 auto 34px;
	min-height: var(--bclib-grid-min-height, 0);
	overflow: visible;
}

.bclib-book-slider *,
.bclib-book-slider *::before,
.bclib-book-slider *::after {
	box-sizing: border-box;
	font-family: inherit;
}

.bclib-book-slider__slider-wrapper-row.book-slider-activate .slick-arrow .fa-solid,
.bclib-book-slider__slider-wrapper-row.book-slider-activate .slick-arrow .fa-solid::before {
	font-family: "Font Awesome 6 Free" !important;
	font-style: normal;
	font-weight: 900 !important;
	line-height: 1;
}

.bclib-book-slider > .bclib-container {
	max-width: var(--bclib-grid-max-width, 1180px);
	overflow: visible;
	width: min(100%, var(--bclib-grid-max-width, 1180px));
}

.bclib-book-slider__slider-wrapper-row {
	align-items: stretch;
	padding-left: 34px;
	padding-right: 34px;
	position: relative;
}

.bclib-book-slider__slider-wrapper-row .slick-track {
	align-items: stretch;
	display: flex !important;
}

.bclib-book-slider__slider-wrapper-row .slick-slide {
	float: none;
	height: auto;
}

.bclib-book-slider__slider-wrapper-row .slick-slide > div,
.bclib-book-slider__slider-item {
	height: 100%;
}

.bclib-book-slider .bclib-book-container {
	background: var(--bclib-slider-surface);
	border: 1px solid var(--bclib-slider-border);
	border-radius: 8px;
	box-shadow: none;
	color: inherit;
	display: grid;
	grid-template-rows: auto 1fr;
	height: 100%;
	margin: 0;
	min-height: 420px;
	overflow: hidden;
	padding: 0;
}

.bclib-book-slider .bclib-book-loop-image {
	background: color-mix(in srgb, currentColor 5%, transparent);
	height: var(--bclib-slider-cover-height, 240px);
	min-height: 0;
	overflow: hidden;
	padding: 0;
	width: var(--bclib-slider-cover-width, 100%);
}

.bclib-book-slider .bclib-book-loop-image a {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: center;
	min-height: 0;
	text-decoration: none;
	width: 100%;
}

.bclib-book-slider .bclib-book-loop-image img {
	aspect-ratio: auto;
	display: block;
	height: 100% !important;
	max-height: none !important;
	max-width: none !important;
	object-fit: var(--bclib-slider-cover-fit, var(--bclib-card-cover-fit, var(--bclib-frontend-cover-fit, contain))) !important;
	object-position: center center !important;
	width: 100% !important;
}

.bclib-book-slider .bclib-book-loop-content-wrapper {
	align-content: start;
	display: grid;
	gap: 12px;
	padding: 24px;
	text-align: inherit;
}

.bclib-book-slider .book-title {
	font-size: clamp(20px, 2vw, 28px);
	font-weight: 800;
	line-height: 1.18;
	margin: 0;
}

.bclib-book-slider .book-title a {
	color: inherit;
	text-decoration: none;
}

.bclib-book-slider .bclib_author {
	color: var(--bclib-slider-muted);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.25;
	margin: 0;
}

.bclib-book-slider .bclib_author a {
	color: inherit;
	text-decoration: none;
}

.bclib-book-slider .book-price {
	align-items: center;
	color: inherit;
	display: flex;
	font-size: 24px;
	font-weight: 800;
	justify-content: inherit;
	line-height: 1;
	margin: 0;
}

.bclib-book-slider .book-desc,
.bclib-book-slider .book-full-content-as-excerpt {
	color: var(--bclib-slider-muted);
	display: -webkit-box;
	font-size: 15px;
	line-height: 1.55;
	margin: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.bclib-book-slider .bclib-book-buttons-wrapper {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: inherit;
	margin-top: auto;
}

.bclib-book-slider .book-buy-btn,
.bclib-book-slider .bclib-loop-read-more-button,
.bclib-book-slider .book-add-to-cart-btn {
	display: flex;
	justify-content: inherit;
	margin: 0 !important;
}

.bclib-book-slider .book-buy-btn a,
.bclib-book-slider .bclib-loop-read-more-button a,
.bclib-book-slider .book-add-to-cart-btn button,
.bclib-book-slider .loop_add_to_cart_button {
	align-items: center;
	background: transparent !important;
	border: 1px solid currentColor !important;
	border-radius: 6px !important;
	color: inherit !important;
	display: inline-flex !important;
	font-size: 15px;
	font-weight: 800;
	justify-content: center;
	line-height: 1.1;
	min-height: 44px;
	min-width: 150px;
	padding: 11px 18px !important;
	text-decoration: none;
	text-transform: none;
}

.bclib-book-slider .book-multiple-sales-links {
	margin-top: 6px;
}

.bclib-book-slider.no-book-image .bclib-book-container {
	grid-template-rows: 1fr;
}

.bclib-book-slider.slider-content-left {
	text-align: left;
}

.bclib-book-slider.slider-content-center {
	text-align: center;
}

.bclib-book-slider.slider-content-right {
	text-align: right;
}

.slider-large-screen-item-2 .bclib-book-slider__slider-item,
.slider-large-screen-item-3 .bclib-book-slider__slider-item,
.slider-large-screen-item-4 .bclib-book-slider__slider-item,
.slider-large-screen-item-5 .bclib-book-slider__slider-item {
    margin: 0 15px;
}

.slider-large-screen-item-2 .slick-list,
.slider-large-screen-item-3 .slick-list,
.slider-large-screen-item-4 .slick-list,
.slider-large-screen-item-5 .slick-list {
    margin-left: -15px;
    margin-right: -15px;
}

.bclib-book-slider__slider-wrapper-row.book-slider-activate .slick-arrow {
    position: absolute;
    width: 54px;
    height: 54px;
    padding: 0;
    background: var(--bclib-slider-surface);
    border: 1px solid var(--bclib-slider-border);
    border-radius: 999px;
    box-shadow: var(--bclib-slider-shadow);
    color: inherit;
    top: 50%;
    margin-top: -27px;
    line-height: 54px;
    cursor: pointer;
    text-align: center;
    z-index: 5;
}

.bclib-book-slider__slider-wrapper-row.book-slider-activate .slick-arrow.slick-next {
    right: 0;
}

.bclib-book-slider__slider-wrapper-row.book-slider-activate .slick-arrow.slick-prev {
    left: 0;
}

.bclib-book-slider__slider-wrapper-row.book-slider-activate .slick-arrow {
    opacity: 1;
    visibility: visible;
    transition: .4s;
}

.bclib-book-slider:hover .bclib-book-slider__slider-wrapper-row .slick-arrow {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 1200px) {
    .bclib-book-slider__slider-wrapper-row.book-slider-activate .slick-arrow.slick-next {
        right: 0;
    }

    .bclib-book-slider__slider-wrapper-row.book-slider-activate .slick-arrow.slick-prev {
        left: 0;
    }
}

@media (max-width: 640px) {
    .bclib-book-slider__slider-wrapper-row {
        padding-left: 24px;
        padding-right: 24px;
    }

    .bclib-book-slider__slider-wrapper-row.book-slider-activate .slick-arrow {
        height: 42px;
        line-height: 42px;
        margin-top: -21px;
        width: 42px;
    }
}

.bclib-book-loop-image.thumbnail-position-top a {
    display: flex;
    justify-content: center;
}

.bclib-book-loop-image.thumbnail-position-top img {
    height: 100%;
}

.thumbnail-position-right .bclib-book-loop-image>a {
    display: flex;
    justify-content: flex-end;
}

.thumbnail-position-right .bclib-book-loop-image>a {
    display: flex;
    justify-content: flex-start;
}

.bclib-book-slider .book-list-layout {
	display: grid !important;
	grid-template-columns: minmax(160px, 0.42fr) minmax(0, 0.58fr);
}

.bclib-book-slider .book-list-layout.flex-row-reverse,
.bclib-book-slider .book-list-layout.thumbnail-position-right {
	grid-template-columns: minmax(0, 0.58fr) minmax(160px, 0.42fr);
}

.bclib-book-slider .book-list-layout.thumbnail-position-right .bclib-book-loop-image {
	grid-column: 2;
	grid-row: 1;
}

.bclib-book-slider .book-list-layout.thumbnail-position-right .bclib-book-loop-content-wrapper {
	grid-column: 1;
	grid-row: 1;
}

.bclib-book-slider .book-list-layout .bclib-book-loop-image,
.bclib-book-slider .book-list-layout .bclib-book-loop-content-wrapper {
	max-width: none;
	padding: 0;
	width: 100%;
}

.bclib-book-slider .book-list-layout .bclib-book-loop-content-wrapper {
	padding: 24px;
}

@media (max-width:991px) {
    .bclib-book-slider__slider-wrapper-row.owl-carousel .owl-nav button.owl-next {
        right: -40px;
    }

    .bclib-book-slider__slider-wrapper-row.owl-carousel .owl-nav button.owl-prev {
        left: -40px;
    }
}

@media (max-width:767px) {
    .bclib-book-slider__slider-wrapper-row.owl-carousel .owl-nav button.owl-next {
        right: 0;
    }

    .bclib-book-slider__slider-wrapper-row.owl-carousel .owl-nav button.owl-prev {
        left: 0px;
    }

    .bclib-book-slider > .bclib-container {
        width: 100%;
    }

    .bclib-book-slider .bclib-book-container {
        min-height: 0;
    }

    .bclib-book-slider .book-list-layout,
    .bclib-book-slider .book-list-layout.flex-row-reverse,
    .bclib-book-slider .book-list-layout.thumbnail-position-right {
        grid-template-columns: 1fr;
    }

    .bclib-book-slider .book-list-layout.thumbnail-position-right .bclib-book-loop-image,
    .bclib-book-slider .book-list-layout.thumbnail-position-right .bclib-book-loop-content-wrapper {
        grid-column: 1;
        grid-row: auto;
    }

    .bclib-book-slider__slider-wrapper-row.book-slider-activate .slick-arrow {
        height: 42px;
        line-height: 42px;
        margin-top: -21px;
        width: 42px;
    }
}

/*Featured Slider Manual Design*/
.bclib-book-slider.featured-slider {
    padding: 80px 0;
    background: #f1f1f1;
}

.eafe-book-slider-section-wrapper .featured-slider {
    background: transparent;
    padding: 0;
}

.eafe-book-slider-section-wrapper .bclib-book-slider.carousel-slider>.container {
    padding: 0;
}

.bclib-book-slider.featured-slider .book-list-layout .book-content-column {
    background: transparent;
    padding: 0;
}

.bclib-book-slider.featured-slider .bclib-book-container {
    border: none;
    margin-bottom: 0;
    padding: 2px;
}

.slick-slide>div.bclib-book-container {
    display: block;
    width: 100%;
}

.slick-slide>div.bclib-book-container.book-list-layout.thumbnail-position-right,
.slick-slide>div.bclib-book-container.book-list-layout.thumbnail-position-left {
    display: flex !important;
}

.bclib-book-slider.featured-slider .book-list-layout .book-title {
    font-size: 46px;
    line-height: 60px;
    margin-bottom: 20px;
}

.bclib-book-slider.featured-slider .book-list-layout .bclib_author {
    font-size: 24px;
    margin-bottom: 20px;
}

.bclib-book-slider.featured-slider .book-list-layout .book-price {
    font-size: 32px;
    margin-bottom: 20px;
}

.bclib-book-slider .bclib-book-loop-content-wrapper .book-price .regular-price.previous-price {
    font-size: 18px;
    align-self: center;
    margin-right: 10px;
}

.bclib-book-slider.featured-slider .book-list-layout .book-price .regular-price {
    align-self: center;
}

.bclib-book-slider.featured-slider .book-list-layout .book-desc {
    font-size: 22px;
    margin: 20px 0 25px 0;
}

.bclib-book-slider.featured-slider .book-list-layout .book-buy-btn a {
    text-transform: capitalize;
    font-weight: 400;
    font-size: 18px;
}

.bclib-book-slider.featured-slider .msl-title-wrapper {
    margin-bottom: 5px;
    margin-top: 30px;
}

.bclib-book-slider.featured-slider .book-also-available-website-list a {
    color: #000;
    border: 1px solid #ddd;
}

.bclib-book-slider.featured-slider .book-also-available-website-list a:hover {
    color: #f1f1f1;
}

.bclib-book-slider.featured-slider .msl-title-wrapper>div {
    border-color: transparent !important;
}

@media (max-width: 991px) {
    .bclib-book-slider.featured-slider .book-list-layout .book-title {
        font-size: 36px;
        line-height: 46px;
    }

    .bclib-book-slider.featured-slider .book-list-layout .book-price {
        font-size: 26px;
    }

    .bclib-book-slider.featured-slider .book-list-layout .book-desc,
    .bclib-book-slider.featured-slider .book-list-layout .book-buy-btn a,
    .bclib-book-slider.featured-slider .book-list-layout .bclib_author,
    .bclib-book-slider .bclib-book-loop-content-wrapper .book-price .regular-price.previous-price {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .bclib-book-slider.featured-slider .book-list-layout.thumbnail-position-right .bclib-book-loop-image {
        padding-left: 0 !important;
        margin-bottom: 20px;
    }

    .bclib-book-slider.featured-slider .book-list-layout.thumbnail-position-left .bclib-book-loop-image {
        padding-right: 0 !important;
        margin-bottom: 20px;
    }

    .bclib-book-slider.featured-slider .book-list-layout .book-title {
        font-size: 28px;
        line-height: 38px;
    }

    .bclib-book-slider.featured-slider .book-list-layout .book-price {
        font-size: 20px;
    }

    .bclib-book-slider.featured-slider .book-list-layout .book-desc,
    .bclib-book-slider.featured-slider .book-list-layout .book-buy-btn a,
    .bclib-book-slider.featured-slider .book-list-layout .bclib_author,
    .bclib-book-slider .bclib-book-loop-content-wrapper .book-price .regular-price.previous-price {
        font-size: 16px;
    }
}

/*Third Party Themes Support [Generate Press]*/
body.right-sidebar .carousel-slider .book-list-layout.thumbnail-position-left .bclib-book-loop-image,
body.left-sidebar .carousel-slider .book-list-layout.thumbnail-position-left .bclib-book-loop-image {
    padding-right: 0 !important;
}

body.right-sidebar .carousel-slider .book-list-layout.thumbnail-position-right .bclib-book-loop-image,
body.left-sidebar .carousel-slider .book-list-layout.thumbnail-position-right .bclib-book-loop-image {
    padding-left: 0 !important;
}

body.right-sidebar .carousel-slider .book-list-layout .bclib-book-loop-content-wrapper .book-title,
body.left-sidebar .carousel-slider .book-list-layout .bclib-book-loop-content-wrapper .book-title {
    font-size: 18px;
    margin-bottom: 6px;
}

body.right-sidebar .carousel-slider .book-list-layout .bclib-book-loop-content-wrapper,
body.left-sidebar .carousel-slider .book-list-layout .bclib-book-loop-content-wrapper {
    padding: 10px 10px 10px 20px;
}

body.right-sidebar .carousel-slider .book-list-layout .bclib-book-loop-content-wrapper .book-buy-btn a,
body.left-sidebar .carousel-slider .book-list-layout .bclib-book-loop-content-wrapper .book-buy-btn a {
    border: none;
    margin-bottom: 0;
    padding: 7px 15px;
    font-weight: 400;
    text-transform: capitalize;
}

.bclib-book-buttons-wrapper .book-add-to-cart-btn {
    margin-bottom: 5px !important;
}

.bclib-book-buttons-wrapper>div {
    margin-right: 0 !important;
}

.bclib-book-buttons-wrapper>div:first-child {
    margin-left: 0 !important;
}

.bclib-book-buttons-wrapper .book-add-to-cart-btn button {
    border-radius: 0;
    padding: 9px 25px;
    line-height: inherit;
    display: block;
    width: auto;
    height: auto !important;
}

body.right-sidebar .carousel-slider .book-list-layout .bclib-book-loop-content-wrapper .bclib_author,
body.left-sidebar .carousel-slider .book-list-layout .bclib-book-loop-content-wrapper .bclib_author {
    margin-bottom: 6px;
    font-size: 14px;
}

body.right-sidebar .carousel-slider .book-list-layout .bclib-book-loop-content-wrapper .book-price,
body.left-sidebar .carousel-slider .book-list-layout .bclib-book-loop-content-wrapper .book-price {
    font-size: 16px;
}

body.book-catalogue-library-single-page.boxed .bclib-book-single-wrapper {
    background: #ffff;
    margin: 0;
    padding-top: 30px;
}

.ak-main-wrap {
    background: #fff;
}

body.single-book .ak-main-wrap {
    background: #ffffff;
}

/* Book Author List Shortcode Style */
.bclib-single-author-wrapper .author-name h2 {
    font-size: 20px;
    margin: 0;
}

.bclib-single-author-wrapper .author-name h2 a {
    color: #000;
}

.bclib-single-author-wrapper .author-book-count h5 {
    margin: 0;
    font-size: 14px;
}

.bclib-single-author-wrapper .author-book-count h5 a {
    color: #777;
}

.bclib-single-author-wrapper .author-description p {
    margin: 0;
    font-size: 15px;
    color: #777;
}

.bclib-single-author-wrapper {
    border: 1px solid #f1f1f1;
    padding: 20px;
    margin-bottom: 30px;
}

.bclib-single-author-wrapper .view-author-profile-button {
    margin-top: 10px;
}

.bclib-single-author-wrapper .view-author-profile-button a {
    color: #000;
    border-bottom: 1px solid #000;
    padding-bottom: 2px;
    display: inline-block;
    text-decoration: none;
    position: relative;
    transition: .4s;
}

.bclib-single-author-wrapper .view-author-profile-button a:before {
    position: absolute;
    width: 100%;
    bottom: 0;
    content: "";
    background: transparent;
    left: 0;
    height: 2px;
    transition: .4s;
}

.bclib-single-author-wrapper .view-author-profile-button a:hover:before {
    background: #000;
}

.bclib-single-author-wrapper .author-name {
    margin-bottom: 10px;
}

.bclib-single-author-wrapper .author-book-count {
    margin-bottom: 10px;
}

.bclib-single-author-wrapper .author-profile-picture-container img {
    display: block;
}

.bclib-single-author-wrapper .author-profile-picture-container {
    margin-bottom: 15px;
}

.bclib-single-author-wrapper .author-description {
    margin-bottom: 15px;
}

.author-social-links-wrapper .bclib-bclib_author-social-profiles {
    flex-flow: column;
}

.bclib-single-author-wrapper>.bclib-bclib_author-social-profiles {
    margin-bottom: 10px;
}

.bclib-author-profile-picture-wrapper {
    position: relative;
}

.author-social-links-wrapper {
    position: absolute;
    left: 0;
    bottom: 0;
    visibility: hidden;
    opacity: 0;
    transition: .4s;
}

.bclib-single-author-wrapper:hover .author-social-links-wrapper {
    left: 10px;
    bottom: 10px;
    visibility: visible;
    opacity: 1;
}

.author-social-links-wrapper .social-link {
    margin-top: 5px;
}

.bclib-single-author-wrapper .bclib-bclib_author-social-profiles .social-link {
    margin-bottom: 5px;
}

.bclib-single-author-wrapper .bclib-bclib_author-social-profiles .social-link a {
    width: 30px;
    height: 30px;
    font-size: 12px;
    line-height: 30px;
    text-decoration: none;
}

.author-social-links-wrapper .social-link:first-child {
    margin-top: 0;
}

.bclib-books-filtering-menu-area {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-flow: wrap;
}

.bclib-books-filtering-menu-area a.catItem {
    display: block;
    padding: 10px 20px;
    line-height: normal;
    border: 1px solid #f1f1f1;
    color: #343434;
    margin: 5px;
    text-decoration: none;
    transition: .4s;
    background: #f1f1f1;
}

.bclib-books-filtering-menu-area a.catItem:active,
.bclib-books-filtering-menu-area a.catItem:focus,
.bclib-books-filtering-menu-area a.catItem:hover {
    color: #343434;
    background: #f4f4ec;
}

.bclib-books-filtering-menu-area a:first-child {
    margin-left: 0;
}

.bclib-books-filtering-menu-area a:last-child {
    margin-right: 0;
}

body.right-sidebar .book-gallery-list-layout-1-col .book-list-layout .book-title,
body.left-sidebar .book-gallery-list-layout-1-col .book-list-layout .book-title {
    font-size: 26px;
    line-height: 36px;
}

body.right-sidebar .book-gallery-list-layout-1-col .book-list-layout .bclib_author,
body.left-sidebar .book-gallery-list-layout-1-col .book-list-layout .bclib_author {
    font-size: 18px;
}

body.right-sidebar .book-gallery-list-layout-1-col .book-list-layout .bclib_author a,
body.left-sidebar .book-gallery-list-layout-1-col .book-list-layout .bclib_author a {
    font-weight: 400;
}

body.right-sidebar .book-gallery-list-layout-1-col .book-list-layout .book-price,
body.left-sidebar .book-gallery-list-layout-1-col .book-list-layout .book-price {
    font-size: 26px;
}

body.right-sidebar .book-gallery-list-layout-1-col .book-list-layout .book-desc,
body.left-sidebar .book-gallery-list-layout-1-col .book-list-layout .book-desc {
    font-size: 16px;
}

body.right-sidebar .book-gallery-list-layout-1-col .book-list-layout .book-multiple-sales-links h2,
body.left-sidebar .book-gallery-list-layout-1-col .book-list-layout .book-multiple-sales-links h2 {
    font-size: 26px;
    margin-bottom: 15px;
    line-height: 36px;
}

body.right-sidebar .book-gallery-list-layout-1-col .book-list-layout,
body.left-sidebar .book-gallery-list-layout-1-col .book-list-layout {
    padding: 15px;
}

body.right-sidebar .book-gallery-list-layout-1-col .bclib-book-loop-content-wrapper .msl-title-wrapper,
body.left-sidebar .book-gallery-list-layout-1-col .bclib-book-loop-content-wrapper .msl-title-wrapper {
    margin-bottom: 0;
}

body.single-post .bclib-book-loop-content-wrapper.book-content-column .single-website a {
    font-weight: 400;
    font-size: 16px;
    line-height: normal;
}

body.single-post .post-details-page .book-also-available-website-list a:hover {
    color: #fff;
    text-decoration: none;
}

body.both-sidebar .book-gallery-list-layout-1-col .book-list-layout .book-title {
    font-size: 22px;
    line-height: 32px;
}

body.both-sidebar .book-gallery-list-layout-1-col .book-list-layout .bclib_author {
    font-size: 18px;
}

body.both-sidebar .book-gallery-list-layout-1-col .book-list-layout .bclib_author a {
    font-weight: 400;
}

body.both-sidebar .book-gallery-list-layout-1-col .book-list-layout .book-price {
    font-size: 24px;
}

body.both-sidebar .book-gallery-list-layout-1-col .book-list-layout .book-desc {
    font-size: 16px;
    line-height: 26px;
}

body.both-sidebar .book-gallery-list-layout-1-col .book-list-layout {
    padding: 15px;
}

body.both-sidebar .bclib-book-container.book-list-layout.thumbnail-position-left .bclib-book-loop-image {
    padding-right: 10px !important;
}

.cart-popup-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 15px 25px;
    border-radius: 5px;
    z-index: 10000;
    font-size: 16px;
}

.single_add_to_cart_button.disabled,
.loop_add_to_cart_button.disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.7;
    border-color: #cccccc;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

button.loop_add_to_cart_button.button.alt {
    position: relative;
}

button.loop_add_to_cart_button.button.alt.disabled {
    border-color: #00000094;
}

button.loop_add_to_cart_button.button.alt.disabled:before {
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    background: #00000094;
    left: 0;
    top: 0;
}

button.loop_add_to_cart_button.button.alt.disabled:after {
    position: absolute;
    height: 20px;
    width: 20px;
    content: '';
    border: 3px dashed #fff;
    border-radius: 50%;
    -webkit-animation: spin 800ms linear infinite;
    animation: spin 800ms linear infinite;
}

/* Book Single Page Cart Button */

.book-single-page-buttons-wrapper {
    display: flex;
    flex-flow: wrap;
}

.book-single-page-buttons-wrapper a.reset_variations {
    display: inline-block;
    margin-right: 10px;
    margin-left: 5px;
}

.bclib-book-cart-form button.single_add_to_cart_button {
    padding: 10px 20px;
    background-color: #ddd;
}

.bclib-book-cart-form .quantity input {
    border: 1px solid #f1f1f1;
    width: 60px;
    padding: 10px;
}

.bclib-book-cart-form .variations_button {
    display: flex;
    gap: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.bclib-book-cart-form table.variations {
    border-collapse: separate;
    border-spacing: 0 5px;
    margin-top: -5px;
}

.bclib-book-cart-form table.variations td {
    padding: 5px;
    border: 1px solid #f1f1f1;
}

.bclib-book-loop-btn a {
    background: #ddd;
    padding: 10px 15px;
    color: #000;
}

.bclib-book-loop-btn a.added_to_cart.wc-forward {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.bclib-book-loop-btn {
    position: relative;
}

.bclib-book-cart-form table.variations tr th {
    text-transform: capitalize;
    padding-right: 10px;
}

.bclib-book-cart-form table.variations {
    margin-right: 10px;
}

body.single-book div.product .bclib-container form.cart {
    margin-bottom: 0;
}

body.single-book div.product .bclib-container form.cart input::-webkit-outer-spin-button,
body.single-book div.product .bclib-container form.cart input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.bclib-book-loop-btn a {
    background: #ddd;
    padding: 10px 15px;
    color: #000;
}

body.single-book div.product .bclib-container form.cart input[type=number] {
    -moz-appearance: textfield;
}

body.single-book div.product .bclib-container form.cart .bclib-pro-quantity-wrapper {
    width: 115px;
    border: 1px solid #f1f1f1;
    text-align: center;
    padding: 10px 6px;
    display: flex;
    align-items: center;
}

body.single-book div.product .bclib-container form.cart .bclib-pro-quantity-wrapper span.quantity-text {
    margin-right: 10px;
    color: rgb(0 0 0 / 60%);
    font-size: 11px;
}

body.single-book div.product .bclib-container form.cart .single_add_to_cart_button {
    height: auto;
}

body.single-book div.product .bclib-container div.quantity {
    float: none;
}

body.single-book div.product .bclib-container form.cart .bclib-pro-quantity-wrapper input[type="number"] {
    width: 32px !important;
    padding: 0 !important;
    border: none;
    font-weight: 400;
    color: #000;
    height: auto;
    min-width: 32px !important;
}

body.single-book div.product .bclib-container form.cart .bclib-pro-quantity-wrapper span.fa-solid {
    cursor: pointer;
    width: 10px;
    height: 100%;
    display: inline-block;
    font-weight: 700;
    color: rgba(0, 0, 0, .6);
}

/* Typography for Book Short Description */
.bclib-book-short-description h1 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    color: #333;
}

.bclib-book-short-description h2 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    color: #333;
}

.bclib-book-short-description h3 {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.4;
    color: #444;
}

.bclib-book-short-description h4 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    color: #444;
}

.bclib-book-short-description h5 {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #555;
}

.bclib-book-short-description h6 {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #555;
}

.bclib-book-short-description h1,
.bclib-book-short-description h2,
.bclib-book-short-description h3,
.bclib-book-short-description h4,
.bclib-book-short-description h5,
.bclib-book-short-description h6,
.bclib-book-short-description p {
    margin-top: 15px;
    margin-bottom: 10px;
}

.bclib-book-short-description p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    font-weight: 400;
}

.bclib-book-short-description a {
    color: #0073aa;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.bclib-book-short-description a:hover {
    color: #005177;
    text-decoration: none;
}

.bclib-book-short-description strong {
    font-weight: 700;
    color: #333;
}

.bclib-book-short-description em {
    font-style: italic;
    color: #555;
}

.bclib-book-short-description ul,
.bclib-book-short-description ol {
    margin-left: 0;
    padding-left: 19px;
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.bclib-book-short-description ul {
    list-style-type: disc;
}

.bclib-book-short-description ol {
    list-style-type: decimal;
}

.bclib-book-short-description ul ul,
.bclib-book-short-description ol ol,
.bclib-book-short-description ul ol,
.bclib-book-short-description ol ul {
    margin-top: 0;
    margin-bottom: 0;
}

.bclib-book-short-description blockquote {
    margin: 15px 0;
    padding: 15px 20px;
    background: #f9f9f9;
    border-left: 4px solid #0073aa;
    font-style: italic;
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}

.bclib-book-short-description blockquote p {
    margin: 0;
}

.bclib-book-short-description table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 15px;
    line-height: 1.5;
    color: #666;
}

.bclib-book-short-description table th,
.bclib-book-short-description table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.bclib-book-short-description table th {
    background: #f5f5f5;
    font-weight: 600;
    color: #333;
}

.bclib-book-short-description table tr:nth-child(even) {
    background: #fafafa;
}

.bclib-book-short-description table tr:hover {
    background: #f0f0f0;
}

.bclib-book-short-description pre {
    background: #f5f5f5;
    padding: 15px;
    margin: 15px 0;
    font-family: "Courier New", Courier, monospace;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    white-space: pre-wrap;
    border-radius: 3px;
    overflow-x: auto;
}

.bclib-book-short-description code {
    background: #f5f5f5;
    padding: 2px 5px;
    font-family: "Courier New", Courier, monospace;
    font-size: 14px;
    color: #d63333;
    border-radius: 3px;
}

.bclib-book-short-description hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 20px 0;
}

.bclib-modal-content .bclib-book-single-header-content-container.others-pages h2.book-name {
    font-size: 24px;
    line-height: 1.4;
}

span.a-text-bold {
    font-weight: 700;
}

.admin-message-for-search-form {
    background: #ddd;
    margin-bottom: 10px;
    padding: 2px 10px;
    display: inline-block;
    font-size: 11px;
}


.bclib-author-search {
    margin-bottom: 20px;
}

.bclib-author-search-form {
    display: flex;
    gap: 10px;
}

.author-search-input {
    padding: 8px;
    width: 200px;
}

.bclib-load-more-wrapper {
    text-align: center;
    margin-top: 20px;
}

.bclib-load-more-btn {
    padding: 10px 20px;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

.bclib-load-more-btn:hover {
    background: #0056b3;
}

form.bclib-author-search-form input {
    width: 100%;
}

form.bclib-author-search-form button {
    background: #f1f1f1;
    border: 1px solid #f1f1f1;
    color: #000;
}

.bclib-search-message {
    text-align: center;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

@-webkit-keyframes slideIn {
    from {
        bottom: -300px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

@keyframes slideIn {
    from {
        bottom: -300px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.featured-book-cover-wrapper img {
    max-width: 100%;
    height: auto;
}

.bclib-modern-search {
    --bclib-modern-accent: #2563eb;
    --bclib-modern-ink: #081a44;
    --bclib-modern-muted: #667394;
    background: #fff;
    border: 1px solid #e5ebf5;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(8, 26, 68, 0.08);
    color: var(--bclib-modern-ink);
    margin: 0 auto 30px;
    max-width: var(--bclib-grid-max-width, 1180px);
    padding: 18px 18px 3px;
}

.bclib-modern-search .admin-message-for-search-form {
    background: #f4f7fb;
    border: 1px solid #e5ebf5;
    border-radius: 6px;
    color: var(--bclib-modern-muted);
    font-size: 13px;
    margin: 0 0 14px;
    padding: 10px 12px;
}

.bclib-modern-search .admin-message-for-search-form a {
    color: var(--bclib-modern-accent);
    font-weight: 700;
}

.bclib-modern-search .bclib-search-form .search-field {
    margin-bottom: 15px;
}

.bclib-modern-search .bclib-search-form .search-field input,
.bclib-modern-search .bclib-search-form .search-field select,
.bclib-modern-search .bclib-search-form .select2-container .select2-selection--single {
    background: #f9fbff;
    border: 1px solid #d9e1ef;
    border-radius: 6px;
    color: var(--bclib-modern-ink);
    font-size: 14px;
    height: 42px;
    min-height: 42px;
}

.bclib-modern-search .bclib-search-form .search-field input {
    padding: 0 12px !important;
}

.bclib-modern-search .bclib-search-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--bclib-modern-ink);
    line-height: 42px;
}

.bclib-modern-search .bclib-search-form .search-field input[type=submit],
.bclib-modern-search .bclib-search-form .search-field input[type=submit]:hover,
.bclib-modern-search .bclib-search-form .search-field button.reset-search-form,
.bclib-modern-search .bclib-search-form .search-field button.reset-search-form:hover {
    background: var(--bclib-modern-accent);
    border: 1px solid var(--bclib-modern-accent);
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    height: 42px;
    min-height: 42px;
}

.bclib-modern-search .bclib-search-form .search-field button.reset-search-form {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    width: 100%;
}

.bclib-featured-slider {
    --bclib-featured-accent: #2563eb;
    --bclib-featured-ink: #081a44;
    --bclib-featured-muted: #667394;
    background: #f4f7fb;
    color: var(--bclib-featured-ink);
    margin: 0 auto 34px;
    overflow: hidden;
    padding: 38px 0;
}

.bclib-featured-slider .awt-full-width-books-slider-wrapper {
    margin: 0 auto;
    max-width: var(--bclib-grid-max-width, 1180px);
    padding-left: 16px;
    padding-right: 16px;
}

.bclib-featured-slider .featured-book-item {
    background: #fff;
    border: 1px solid #e5ebf5;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(8, 26, 68, 0.08);
    margin: 0;
    overflow: hidden;
    padding: 28px;
}

.bclib-featured-slider .book-title,
.bclib-featured-slider .book-title a {
    color: var(--bclib-featured-ink);
    font-size: 36px;
    line-height: 1.12;
    margin: 0 0 12px;
    text-decoration: none;
}

.bclib-featured-slider .bclib_author,
.bclib-featured-slider .bclib_author a {
    color: var(--bclib-featured-accent);
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 16px;
    text-decoration: none;
}

.bclib-featured-slider .book-desc {
    color: var(--bclib-featured-muted);
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 22px;
}

.bclib-featured-slider .book-buttons {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bclib-featured-slider .book-buy-btn a,
.bclib-featured-slider .book-details-btn a {
    background: var(--bclib-featured-accent);
    border: 1px solid var(--bclib-featured-accent);
    border-radius: 6px;
    color: #fff;
    display: inline-flex;
    font-weight: 800;
    line-height: 1;
    padding: 13px 16px;
    text-decoration: none;
}

.bclib-featured-slider .book-details-btn a {
    background: #fff;
    color: var(--bclib-featured-accent);
}

.bclib-featured-slider .featured-book-cover-wrapper {
    align-items: center;
    display: flex;
    height: var(--bclib-slider-cover-height, auto);
    justify-content: center;
    overflow: hidden;
    text-align: center;
    width: var(--bclib-slider-cover-width, 100%);
}

.bclib-featured-slider .featured-book-cover-wrapper img {
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(8, 26, 68, 0.16);
    height: 100% !important;
    max-height: none !important;
    max-width: none !important;
    object-fit: var(--bclib-slider-cover-fit, var(--bclib-card-cover-fit, var(--bclib-frontend-cover-fit, contain))) !important;
    object-position: center center !important;
    width: 100% !important;
}

.bclib-modern-search,
.bclib-featured-slider {
    --bclib-modern-accent: currentColor;
    --bclib-modern-ink: inherit;
    --bclib-modern-muted: currentColor;
    --bclib-featured-accent: currentColor;
    --bclib-featured-ink: inherit;
    --bclib-featured-muted: currentColor;
    color: inherit;
    font-family: inherit;
}

.bclib-modern-search *,
.bclib-featured-slider * {
    font-family: inherit;
}

.bclib-modern-search,
.bclib-modern-search .admin-message-for-search-form,
.bclib-modern-search .bclib-search-form .search-field input,
.bclib-modern-search .bclib-search-form .search-field select,
.bclib-modern-search .bclib-search-form .select2-container .select2-selection--single,
.bclib-featured-slider,
.bclib-featured-slider .featured-book-item {
    background: var(--bclib-catalogue-surface, Canvas);
    border-color: currentColor;
    color: inherit;
}

.bclib-modern-search .admin-message-for-search-form,
.bclib-modern-search .admin-message-for-search-form a,
.bclib-modern-search .bclib-search-form .search-field input,
.bclib-modern-search .bclib-search-form .search-field select,
.bclib-modern-search .bclib-search-form .select2-container--default .select2-selection--single .select2-selection__rendered,
.bclib-featured-slider .book-title,
.bclib-featured-slider .book-title a,
.bclib-featured-slider .bclib_author,
.bclib-featured-slider .bclib_author a,
.bclib-featured-slider .book-desc {
    color: inherit;
}

.bclib-modern-search .bclib-search-form .search-field input[type=submit],
.bclib-modern-search .bclib-search-form .search-field input[type=submit]:hover,
.bclib-modern-search .bclib-search-form .search-field button.reset-search-form,
.bclib-modern-search .bclib-search-form .search-field button.reset-search-form:hover,
.bclib-featured-slider .book-buy-btn a,
.bclib-featured-slider .book-details-btn a {
    background: transparent;
    border-color: currentColor;
    color: inherit;
}

@media (max-width: 767px) {
    .bclib-featured-slider {
        padding: 22px 0;
    }

    .bclib-featured-slider .featured-book-item {
        padding: 18px;
    }

    .bclib-featured-slider .book-title,
    .bclib-featured-slider .book-title a {
        font-size: 28px;
    }
}

.bclib-single-book-gallery {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: grid;
    align-items: stretch;
    gap: 1px;
    grid-template-columns: 96px minmax(0, 1fr);
    height: auto;
    margin: 0 auto;
    max-width: calc(100vw - 32px);
    padding: 0;
    position: relative;
    width: var(--bclib-single-cover-width, 760px);
}

.bclib-single-book-gallery.has-single-image {
    grid-template-columns: minmax(0, 1fr);
}

.bclib-single-book-gallery.has-single-image .bclib-single-book-gallery__main {
    grid-column: 1;
}

.book-catalogue-library-single-page .bclib-book-single-header-content-container.book-single-page > .bclib-row > .bclib-col-lg-5,
body.single-book .bclib-book-single-header-content-container.book-single-page > .bclib-row > .bclib-col-lg-5 {
    flex: 0 1 auto;
    max-width: 100%;
    width: auto;
}

.book-catalogue-library-single-page .bclib-book-image-wrapper,
body.single-book .bclib-book-image-wrapper {
    margin-left: auto;
    margin-right: auto;
    max-width: calc(100vw - 32px);
    width: fit-content;
}

.bclib-single-book-gallery__main {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    cursor: zoom-in;
    display: flex;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    height: auto;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 100%;
}

.bclib-single-book-gallery__main::after {
    background: linear-gradient(90deg, rgba(15, 31, 61, 0), rgba(15, 31, 61, 0.18));
    content: "";
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: opacity 180ms ease;
}

.bclib-single-book-gallery__main img {
    aspect-ratio: auto;
    display: block;
    height: auto;
    max-height: var(--bclib-single-cover-height, 760px);
    max-width: 100%;
    object-fit: contain;
    padding: 0;
    transition: transform 220ms ease;
    width: auto;
}

.bclib-single-book-gallery__main span {
    align-items: center;
    background: rgba(15, 31, 61, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    bottom: 16px;
    color: #fff;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    left: 50%;
    opacity: 0;
    padding: 8px 14px;
    position: absolute;
    transform: translate(-50%, 8px);
    transition: opacity 180ms ease, transform 180ms ease;
    white-space: nowrap;
    z-index: 2;
}

.bclib-single-book-gallery__main:hover::after,
.bclib-single-book-gallery__main:focus::after {
    opacity: 1;
}

.bclib-single-book-gallery__main:hover img,
.bclib-single-book-gallery__main:focus img {
    transform: scale(1.025);
}

.bclib-single-book-gallery__main:hover span,
.bclib-single-book-gallery__main:focus span {
    opacity: 1;
    transform: translate(-50%, 0);
}

.bclib-single-book-gallery__slider {
    align-items: center;
    align-self: start;
    background: transparent;
    border: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    grid-column: 1;
    grid-row: 1;
    height: auto;
    justify-content: flex-start;
    min-height: 0;
    padding: 0;
    position: relative;
    width: 96px;
}

.bclib-single-book-gallery__track {
    align-items: center;
    box-sizing: border-box;
    display: block;
    gap: 0;
    max-height: var(--bclib-single-cover-height, 760px);
    height: auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 31px 0;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    width: 100%;
}

.bclib-single-book-gallery__track {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.bclib-single-book-gallery__track::-webkit-scrollbar {
    display: none;
}

.bclib-single-book-gallery__thumb {
    appearance: none;
    background: #fff;
    border: 1px solid #e5edf7;
    border-radius: 4px;
    box-sizing: border-box;
    box-shadow: none;
    cursor: pointer;
    display: block;
    flex: 0 0 auto;
    height: auto;
    line-height: 0;
    margin: 0 auto 1px !important;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    width: 88px;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.bclib-single-book-gallery__thumb:last-child {
    margin-bottom: 0 !important;
}

.bclib-single-book-gallery__thumb:hover,
.bclib-single-book-gallery__thumb:focus {
    border-color: #93b7ff;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.14);
    transform: translateY(-1px);
}

.bclib-single-book-gallery__thumb.is-active {
    border-color: #2563eb;
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.22);
}

.bclib-single-book-gallery__thumb img {
    border-radius: 2px;
    display: block;
    height: auto !important;
    margin: 0 !important;
    max-height: none !important;
    max-width: 100% !important;
    object-fit: contain;
    width: 100%;
}

.bclib-single-book-gallery__arrow {
    align-items: center;
    background: #f8b947;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 22px;
    font-weight: 700;
    height: 30px;
    justify-content: center;
    line-height: 1;
    padding: 0 0 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
    width: 52px;
    z-index: 2;
}

.bclib-single-book-gallery__arrow[data-bclib-gallery-prev] {
    top: 0;
}

.bclib-single-book-gallery__arrow[data-bclib-gallery-next] {
    bottom: 0;
}

.bclib-single-book-gallery__arrow:hover,
.bclib-single-book-gallery__arrow:focus {
    background: #2563eb;
    color: #fff;
    transform: translateX(-50%);
}

@media (max-width: 480px) {
    .bclib-single-book-gallery {
        grid-template-columns: 64px minmax(0, 1fr);
        max-width: 100%;
        gap: 6px;
        width: 100%;
    }

    .bclib-single-book-gallery__slider {
        width: 64px;
    }

    .bclib-single-book-gallery__thumb {
        flex-basis: auto;
        height: auto;
        width: 58px;
    }

    .bclib-single-book-gallery__arrow {
        width: 58px;
    }

    .bclib-single-book-gallery__track {
        gap: 1px;
        padding: 32px 0;
    }
}

.bclib-gallery-modal {
    align-items: center;
    background: rgba(2, 8, 23, 0.82);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 32px;
    position: fixed;
    z-index: 999999;
}

.bclib-gallery-modal.is-open {
    display: flex;
}

.bclib-gallery-modal img {
    background: #fff;
    border-radius: 8px;
    max-height: 90vh;
    max-width: min(92vw, 980px);
    object-fit: contain;
}

.bclib-gallery-modal__close {
    align-items: center;
    background: #fff;
    border: 0;
    border-radius: 999px;
    color: #081a44;
    cursor: pointer;
    display: inline-flex;
    font-size: 28px;
    height: 40px;
    justify-content: center;
    position: fixed;
    right: 24px;
    top: 24px;
    width: 40px;
}

body.bclib-gallery-modal-open {
    overflow: hidden;
}

body.bclib-catalog-boxed-layout.book-catalogue-library-single-page #content .ast-container,
body.bclib-catalog-boxed-layout.book-catalogue-library-archive-page #content .ast-container,
body.bclib-catalog-boxed-layout.book-catalogue-library-author-tax-page #content .ast-container,
body.bclib-catalog-boxed-layout.book-catalogue-library-category-tax-page #content .ast-container,
body.bclib-catalog-boxed-layout.book-catalogue-library-series-tax-page #content .ast-container,
body.bclib-catalog-boxed-layout.book-catalogue-library-publisher-tax-page #content .ast-container,
body.bclib-catalog-boxed-layout .bclib-archive-pages-wrapper,
body.bclib-catalog-boxed-layout .bclib-book-single-wrapper {
    max-width: var(--bclib-grid-max-width, 1180px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.bclib-catalog-boxed-layout {
    background: #fff;
}

body.book-catalogue-library-activated.bclib-catalog-boxed-layout .site-content,
body.book-catalogue-library-activated.bclib-catalog-boxed-layout #content,
body.book-catalogue-library-activated.bclib-catalog-boxed-layout .ast-container,
body.book-catalogue-library-activated.bclib-catalog-boxed-layout .entry-content,
body.book-catalogue-library-activated.bclib-catalog-boxed-layout .wp-block-post-content {
    background: #fff;
}

body.bclib-catalog-boxed-layout .bclib-archive-pages-wrapper,
body.bclib-catalog-boxed-layout .bclib-book-single-wrapper {
    background: #fff;
    border: 1px solid #dfe8f4;
    border-radius: 10px;
    box-shadow: 0 24px 60px rgba(8, 26, 68, 0.08);
    margin-bottom: 32px !important;
    margin-top: 32px !important;
    overflow: visible;
    padding: 24px !important;
}

body.bclib-catalog-boxed-layout .bclib-catalogue-shortcode-box {
    background: #fff;
    border: 1px solid #dfe8f4;
    border-radius: 10px;
    box-shadow: 0 24px 60px rgba(8, 26, 68, 0.08);
    margin: 32px auto !important;
    max-width: var(--bclib-grid-max-width, 1320px);
    min-height: var(--bclib-grid-min-height, 0);
    overflow: visible;
    padding: 24px !important;
    width: min(100%, var(--bclib-grid-max-width, 1320px));
}

body.bclib-catalog-boxed-layout .bclib-catalogue-shortcode-box > *:first-child {
    margin-top: 0 !important;
}

body.bclib-catalog-boxed-layout .bclib-catalogue-shortcode-box > *:last-child {
    margin-bottom: 0 !important;
}

body.bclib-catalog-boxed-layout .bclib-catalogue-shortcode-box .bclib-catalogue-grid,
body.bclib-catalog-boxed-layout .bclib-catalogue-shortcode-box .bclib-featured-slider,
body.bclib-catalog-boxed-layout .bclib-catalogue-shortcode-box .bclib-book-slider,
body.bclib-catalog-boxed-layout .bclib-catalogue-shortcode-box .awt-full-width-book-slider-section,
body.bclib-catalog-boxed-layout .bclib-catalogue-shortcode-box .bclib-frontend-shell,
body.bclib-catalog-boxed-layout .bclib-catalogue-shortcode-box .bclib-frontend,
body.bclib-catalog-boxed-layout .bclib-catalogue-shortcode-box .bclib-mode,
body.bclib-catalog-boxed-layout .bclib-catalogue-shortcode-box .bclib-expansion-card,
body.bclib-catalog-boxed-layout .bclib-catalogue-shortcode-box .bclib-affiliate-choice {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 auto 28px !important;
    max-width: 100% !important;
    padding: 0 !important;
    width: 100% !important;
}

body.bclib-catalog-boxed-layout .bclib-catalogue-shortcode-box .bclib-suggestion-form-wrap {
    margin: 28px auto 0 !important;
    max-width: 720px;
}

body.bclib-catalog-boxed-layout:not(.book-catalogue-library-single-page):not(.book-catalogue-library-archive-page):not(.book-catalogue-library-author-tax-page):not(.book-catalogue-library-category-tax-page):not(.book-catalogue-library-series-tax-page):not(.book-catalogue-library-publisher-tax-page):not(.book-catalogue-library-illustrator-tax-page):not(.book-catalogue-library-translator-tax-page):not(.book-catalogue-library-tag-tax-page) .bclib-catalogue-grid {
    background: #fff;
    border: 1px solid #dfe8f4;
    border-radius: 10px;
    box-shadow: 0 24px 60px rgba(8, 26, 68, 0.08);
    margin-bottom: 32px !important;
	margin-top: 0 !important;
    padding: 24px !important;
}

body.bclib-catalog-boxed-layout:not(.book-catalogue-library-single-page):not(.book-catalogue-library-archive-page):not(.book-catalogue-library-author-tax-page):not(.book-catalogue-library-category-tax-page):not(.book-catalogue-library-series-tax-page):not(.book-catalogue-library-publisher-tax-page):not(.book-catalogue-library-illustrator-tax-page):not(.book-catalogue-library-translator-tax-page):not(.book-catalogue-library-tag-tax-page) .bclib-catalogue-grid:has(+ .bclib-catalogue-grid) {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: 0 !important;
}

body.bclib-catalog-boxed-layout:not(.book-catalogue-library-single-page):not(.book-catalogue-library-archive-page):not(.book-catalogue-library-author-tax-page):not(.book-catalogue-library-category-tax-page):not(.book-catalogue-library-series-tax-page):not(.book-catalogue-library-publisher-tax-page):not(.book-catalogue-library-illustrator-tax-page):not(.book-catalogue-library-translator-tax-page):not(.book-catalogue-library-tag-tax-page) .bclib-catalogue-grid + .bclib-catalogue-grid {
    border-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    box-shadow: 0 24px 60px rgba(8, 26, 68, 0.08);
    margin-top: 0 !important;
}

body.bclib-catalog-boxed-layout:not(.book-catalogue-library-single-page):not(.book-catalogue-library-archive-page):not(.book-catalogue-library-author-tax-page):not(.book-catalogue-library-category-tax-page):not(.book-catalogue-library-series-tax-page):not(.book-catalogue-library-publisher-tax-page):not(.book-catalogue-library-illustrator-tax-page):not(.book-catalogue-library-translator-tax-page):not(.book-catalogue-library-tag-tax-page) .bclib-catalogue-shortcode-box .bclib-catalogue-grid,
body.bclib-catalog-boxed-layout:not(.book-catalogue-library-single-page):not(.book-catalogue-library-archive-page):not(.book-catalogue-library-author-tax-page):not(.book-catalogue-library-category-tax-page):not(.book-catalogue-library-series-tax-page):not(.book-catalogue-library-publisher-tax-page):not(.book-catalogue-library-illustrator-tax-page):not(.book-catalogue-library-translator-tax-page):not(.book-catalogue-library-tag-tax-page) .bclib-catalogue-shortcode-box .bclib-featured-slider,
body.bclib-catalog-boxed-layout:not(.book-catalogue-library-single-page):not(.book-catalogue-library-archive-page):not(.book-catalogue-library-author-tax-page):not(.book-catalogue-library-category-tax-page):not(.book-catalogue-library-series-tax-page):not(.book-catalogue-library-publisher-tax-page):not(.book-catalogue-library-illustrator-tax-page):not(.book-catalogue-library-translator-tax-page):not(.book-catalogue-library-tag-tax-page) .bclib-catalogue-shortcode-box .bclib-book-slider,
body.bclib-catalog-boxed-layout:not(.book-catalogue-library-single-page):not(.book-catalogue-library-archive-page):not(.book-catalogue-library-author-tax-page):not(.book-catalogue-library-category-tax-page):not(.book-catalogue-library-series-tax-page):not(.book-catalogue-library-publisher-tax-page):not(.book-catalogue-library-illustrator-tax-page):not(.book-catalogue-library-translator-tax-page):not(.book-catalogue-library-tag-tax-page) .bclib-catalogue-shortcode-box .awt-full-width-book-slider-section,
body.bclib-catalog-boxed-layout:not(.book-catalogue-library-single-page):not(.book-catalogue-library-archive-page):not(.book-catalogue-library-author-tax-page):not(.book-catalogue-library-category-tax-page):not(.book-catalogue-library-series-tax-page):not(.book-catalogue-library-publisher-tax-page):not(.book-catalogue-library-illustrator-tax-page):not(.book-catalogue-library-translator-tax-page):not(.book-catalogue-library-tag-tax-page) .bclib-catalogue-shortcode-box .bclib-frontend-shell,
body.bclib-catalog-boxed-layout:not(.book-catalogue-library-single-page):not(.book-catalogue-library-archive-page):not(.book-catalogue-library-author-tax-page):not(.book-catalogue-library-category-tax-page):not(.book-catalogue-library-series-tax-page):not(.book-catalogue-library-publisher-tax-page):not(.book-catalogue-library-illustrator-tax-page):not(.book-catalogue-library-translator-tax-page):not(.book-catalogue-library-tag-tax-page) .bclib-catalogue-shortcode-box .bclib-frontend,
body.bclib-catalog-boxed-layout:not(.book-catalogue-library-single-page):not(.book-catalogue-library-archive-page):not(.book-catalogue-library-author-tax-page):not(.book-catalogue-library-category-tax-page):not(.book-catalogue-library-series-tax-page):not(.book-catalogue-library-publisher-tax-page):not(.book-catalogue-library-illustrator-tax-page):not(.book-catalogue-library-translator-tax-page):not(.book-catalogue-library-tag-tax-page) .bclib-catalogue-shortcode-box .bclib-mode,
body.bclib-catalog-boxed-layout:not(.book-catalogue-library-single-page):not(.book-catalogue-library-archive-page):not(.book-catalogue-library-author-tax-page):not(.book-catalogue-library-category-tax-page):not(.book-catalogue-library-series-tax-page):not(.book-catalogue-library-publisher-tax-page):not(.book-catalogue-library-illustrator-tax-page):not(.book-catalogue-library-translator-tax-page):not(.book-catalogue-library-tag-tax-page) .bclib-catalogue-shortcode-box .bclib-expansion-card,
body.bclib-catalog-boxed-layout:not(.book-catalogue-library-single-page):not(.book-catalogue-library-archive-page):not(.book-catalogue-library-author-tax-page):not(.book-catalogue-library-category-tax-page):not(.book-catalogue-library-series-tax-page):not(.book-catalogue-library-publisher-tax-page):not(.book-catalogue-library-illustrator-tax-page):not(.book-catalogue-library-translator-tax-page):not(.book-catalogue-library-tag-tax-page) .bclib-catalogue-shortcode-box .bclib-affiliate-choice {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 auto 28px !important;
    padding: 0 !important;
}

body.bclib-catalog-boxed-layout .bclib-archive-pages-wrapper .bclib-container,
body.bclib-catalog-boxed-layout .bclib-book-single-wrapper .bclib-container,
body.bclib-catalog-boxed-layout .bclib-archive-pages-wrapper .bclib-catalogue-grid,
body.bclib-catalog-boxed-layout .bclib-book-single-wrapper .bclib-catalogue-grid {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (max-width: 1220px) {
    body.bclib-catalog-boxed-layout .bclib-archive-pages-wrapper,
    body.bclib-catalog-boxed-layout .bclib-book-single-wrapper,
    body.bclib-catalog-boxed-layout .bclib-catalogue-shortcode-box {
        margin-left: 16px !important;
        margin-right: 16px !important;
    }
}

@media (max-width: 640px) {
    body.bclib-catalog-boxed-layout .bclib-archive-pages-wrapper,
    body.bclib-catalog-boxed-layout .bclib-book-single-wrapper,
    body.bclib-catalog-boxed-layout .bclib-catalogue-shortcode-box {
        border-radius: 8px;
        margin-left: 10px !important;
        margin-right: 10px !important;
        padding: 16px !important;
    }
}

.bclib-reviews-section {
    max-width: var(--bclib-grid-max-width, 1180px);
    margin: 0 auto 34px;
    padding: 0 16px;
}

.bclib-reviews-head,
.bclib-reviews-layout {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr 360px;
}

.bclib-reviews-head {
    align-items: end;
    margin-bottom: 18px;
}

.bclib-reviews-kicker {
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.bclib-reviews-section h2,
.bclib-review-form h3 {
    color: #081a44;
    margin: 0;
}

.bclib-reviews-summary,
.bclib-review,
.bclib-review-form,
.bclib-reviews-empty,
.bclib-review-login-required {
    background: #fff;
    border: 1px solid #e3eaf5;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(8, 26, 68, 0.06);
}

.bclib-reviews-summary {
    padding: 16px;
}

.bclib-reviews-summary strong {
    color: #081a44;
    display: block;
    font-size: 30px;
    line-height: 1;
}

.bclib-review-stars {
    color: #cbd5e1;
    display: inline-flex;
    gap: 2px;
    letter-spacing: 0;
}

.bclib-review-stars .is-filled {
    color: #f59e0b;
}

.bclib-reviews-list {
    display: grid;
    gap: 14px;
}

.bclib-review {
    padding: 18px;
}

.bclib-review header {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 10px;
}

.bclib-review p {
    color: #4d5d78;
    margin: 0 0 12px;
}

.bclib-review time {
    color: #667394;
    font-size: 13px;
}

.bclib-review-form,
.bclib-reviews-empty,
.bclib-review-login-required {
    padding: 20px;
}

.bclib-review-form {
    display: grid;
    gap: 14px;
}

.bclib-review-form label {
    display: grid;
    gap: 6px;
}

.bclib-review-form label span {
    color: #263854;
    font-weight: 700;
}

.bclib-review-form input,
.bclib-review-form select,
.bclib-review-form textarea {
    border: 1px solid #d9e1ef;
    border-radius: 6px;
    color: #081a44;
    min-height: 42px;
    padding: 9px 11px;
    width: 100%;
}

.bclib-review-form button {
    align-self: center;
    background: #2563eb;
    border: 0;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-height: 42px;
    margin: 8px auto 0;
    padding: 0 16px;
}

.bclib-review-notice,
.bclib-review-error {
    border-radius: 6px;
    margin: 0 0 16px;
    padding: 12px 14px;
}

.bclib-review-notice {
    background: #ecfdf5;
    color: #166534;
}

.bclib-review-error {
    background: #fef2f2;
    color: #991b1b;
}

@media (max-width: 900px) {
    .bclib-reviews-head,
    .bclib-reviews-layout {
        grid-template-columns: 1fr;
    }
}

body.single-book .bclib-reviews-section,
body.book-catalogue-library-single-page .bclib-reviews-section {
    box-sizing: border-box;
    display: block;
    max-width: var(--bclib-single-page-width, var(--bclib-grid-max-width, 1180px)) !important;
    margin: 0 auto 34px !important;
    padding: 0 16px !important;
    width: 100%;
}

body.single-book .bclib-reviews-section *,
body.book-catalogue-library-single-page .bclib-reviews-section * {
    box-sizing: border-box;
}

body.single-book .bclib-reviews-head,
body.single-book .bclib-reviews-layout,
body.book-catalogue-library-single-page .bclib-reviews-head,
body.book-catalogue-library-single-page .bclib-reviews-layout {
    display: grid !important;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

body.single-book .bclib-reviews-kicker,
body.book-catalogue-library-single-page .bclib-reviews-kicker {
    color: #2563eb !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    margin: 0 0 6px !important;
    text-transform: uppercase;
}

body.single-book .bclib-reviews-section h2,
body.single-book .bclib-review-form h3,
body.book-catalogue-library-single-page .bclib-reviews-section h2,
body.book-catalogue-library-single-page .bclib-review-form h3 {
    color: #081a44 !important;
    margin: 0 !important;
}

body.single-book .bclib-review,
body.single-book .bclib-review-form,
body.single-book .bclib-reviews-empty,
body.single-book .bclib-review-login-required,
body.book-catalogue-library-single-page .bclib-review,
body.book-catalogue-library-single-page .bclib-review-form,
body.book-catalogue-library-single-page .bclib-reviews-empty,
body.book-catalogue-library-single-page .bclib-review-login-required {
    background: #fff !important;
    border: 1px solid #e3eaf5 !important;
    border-radius: 8px !important;
    box-shadow: 0 14px 34px rgba(8, 26, 68, 0.06) !important;
    padding: 20px !important;
}

body.single-book .bclib-review-form,
body.book-catalogue-library-single-page .bclib-review-form {
    display: grid !important;
    gap: 14px !important;
    max-width: 100%;
}

body.single-book .bclib-review-form label,
body.book-catalogue-library-single-page .bclib-review-form label {
    display: grid !important;
    gap: 6px !important;
    margin: 0 !important;
}

body.single-book .bclib-review-form input,
body.single-book .bclib-review-form select,
body.single-book .bclib-review-form textarea,
body.book-catalogue-library-single-page .bclib-review-form input,
body.book-catalogue-library-single-page .bclib-review-form select,
body.book-catalogue-library-single-page .bclib-review-form textarea {
    background: #f9fbff !important;
    border: 1px solid #d9e1ef !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    color: #081a44 !important;
    font-size: 15px !important;
    min-height: 42px !important;
    padding: 9px 11px !important;
    width: 100% !important;
}

body.single-book .bclib-review-form textarea,
body.book-catalogue-library-single-page .bclib-review-form textarea {
    min-height: 132px !important;
    resize: vertical;
}

body.single-book .bclib-review-form button,
body.book-catalogue-library-single-page .bclib-review-form button {
    background: #2563eb !important;
    border: 0 !important;
    border-radius: 6px !important;
    color: #fff !important;
    cursor: pointer;
    font-weight: 700 !important;
    min-height: 42px !important;
    padding: 0 16px !important;
    width: max-content;
}

@media (max-width: 900px) {
    body.single-book .bclib-reviews-head,
    body.single-book .bclib-reviews-layout,
    body.book-catalogue-library-single-page .bclib-reviews-head,
    body.book-catalogue-library-single-page .bclib-reviews-layout {
        grid-template-columns: 1fr !important;
    }
}

/* Modern Book Catalogue single page surface */
body.book-catalogue-library-single-page,
body.single-book {
    background: #f5f7fb;
}

.book-catalogue-library-single-page .bclib-book-single-wrapper,
body.single-book .bclib-book-single-wrapper,
body.bclib-catalog-boxed-layout.book-catalogue-library-single-page .bclib-book-single-wrapper,
body.bclib-catalog-boxed-layout.single-book .bclib-book-single-wrapper,
.bclib-book-single-wrapper.bclib-book-single-wrapper--sized {
    box-sizing: border-box;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: var(--bclib-single-page-width, 1500px) !important;
    padding: 34px 16px;
    width: min(100%, var(--bclib-single-page-width, 1500px)) !important;
}

.book-catalogue-library-single-page .bclib-book-single-wrapper .bclib-container,
body.single-book .bclib-book-single-wrapper .bclib-container,
body.bclib-catalog-boxed-layout.book-catalogue-library-single-page .bclib-book-single-wrapper .bclib-container,
body.bclib-catalog-boxed-layout.single-book .bclib-book-single-wrapper .bclib-container,
.bclib-book-single-wrapper.bclib-book-single-wrapper--sized .bclib-container {
    box-sizing: border-box;
    max-width: 100% !important;
    margin: 0 auto !important;
    width: 100% !important;
}

.book-catalogue-library-single-page .bclib-book-single-header-content-container.book-single-page,
body.single-book .bclib-book-single-header-content-container.book-single-page {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #e3eaf5;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(8, 26, 68, 0.08);
    margin-bottom: 24px;
    overflow: hidden;
    padding: 34px;
}

.book-catalogue-library-single-page .bclib-book-single-header-content-container.book-single-page > .bclib-row,
body.single-book .bclib-book-single-header-content-container.book-single-page > .bclib-row {
    align-items: center;
    gap: 30px;
}

.book-catalogue-library-single-page .bclib-book-single-header-content-container.book-single-page .bclib-col-lg-5,
.book-catalogue-library-single-page .bclib-book-single-header-content-container.book-single-page .bclib-col-md-5,
body.single-book .bclib-book-single-header-content-container.book-single-page .bclib-col-lg-5,
body.single-book .bclib-book-single-header-content-container.book-single-page .bclib-col-md-5 {
    flex: 0 1 auto;
    max-width: 100%;
    width: auto;
}

.book-catalogue-library-single-page .bclib-book-single-header-content-container.book-single-page .bclib-col-lg-6,
.book-catalogue-library-single-page .bclib-book-single-header-content-container.book-single-page .bclib-col-md-7,
body.single-book .bclib-book-single-header-content-container.book-single-page .bclib-col-lg-6,
body.single-book .bclib-book-single-header-content-container.book-single-page .bclib-col-md-7 {
    flex: 1 1 0;
    max-width: none;
}

.book-catalogue-library-single-page .bclib-book-image-wrapper,
body.single-book .bclib-book-image-wrapper {
    background: #eef3fb;
    border-radius: 8px;
    margin-left: auto;
    margin-right: auto;
    max-width: calc(100vw - 32px);
    padding: 10px;
    width: fit-content;
}

.book-catalogue-library-single-page .bclib-book-image-wrapper img,
body.single-book .bclib-book-image-wrapper img {
    border-radius: 6px;
    box-shadow: 0 16px 34px rgba(8, 26, 68, 0.18);
    margin: 0 auto;
    max-height: 500px;
    object-fit: contain;
}

.book-catalogue-library-single-page .bclib-book-image-wrapper .bclib-single-book-gallery__main img,
body.single-book .bclib-book-image-wrapper .bclib-single-book-gallery__main img {
    box-shadow: 0 16px 34px rgba(8, 26, 68, 0.18);
    max-height: var(--bclib-single-cover-height, 760px);
}

.book-catalogue-library-single-page .bclib-book-content-wrapper,
body.single-book .bclib-book-content-wrapper {
    color: #263854;
}

.book-catalogue-library-single-page .bclib-book-single-header-content-container h1.book-name,
body.single-book .bclib-book-single-header-content-container h1.book-name {
    color: #081a44;
    font-size: 42px;
    line-height: 1.12;
    margin-bottom: 14px;
}

.book-catalogue-library-single-page .bclib-book-single-header-content-container h4.bclib_author,
body.single-book .bclib-book-single-header-content-container h4.bclib_author {
    color: #51617f;
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.book-catalogue-library-single-page .bclib-book-single-header-content-container h4.bclib_author a,
.book-catalogue-library-single-page .bclib-book-loop-content-wrapper .book-title a,
.book-catalogue-library-single-page .bclib-book-loop-content-wrapper .bclib_author a,
body.single-book .bclib-book-single-header-content-container h4.bclib_author a,
body.single-book .bclib-book-loop-content-wrapper .book-title a,
body.single-book .bclib-book-loop-content-wrapper .bclib_author a {
    text-decoration: none !important;
}

.book-catalogue-library-single-page .bclib-book-short-description,
body.single-book .bclib-book-short-description {
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 8px;
    color: #4d5d78;
    padding: 18px;
}

.book-catalogue-library-single-page .bclib-book-short-description p,
body.single-book .bclib-book-short-description p {
    color: #4d5d78;
}

.book-catalogue-library-single-page .book-price,
body.single-book .book-price {
    color: #081a44;
    font-weight: 700;
}

.book-catalogue-library-single-page .book-single-page-buttons-wrapper,
body.single-book .book-single-page-buttons-wrapper {
    gap: 10px;
}

.book-catalogue-library-single-page .bclib-book-content-wrapper a.bclib-book-buy-now-button,
body.single-book .bclib-book-content-wrapper a.bclib-book-buy-now-button {
    background: #2563eb;
    border-color: #2563eb;
    border-radius: 6px;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
    letter-spacing: 0;
    text-decoration: none !important;
}

.book-catalogue-library-single-page .bclib-book-content-wrapper a.bclib-book-buy-now-button:hover,
.book-catalogue-library-single-page .bclib-book-content-wrapper a.bclib-book-buy-now-button:focus,
body.single-book .bclib-book-content-wrapper a.bclib-book-buy-now-button:hover,
body.single-book .bclib-book-content-wrapper a.bclib-book-buy-now-button:focus {
    background: #081a44;
    border-color: #081a44;
}

.book-catalogue-library-single-page .bclib-book-overview-section,
body.single-book .bclib-book-overview-section {
    background: transparent;
    border: 0;
    padding: 0;
}

.book-catalogue-library-single-page .bclib-book-overview-section > .bclib-row,
body.single-book .bclib-book-overview-section > .bclib-row {
    gap: 24px;
}

.book-catalogue-library-single-page .bclib-book-overview-section .bclib-col-lg-8,
body.single-book .bclib-book-overview-section .bclib-col-lg-8 {
    flex: 1 1 0;
    max-width: none;
}

.book-catalogue-library-single-page .bclib-book-overview-section .bclib-col-lg-4,
body.single-book .bclib-book-overview-section .bclib-col-lg-4 {
    flex: 0 0 360px;
    max-width: 360px;
}

.book-catalogue-library-single-page .bclib-book-overview,
.book-catalogue-library-single-page .bclib-book-information-container,
body.single-book .bclib-book-overview,
body.single-book .bclib-book-information-container {
    background: #fff;
    border: 1px solid #e3eaf5;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(8, 26, 68, 0.06);
    color: #263854;
    padding: 28px;
}

.book-catalogue-library-single-page .bclib-book-information-container,
body.single-book .bclib-book-information-container {
    margin-top: 0;
}

/* Match active-Solution sections to the Classic description/details boxes. */
.bclib-book-single-wrapper .bclib-expansion-single-sections {
    display: grid;
    gap: 10px;
    margin: 24px 0 10px;
    max-width: 100%;
    width: 100%;
}

.bclib-book-single-wrapper .bclib-expansion-single-sections > .bclib-expansion-card,
.bclib-book-single-wrapper .bclib-expansion-single-sections > .bclib-expansion-related,
.bclib-book-single-wrapper .bclib-expansion-single-sections > .bclib-expansion-media,
.bclib-book-single-wrapper .bclib-expansion-single-sections > .bclib-expansion-timeline,
.bclib-book-single-wrapper .bclib-expansion-single-sections > .bclib-expansion-comparison {
    background: #fff !important;
    border: 1px solid #e3eaf5 !important;
    border-radius: 8px !important;
    box-shadow: 0 14px 34px rgba(8, 26, 68, 0.06) !important;
    box-sizing: border-box;
    color: #263854;
    margin: 0 !important;
    max-width: 100% !important;
    min-height: 0;
    padding: 28px !important;
    width: 100% !important;
}

.bclib-book-single-wrapper .bclib-expansion-single-sections > * > h3 {
    color: inherit;
    font: inherit;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 22px;
}

@media (max-width: 720px) {
    .bclib-book-single-wrapper .bclib-expansion-single-sections > .bclib-expansion-card,
    .bclib-book-single-wrapper .bclib-expansion-single-sections > .bclib-expansion-related,
    .bclib-book-single-wrapper .bclib-expansion-single-sections > .bclib-expansion-media,
    .bclib-book-single-wrapper .bclib-expansion-single-sections > .bclib-expansion-timeline,
    .bclib-book-single-wrapper .bclib-expansion-single-sections > .bclib-expansion-comparison {
        padding: 22px !important;
    }
}

@media (min-width: 992px) {
    .book-catalogue-library-single-page .bclib-book-overview-section .bclib-col-lg-4,
    body.single-book .bclib-book-overview-section .bclib-col-lg-4 {
        align-self: stretch;
    }

    .book-catalogue-library-single-page .bclib-book-information-container,
    body.single-book .bclib-book-information-container {
        position: sticky;
        top: 24px;
    }
}

.book-catalogue-library-single-page .bclib-book-information-container .information-list,
body.single-book .bclib-book-information-container .information-list {
    border-bottom: 1px solid #edf1f7;
    gap: 14px;
    margin-bottom: 0;
    padding: 12px 0;
}

.book-catalogue-library-single-page .bclib-book-information-container .information-list:first-child,
body.single-book .bclib-book-information-container .information-list:first-child {
    padding-top: 0;
}

.book-catalogue-library-single-page .bclib-book-information-container .information-list:last-child,
body.single-book .bclib-book-information-container .information-list:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.book-catalogue-library-single-page .bclib-book-information-container .information-list .information-label h4,
body.single-book .bclib-book-information-container .information-list .information-label h4 {
    color: #667394;
    font-size: 13px;
    font-weight: 700;
}

.book-catalogue-library-single-page .bclib-book-information-container .information-list .information-content h4,
body.single-book .bclib-book-information-container .information-list .information-content h4 {
    color: #172844;
    font-size: 14px;
}

.book-catalogue-library-single-page .bclib-book-information-container .information-list .information-content h4 a,
body.single-book .bclib-book-information-container .information-list .information-content h4 a {
    color: #2563eb;
    text-decoration: none !important;
}

@media (max-width: 991px) {
    .book-catalogue-library-single-page .bclib-book-single-header-content-container.book-single-page > .bclib-row,
    .book-catalogue-library-single-page .bclib-book-overview-section > .bclib-row,
    body.single-book .bclib-book-single-header-content-container.book-single-page > .bclib-row,
    body.single-book .bclib-book-overview-section > .bclib-row {
        display: block;
    }

    .book-catalogue-library-single-page .bclib-book-single-header-content-container.book-single-page .bclib-col-lg-5,
    .book-catalogue-library-single-page .bclib-book-single-header-content-container.book-single-page .bclib-col-md-5,
    .book-catalogue-library-single-page .bclib-book-single-header-content-container.book-single-page .bclib-col-lg-6,
    .book-catalogue-library-single-page .bclib-book-single-header-content-container.book-single-page .bclib-col-md-7,
    .book-catalogue-library-single-page .bclib-book-overview-section .bclib-col-lg-8,
    .book-catalogue-library-single-page .bclib-book-overview-section .bclib-col-lg-4,
    body.single-book .bclib-book-single-header-content-container.book-single-page .bclib-col-lg-5,
    body.single-book .bclib-book-single-header-content-container.book-single-page .bclib-col-md-5,
    body.single-book .bclib-book-single-header-content-container.book-single-page .bclib-col-lg-6,
    body.single-book .bclib-book-single-header-content-container.book-single-page .bclib-col-md-7,
    body.single-book .bclib-book-overview-section .bclib-col-lg-8,
    body.single-book .bclib-book-overview-section .bclib-col-lg-4 {
        max-width: 100%;
    }

    .book-catalogue-library-single-page .bclib-book-content-wrapper,
    body.single-book .bclib-book-content-wrapper {
        margin-top: 24px;
    }

    .book-catalogue-library-single-page .bclib-book-information-container,
    body.single-book .bclib-book-information-container {
        margin-top: 24px;
        position: static;
    }
}

@media (max-width: 640px) {
    .book-catalogue-library-single-page .bclib-book-single-wrapper,
    body.single-book .bclib-book-single-wrapper {
        padding: 18px 12px;
    }

    .book-catalogue-library-single-page .bclib-book-single-header-content-container.book-single-page,
    .book-catalogue-library-single-page .bclib-book-overview,
    .book-catalogue-library-single-page .bclib-book-information-container,
    body.single-book .bclib-book-single-header-content-container.book-single-page,
    body.single-book .bclib-book-overview,
    body.single-book .bclib-book-information-container {
        padding: 20px;
    }

    .book-catalogue-library-single-page .bclib-book-single-header-content-container h1.book-name,
    body.single-book .bclib-book-single-header-content-container h1.book-name {
        font-size: 30px;
        line-height: 1.2;
    }
}

body.single-book .bclib-book-image-wrapper .bclib-single-book-gallery__thumb img,
body.book-catalogue-library-single-page .bclib-book-image-wrapper .bclib-single-book-gallery__thumb img {
    border-radius: 0;
    box-shadow: none;
    height: auto !important;
    margin: 0 !important;
    max-height: none;
    object-fit: contain;
    width: 100%;
}

body.single-book .bclib-book-image-wrapper .bclib-single-book-gallery__main,
body.book-catalogue-library-single-page .bclib-book-image-wrapper .bclib-single-book-gallery__main {
    border-radius: 6px;
    overflow: hidden;
}

body.single-book .bclib-book-overview-section .bclib-reviews-section,
body.book-catalogue-library-single-page .bclib-book-overview-section .bclib-reviews-section {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    align-items: start;
    margin: 24px 0 0 !important;
    max-width: none !important;
    padding: 0 !important;
    width: 100%;
}

body.single-book .bclib-book-overview-section .bclib-reviews-panel,
body.book-catalogue-library-single-page .bclib-book-overview-section .bclib-reviews-panel {
    background: #fff;
    border: 1px solid #e3eaf5;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(8, 26, 68, 0.06);
    padding: 22px;
}

body.single-book .bclib-book-overview-section .bclib-reviews-head,
body.book-catalogue-library-single-page .bclib-book-overview-section .bclib-reviews-head {
    align-items: center;
    display: grid !important;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) auto !important;
    margin: 0 0 18px !important;
}

body.single-book .bclib-book-overview-section .bclib-reviews-summary,
body.book-catalogue-library-single-page .bclib-book-overview-section .bclib-reviews-summary {
    box-shadow: none;
    min-width: 150px;
    padding: 14px !important;
}

body.single-book .bclib-book-overview-section .bclib-reviews-list,
body.book-catalogue-library-single-page .bclib-book-overview-section .bclib-reviews-list {
    gap: 12px;
}

body.single-book .bclib-book-overview-section .bclib-review,
body.book-catalogue-library-single-page .bclib-book-overview-section .bclib-review {
    box-shadow: none !important;
    min-height: 0 !important;
    padding: 16px !important;
}

body.single-book .bclib-book-overview-section .bclib-review header,
body.book-catalogue-library-single-page .bclib-book-overview-section .bclib-review header {
    margin-bottom: 10px !important;
}

body.single-book .bclib-book-overview-section .bclib-review p,
body.book-catalogue-library-single-page .bclib-book-overview-section .bclib-review p {
    margin: 0 0 8px !important;
}

body.single-book .bclib-book-overview-section .bclib-review time,
body.book-catalogue-library-single-page .bclib-book-overview-section .bclib-review time {
    display: block;
    line-height: 1.4;
}

body.single-book .bclib-book-overview-section .bclib-reviews-empty,
body.single-book .bclib-book-overview-section .bclib-review-login-required,
body.book-catalogue-library-single-page .bclib-book-overview-section .bclib-reviews-empty,
body.book-catalogue-library-single-page .bclib-book-overview-section .bclib-review-login-required {
    box-shadow: none !important;
    margin: 0 !important;
    min-height: 0 !important;
}

@media (max-width: 640px) {
    body.single-book .bclib-book-overview-section .bclib-reviews-section,
    body.book-catalogue-library-single-page .bclib-book-overview-section .bclib-reviews-section {
        grid-template-columns: 1fr;
    }

    body.single-book .bclib-book-overview-section .bclib-reviews-panel,
    body.book-catalogue-library-single-page .bclib-book-overview-section .bclib-reviews-panel {
        padding: 18px;
    }

    body.single-book .bclib-book-overview-section .bclib-reviews-head,
    body.book-catalogue-library-single-page .bclib-book-overview-section .bclib-reviews-head {
        grid-template-columns: 1fr !important;
    }
}

body.single-book .bclib-reviews-section,
body.book-catalogue-library-single-page .bclib-reviews-section {
    align-items: start;
    display: grid !important;
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 34%);
    margin: 24px 0 34px !important;
    max-width: none !important;
    padding: 0 !important;
    width: 100%;
}

body.single-book .bclib-reviews-panel,
body.book-catalogue-library-single-page .bclib-reviews-panel {
    background: #fff;
    border: 1px solid #e3eaf5;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(8, 26, 68, 0.06);
    padding: 28px;
}

body.single-book .bclib-reviews-head,
body.book-catalogue-library-single-page .bclib-reviews-head {
    align-items: center;
    display: grid !important;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) auto !important;
    margin: 0 0 22px !important;
}

body.single-book .bclib-reviews-summary,
body.book-catalogue-library-single-page .bclib-reviews-summary {
    min-width: 190px;
}

body.single-book .bclib-review,
body.book-catalogue-library-single-page .bclib-review {
    min-height: 0 !important;
    padding: 18px !important;
}

body.single-book .bclib-review p,
body.book-catalogue-library-single-page .bclib-review p {
    margin: 0 0 8px !important;
}

body.single-book .bclib-review-form-wrap,
body.book-catalogue-library-single-page .bclib-review-form-wrap {
    min-width: 0;
}

body.single-book .bclib-review-form,
body.book-catalogue-library-single-page .bclib-review-form {
    position: sticky;
    top: 24px;
}

@media (max-width: 991px) {
    body.single-book .bclib-reviews-section,
    body.book-catalogue-library-single-page .bclib-reviews-section {
        gap: 20px;
        grid-template-columns: 1fr;
    }

    body.single-book .bclib-review-form,
    body.book-catalogue-library-single-page .bclib-review-form {
        position: static;
    }
}

@media (max-width: 640px) {
    body.single-book .bclib-reviews-panel,
    body.book-catalogue-library-single-page .bclib-reviews-panel {
        padding: 20px;
    }

    body.single-book .bclib-reviews-head,
    body.book-catalogue-library-single-page .bclib-reviews-head {
        grid-template-columns: 1fr !important;
    }
}

body.single-book .bclib-reviews-section,
body.book-catalogue-library-single-page .bclib-reviews-section {
    display: block !important;
    margin: 24px 0 34px !important;
}

body.single-book .bclib-reviews-section > .bclib-row,
body.book-catalogue-library-single-page .bclib-reviews-section > .bclib-row {
    gap: 24px;
}

body.single-book .bclib-reviews-section .bclib-col-lg-8,
body.book-catalogue-library-single-page .bclib-reviews-section .bclib-col-lg-8 {
    flex: 1 1 0;
    max-width: none;
}

body.single-book .bclib-reviews-section .bclib-col-lg-4,
body.book-catalogue-library-single-page .bclib-reviews-section .bclib-col-lg-4 {
    flex: 0 0 360px;
    max-width: 360px;
}

body.single-book .bclib-reviews-panel,
body.single-book .bclib-review-form,
body.book-catalogue-library-single-page .bclib-reviews-panel,
body.book-catalogue-library-single-page .bclib-review-form {
    background: #fff !important;
    border: 1px solid #e3eaf5 !important;
    border-radius: 8px !important;
    box-shadow: 0 14px 34px rgba(8, 26, 68, 0.06) !important;
    padding: 28px !important;
}

@media (max-width: 991px) {
    body.single-book .bclib-reviews-section > .bclib-row,
    body.book-catalogue-library-single-page .bclib-reviews-section > .bclib-row {
        display: block;
    }

    body.single-book .bclib-reviews-section .bclib-col-lg-8,
    body.single-book .bclib-reviews-section .bclib-col-lg-4,
    body.book-catalogue-library-single-page .bclib-reviews-section .bclib-col-lg-8,
    body.book-catalogue-library-single-page .bclib-reviews-section .bclib-col-lg-4 {
        max-width: 100%;
    }

    body.single-book .bclib-review-form-wrap,
    body.book-catalogue-library-single-page .bclib-review-form-wrap {
        margin-top: 24px;
    }
}

@media (max-width: 640px) {
    body.single-book .bclib-reviews-panel,
    body.single-book .bclib-review-form,
    body.book-catalogue-library-single-page .bclib-reviews-panel,
    body.book-catalogue-library-single-page .bclib-review-form {
        padding: 20px !important;
    }
}

@media (prefers-color-scheme: dark) {
    body.book-catalogue-library-activated .bclib-container,
    body.book-catalogue-library-activated .bclib-book-single-wrapper,
    body.book-catalogue-library-activated .bclib-book-loop-content-wrapper,
    body.book-catalogue-library-activated .book-content-wraper,
    body.book-catalogue-library-activated .bclib-bclib_author-container-inner,
    body.book-catalogue-library-activated .bclib-bclib_category-container-inner,
    body.book-catalogue-library-activated .bclib-book-single-header-content-container.book-single-page,
    body.book-catalogue-library-activated .bclib-book-overview,
    body.book-catalogue-library-activated .bclib-author-bio-card,
    body.book-catalogue-library-activated .bclib-book-information-container,
    body.book-catalogue-library-activated .bclib-reviews-panel,
    body.book-catalogue-library-activated .bclib-review-form {
        background: #111827 !important;
        border-color: #334155 !important;
        color: #f8fafc !important;
        color-scheme: dark;
    }

    body.book-catalogue-library-activated .bclib-archive-pages-wrapper {
        background: #020617 !important;
    }

    body.book-catalogue-library-activated a,
    body.book-catalogue-library-activated .book-title a,
    body.book-catalogue-library-activated .bclib_author a,
    body.book-catalogue-library-activated .information-label h4,
    body.book-catalogue-library-activated .bclib-review-date {
        color: #cbd5e1 !important;
    }

    body.book-catalogue-library-activated h1,
    body.book-catalogue-library-activated h2,
    body.book-catalogue-library-activated h3,
    body.book-catalogue-library-activated h4,
    body.book-catalogue-library-activated strong,
    body.book-catalogue-library-activated label {
        color: #f8fafc !important;
    }

    body.book-catalogue-library-activated input,
    body.book-catalogue-library-activated select,
    body.book-catalogue-library-activated textarea {
        background: #0f172a !important;
        border-color: #334155 !important;
        color: #f8fafc !important;
    }
}

body.book-catalogue-library-activated .bclib-review-form.bclib-review-form--modern {
    align-content: start !important;
    display: grid !important;
    gap: 18px !important;
    padding: 22px 22px 28px !important;
}

body.book-catalogue-library-activated .bclib-review-form__header {
    border-bottom: 1px solid #e8edf5 !important;
    margin: 0 !important;
    padding: 0 0 14px !important;
}

body.book-catalogue-library-activated .bclib-review-form__header h3 {
    margin: 0 !important;
}

body.book-catalogue-library-activated .bclib-review-form__grid {
    align-content: start !important;
    display: grid !important;
    gap: 12px !important;
    grid-template-columns: 1fr !important;
    padding-top: 4px !important;
}

body.book-catalogue-library-activated .bclib-review-form__field {
    align-content: start !important;
    display: grid !important;
    gap: 6px !important;
    height: auto !important;
    margin: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
}

body.book-catalogue-library-activated .bclib-review-form__field span {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.book-catalogue-library-activated .bclib-review-form--modern input,
body.book-catalogue-library-activated .bclib-review-form--modern select {
    height: 42px !important;
    min-height: 42px !important;
}

body.book-catalogue-library-activated .bclib-review-form--modern textarea {
    min-height: 110px !important;
}

/* Keep the Modern review workspace isolated from legacy review rules. */
body.book-catalogue-library-activated .bclib-modern-book-after .bclib-reviews-panel,
body.book-catalogue-library-activated .bclib-modern-book-after .bclib-review-form.bclib-review-form--modern {
    background: #fff !important;
    border: 1px solid #e1e8f2 !important;
    border-radius: 8px !important;
    box-shadow: 0 14px 34px rgba(12, 31, 63, 0.07) !important;
}

body.book-catalogue-library-activated .bclib-modern-book-after .bclib-review-form.bclib-review-form--modern {
    gap: 18px !important;
    padding: 24px 24px 30px !important;
}

body.book-catalogue-library-activated .bclib-modern-book-after .bclib-review-form__header {
    border-bottom: 1px solid #e8edf5 !important;
    margin: 0 !important;
    padding: 0 0 16px !important;
}

body.book-catalogue-library-activated .bclib-modern-book-after .bclib-review-form__grid {
    display: grid !important;
    gap: 14px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    padding-top: 4px !important;
}

body.book-catalogue-library-activated .bclib-modern-book-after .bclib-review-form__field--rating,
body.book-catalogue-library-activated .bclib-modern-book-after .bclib-review-form__field--content {
    grid-column: 1 / -1 !important;
}

body.book-catalogue-library-activated .bclib-modern-book-after .bclib-review-form__submit {
    border-radius: 6px !important;
    margin-bottom: 6px !important;
    margin-top: 2px !important;
    min-width: 160px !important;
}

@media (max-width: 520px) {
    body.book-catalogue-library-activated .bclib-modern-book-after .bclib-review-form__grid {
        grid-template-columns: 1fr !important;
    }

    body.book-catalogue-library-activated .bclib-modern-book-after .bclib-review-form__submit {
        width: 100% !important;
    }
}

/* Modern single-book review workspace. */
.bclib-modern-book-after .bclib-reviews-panel,
.bclib-modern-book-after .bclib-review-form.bclib-review-form--modern {
    background: #fff !important;
    border: 1px solid #e1e8f2 !important;
    border-radius: 8px !important;
    box-shadow: 0 14px 34px rgba(12, 31, 63, 0.07) !important;
}

.bclib-modern-book-after .bclib-review-form.bclib-review-form--modern {
    gap: 18px !important;
    padding: 24px !important;
}

.bclib-modern-book-after .bclib-review-form__header {
    border-bottom: 1px solid #e8edf5 !important;
    padding-bottom: 14px !important;
}

.bclib-modern-book-after .bclib-review-form__header h3 {
    color: inherit !important;
    font-family: inherit !important;
    font-size: 24px !important;
    letter-spacing: 0 !important;
}

.bclib-modern-book-after .bclib-review-form__grid {
    display: grid !important;
    gap: 14px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.bclib-modern-book-after .bclib-review-form__field--rating,
.bclib-modern-book-after .bclib-review-form__field--content {
    grid-column: 1 / -1 !important;
}

.bclib-modern-book-after .bclib-review-form__field label {
    color: inherit !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    margin-bottom: 7px !important;
}

.bclib-modern-book-after .bclib-review-form--modern input,
.bclib-modern-book-after .bclib-review-form--modern select,
.bclib-modern-book-after .bclib-review-form--modern textarea {
    background: #f8fafc !important;
    border: 1px solid #d8e1ed !important;
    border-radius: 6px !important;
    color: inherit !important;
    font-family: inherit !important;
    font-size: 15px !important;
    outline: none !important;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease !important;
}

.bclib-modern-book-after .bclib-review-form--modern input:focus,
.bclib-modern-book-after .bclib-review-form--modern select:focus,
.bclib-modern-book-after .bclib-review-form--modern textarea:focus {
    background: #fff !important;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.13) !important;
}

.bclib-modern-book-after .bclib-review-form__submit {
    border-radius: 6px !important;
    min-width: 160px !important;
    position: relative;
}

.bclib-modern-book-after .bclib-review-form__submit.is-loading {
    cursor: wait;
    opacity: 0.72;
}

.bclib-review-form__status {
    border-radius: 6px;
    display: none;
    font-size: 14px;
    line-height: 1.45;
    padding: 11px 13px;
}

.bclib-review-form__status.is-success,
.bclib-review-form__status.is-error {
    display: block;
}

.bclib-review-form__status.is-success {
    background: #ecfdf3;
    border: 1px solid #a7e5bd;
    color: #176638;
}

.bclib-review-form__status.is-error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #a5162c;
}

@media (max-width: 520px) {
    .bclib-modern-book-after .bclib-review-form__grid {
        grid-template-columns: 1fr !important;
    }

    .bclib-modern-book-after .bclib-review-form__submit {
        width: 100% !important;
    }
}

/* Modern single-book template. */
.bclib-modern-book-shell {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: var(--bclib-single-page-width, 1500px);
    width: min(100%, var(--bclib-single-page-width, 1500px));
}

body.bclib-catalog-boxed-layout .bclib-modern-book-shell {
    background: #fff;
    border: 1px solid #dfe8f4;
    border-radius: 10px;
    box-shadow: 0 24px 60px rgba(8, 26, 68, 0.08);
    margin-block: 32px;
    min-height: var(--bclib-single-page-min-height, 0);
    overflow: visible;
    padding: 24px;
}

body.bclib-catalog-boxed-layout .bclib-modern-book-shell .bclib-modern-book {
    margin-block: 0;
    max-width: 100%;
    padding-inline: 0;
    width: 100%;
}

body.bclib-catalog-boxed-layout .bclib-modern-book-shell .bclib-modern-book-after {
    max-width: 100%;
    padding-inline: 0;
    width: 100%;
}

.bclib-modern-book {
    color: inherit;
    font-family: inherit;
    margin: 32px auto;
    max-width: var(--bclib-single-page-width, 1500px);
    padding: 28px;
    position: relative;
    width: min(100%, var(--bclib-single-page-width, 1500px));
}

.bclib-modern-book__hero {
    background: linear-gradient(110deg, #344255, #8193a8);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 8px;
    color: #fff;
    display: block;
    min-height: 270px;
    padding: 42px 48px 36px 330px;
    position: relative;
}

.bclib-modern-book__favourite {
    align-items: center;
    appearance: none;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 28px;
    height: 40px;
    inset-block-end: 24px;
    inset-block-start: auto;
    inset-inline-end: 28px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    position: absolute;
    text-shadow: 0 2px 8px rgba(8, 20, 38, 0.5);
    transition: color 160ms ease;
    width: 40px;
    z-index: 4;
}

.bclib-modern-book__favourite span {
    align-items: center;
    display: flex;
    font-size: 28px;
    height: 40px;
    inset: 0;
    justify-content: center;
    line-height: 1;
    position: absolute;
    width: 40px;
}

.bclib-modern-book__heart-filled {
    color: #ef233c;
    opacity: 0;
}

.bclib-modern-book__favourite:hover,
.bclib-modern-book__favourite:focus-visible {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #ff8a96;
}

.bclib-modern-book__favourite.is-active {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #ff6878;
}

.bclib-modern-book__favourite.is-active .bclib-modern-book__heart-outline {
    opacity: 0;
}

.bclib-modern-book__favourite.is-active .bclib-modern-book__heart-filled {
    opacity: 1;
}

.bclib-modern-book__cover {
    inset-block-start: 42px;
    inset-inline-start: 42px;
    position: absolute;
    width: 250px;
    z-index: 2;
}

.bclib-modern-book__cover .bclib-single-book-gallery {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 250px;
    overflow: visible;
    width: 100%;
}

.bclib-modern-book__cover .bclib-single-book-gallery__main {
    aspect-ratio: 2 / 3;
    background: #fff;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(10, 20, 35, 0.25);
    height: auto !important;
    min-height: 0;
    overflow: hidden;
    width: 100% !important;
}

.bclib-modern-book__cover .bclib-single-book-gallery__main img {
    height: 100% !important;
    object-fit: cover;
    width: 100% !important;
}

.bclib-modern-book__cover .bclib-single-book-gallery__slider {
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 6px;
    height: 72px;
    margin: 0;
    padding: 0 30px;
    position: relative;
    width: 100%;
}

.bclib-modern-book__cover.has-single-gallery-image .bclib-single-book-gallery {
    gap: 0;
}

.bclib-modern-book__cover.has-single-gallery-image .bclib-single-book-gallery__slider {
    display: none !important;
}

.bclib-modern-book__cover .bclib-single-book-gallery__track {
    align-items: center;
    display: flex !important;
    flex: 1 1 auto;
    gap: 6px !important;
    height: 72px;
    max-height: 72px;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 !important;
    scroll-snap-type: x proximity;
    width: auto;
}

.bclib-modern-book__cover .bclib-single-book-gallery__thumb,
.bclib-modern-book__cover .bclib-single-book-gallery__thumb:last-child {
    flex: 0 0 46px;
    height: 68px;
    margin: 0 !important;
    scroll-snap-align: start;
    width: 46px;
}

.bclib-modern-book__cover .bclib-single-book-gallery__thumb img {
    height: 100% !important;
    max-height: 100% !important;
    object-fit: cover;
    width: 100% !important;
}

.bclib-modern-book__cover .bclib-single-book-gallery__arrow {
    bottom: auto;
    height: 32px;
    inset-block-start: 50%;
    left: auto;
    margin: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    width: 26px;
}

.bclib-modern-book__cover .bclib-single-book-gallery__arrow[data-bclib-gallery-prev] {
    inset-inline-start: 0;
}

.bclib-modern-book__cover .bclib-single-book-gallery__arrow[data-bclib-gallery-next] {
    inset-inline-end: 0;
    transform: translateY(-50%) rotate(-90deg);
}

.bclib-modern-book__cover .bclib-single-book-gallery__arrow:hover,
.bclib-modern-book__cover .bclib-single-book-gallery__arrow:focus {
    transform: translateY(-50%) rotate(-90deg);
}

.bclib-modern-book__identity {
    align-self: center;
}

.bclib-modern-book__identity h1 {
    color: inherit;
    font: inherit;
    font-size: clamp(34px, 4vw, 64px);
    font-weight: 600;
    line-height: 1.05;
    margin: 0 0 14px;
}

.bclib-modern-book__author {
    font-size: clamp(18px, 2vw, 28px);
    margin-bottom: 20px;
}

.bclib-modern-book__author a {
    color: inherit;
    text-decoration: none;
}

.bclib-modern-book__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bclib-modern-book__chips a,
.bclib-modern-book__chips span {
    background: rgba(18, 29, 45, 0.45);
    border-radius: 5px;
    color: #fff;
    padding: 7px 14px;
    text-decoration: none;
}

.bclib-modern-book__body {
    display: grid;
    gap: 28px;
    grid-template-columns: 258px minmax(0, 1fr);
    padding: 42px;
}

.bclib-modern-book__details-panel {
    align-items: start;
    align-self: start;
    background: #fff;
    border: 1px solid #d7e0ec;
    border-radius: 8px;
    box-sizing: border-box;
    display: grid;
    gap: 36px;
    grid-column: 2;
    grid-template-columns: minmax(0, 1fr);
    justify-self: stretch;
    max-width: none;
    min-width: 0;
    padding: 30px;
    width: 100%;
}

.bclib-modern-book__actions {
    align-self: start;
    display: grid;
    gap: 10px;
    margin-top: 12px;
    min-width: 0;
    width: 100%;
}

.bclib-modern-book.has-single-gallery-image .bclib-modern-book__actions {
    margin-top: 12px;
}

.bclib-modern-book__actions > * {
    margin: 0 !important;
    max-width: 100%;
    min-width: 0;
    width: 100%;
}

.bclib-modern-book__actions a,
.bclib-modern-book__actions button {
    align-items: center;
    border-radius: 6px !important;
    display: flex !important;
    justify-content: center;
    min-height: 48px;
    text-align: center;
    width: 100% !important;
}

.bclib-modern-book__actions .bclib-book-reader-button {
    background: var(--bclib-reader-button-bg, #111827) !important;
    border-color: var(--bclib-reader-button-bg, #111827) !important;
    color: var(--bclib-reader-button-text, #fff) !important;
    opacity: 1;
    visibility: visible;
}

.bclib-modern-book__actions .bclib-book-download-button,
.bclib-modern-book__actions .bclib-book-gamebook-button {
    background: var(--bclib-download-button-bg, #2563eb) !important;
    border-color: var(--bclib-download-button-bg, #2563eb) !important;
    color: var(--bclib-download-button-text, #fff) !important;
    font: inherit;
    font-weight: 700;
    opacity: 1;
    visibility: visible;
}

.bclib-modern-book__actions .bclib-book-gamebook-button {
    background: var(--bclib-gamebook-button-bg, #16a34a) !important;
    border-color: var(--bclib-gamebook-button-bg, #16a34a) !important;
    color: var(--bclib-gamebook-button-text, #fff) !important;
}

.bclib-modern-book__retailer-actions {
    grid-column: 2;
    min-width: 0;
    width: 100%;
}

.bclib-modern-book__retailer-actions:empty {
    display: none;
}

.bclib-modern-book__retailer-actions .bclib-book-webstore-buttons {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin: 0;
    width: 100%;
}

.bclib-modern-book__retailer-actions .bclib-book-webstore-button {
    box-sizing: border-box;
    justify-content: center;
    min-width: 0;
    width: 100%;
}

.bclib-modern-book__content h2 {
    color: inherit;
    font: inherit;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 14px;
    text-align: center;
}

.bclib-modern-book__content p {
    font: inherit;
    line-height: 1.65;
}

.bclib-modern-book__facts {
    align-content: start;
    display: grid;
    gap: 18px;
}

.bclib-modern-book__metadata {
    align-content: start;
    display: grid;
    gap: 16px 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bclib-modern-book__metadata div {
    display: grid;
    gap: 5px;
}

.bclib-modern-book__metadata strong {
    font-size: 14px;
}

.bclib-modern-book__metadata span {
    color: color-mix(in srgb, currentColor 70%, transparent);
}

.bclib-modern-book__information {
    background: #fff;
    border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
    border-radius: 8px;
    margin: 0 42px 10px;
    padding: 28px;
}

.bclib-modern-book__information h2 {
    color: inherit;
    font: inherit;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 22px;
    text-align: center;
}

.bclib-modern-book__editor-content {
    border-block-end: 1px solid color-mix(in srgb, currentColor 12%, transparent);
    line-height: 1.7;
    margin-block-end: 8px;
    padding-block-end: 22px;
}

.bclib-modern-book__editor-content > :first-child {
    margin-block-start: 0;
}

.bclib-modern-book__editor-content > :last-child {
    margin-block-end: 0;
}

.bclib-modern-book__information-grid {
    display: grid;
    gap: 0 28px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bclib-modern-book__information-item {
    border-block-end: 1px solid color-mix(in srgb, currentColor 11%, transparent);
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 13px 0;
}

.bclib-modern-book__information-item strong {
	font-size: 16px;
	line-height: 1.4;
}

.bclib-modern-book__information-item span {
	font-size: 18px;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.bclib-modern-book-after {
    box-sizing: border-box;
    margin: 0 auto 32px;
    max-width: var(--bclib-single-page-width, 1500px);
    padding: 0 28px;
    width: min(100%, var(--bclib-single-page-width, 1500px));
}

.bclib-modern-book-after > *,
.bclib-modern-book-after .bclib-reviews-section,
.bclib-modern-book-after .bclib-reviews-layout {
    box-sizing: border-box !important;
    margin-inline: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Match active-Solution sections to the Modern information panel. */
.bclib-modern-book-after .bclib-expansion-single-sections {
    display: grid;
    gap: 10px;
    margin: 0 0 10px !important;
    max-width: 100% !important;
    width: 100% !important;
}

.bclib-modern-book-after .bclib-expansion-single-sections > .bclib-expansion-card,
.bclib-modern-book-after .bclib-expansion-single-sections > .bclib-expansion-related,
.bclib-modern-book-after .bclib-expansion-single-sections > .bclib-expansion-media,
.bclib-modern-book-after .bclib-expansion-single-sections > .bclib-expansion-timeline,
.bclib-modern-book-after .bclib-expansion-single-sections > .bclib-expansion-comparison {
    background: #fff !important;
    border: 1px solid color-mix(in srgb, currentColor 14%, transparent) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    box-sizing: border-box;
    margin: 0 !important;
    max-width: 100% !important;
    min-height: 0;
    padding: 28px !important;
    width: 100% !important;
}

.bclib-modern-book-after .bclib-expansion-single-sections > * > h3 {
    color: inherit;
    font: inherit;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 22px;
    text-align: center;
}

.bclib-modern-book-after .bclib-reviews-head,
.bclib-modern-book-after .bclib-review-form__header {
    text-align: center;
}

.bclib-modern-book-after .bclib-reviews-section h2,
.bclib-modern-book-after .bclib-review-form h3 {
    text-align: center !important;
}

@media (max-width: 1000px) {
    .bclib-modern-book__hero {
        padding: 34px 34px 34px 270px;
    }

    .bclib-modern-book__cover {
        inset-block-start: 34px;
        inset-inline-start: 34px;
        width: 205px;
    }


    .bclib-modern-book__body {
        grid-template-columns: 205px minmax(0, 1fr);
        padding: 34px;
    }

    .bclib-modern-book__actions {
        margin-top: 12px;
    }

    .bclib-modern-book.has-single-gallery-image .bclib-modern-book__actions {
        margin-top: 12px;
    }

    .bclib-modern-book__details-panel {
        grid-column: 2;
        gap: 24px;
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .bclib-modern-book__information-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    body.bclib-catalog-boxed-layout .bclib-modern-book-shell {
        border-radius: 8px;
        margin: 16px 10px;
        padding: 12px;
        width: auto;
    }

    .bclib-modern-book {
        margin: 16px auto;
        padding: 12px;
    }

    .bclib-modern-book__hero {
        display: block;
        min-height: 0;
        padding: 24px;
        text-align: center;
    }

    .bclib-modern-book__favourite {
        height: 38px;
        inset-block-end: 16px;
        inset-block-start: auto;
        inset-inline-end: 16px;
        width: 38px;
    }

    .bclib-modern-book__cover {
        inset: auto;
        margin: 0 auto 24px;
        position: relative;
        width: min(220px, 75vw);
    }

    .bclib-modern-book__chips {
        justify-content: center;
    }

    .bclib-modern-book__body {
        display: flex;
        flex-direction: column;
        gap: 28px;
        padding: 28px 8px;
        padding-inline-start: 8px;
    }

    .bclib-modern-book.has-single-gallery-image .bclib-modern-book__body {
        padding-top: 10px;
    }

    .bclib-modern-book__actions {
        margin-top: 0;
    }

    .bclib-modern-book__details-panel {
        grid-column: auto;
        padding: 22px;
    }

    .bclib-modern-book__retailer-actions .bclib-book-webstore-buttons {
        grid-template-columns: 1fr;
    }

    .bclib-modern-book__retailer-actions {
        grid-column: auto;
    }

    .bclib-modern-book__information {
        margin: 0 8px 10px;
        padding: 22px;
    }

    .bclib-modern-book__information-grid {
        grid-template-columns: 1fr;
    }

    .bclib-modern-book-after {
        padding: 0 12px;
    }

    .bclib-modern-book-after .bclib-expansion-single-sections > .bclib-expansion-card,
    .bclib-modern-book-after .bclib-expansion-single-sections > .bclib-expansion-related,
    .bclib-modern-book-after .bclib-expansion-single-sections > .bclib-expansion-media,
    .bclib-modern-book-after .bclib-expansion-single-sections > .bclib-expansion-timeline,
    .bclib-modern-book-after .bclib-expansion-single-sections > .bclib-expansion-comparison {
        padding: 22px !important;
    }
}

body.single-book .bclib-book-image-wrapper .bclib-single-book-gallery__track,
body.book-catalogue-library-single-page .bclib-book-image-wrapper .bclib-single-book-gallery__track {
    align-content: start !important;
    align-items: start !important;
    display: block !important;
    gap: 0 !important;
    justify-content: start !important;
    line-height: 0 !important;
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

body.single-book .bclib-book-image-wrapper .bclib-single-book-gallery__track::-webkit-scrollbar,
body.book-catalogue-library-single-page .bclib-book-image-wrapper .bclib-single-book-gallery__track::-webkit-scrollbar {
    display: none !important;
}

body.single-book .bclib-book-image-wrapper .bclib-single-book-gallery__thumb,
body.book-catalogue-library-single-page .bclib-book-image-wrapper .bclib-single-book-gallery__thumb {
    align-items: initial !important;
    display: block !important;
    flex: none !important;
    height: auto !important;
    justify-content: initial !important;
    line-height: 0 !important;
    margin: 0 auto 1px !important;
    min-height: 0 !important;
    padding: 0 !important;
}

body.single-book .bclib-book-image-wrapper .bclib-single-book-gallery__thumb:last-child,
body.book-catalogue-library-single-page .bclib-book-image-wrapper .bclib-single-book-gallery__thumb:last-child {
    margin-bottom: 0 !important;
}

body.single-book .bclib-book-image-wrapper .bclib-single-book-gallery__thumb img,
body.book-catalogue-library-single-page .bclib-book-image-wrapper .bclib-single-book-gallery__thumb img {
    display: block !important;
    height: auto !important;
    margin: 0 !important;
    max-height: none !important;
    vertical-align: top !important;
}

body.book-catalogue-library-activated .bclib-review-form.bclib-review-form--modern {
    align-content: start !important;
    display: grid !important;
    gap: 18px !important;
    padding: 22px 22px 28px !important;
}

body.book-catalogue-library-activated .bclib-review-form__header {
    border-bottom: 1px solid #e8edf5 !important;
    margin: 0 !important;
    padding: 0 0 14px !important;
}

body.book-catalogue-library-activated .bclib-review-form__grid {
    align-content: start !important;
    display: grid !important;
    gap: 12px !important;
}

body.book-catalogue-library-activated .bclib-review-form__field {
    align-content: start !important;
    display: grid !important;
    gap: 6px !important;
    margin: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
}

body.book-catalogue-library-activated .bclib-review-form__field span {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.book-catalogue-library-activated .bclib-review-form--modern input,
body.book-catalogue-library-activated .bclib-review-form--modern select {
    height: 42px !important;
    min-height: 42px !important;
}

body.book-catalogue-library-activated .bclib-review-form--modern textarea {
    min-height: 110px !important;
}

body.book-catalogue-library-activated .bclib-bclib_author-bios {
    display: grid !important;
    gap: 18px !important;
    margin: 24px 0 !important;
    width: 100% !important;
}

body.book-catalogue-library-activated .bclib-author-bio-card {
    align-items: center !important;
    border: 1px solid #dbe5f3 !important;
    border-radius: 8px !important;
    display: block !important;
    min-height: 0 !important;
    max-width: none !important;
    padding: 24px !important;
    width: 100% !important;
}

body.book-catalogue-library-activated .bclib-author-bio-card__heading {
    align-items: center !important;
    display: flex !important;
    gap: 16px !important;
    grid-column: 1 !important;
    margin: 0 !important;
}

body.book-catalogue-library-activated .bclib-author-bio-card__image {
    border-radius: 999px !important;
    flex: 0 0 72px !important;
    height: 72px !important;
    margin: 0 !important;
    overflow: hidden !important;
    width: 72px !important;
}

body.book-catalogue-library-activated .bclib-author-bio-card__image img {
    height: 100% !important;
    object-fit: cover !important;
    width: 100% !important;
}

body.book-catalogue-library-activated .bclib-author-bio-card__content {
    align-items: center !important;
    display: grid !important;
    gap: 12px 22px !important;
    grid-template-columns: minmax(160px, 220px) minmax(0, 1fr) auto !important;
    width: 100% !important;
}

body.book-catalogue-library-activated .bclib-author-bio-card__eyebrow {
    grid-column: 1 !important;
    margin: 0 !important;
}

body.book-catalogue-library-activated .bclib-author-bio-card h2 {
    font-size: clamp(24px, 2.2vw, 34px) !important;
    line-height: 1.12 !important;
    margin: 0 !important;
}

body.book-catalogue-library-activated .bclib-author-bio-card__text {
    color: #334155 !important;
    font-size: 16px !important;
    grid-column: 2 !important;
    line-height: 1.55 !important;
    margin: 0 !important;
    max-width: none !important;
}

body.book-catalogue-library-activated .bclib-author-bio-card__text p {
    margin: 0 !important;
}

body.book-catalogue-library-activated .bclib-author-bio-card__link {
    align-self: center !important;
    border-radius: 6px !important;
    grid-column: 3 !important;
    justify-self: end !important;
    line-height: 1.2 !important;
    padding: 12px 18px !important;
    text-align: center !important;
    white-space: nowrap !important;
}

body.single-book .bclib-reviews-section > .bclib-row,
body.book-catalogue-library-single-page .bclib-reviews-section > .bclib-row {
    align-items: start !important;
    display: grid !important;
    gap: 24px !important;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 430px) !important;
}

body.single-book .bclib-reviews-section .bclib-col-lg-8,
body.single-book .bclib-reviews-section .bclib-col-lg-4,
body.book-catalogue-library-single-page .bclib-reviews-section .bclib-col-lg-8,
body.book-catalogue-library-single-page .bclib-reviews-section .bclib-col-lg-4 {
    flex: none !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
}

body.book-catalogue-library-activated .bclib-review-form.bclib-review-form--modern {
    background: #fff !important;
    border: 1px solid #dbe5f3 !important;
    border-radius: 8px !important;
    box-shadow: 0 18px 44px rgba(8, 26, 68, 0.08) !important;
    display: grid !important;
    gap: 16px !important;
    margin: 0 !important;
    max-width: none !important;
    padding: 24px !important;
    width: 100% !important;
}

body.book-catalogue-library-activated .bclib-review-form__header h3 {
    color: #061a44 !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

body.book-catalogue-library-activated .bclib-review-form__grid {
    display: grid !important;
    gap: 13px !important;
    grid-template-columns: 1fr !important;
}

body.book-catalogue-library-activated .bclib-review-form__field {
    align-content: start !important;
    display: grid !important;
    gap: 7px !important;
    height: auto !important;
    margin: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
}

body.book-catalogue-library-activated .bclib-review-form__field--rating,
body.book-catalogue-library-activated .bclib-review-form__field--content {
    grid-column: 1 / -1 !important;
}

body.book-catalogue-library-activated .bclib-review-form__field label,
body.book-catalogue-library-activated .bclib-review-form__field span {
    color: #243653 !important;
    display: block !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.single-book .bclib-review-form.bclib-review-form--modern .bclib-review-form__field > label,
body.book-catalogue-library-single-page .bclib-review-form.bclib-review-form--modern .bclib-review-form__field > label,
body.book-catalogue-library-activated .bclib-review-form.bclib-review-form--modern .bclib-review-form__field > label {
    color: #243653 !important;
    display: block !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
}

body.book-catalogue-library-activated .bclib-review-form--modern input,
body.book-catalogue-library-activated .bclib-review-form--modern select,
body.book-catalogue-library-activated .bclib-review-form--modern textarea {
    background: #f8fafc !important;
    border: 1px solid #d5dfed !important;
    border-radius: 7px !important;
    box-shadow: none !important;
    color: #0f172a !important;
    font-size: 15px !important;
    margin: 0 !important;
    min-height: 46px !important;
    padding: 10px 12px !important;
    width: 100% !important;
}

body.book-catalogue-library-activated .bclib-review-form--modern input,
body.book-catalogue-library-activated .bclib-review-form--modern select {
    height: 46px !important;
}

body.book-catalogue-library-activated .bclib-review-form--modern textarea {
    min-height: 132px !important;
    resize: vertical !important;
}

body.book-catalogue-library-activated .bclib-review-form__submit {
    align-self: center !important;
    align-items: center !important;
    background: #2563eb !important;
    border: 1px solid #2563eb !important;
    border-radius: 7px !important;
    color: #fff !important;
    display: inline-flex !important;
    font-weight: 800 !important;
    justify-content: center !important;
    justify-self: center !important;
    margin: 18px auto 0 !important;
    min-height: 44px !important;
    padding: 11px 18px !important;
}

body.book-catalogue-library-activated .bclib-review-form__submit:hover,
body.book-catalogue-library-activated .bclib-review-form__submit:focus {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    color: #fff !important;
}

@media (max-width: 900px) {
    body.book-catalogue-library-activated .bclib-author-bio-card {
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    body.book-catalogue-library-activated .bclib-author-bio-card__content {
        grid-template-columns: 1fr !important;
    }

    body.book-catalogue-library-activated .bclib-author-bio-card__eyebrow,
    body.book-catalogue-library-activated .bclib-author-bio-card h2,
    body.book-catalogue-library-activated .bclib-author-bio-card__text,
    body.book-catalogue-library-activated .bclib-author-bio-card__link {
        grid-column: 1 !important;
        justify-self: start !important;
    }

    body.single-book .bclib-reviews-section > .bclib-row,
    body.book-catalogue-library-single-page .bclib-reviews-section > .bclib-row,
    body.book-catalogue-library-activated .bclib-review-form__grid {
        grid-template-columns: 1fr !important;
    }
}

/* Modern book slider override */
.bclib-book-slider .slick-list {
    overflow: hidden;
}

.bclib-book-slider .bclib-book-slider__slider-wrapper-row .slick-track {
    align-items: stretch;
    display: flex !important;
}

.bclib-book-slider .bclib-book-slider__slider-wrapper-row .slick-slide,
.bclib-book-slider .bclib-book-slider__slider-wrapper-row .slick-slide > div,
.bclib-book-slider .bclib-book-slider__slider-item {
    float: none !important;
    height: auto;
}

.bclib-book-slider .bclib-book-slider__slider-wrapper-row .slick-slide > div,
.bclib-book-slider .bclib-book-slider__slider-item,
.bclib-book-slider .bclib-book-container {
    height: 100%;
}

body.right-sidebar .bclib-book-slider .book-list-layout .bclib-book-loop-content-wrapper,
body.left-sidebar .bclib-book-slider .book-list-layout .bclib-book-loop-content-wrapper,
body.both-sidebar .bclib-book-slider .book-list-layout .bclib-book-loop-content-wrapper,
.bclib-book-slider .bclib-book-loop-content-wrapper {
    display: grid !important;
    gap: 12px;
    max-width: none !important;
    padding: 24px !important;
    width: 100% !important;
}

body.right-sidebar .bclib-book-slider .book-list-layout .bclib-book-loop-content-wrapper .book-title,
body.left-sidebar .bclib-book-slider .book-list-layout .bclib-book-loop-content-wrapper .book-title,
.bclib-book-slider .book-title {
    font-family: inherit !important;
    font-size: clamp(20px, 2vw, 28px) !important;
    line-height: 1.18 !important;
    margin: 0 !important;
}

body.right-sidebar .bclib-book-slider .book-list-layout .bclib-book-loop-content-wrapper .bclib_author,
body.left-sidebar .bclib-book-slider .book-list-layout .bclib-book-loop-content-wrapper .bclib_author,
.bclib-book-slider .bclib_author {
    font-family: inherit !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    margin: 0 !important;
}

body.right-sidebar .bclib-book-slider .book-list-layout .bclib-book-loop-content-wrapper .book-price,
body.left-sidebar .bclib-book-slider .book-list-layout .bclib-book-loop-content-wrapper .book-price,
.bclib-book-slider .book-price {
    font-family: inherit !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    margin: 0 !important;
}

.bclib-book-slider .book-title a,
.bclib-book-slider .bclib_author a {
    color: inherit !important;
    text-decoration: none !important;
}

.bclib-book-slider .book-desc,
.bclib-book-slider .book-full-content-as-excerpt {
    min-height: 0 !important;
}

.bclib-book-slider .bclib-book-buttons-wrapper {
    margin-top: auto !important;
}

.bclib-book-slider .thumbnail-position-right .bclib-book-loop-image > a {
    justify-content: flex-end;
}

.bclib-book-slider .thumbnail-position-left .bclib-book-loop-image > a {
    justify-content: flex-start;
}

.bclib-book-slider.no-book-image .bclib-book-loop-content-wrapper {
    align-content: center;
    min-height: 320px;
}

.bclib-book-slider__slider-wrapper-row.book-slider-activate .slick-arrow::before {
    color: currentColor;
}

.bclib-goodreads-section {
    margin: 24px 0;
}

.bclib-goodreads-card {
    align-items: center;
    background: var(--bclib-catalogue-surface, #fff);
    border: 1px solid #dbe5f3;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(8, 26, 68, 0.08);
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
    padding: 28px;
}

.bclib-goodreads-card__kicker {
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.bclib-goodreads-card h2 {
    font-size: 30px;
    line-height: 1.15;
    margin: 0 0 12px;
}

.bclib-goodreads-card p {
    color: #526179;
    font-size: 16px;
    line-height: 1.65;
    margin: 0;
}

.bclib-goodreads-card__meta {
    align-items: flex-start;
    border: 1px solid #dbe5f3;
    border-radius: 8px;
    display: grid;
    gap: 8px;
    justify-items: start;
    padding: 20px;
}

.bclib-goodreads-card__meta strong {
    font-size: 38px;
    line-height: 1;
}

.bclib-goodreads-stars {
    color: #cbd5e1;
    display: inline-flex;
    gap: 2px;
    line-height: 1;
}

.bclib-goodreads-stars .is-filled {
    color: #f59e0b;
}

.bclib-goodreads-card__meta span {
    color: #526179;
}

.bclib-goodreads-button {
    background: #2563eb;
    border-radius: 6px;
    color: #fff !important;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    margin-top: 8px;
    padding: 12px 18px;
    text-decoration: none !important;
}

.bclib-goodreads-button:hover,
.bclib-goodreads-button:focus {
    background: #1d4ed8;
    color: #fff !important;
}

@media (max-width: 760px) {
    .bclib-goodreads-card {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .bclib-online-reader--modal {
        padding: 12px;
    }

    .bclib-online-reader__modal,
    .bclib-online-reader--modal .bclib-online-reader__shell {
        max-height: calc(100vh - 24px);
        max-width: calc(100vw - 24px);
    }

    .bclib-online-reader__header,
    .bclib-online-reader__nav {
        align-items: stretch;
        flex-direction: column;
    }

    .bclib-online-reader__close {
        position: absolute;
        right: 18px;
        top: 18px;
    }

    .bclib-online-reader__shell,
    .bclib-online-reader__page-content {
        padding: 22px;
    }

    .bclib-online-reader--modal .bclib-online-reader__page-content {
        max-height: calc(100vh - 250px);
    }

    .bclib-online-reader__pdf iframe {
        min-height: 520px;
    }
}

@media (prefers-color-scheme: dark) {
    body.book-catalogue-library-activated .bclib-online-reader__shell,
    body.book-catalogue-library-activated .bclib-online-reader__page-content {
        background: #111827 !important;
        border-color: #334155 !important;
        color: #f8fafc !important;
    }

    body.book-catalogue-library-activated .bclib-online-reader__header {
        border-color: #334155 !important;
    }

    body.book-catalogue-library-activated .bclib-online-reader__header span,
    body.book-catalogue-library-activated .bclib-online-reader__nav span,
    body.book-catalogue-library-activated .bclib-online-reader--locked p,
body.book-catalogue-library-activated .bclib-online-reader__empty {
        color: #cbd5e1 !important;
    }
}

.bclib-expansion-card,
.bclib-expansion-dashboard,
.bclib-expansion-related,
.bclib-expansion-profile,
.bclib-expansion-profile-books,
.bclib-expansion-media,
.bclib-expansion-timeline,
.bclib-expansion-comparison {
    background: var(--bclib-catalogue-surface, #fff);
    border: 1px solid #dbe5f3;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(8, 26, 68, 0.08);
    margin: 24px auto;
    max-width: var(--bclib-grid-max-width, 1320px);
    min-height: var(--bclib-grid-min-height, 0);
    padding: 24px;
    width: min(100%, var(--bclib-grid-max-width, 1320px));
}

.bclib-expansion-profile {
    align-items: flex-start;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
}

.bclib-expansion-profile img {
    border-radius: 8px;
    height: auto;
    width: 100%;
}

.bclib-expansion-list,
.bclib-expansion-timeline ul,
.bclib-expansion-comparison ul {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bclib-expansion-list li {
    align-items: center;
    border-bottom: 1px solid #e5edf7;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 10px 0;
}

.bclib-expansion-book-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.bclib-expansion-related-card {
    background: #fff;
    border: 1px solid #e5edf7;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.bclib-expansion-related-card__cover {
    align-items: center;
    aspect-ratio: 3 / 4;
    background: #f3f6fb;
    display: flex;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

.bclib-expansion-related-card__cover img {
    display: block;
    height: 100% !important;
    max-height: none !important;
    max-width: none !important;
    object-fit: var(--bclib-card-cover-fit, var(--bclib-frontend-cover-fit, contain)) !important;
    object-position: center center !important;
    width: 100% !important;
}

.bclib-expansion-related-card__placeholder {
    background: linear-gradient(135deg, #e2e8f0, #f8fafc);
    display: block;
    height: 100%;
    width: 100%;
}

.bclib-expansion-related-card__body {
    display: grid;
    gap: 6px;
    padding: 12px;
}

.bclib-expansion-related-card__body h4 {
    font-size: 16px;
    line-height: 1.3;
    margin: 0;
}

.bclib-expansion-related-card__body span {
    color: #64748b;
    font-size: 13px;
}

.bclib-price-comparison table {
    border-collapse: collapse;
    margin: 16px 0;
    width: 100%;
}

.bclib-price-comparison th,
.bclib-price-comparison td {
    border-bottom: 1px solid #e5edf7;
    padding: 12px;
    text-align: left;
}

.bclib-advanced-search,
.bclib-price-alert-form,
.bclib-user-book-action,
.bclib-reading-notes {
    display: grid;
    gap: 12px;
    margin: 18px 0;
}

.bclib-advanced-search {
    grid-template-columns: minmax(180px, 1fr) minmax(160px, 220px) minmax(140px, 200px) auto;
}

.bclib-advanced-search input,
.bclib-advanced-search select,
.bclib-price-alert-form input,
.bclib-reading-notes textarea {
    border: 1px solid #dbe5f3;
    border-radius: 6px;
    min-height: 42px;
    padding: 10px 12px;
    width: 100%;
}

.bclib-advanced-search button,
.bclib-price-alert-form button,
.bclib-user-book-action button,
.bclib-reading-notes button,
.bclib-availability-card button {
    background: #2563eb;
    border: 0;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    min-height: 42px;
    padding: 10px 16px;
}

/* Affiliate Website platform */
.bclib-affiliate-hub {
	box-sizing: border-box;
	width: 100%;
	padding: 28px;
	border: 1px solid var(--bclib-border-color, #d8e0ec);
	border-radius: 8px;
	background: var(--bclib-surface-color, #fff);
	color: inherit;
}

.bclib-affiliate-disclosure {
	margin: 0 0 20px;
	font-size: .875em;
	opacity: .76;
}

.bclib-affiliate-best-offer {
	display: grid;
	grid-template-columns: auto minmax(120px, 1fr) auto auto;
	gap: 14px;
	align-items: center;
	padding: 18px;
	border: 1px solid var(--bclib-border-color, #d8e0ec);
	border-radius: 6px;
}

.bclib-affiliate-badge {
	padding: 5px 9px;
	border-radius: 999px;
	background: #e9f8ef;
	color: #176b3a;
	font-size: .78em;
	font-weight: 700;
}

.bclib-affiliate-buy,
.bclib-affiliate-choice summary {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	min-height: 42px;
	padding: 9px 16px;
	border: 1px solid currentColor;
	border-radius: 5px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.bclib-affiliate-choice { margin-top: 16px; }
.bclib-affiliate-choice summary { width: fit-content; }
.bclib-affiliate-choice__offers {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 10px;
	margin-top: 12px;
}
.bclib-affiliate-choice__offers > a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px;
	border: 1px solid var(--bclib-border-color, #d8e0ec);
	border-radius: 5px;
	color: inherit;
	text-decoration: none;
}
.bclib-affiliate-history { margin-top: 24px; }
.bclib-affiliate-history ol { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bclib-affiliate-history li { display: grid; grid-template-columns: minmax(90px, auto) minmax(100px, 1fr) auto; gap: 10px; align-items: center; }
.bclib-affiliate-history i { display: block; max-width: 100%; height: 8px; border-radius: 4px; background: var(--bclib-primary-color, #2864dc); }
.bclib-affiliate-hub .bclib-price-alert-form { margin-top: 24px; }

@media (max-width: 640px) {
	.bclib-affiliate-hub { padding: 18px; }
	.bclib-affiliate-best-offer { grid-template-columns: 1fr; }
	.bclib-affiliate-history li { grid-template-columns: 1fr auto; }
	.bclib-affiliate-history i { grid-column: 1 / -1; }
}

.bclib-expansion-media {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.bclib-expansion-media h3 {
    flex-basis: 100%;
}

.bclib-expansion-media a {
    border: 1px solid #dbe5f3;
    border-radius: 6px;
    padding: 10px 12px;
    text-decoration: none;
}

@media (max-width: 760px) {
    .bclib-expansion-profile,
    .bclib-advanced-search {
        grid-template-columns: 1fr;
    }

    .bclib-expansion-list li {
        align-items: flex-start;
        flex-direction: column;
    }
}

body.book-catalogue-library-activated .bclib-review-form.bclib-review-form--modern {
    align-content: start !important;
    display: grid !important;
    gap: 14px !important;
    padding: 22px !important;
}

body.book-catalogue-library-activated .bclib-review-form__header {
    margin: 0 !important;
    padding: 0 !important;
}

body.book-catalogue-library-activated .bclib-review-form__header h3 {
    margin: 0 !important;
}

body.book-catalogue-library-activated .bclib-review-form__grid {
    align-content: start !important;
    display: grid !important;
    gap: 12px !important;
    grid-template-columns: 1fr !important;
    padding-top: 4px !important;
}

body.book-catalogue-library-activated .bclib-review-form__field {
    align-content: start !important;
    display: grid !important;
    gap: 6px !important;
    height: auto !important;
    margin: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
}

body.book-catalogue-library-activated .bclib-review-form__field span {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.book-catalogue-library-activated .bclib-review-form--modern input,
body.book-catalogue-library-activated .bclib-review-form--modern select {
    height: 42px !important;
    min-height: 42px !important;
}

body.book-catalogue-library-activated .bclib-review-form--modern textarea {
    min-height: 110px !important;
}

/* Final Modern review overrides must follow legacy review declarations. */
body.book-catalogue-library-activated .bclib-modern-book-after .bclib-reviews-panel,
body.book-catalogue-library-activated .bclib-modern-book-after .bclib-review-form.bclib-review-form--modern {
    background: #fff !important;
    border: 1px solid #e1e8f2 !important;
    border-radius: 8px !important;
    box-shadow: 0 14px 34px rgba(12, 31, 63, 0.07) !important;
}

body.book-catalogue-library-activated .bclib-modern-book-after .bclib-review-form.bclib-review-form--modern {
    gap: 18px !important;
    padding: 24px 24px 30px !important;
}

body.book-catalogue-library-activated .bclib-modern-book-after .bclib-review-form__header {
    border-bottom: 1px solid #e8edf5 !important;
    margin: 0 !important;
    padding: 0 0 16px !important;
}

body.book-catalogue-library-activated .bclib-modern-book-after .bclib-review-form__grid {
    display: grid !important;
    gap: 14px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    padding-top: 4px !important;
}

body.book-catalogue-library-activated .bclib-modern-book-after .bclib-review-form__field--rating,
body.book-catalogue-library-activated .bclib-modern-book-after .bclib-review-form__field--content {
    grid-column: 1 / -1 !important;
}

body.book-catalogue-library-activated .bclib-modern-book-after .bclib-review-form__submit {
    border-radius: 6px !important;
    margin-bottom: 6px !important;
    margin-top: 14px !important;
    min-width: 160px !important;
    justify-self: center !important;
}

@media (max-width: 520px) {
    body.book-catalogue-library-activated .bclib-modern-book-after .bclib-review-form__grid {
        grid-template-columns: 1fr !important;
    }

    body.book-catalogue-library-activated .bclib-modern-book-after .bclib-review-form__submit {
        width: 100% !important;
    }
}

