/* section-review start */
.section-review__container {
    /* max-width: 1464px;
    width: 100%;
    margin: 0 auto; */
    padding: 8rem 1.2rem;
    background: var(--color-bg-3);
}

.section-review__top {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto 3.2rem auto;
    display: flex;
    align-items: center;
    justify-content: space-between; 
}

.section-review__top h2 {
    color: #fff;
}

.section-review__slider-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-review__list .swiper-wrapper {
    align-items: stretch; /* Чтобы все слайды были одинаковой высоты */
}

.section-review__list .swiper-slide {
    height: auto !important; /* Разрешаем слайдам подстраиваться */
    display: flex;            /* Чтобы содержимое могло растягиваться */
}

.section-review__list-item {
    height: 100%;            /* Растягиваем элемент внутри */
    display: flex;
    flex-direction: column;  /* Чтобы текстовые блоки размещались вертикально */
}

.section-review__list-item {
    padding: 3.2rem;
    background: #fff;
    border-radius: 4rem;
    position: relative;
    overflow: hidden;
}

.section-review__list-item::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 49rem;
    height: 30rem;
    background: url(/local/templates/smile_spa/img/doctor-detail/bg-1.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.5;
  }

.section-review__list-item-title,
.section-review-modal__title {
    font-family: var(--font-family-main-600); 
    font-size: 1.8rem;
    line-height: 2.4rem;
    margin: 0 0 0 0;
}

.section-review__list-item-date,
.section-review-modal__date {
    font-family: var(--font-family-main-400); 
    font-size: 1.6rem;
    line-height: 2.4rem;
    margin: 0 0 2rem 0;
}

.section-review__list-item-text {
    font-family: var(--font-family-main-600); 
    font-size: 2rem;
    line-height: 2.8rem;
    margin: 0 0 2rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 15; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
    position: relative;
}

.section-review__list-item-more {
    width: fit-content;
    font-family: var(--font-family-main-500); 
    font-size: 1.6rem;
    line-height: 2rem;
    color: #fff;
    cursor: pointer;
    padding: 1.2rem 2rem;
    background: var(--color-main);
    border-radius: 0.8rem;
    margin: 2rem 0 0 0;
    transition: 0.2s;
}

.section-review__list-item-more:hover {
    transform: scale(1.03);
}

.section-review-modal {
    display: none;
    position: fixed;
    z-index: 200;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
}

.section-review-modal.active {
    display: block;
}

.section-review-modal__container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-review-modal__box {
    position: relative;
    max-width: 60rem;
    width: 100%;
    padding: 3.2rem;
    background: #fff;
}

.section-review-modal__text {
    font-family: var(--font-family-main-400); 
    font-size: 1.6rem;
    line-height: 2.4rem;
}

.section-review-modal__cross {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 2.4rem;
    height: 2.4rem;
    cursor: pointer;
}

.section-review-modal__cross::before {
    content: "";
    position: absolute;
    top: 1rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-text-main);
    transform: rotate(45deg);
}

.section-review-modal__cross::after {
    content: "";
    position: absolute;
    bottom: 1.2rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-text-main);
    transform: rotate(135deg);
}

.section-review__slider-prev,
.section-review__slider-next {
    width: 4.4rem;
    height: 4.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.section-review__slider-prev.swiper-button-disabled,
.section-review__slider-next.swiper-button-disabled {
    opacity: 0.5;
}

.section-review__bottom {
    margin: 3.2rem 0 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-review__bottom-link {
    font-family: var(--font-family-main-400); 
    font-size: 1.6rem;
    line-height: 2.4rem;
}

.section-review__bottom-link a{
    font-family: var(--font-family-main-600);
    text-decoration: none;
    position: relative;
    padding: 0 2.4rem 0 0;
}

.section-review__bottom-link a span:first-child {
    color: #917B64;
}

.section-review__bottom-link a span:last-child {
    color: #61574D;
}


.section-review__bottom-link a::before {
    content: "";
    position: absolute;
    width: 1.6rem;
    height: 1.6rem;
    top: 0.3rem;
    right: 0;
    background: url(/local/templates/smile_spa/img/right-arrow.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.section-review__bottom-link a:hover{
    text-decoration: underline;
}

.section-review__top-holder {
    display: flex;
    align-items: center;
}

.section-review__link-holder {
    margin: 0 2rem 0 0;
}

.section-review__link {
    font-family: var(--font-family-main-400);
    font-size: 1.6rem;
    line-height: 2.4rem;
    color: #fff;
}

.section-review__link a {
    font-family: var(--font-family-main-600);
    text-decoration: none;
    padding: 0 2.4rem 0 0;
    position: relative;
}

.section-review__link a:hover {
    text-decoration: underline;
}

.section-review__link a::before {
    content: "";
    position: absolute;
    width: 1.6rem;
    height: 1.6rem;
    top: 0.3rem;
    right: 0;
    background: url(/local/templates/smile_spa/img/right-arrow-white.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.section-review__link a span:last-child {
    opacity: 0.8;
}

.section-review__list-item-wrapper {
    flex-grow: 0;
    position: relative;
}

.section-review__list .swiper-slide:nth-child(even) .section-review__list-item {
    background: var(--color-bg-4);
}

.section-review__list .swiper-slide:nth-child(even) .section-review__list-item .section-review__list-item-text,
.section-review__list .swiper-slide:nth-child(even) .section-review__list-item .section-review__list-item-title {
    color: #fff;
}

.section-review__list .swiper-slide:nth-child(even) .section-review__list-item .section-review__list-item-more {
    color: var(--color-bg-4);
    background: #fff;
}

.section-review__list .swiper-slide:nth-child(even) .section-review__list-item::before {
    content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 21rem;
  height: 22rem;
  background: url(/local/templates/smile_spa/img/best-clinic/bg-2.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.5;
}

/* section-review end */