#reviews {
    padding-top: 120px;
    padding-left: 60px;
    padding-right: 60px;
    padding-bottom: 80px;

    /* width: 100vw; */
    /* height: 100vh; */
    background-color: #f7f7f7;
    background-image: url(../images/reviews-bg.png);
    background-size: cover;
    
}

.reviews-header {
    display: flex;
    justify-content: space-between;
}

.reviews-header__text-1 {
    font-weight: 400;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.04em;
    color: rgba(37, 37, 37, 0.6);
}

.reviews-header__text-2 {
    margin-top: 10px;

    font-weight: 500;
    font-size: 42px;
    line-height: 110%;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: #252525;
}

.reviews-header__text-2 span {
    color: #911e45;
    font-style: italic;
}

.reviews-header__grades {
    display: flex;
    column-gap: 20px;

}

.reviews-header__grade-item {
    border-radius: 2px;
    width: 230px;
    height: 66px;
    background: #911e45;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 15px;
    color: #fff;

    text-decoration: none;
}

.reviews-header__grade-item:hover, .reviews-header__grade-item:focus, .reviews-header__grade-item:active {
    opacity: 0.7;
}

.reviews-header__grade-item .grade {
    font-weight: 500;
    font-size: 35px;
    line-height: 1.1;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    text-align: center;
}

.reviews-header__grade-item .info {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, 0.7);
    text-align: right;
}

#reviews-slider {
    margin-top: 60px;
}

.review-text-slide {
    border-radius: 2px;
    background: #eceae9;
    max-width: 375px;

    padding: 20px;

}

.review-text-slide__header {
    display: flex;
    justify-content: space-between;
    column-gap: 20px;
}

.review-text-slide__header .name {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: -0.04em;
    color: #252525;
}

.review-text-slide__header .avatar {
    width: 50px;
    height: 50px;
    border-radius: 2px;
    overflow: hidden;
}

.review-text-slide__header .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-text-slide__text {
    display: flex;
    column-gap: 15px;

    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: -0.04em;
    color: #252525;
    margin-top: 30px;
}

.review-text-slide__text .full-text {
    display: none;
}

.review-text-slide__text .quote {
    font-family: 'Inter Tight';
    font-style: italic;
    font-weight: 500;
    font-size: 36px;
    line-height: 36px; /*1.3*/
    text-indent: -7px;
    letter-spacing: -0.02em;
    color: rgba(37, 37, 37, 0.1);
}

.review-text-slide__link {
    margin-top: 37px;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: -0.04em;
    
}

.review-text-slide__link a {
    color: #911e45;
}

.review-video-slide {
    aspect-ratio: 295 / 400;
    /* max-width: 295px; */
    max-width: 375px;
    border-radius: 2px;
    overflow: hidden;

    position: relative;
}

.review-video-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-video-slide__overlay {
    background-color: rgba(0, 0, 0, 0.3);

    position: absolute;
    top: 0;
    height: 100%;
    left: 0;
    width: 100%;

    padding: 20px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-video-slide__name {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: -0.04em;
    color: #fff;
}

.review-video-slide__controls {
    display: flex;
    align-items: center;
    column-gap: 6px;
}

.review-video-slide__controls .duration {
    font-weight: 500;
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, 0.7);
}

.review-video-slide__controls .btn-play {
    display: inline-block;

    width: 25px;
    height: 25px;

    border-radius: 1px;
    background: rgba(255, 255, 255, 0.1);

    background-image: url(../icons/review-video-play.svg);
    background-repeat: no-repeat;
    background-position: center;

    cursor: pointer;
}

.reviews-slider__navigation {
    margin-top: 60px;

    display: flex;
    justify-content: center;
    column-gap: 10px;
}

.reviews-slider__navigation > a {
    aspect-ratio: 1;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(44, 44, 44, 0.1);

    background-image: url(../icons/slider-arrow-left.svg);
    background-repeat: no-repeat;
    background-size: auto;
    background-position: center;
}

.reviews-slider__navigation > a:hover, .reviews-slider__navigation > a:focus, .reviews-slider__navigation > a:active {
    border-color: #2c2c2c;
}

.reviews-slider__navigation > a.reviews-btn-next {
    transform: rotate(180deg);
}

.full-screen-modal-content .review-text-slide {
    width: auto !important;
    margin: 0 !important;
    max-width: fit-content !important;
    padding: 70px;
}

.full-screen-modal-content .review-text-slide .short-text {
    display: none;
}

.full-screen-modal-content .review-text-slide .full-text {
    display: block;
}

.full-screen-modal-content .review-text-slide__link {
    display: none;
}

