 .reviews-section {
    padding: 0;
}

.course-page-background {
    overflow-x: clip;
}

@supports not (overflow: clip) {
    .course-page-background {
        overflow-x: hidden;
    }
}

.reviews-section__title {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.3;
    margin: 0;
}

.reviews-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    margin-top: 100px;
}

.carousel-navigarion {
    display: flex;
    gap: 24px;
    align-items: center;
}

.carousel-navigation__prev,
.carousel-navigation__next {
    cursor: pointer;
    background-color: #38c4bd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg width='11' height='18' viewBox='0 0 11 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 17L9.5 9L1.5 1' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.carousel-navigation__prev {
    transform: rotate(180deg);
}

.carousel-navigation__prev.swiper-button-disabled,
.carousel-navigation__next.swiper-button-disabled {
    background-color: #c4c4c4;
    pointer-events: none;
}

.review-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

#english-course-reviews-swiper {
    position: relative;
    left: 50%;
    width: 100dvw;
    margin-left: -50dvw;
    margin-right: 0;
    max-width: 100dvw;
    overflow: hidden;
}

@supports not (width: 100dvw) {
    #english-course-reviews-swiper {
        width: 100vw;
        margin-left: -50vw;
        max-width: 100vw;
    }
}

#english-course-reviews-swiper .swiper-wrapper {
    justify-content: flex-start;
}

.review-list__item {
    width: 600px;
    flex: 0 0 600px;
    min-height: 403px;
    padding: 30px 40px;
    border-radius: 20px;
    background-color: #ffffff;
    box-sizing: border-box;
}

.review__author {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.3;
    color: #4A4C58;
    margin: 0 0 10px;
}

.review__title {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 26px;
    line-height: 1.3;
    color: #000000;
    margin: 0;
}

.review__rating {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 20px;
}

.reviews-section__rating-stars {
    display: flex;
    gap: 7px;
    align-items: center;
}

.reviews-section__rating-stars i{
    width: 16px;
    height: 16px;
    content: url("../../../images/englishCourse/star.svg");
}

.rating-num {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.3;
    color: #212529;
}

.review__body {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
    color: #000000;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 8;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
}

.review-list__item--expanded .review__body {
    overflow: visible;
    text-overflow: clip;
    display: block;
    line-clamp: unset;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
}

.review__more-btn {
    margin-top: 14px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: none;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: 0;
    color: #1EC7BF;
}

.review-list__item--has-overflow .review__more-btn {
    display: inline-flex;
}

@media (max-width: 991px) {
    #english-course-reviews-swiper {
        left: 0;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }

    .review-list__item {
        width: 100%;
        flex: 0 0 100%;
    }
}

@media screen and (max-width: 575px) {
    .reviews-section__title {
        font-size: 26px;
    }
}
