.review-item {
  position: relative
}
.review-item__wrapper {
  width: 100%;
  min-height: 267px;
  display: flex;
  flex-direction: column;
  padding-bottom: 30px;
  background: #fff;
  overflow: hidden
}
.review-item_has-more .review-item__link {
  display: flex
}
.review-item_has-more .review-item__text {
  height: 92px
}
.review-item_has-more.review-item_open .review-item__text {
  height: auto
}
.review-item__wrap {
  display: flex
}
.review-item__top-block {
  display: flex;
  align-items: flex-end;
  padding-right: 20px;
  margin-bottom: 30px
}
.review-item__name {
  margin-right: auto;
  padding: 8px 30px;
  font-size: 18px;
  font-weight: 500;
  line-height: 23px;
  color: #e81b23;
  background: #fde9e9;
  border-radius: 10px
}
.review-item__stars {
  display: flex
}
.review-item__stars_0 .review-item__star:nth-child(n+1) {
  color: #d9d9d9
}
.review-item__stars_1 .review-item__star:nth-child(n+2) {
  color: #d9d9d9
}
.review-item__stars_2 .review-item__star:nth-child(n+3) {
  color: #d9d9d9
}
.review-item__stars_3 .review-item__star:nth-child(n+4) {
  color: #d9d9d9
}
.review-item__stars_4 .review-item__star:nth-child(n+5) {
  color: #d9d9d9
}
.review-item__stars_5 .review-item__star:nth-child(n+6) {
  color: #d9d9d9
}
.review-item__star {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #fed42b
}
.review-item__date {
  margin-left: 20px;
  font-size: 15px;
  font-weight: 400;
  line-height: 19px;
  color: #858585
}
.review-item__text {
  overflow-y: hidden;
  max-width: 480px;
  margin-bottom: 8px;
  padding-left: 30px;
  padding-right: 30px;
  font-size: 15px;
  font-weight: 400;
  line-height: 23px;
  color: #565656
}
.review-item__link {
  display: none;
  align-items: flex-start;
  padding-left: 30px;
  margin-bottom: 25px
}
.review-item__city {
  margin-top: auto;
  padding-left: 30px;
  font-size: 15px;
  font-weight: 400;
  line-height: 19px;
  color: #858585
}
@media (min-width:768px) {
  .review-item_has-more.review-item_open:not(.slider-block__item-reviews) .review-item__wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    box-shadow: 0 0 15px rgba(0,0,0,.08)
  }
}
@media (min-width:1025px) {
  .review-item {
    min-height: 271px
  }
}
@media (max-width:1420px) {
  .review-item__wrap {
    flex-direction: column-reverse;
    align-items: flex-end
  }
}
@media (max-width:1023px) {
  .review-item__wrapper {
    min-height: 224px;
    padding-bottom: 16px;
    box-shadow: 0 0 15px rgba(0,0,0,.08)
  }
  .review-item_has-more .review-item__text {
    height: 85px
  }
  .review-item__top-block {
    margin-bottom: 13px
  }
  .review-item__name {
    padding: 12px 18px;
    font-size: 14px;
    line-height: 18px
  }
  .review-item__star {
    width: 16px;
    height: 16px
  }
  .review-item__star svg {
    width: 12px;
    height: 12px
  }
  .review-item__date {
    font-size: 13px;
    line-height: 17px
  }
  .review-item__text {
    padding-left: 16px;
    padding-right: 16px;
    font-size: 13px;
    line-height: 17px
  }
  .review-item__link {
    padding-left: 16px;
    font-size: 14px;
    line-height: 18px
  }
  .review-item__city {
    padding-left: 16px;
    font-size: 13px;
    font-weight: 400;
    line-height: 17px
  }
}
@media (max-width:768px) {
  .review-item__wrapper {
    min-height: -moz-max-content;
    min-height: max-content
  }
}
@media (max-width:1024px) and (min-width:769px) {
  .review-item {
    min-height: 224px
  }
}