@import "../../../styles/varibale.scss";

.home__we_are_trust__block {
  width: 100%;
}
.rating{
  color: $primaryColor;
  font-size: 24px;
}

.home__we_are_trust__block_reviews {
  background: #F4F4FF;
}

.home__we_are_trust__title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 28px;
}

.home__we_are_trust__subtitle {
  color: #000;
  text-align: center;
  margin-bottom: 28px;
  font-size: 15px;
  margin-top: -24px;
}

.home__we_are_trust__list {
  img {
    width: 100%;
  }

  .home__we_are_trust__slick-list {
    margin: 10px;
    padding: 10px 0;
  }

  .home__we_are_trust__slick_slide {
    padding: 0 10px;
  }

  .home__we_are_trust__slick_slide,
  .home__we_are_trust__slick_slide>div>div {
    &:focus {
      outline: none;
    }
  }

  .home__we_are_trust__slick_dots {
    width: auto;
    position: static;
    padding: 0;
    font-size: 0;
    list-style: none;
    margin: 18px 0 0;
    text-align: center;

    li {
      display: inline-block;
      padding: 6px;
    }

    button {
      width: 8px;
      height: 10px;
      padding: 0;
      border: none;
      border-radius: 8px / 2;
      background: transparent;

      &:focus {
        outline: none;
      }

      &:hover {
        background: #fff;
      }
    }

    .home__we_are_trust__slick_active button {
      background: #fff;
    }
  }
}

.home__we_are_trust__item {
  max-width: 690px;
  margin: 0 auto;
  display: flex;
}

.home__we_are_trust__item_avatar {
  width: 30px;
  flex-shrink: 0;

  img {
    max-width: 100%;
  }

  filter: opacity(0.5) drop-shadow(0 0 0 #1b53bc);
}

.home__we_are_trust__item_content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 1.5em;

}

.home__we_are_trust__item_text {
  font-size: 20px;
  font-style: italic;
  text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    white-space: normal;
    height: 110px;
}

.home__we_are_trust__item_meta {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.home__we_are_trust__item_author {
  color: #000;
  font-size: 17px;
  position: relative;
  line-height: 20px;
  padding: 20px 0;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  color: #231e1e;
  font-weight: 700;

  &:before {
    display: inline-block;
    height: 1px;
    background: #fff;
    content: "";
    opacity: 0.8;
    position: relative;
    vertical-align: middle;
  }
}

.author_name{
  font-weight: 500;
  font-size: 12px;
}
.home__we_are_trust__item_rating {
  padding-bottom: 4px;
}

.home__we_are_trust__block_review_column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  background: #F5F5F5;
  margin: 1em auto;
  padding: 24px 45px;
  // box-shadow: 0px 4px 50px rgba(0, 0, 0, 0.07);
  border-radius: 8px;
}

.home__we_are_trust__date_name_display {
  display: flex;
  flex-direction: column;

  // align-items: center;
  // justify-content: space-between;
}

.iconRightDisplay {
  color: #B7B7B7;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: absolute;
  right: -25px;
  top: calc(50% - 16px);
  font-size: 18px;

  &:hover {
    color: $primaryColor;
  }
}

.iconLeftDisplay {
  color: #B7B7B7;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: absolute;
  left: -25px;
  top: calc(50% - 16px);
  z-index: 9;
  font-size: 18px;

  &:hover {
    color: $primaryColor;
  }
}

.home__we_are_trust__date_display {
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  padding: 20px 10px;
  color: #9d8b8b;
}

.home__we_are_trust__list {
  // :global(.slick-slide) {
  //   max-width: 528px;
  // }
}



.home__we_are_trust__list>div>div>div>div>div {
  margin: 0 10px;
}

@media (max-width: 768px) {
  .iconLeftDisplay {
    left: 0;
  }

  .iconRightDisplay {
    right: 0
  }
}


// .home__we_are_trust__block_review_column {
//   flex-direction: column;
//   background: #ffffff;
//   padding-right: 20%;
//   padding-top: 30px;
//   padding-bottom: 30px;
//   box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
//   margin: 10px  auto;
// }

.sellerSectionTitle {
  font-weight: 700;
  font-size: 2em;
  line-height: 1.4;
  color: #291c61;
  text-align: center;
  margin: 1em 1em;
}