.reviews-component {
    position: relative;
    margin: -30px -17px;
    padding: 30px 17px;
    /* overflow: hidden; */
}

.reviews-component-slider {
    overflow: visible !important;
}

.reviews-component-slider__slide {
    height: auto !important;
    align-self: flex-start;
}

.reviews,
.reviews__wrapper {
    min-height: 390px;
}

.reviews__wrapper {
    padding: 24px;
    width: 100%;
    background: #ffffff;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.reviews__top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px 20px;
    width: 100%;
    margin: 0;
    margin-bottom: 40px;
}

.reviews__top-col {
    display: flex;
    align-items: center;
}

.reviews__photo {
    flex-shrink: 0;
    max-width: 56px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 16px;
}

.reviews__photo img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.reviews__user {
    max-width: 256px;
    width: 100%;
}

.reviews__name {
    font-family: "Open Sans", "sans-serif";
    font-weight: 700;
    font-style: normal;
    font-size: 18px;
    line-height: 24px;
    color: #0e0e0f;
    margin-bottom: 4px;
}

.reviews__date {
    font-family: "Open Sans", "sans-serif";
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    margin: 0px;
    color: #8e8e93;
    line-height: 24px;
}

.reviews__button {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px 12px;
    background: rgba(140, 140, 140, 0.07);
    border-radius: 500px;
    font-family: "Open Sans", "sans-serif";
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 14px;
    white-space: nowrap;
    color: #8e8e93;
    cursor: pointer;
}

.reviews__button:hover {
    color: #00a76b;
}

.reviews__bot {
    display: flex;
    justify-content: center;
    max-height: 200px;
    overflow: hidden;
    transition: max-height, 0.5s;
}

.reviews__bot:before {
    content: url("images/mark.svg");
    max-width: 32px;
    width: 100%;
    height: 32px;
    margin: -4px 10px 0 10px;
    flex: 0 0 32px;
}

.reviews__text {
    /* align-self: flex-end; */
    align-self: flex-start;
}

.reviews__text p {
    max-width: 475px;
    font-family: "Open Sans", "sans-serif";
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    line-height: 32px;
    color: #8e8e93;
}

.reviews__text_normal {
    display: block;
}

.reviews__text_short {
    display: none;
}
.reviews__text-more {
    margin: 8px auto 0;
    transition: border-color 0.2s;

    &.button {
        display: none;
    }

    svg {
        transition: fill 0.2s;
    }
    &:hover {
        border: 1px solid #00a76b;
        svg {
            fill: #00a76b;
        }
    }
}

.reviews_show-button .reviews__text-more {
    display: block;
    margin-left: 49px;
    border: none;
    width: fit-content;
    font-size: 16px;
    margin-top: 0;
    
    &:hover{
        border: none;
    }
}
@media screen and (max-width: 1300px) {
    .reviews-component {
        margin: 0;
        padding: 0;
        overflow: visible;
    }
}

@media screen and (max-width: 575px) {
    .reviews-component-slider__slide {
        width: 100% !important;
    }

    .reviews__wrapper {
        padding: 24px;
        width: 100%;
    }

    .reviews__top {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 30px;
    }

    /* .reviews__bot:before {
        margin: -4px 0 0;
    } */

    .reviews__text p {
        font-family: "Open Sans", "sans-serif";
        font-weight: 400;
        font-style: normal;
        font-size: 14px;
        line-height: 22.4px;
    }

    .reviews__text_normal {
        /* display: none; */
    }

    /* .reviews__text_short {
		display: block;
	} */
}
