/* Video card review */
.video-slider-wrapper {
    position: relative;
}

.featured-review-card-video {
	height: 200px !important;
}

.featured-review-card-video .featured-review-card-inner {
    box-sizing: border-box;
	scroll-snap-align: start;
	border-radius: 12px;
	overflow: hidden;
	position: relative;
	transition: transform 0.3s ease;
    -webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	-ms-border-radius: 12px;
	-o-border-radius: 12px;
}

.book-video-review .featured-review-card-inner {
    position: relative;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}

.book-featured-review .wd-btn-arrow.wd-prev .wd-arrow-inner{
    position: absolute !important;
    top: 46% !important;
    left: -25px !important;
    z-index: 9999 !important;
} 

.book-featured-review .wd-btn-arrow.wd-next .wd-arrow-inner{
    position: absolute !important;
    top: 46% !important;
    right: -32px !important;
    z-index: 9999 !important;
}

.book-featured-review .wd-next .wd-arrow-inner:after{
    content: "" !important;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'><path d='M13.1714 12.0007L8.22168 7.05093L9.63589 5.63672L15.9999 12.0007L9.63589 18.3646L8.22168 16.9504L13.1714 12.0007Z' fill='%231C1E29'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
}

.book-featured-review .wd-prev .wd-arrow-inner:after{
    content: "" !important;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'><path d='M10.8286 12.0007L15.7783 7.05093L14.3641 5.63672L8.0001 12.0007L14.3641 18.3646L15.7783 16.9504L10.8286 12.0007Z' fill='%231C1E29'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
}

.book-featured-review .wd-arrow-inner{
    background-color: #fff !important;
    border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
    -moz-border-radius: 50% !important;
    -ms-border-radius: 50% !important;
    -o-border-radius: 50% !important;
    border: 2px solid #E0E0E0 !important;
    width: 48px !important;
    height: 48px !important;
}
.book-video-review .wd-btn-arrow.wd-prev .wd-arrow-inner{
    position: absolute !important;
    top: 40% !important;
    left: -30px !important;
    z-index: 9999 !important;
} 

.book-video-review .wd-btn-arrow.wd-next .wd-arrow-inner{
    position: absolute !important;
    top: 40% !important;
    right: -25px !important;
    z-index: 9999 !important;
}

.book-video-review .wd-next .wd-arrow-inner:after{
    content: "" !important;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'><path d='M13.1714 12.0007L8.22168 7.05093L9.63589 5.63672L15.9999 12.0007L9.63589 18.3646L8.22168 16.9504L13.1714 12.0007Z' fill='%231C1E29'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
}

.book-video-review .wd-prev .wd-arrow-inner:after{
    content: "" !important;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'><path d='M10.8286 12.0007L15.7783 7.05093L14.3641 5.63672L8.0001 12.0007L14.3641 18.3646L15.7783 16.9504L10.8286 12.0007Z' fill='%231C1E29'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
}

.book-video-review .wd-arrow-inner{
    background-color: #fff !important;
    border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
    -moz-border-radius: 50% !important;
    -ms-border-radius: 50% !important;
    -o-border-radius: 50% !important;
    border: 2px solid #E0E0E0 !important;
    width: 48px !important;
    height: 48px !important;
}

/* Smaller screens */
@media (max-width: 992px) {
	.featured-review-card-video {
		flex: 0 0 calc(50% - 10px);
	}
}

@media (max-width: 600px) {
	.featured-review-card-video {
		flex: 0 0 100%;
	}
}

.featured-review-card-inner .video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.7));
    z-index: 0;
}

/* Play Button */
.book-video-review .play-pause-btn a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

 .book-video-review .book-user-review {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    z-index: 4;
    padding: 20px;
}
.book-video-review .book-user-review img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}
.book-featured-review .book-user-review img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}
.book-video-review .book-user-info {
    display: flex;
    flex-direction: column;
}
.book-featured-review .book-user-info {
    display: flex;
    flex-direction: column;
}
.book-video-review .book-user-info h4 {
    font-size: 14px;
    margin: 0;
    font-weight: 600;
    color: #fff;
}
.book-video-review .book-user-info h4 a {
    color: #fff;
    text-decoration: none;
}

.book-video-review .book-user-star {
    margin: 2px 0;
}

.book-video-review .book-user-info p {
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #fff;
    margin: 0;
    opacity: 0.9;
}
.book-featured-review .book-user-info p {
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #fff;
    margin: 0;
    opacity: 0.9;
}

/* Home page slider */

.book-review-home-slider .wbr-archive-slider {
    display: flex;
    transition: transform 0.6s ease-in-out;
    will-change: transform;
}

.book-review-home-slider .wbr-archive-slider-single {
    min-width: 100%;
    height: 322px;
    position: relative;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.book-review-home-slider .wbr-archive-slider-single img.background-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.book-review-home-slider .wbr-archive-slider-single .slider-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: left;
    top: 50% !important;
}

.book-review-home-slider .wbr-archive-slider-single .slider-content h2 {
    font-size: 44px;
    font-weight: 700;
    line-height: 66px;
    margin-bottom: 14px;
}

.book-review-home-slider .wbr-archive-slider-single .slider-content a {
    display: inline-block;
    background: #fff;
    color: #333;
    text-align: center;
    align-content: center;
    padding: 8px 20px;
    height: 42px;
    width: 89px;
    border: 1px solid #DADADA;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: background 0.3s ease;
    border-radius: 8px !important;
    -webkit-border-radius: 8px !important;
    -moz-border-radius: 8px !important;
    -ms-border-radius: 8px !important;
    -o-border-radius: 8px !important;
}