@media (max-width: 1060px) {
    #reviews {
        padding-top: 7.6cqw; /*80px*/
        padding-left: 2.9cqw; /*30px*/
        padding-right: 2.9cqw; /*30px*/
        padding-bottom: 7.6cqw; /*80px*/
    }

    .reviews-header__text-1 {
        font-size: 1.3cqw; /*12px*/
    }

    .reviews-header__text-2 {
        margin-top: 1.1cqw; /*10px*/
        
        font-size: 3.3cqw; /*32px*/
    }

    .reviews-header__grades {
        column-gap: 6px;
    }

    .reviews-header__grade-item {
        width: 16.7cqw; /*176px*/
        height: 5cqw; /*53px*/
        padding: 0 1cqw; /*10px*/
    }

    .reviews-header__grade-item .grade {
        font-size: 2.9cqw; /*30px*/
    }

    .reviews-header__grade-item .info {
        font-size: 1.2cqw; /*12px*/
    }

    #reviews-slider {
        margin-top: 5.7cqw; /*60px*/
    }
    
    .review-text-slide {
        padding: 1.5cqw;
    }

    .review-text-slide__header {
        column-gap: 10px;
    }

    .review-text-slide__header .name {
        font-size: 1.2cqw;
    }

    .review-text-slide__header .avatar {
        width: 3.8cqw;
        height: 3.8cqw;
    }

    .review-text-slide__text {
        margin-top: 2.9cqw;
        font-size: 1.4cqw;
    }

    .review-text-slide__link {
        margin-top: 3.3cqw;
        font-size: 1.2cqw;
    }

    .review-video-slide__name {
        font-size: 1.2cqw;
    }

    .review-video-slide__controls {
        column-gap: 0.6cqw; /*6px*/
    }

    .review-video-slide__controls .duration {
        font-size: 1.2cqw;
    }

    .reviews-slider__navigation {
        margin-top: 4.8cqw;
    }

    .reviews-slider__navigation > a {
        width: 4.8cqw; /*50px*/
        height: 4.8cqw; /*50px*/
    }
}

@media (max-width: 575px) {
    #reviews {
        padding: 13.5cqw 0; /*50px*/
    }

    .reviews-header {
        flex-direction: column;
    }

    .reviews-header__text-1 {
        font-size: 3.2cqw; /*12px*/
        text-align: center;
    }

    .reviews-header__text-2 {
        margin-top: 2.9cqw; /*10px*/
        font-size: 7cqw; /*26px*/
        text-align: center;
    }

    .reviews-header__grades {
        margin-top: 10.8cqw; /*40px*/
        column-gap: 2px;
        /* justify-content: center; */

        display: grid;
        grid-template-columns: 1fr 1fr;

        padding: 0 2.8cqw; /*10px*/
    }

    .reviews-header__grade-item {
        width: auto;
        height: 16.7cqw; /*63px*/
        padding: 0 2.8cqw; /*10px*/
    }

    .reviews-header__grade-item .grade {
        font-size: 8cqw; /*30px*/
    }

    .reviews-header__grade-item .info {
        font-size: 3.3cqw; /*12px*/
        text-decoration: underline;
    }

    .reviews-header__grade-item:hover .info, .reviews-header__grade-item:focus .info, .reviews-header__grade-item:active .info {
        text-decoration: none;
    }

    #reviews-slider {
        padding-left: 10px;
        margin-top: 6.2cqw;
    }

    .review-text-slide {
        padding: 5.4cqw 4cqw; /*20px 15px*/
    }

    .review-text-slide__header .name, .review-video-slide__name {
        font-size: 3.3cqw; /*12px*/
    }

    .review-text-slide__header .avatar {
        width: 10.7cqw; /*40px*/
        height: 10.7cqw; /*40px*/
    }

    .review-text-slide__text {
        margin-top: 5.2cqw; /*19px*/
        font-size: 3.8cqw; /*14px*/
    }
    
    .review-text-slide__link {
        margin-top: 9.3cqw; /*35px*/
        font-size: 3.2cqw; /*12px*/
    }

    .review-video-slide__controls {
        column-gap: 1.6cqw;
    }

    .review-video-slide__controls .duration {
        font-size: 3.3cqw; /*12px*/
    }

    .reviews-slider__navigation {
        margin-top: 13.4cqw; /*50px*/
        column-gap: 2cqw;
    }

    .reviews-slider__navigation > a {
        width: 12cqw; /*45px*/
        height: 12cqw; /*45px*/
    }
    
    .full-screen-modal-content .review-text-slide {
	    padding: 50px;
	}
}