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

#stmd-reviews-slider {
    min-height: 395px;
}

.stmd-review {
    border-radius: 24px;
    background-color: #FBFBFB;

    display: grid;
    grid-template-rows: minmax(42px, 108px) 1fr;
    gap: 26px;
    padding: 40px;
    overflow: hidden;
    transition-duration: 0.3s;

    height: 100%;
}

.stmd-review__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.stmd-review__img {
    max-width: 82px;
    width: 100%;
    height: 42px;

    overflow: hidden;

    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stmd-review__img img {
    max-width: inherit;
    width: 100%;
    object-fit: contain;
    height: inherit;
}

.stmd-review__data {
    display: flex;
    flex-direction: column;
}

.stmd-review__preview {
    width: 100%;
}

.stmd-review__active {
    font-weight: 400;
    font-size: 12px;
    line-height: 140%;
    letter-spacing: 0;
    color: #444444;
}

.stmd-review__name {
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: 0;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #111;
}

.stmd-review__preview-text {
    font-family: 'Verdana', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: 0;

    color: #444444;
    overflow: hidden;
}

.stmd-review__preview-text p:first-child,
.stmd-review__preview-text p:last-child {
    margin: 0;
}

.stmd-review__preview-text.is-collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

.stmd-review__toggle {
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    color: #D6141A;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.stmd-review__toggle:hover {
    color: #B81117;
}

.stmd-review__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 20px;
    min-height: 34px;
}

.stmd-review__city {
    font-weight: 400;
    font-size: 12px;
    line-height: 140%;
    letter-spacing: 0;

    color: #444444;
}

.stmd-review__rate {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
    margin-left: auto;
}

.stmd-slider .swiper-wrapper {
    align-items: flex-start;
    min-height: inherit;
}

.stmd-slider .swiper-slide {
    height: auto;
}

@media (max-width: 768px) {
    .stmd-review {
        padding: 20px;
    }
    .stmd-review__img {
        max-width: 60px;
    }
    .stmd-review__name {
        -webkit-line-clamp: 8;
    }
    .stmd-review {
        grid-template-rows: minmax(42px, 152px) 1fr;
    }
}



