.review-card {
    width: 380px;
    border-radius: 8px;
    border: 1px solid rgb(220 231 233);
    background: rgb(240 247 249);
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    transition: transform 0.3s ease;
    height: auto;
}

.reviews:not(.swiper) {
    display: flex;
    overflow: hidden;
    flex-wrap: nowrap;
    gap: 20px;
    padding-bottom: 60px;
}

.reviews:not(.swiper):not(:has(> .review-card:nth-child(2))) {
    padding-bottom: 0;
}

.review-card .stars{
    pointer-events: none;
}

.reviews.swiper {
    overflow: hidden;
    max-height: none;
    position: relative;
}

.reviews .swiper-wrapper {
    padding: 0;
}

.reviews.swiper .swiper-slide {
    flex-shrink: 0;
    box-sizing: border-box;
    height: auto;
}

.reviews.swiper .swiper-slide .review-card {
    width: 100%;
    max-width: 100%;
}

.reviews:not(.swiper) .review-card {
    flex-shrink: 0;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
}

.reviews .review-card {
    width: 100%;
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.reviews .review-card__text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
}
.review-card__name{
    font-size: 16px;
    font-weight: 500;
}
.review-card__row{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.review-card__row span{
    color: #6683A1;
}
.review-card__row p{
    margin: 0;
}
.stars {
    cursor: pointer;
    display: flex;
    position: relative
}

.stars:hover .star path {
    fill: #ffd055!important
}

.stars .star path {
    fill: #198cff33;
    position: relative;
    z-index: 10
}

.stars .star:hover~.star path {
    fill: #198cff33!important
}

.stars[data-stars] .star path {
    fill: #ffd055
}

.stars[data-stars="1"] .star:first-child~.star path,.stars[data-stars="2"] .star:nth-child(2)~.star path,.stars[data-stars="3"] .star:nth-child(3)~.star path,.stars[data-stars="4"] .star:nth-child(4)~.star path,.stars[data-stars="5"] .star:nth-child(5)~.star path {
    fill: #198cff33
}
.review-card .read-more{
    display: inline-block;
    font-size: 14px;
    color: var(--color-turquoise);
    font-weight: 400;
    text-decoration: underline;
    cursor: pointer;
}
@media (min-width: 768px) {
    .reviews:not(.swiper) .review-card {
        width: calc((100% - 20px) / 2);
    }

    .reviews:not(.swiper):not(:has(> .review-card:nth-child(3))) {
        padding-bottom: 0;
    }
}

@media (min-width: 1024px) {

}

@media (min-width: 1200px) {
    .reviews:not(.swiper) .review-card {
        width: calc((100% - 60px) / 4);
    }

    .reviews:not(.swiper):not(:has(> .review-card:nth-child(5))) {
        padding-bottom: 0;
    }
}

@media (min-width: 1440px) {

}

@media (min-width: 1920px) {

}

.popup-review-wrapper {
    max-width: 600px;
    width: 90%;
}

.popup-review {
    background: var(--color-turquoise);
    border-radius: 8px;
    border: 1px solid #003163;
    padding: 30px;
    position: relative;
    border: 1px solid rgb(220 231 233);
    background: rgb(240 247 249);
    border-radius: 12px;
    overflow: hidden;
}

.popup-review__name {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 120%;
    color: #003163;
    margin-bottom: 10px;
}

.popup-review__date {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    color: #18383C;
    margin-bottom: 20px;
}

.popup-review__text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #18383C;
}

@media (max-width: 768px) {
    .popup-review-wrapper {
        max-width: 90%;
        width: 95%;
    }

    .popup-review {
        padding: 20px;
    }

    .popup-review__name {
        font-size: 16px;
    }

    .popup-review__text {
        font-size: 14px;
    }
}

