.review-card-fixed {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 1rem;
  margin: 5px 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  box-sizing: border-box;

  &.review {
    margin-left: 0 !important;
  }

  .review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 0.625rem;

    .review-card-user {
      display: flex;
      align-items: flex-start;
      flex: 1;
      min-width: 0;
      gap: 5px;
      font-weight: 700;

      .rating-badge {
        display: flex;
        align-items: center;
        flex-shrink: 0;
        gap: 4px;
        font-weight: 400;
      }
    }

    .review-card-user .user {
      min-width: 0;
      white-space: normal;
      overflow-wrap: anywhere;
      word-break: normal;
      line-height: 1.4;
    }
  }

  .review-card-date {
    flex-shrink: 0;
    color: var(--color-dark-gray);
    font-size: 0.875rem;
    line-height: 1.6rem;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;

    time {
      margin-bottom: -2px;
    }
  }

  .review-card-body {
    display: flex;
    flex: 1;
    width: 100%;
    min-height: 90px;
    margin-top: 0.5rem;
    overflow: hidden;

    .review-card-text {
      flex: 1;
      align-self: flex-start;
      min-width: 0;
      font-size: 0.875rem;
      line-height: 1.4;
      text-align: start;
      overflow: hidden;
      word-break: break-word;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 5;
      text-overflow: ellipsis;
    }

    .review-card-text--with-images {
      padding-right: 1rem;
    }

    .review-card-images {
      display: flex;
      flex-shrink: 0;
      min-width: 50px;
      max-width: 75px;
      flex-wrap: nowrap;
    }

    .review-card-image {
      position: relative;
      flex-shrink: 0;
      box-sizing: border-box;
      width: 49px;
      height: 65px;
      overflow: hidden;
      border: 1px solid #fff;
      border-radius: 4px;

      & + .review-card-image {
        margin-left: -23px;
      }

      & img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
  }
}

.reviews-slider-wrapper > .swiper > .swiper-wrapper > .swiper-slide {
  display: flex;
  height: auto;

  > .review-card-fixed {
    height: auto;
  }
}
