/* отзывы */
.reviews-block{
	position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    justify-items: center;
    margin-bottom: 30px;
}

.reviews-block__item{
    padding: 24px 16px;
    background-color: var(--light-grey);
    border-radius: 12px;
}

	/* доп */
.slick-slide.reviews-block__item,
.reviews-block__item{
	min-height: 287px;
}

.reviews-block__item > div.reviews-block__button{
    display: inline-block;
}

.reviews-block__item > div{
    display: flex;
    margin-bottom: 24px;
}

.reviews-block__item .sm_button{
    height: 32px;
    letter-spacing: -0.02em;
}

.reviews-block__item_user-info{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.reviews-block__item > p{
    margin-bottom: 18px;

}

.reviews-block__item-hidden{
    display: none;
}

.reviews-block-button{
    font-family: Raleway;
    font-size: 14px;
    font-weight: 500;
    line-height: 14px;
    grid-column: 2 / 3;
}

.reviews-block-button i{
    font-size: 18px;
}

.reviews-block__button.sm_button{
    color: black;
    border: 1px solid var(--green);
    padding: 0 20px;
    transition: all 0.2s ease-in-out;
    background: transparent;
}

/* доп */
.reviews-block .reviews-block__button{
	position: absolute;
	bottom: 0px;
}

.reviews-block__button:hover{
    color: var(--green);
}

.reviews-container__button{
    display: flex;
    justify-content: center;
}

.review_card__user_photo {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F6F7FB;
    border-radius: 50%;
    font-size: 20px;
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}

.review_card__user_photo.review_card__user_photo--white {
    background: #fff;
}
/* отзывы END */



/* слайдер отзывов */
.arrow-slider{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arrow-slider i{
    font-size: 8px;
}

.arrow-slider:hover{
    background-color: var(--light-grey-hover);
}

.reviews-block__slider-left{
    top: -70px;
    right: 30px;
}

.reviews-block__slider-right{
    top: -70px;
    right: 0px;
}

.reviews-container .reviews-block__item{
    position: relative;
}

@media screen and (max-width: 768px) {
    .reviews-block__item{
        margin-right: 16px;
        width: 336px;
    }

    .reviews-block {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        /* display: block; */
        display: flex;
        margin-bottom: 0px;
    }

    .reviews-block .slick-list{
        padding-right: 200px; 
    }

    .reviews-block-button{
        display: none;
    }

    .reviews-block__item-hidden{
        display: block;
    }

    .reviews-block__slider-left{
        top: -50px;
        position: absolute;
    }
    
    .reviews-block__slider-right{
        top: -50px;
        position: absolute;
    }

    .reviews-container .reviews-block{
        display: flex;
    }

    .reviews-container{
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 375px) {

	.reviews-block__slider-left i,
	.reviews-block__slider-right i{
		font-size: 10px;
		color: black;
	}

	.reviews-block__item{
		margin-right: 16px;
		width: 290px;
        max-width: 290px;
    }
}



/* Отзыв детальная в попапе */
.reviewContainer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 16px;
}

.reviewDetail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 165px;
}

.reviewDetail--left {
    grid-column: span 2;
}

.reviewDetail--right {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.illustation--review {
    position: fixed;
    bottom: 0;
    right: 5%;
}

.reviewDetail__text {
    color: #2D264B;
    font-family: Golos;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.reviewDetail__about {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (max-width: 1199px) {
    .reviewDetail {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .reviewDetail--right {
        order: 1;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .reviewDetail--left {
        order: 2;
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .reviewDetail .review_card__user {
        order: 2;
    }

    .reviewDetail__about {
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .reviewContainer {
        padding-bottom: 24px;
        height: auto;
    }

    .reviewDetail--right {
        flex-direction: column;
        gap: 30px;
    }
}