.book-review-home-slider .wd-carousel-item {
    background-color: transparent !important;
}

.book-review-home-slider .wd-nav-pagin.wd-clickable.wd-type-bullets.wd-horizontal {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
    padding: 8px 16px;
    background: #fff;
    border-radius: 16px !important;
}

.book-review-home-slider .wd-nav-pagin.wd-clickable.wd-type-bullets.wd-horizontal li {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.book-review-home-slider .wd-btn-arrow.wd-next .wd-arrow-inner {
    position: absolute;
    top: 45%;
    height: 48;
    width: 48px;
    border-radius: 50%;
    border: 2px solid #E0E0E0;
    right: 42px;
    color: #1C1E29;
    font-size: 10px;
    background-color: #fff;
    z-index: 99;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.book-review-home-slider .wd-nav-pagin-item.wd-active span {
    background-color: #2A007C !important;
    border-color: #2A007C !important;
}

.book-review-home-slider .wd-btn-arrow.wd-next .wd-arrow-inner:after {
    font-size: 12px !important;
    font-weight: 700 !important;
}

.book-review-home-slider .wd-btn-arrow.wd-prev .wd-arrow-inner {
    position: absolute;
    top: 45%;
    left: 42px;
    height: 48;
    width: 48px;
    border-radius: 50%;
    border: 2px solid #E0E0E0;
    color: #1C1E29;
    font-size: 10px;
    background-color: #fff;
    z-index: 99;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.book-review-home-slider .wd-btn-arrow.wd-prev .wd-arrow-inner:after {
    font-size: 12px !important;
    font-weight: 700 !important;
}

.book-review-home-slider .wd-nav-pagin-wrap {
    min-height: none;
    margin-top: 0 !important;
}


body.post-type-archive-review main {
	margin: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
}

body.post-type-archive-review .wbr-archive-page-container {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	position: relative;
	left: 0;
}

/* Featured Review */
.book-featured-review .book-review-card {
    height: 586px !important;
    box-shadow: unset !important;
}

.book-featured-review .featured-review-card-inner-wrapper {
    height: 586px !important;
    box-shadow: 0px 2px 10px 0px #00000014;
    background: var(--white);
    border-radius: 12px;
}

.book-featured-review .book-review-content a:not(.review-title) {
    position: absolute !important;
    bottom: 20px !important;
}

.book-featured-review .book-user-info h4 a {
    color: #1F1E22 !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.book-featured-review .book-user-info p {
    color: #747378 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 100%;
}

.book-featured-review .book-user-star {
    display: block;
    margin: 2px 0;
    width: 25%;
}

.book-featured-review .book-user-star svg {
    height: 12px;
    width: 12px;
}

.book-featured-review .book-user-info {
    margin-left: 0px;
    gap: 5px;
}

.book-featured-review .book-review-thumbnail .book-list {
    width: 80%;
    max-width: 80%;
}

.book-featured-review .book-list-content h4 {
    font-size: 12px;
}

.book-featured-review .book-list-content p {
    font-size: 10px;
}

.book-featured-review .wd-btn-arrow.wd-disabled {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.book-featured-review .book-review-top .btn-white {
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 8px 16px !important;
}

.book-featured-review .book-user-review-info {
    width: 75%;
    display: flex;
    gap: 10px;
    align-items: center;
}

.book-featured-review .book-user-review {
    padding: 20px;
}

.book-review-lists.book-featured-review .book-review-content .review-title{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    word-break: break-word;
}

.featured-review-section.featured-book-section .review-card-content{
    height: 425px;
}

.featured-book-section .book-image {
    height: 204px;
    width: 141px;
    border-radius: 4px;
    box-shadow: 0px 20px 25px 0px rgba(0, 0, 0, 0.25);
}

.featured-review-writer-item .book-rating svg {
    height: 10px;
    width: 10px;
}

.featured-review-writer-item .review-book-info-inner {
    width: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
}

.featured-review-writer-item .review-book-info,
.featured-review-writer-item .recent-review-text-block {
    max-width: 100% !important;
}

.featured-review-writer-item .recent-review-title {
    min-height: 48px !important;
}

.featured-review-writer-item .book-meta-info {
    text-align: start;
    min-width: 0;
}

.featured-review-writer-item .book-title,
.featured-review-writer-item .book-authors a,
.featured-review-writer-item .book-author a {
    display: block;
}

/* Book title: allow up to 2 lines, then cut */
.featured-review-writer-item .book-title {
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Author links stay single-line with ellipsis */
.featured-review-writer-item .book-authors a,
.featured-review-writer-item .book-author a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.featured-review-writer-item .book-rating{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 60px;
    gap: 2px;
}

.featured-book-section .author-title{
 font-size: 20px;
 font-weight: bold;
 margin-top: 35px;
 margin-bottom: 10px;
}

.featured-book-section .book-writer-name{
 font-size: 16px;
 color: #747378;
}


.archive.post-type-archive-review .featured-book-section .total-review{ 
    background: #f1f1f1;
    width: 158px;
    margin: auto;
    height: 37px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    margin-bottom: 0 !important;
    margin-top: 15px;
    gap: 5px;
}

.featured-book-section-total-review-icon{
display: flex
}

.archive.post-type-archive-review .featured-review-section.featured-book-section .wd-btn-arrow.wd-next{
    z-index: 999;
    position: absolute;
    right: 0;
    top: 40%;
    margin-right: -28px;
}

.archive.post-type-archive-review .featured-review-section.featured-book-section .wd-btn-arrow.wd-prev{
    z-index: 999;
    position: absolute;
    top: 40%;
    margin-left: -28px;
}

  