.testimonial-slider.swiper-initialized .reviews-row {
    flex-wrap: nowrap;
}
.reviews-section {
    background-image: url(../images/bg-3.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% auto;
}
.reviews-slider .swiper-wrapper {
    cursor: grab;
    justify-content: flex-start;
    align-items: center;
    display: flex;
}
.review-slide {
    width: 34.11%;
    flex: none;
    margin-right: 9.37%;
}
.review-slide:nth-child(3n+1) {
	width: 34.11%;
}
.review-slide:nth-child(3n+2) {
	width: 19.96%;
}
.review-slide:nth-child(3n+3) {
	width: 27.01%;
}
.review-slide-img {
    width: 100%;
    position: relative;
    aspect-ratio: 1 / 1.5;
    transition: all 0.6s;
}
.review-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.review-slide:hover .review-slide-img img {
    filter: saturate(0%);
}
.review-slide-img.scaled {
    clip-path: polygon(4% 4%, 96% 4%, 96% 96%, 4% 96%);
    transition: all 0.6s;
}
.review-text {
    margin-top: 25px;
}
.review-text h3 {
    font-size: 26px;
}


.reviews-row {
    gap: 25px;
    flex-wrap: wrap;
}
.testimonial-slider.swiper-initialized .reviews-row {
    flex-wrap: nowrap;
    gap: 0;
}
.testimonial-slider.swiper-initialized .review-item.swiper-slide {
    width: 250px;
    flex-shrink: 0;
}
.swiper-pagination.testimonial-pagination {
    position: static;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}
.testimonial-pagination .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--white-color);
    transition: 0.35s all ease;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--theme-color);
}
.review-item {
    width: calc((100% - 75px) / 4);
    height: auto !important;
    background: var(--white-color);
    border-radius: 10px;
    gap: 15px;
    padding: 15px;
    box-shadow: 0 0 5px 0px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}
.review-item:nth-child(2), 
.review-item:nth-child(4n) {
    width: calc((100% - 75px) / 2);
}
.review-item-top {
    gap: 20px;
}
.review-rating {
    width: 60px;
    height: 10px;
    background: url(../images/rating-star.svg) repeat-x;
}
.review-item-top > img {
    width: auto;
    height: 20px;
}
.review-item-info {
    margin-top: 15px;
}
.review-item-info-top {
    gap: 15px;
}
.review-item-author {
    font-weight: 600;
}
.review-item-date {
    color: var(--text-color);
    font-size: 12px;
}
.review-text-content {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;    
    margin-top: 10px;
}
.read-review {
    margin-top: 15px;
    color: var(--theme-color);
    gap: 5px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}
.read-review svg {
    fill: var(--theme-color);
}
.read-review:hover {
    gap: 10px;
}
.mfp-review-content {
    background: var(--bg-color);
    color: var(--white-color);
    max-width: calc(100% - 20px);
    width: 600px;
    margin: 0 auto;
    padding: 30px;
}
.mfp-review-content .mfp-close {
    color: var(--white-color);
    opacity: 1;
}



@media screen and (max-width: 992px) {
   
    .review-item,
    .review-item:nth-child(2),
    .review-item:nth-child(4n) {
        width: calc((100% - 50px) / 3);
    }
    .table-wrap {
        flex-direction: column;
        align-items: stretch;
        gap: 25px;
    }
    
}

@media screen and (max-width:767px) {
    .reviews-row {
        gap: 20px;
    }
    .review-item, 
    .review-item:nth-child(2), 
    .review-item:nth-child(4n) {
        width: calc((100% - 20px) / 2);
    }
    .review-slide:nth-child(3n+1) {
        width: 50%;
    }
    .review-slide:nth-child(3n+2) {
        width: 38%;
    }
    .review-slide:nth-child(3n+3) {
        width: 43%;
    }
}
@media screen and (max-width: 560px) {
    .testimonial-slider.swiper-initialized .review-item.swiper-slide {
        width: 80%;
    }
}
@media screen and (max-width:479px) {
    
    .review-slide:nth-child(3n+1) {
        width: 80%;
    }
    .review-slide:nth-child(3n+2) {
        width: 68%;
    }
    .review-slide:nth-child(3n+3) {
        width: 73%;
    }
    
    .review-item, 
    .review-item:nth-child(2), 
    .review-item:nth-child(4n) {
        width: 100%;
    }
    
}
