.swiper-reviews {
  width: 100%;
  overflow: hidden;
}

.review-text {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  overflow: hidden;
  background-color: var(--Background);
  padding: 30px;
  padding-left: 40px;
  padding-right: 40px;
}
.review-text-top {
  position: relative;
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
}
.review-text-top h5 {
  color: var(--Black);
}
.review-text-top .p3 {
  color: var(--Txt);
}
.review-text-bottom .p2.hidden {
  height: calc(134px - 19px - 10px);
  overflow: hidden;
}
.review-text-bottom .p2 * {
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  margin-bottom: 10px;
}
.review-text-bottom .p2 *:last-child {
  margin-bottom: 0px;
}
.review-text-bottom {
}
.review-text-gallery {
  position: relative;
  display: flex;
  gap: 10px;
  margin-top: 42px;
  flex-wrap: wrap;
}
.review-text-gallery-img-container {
  width: 100px;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
}
.review-text-gallery-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: var(--Transition);
}
.review-text-gallery-img-container:hover {
  img {
    transform: scale(1.05);
  }
}

.slide-review {
  height: 430px;
}
.review-simple-img {
  width: 300px;
}
.review-text-block {
  width: 630px;
  height: auto;
}
.review-simple {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 5px;
  border-radius: 5px;
  overflow: hidden;
}
.review-block {
  position: relative;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 5px;
  background-color: var(--White);
  color: var(--Txt);
  /* z-index: 2; */
}
.reviews-block-date {
  margin-left: auto;
  margin-right: 5px;
  margin-top: 5px;
}
.reviews-block-title {
  width: 100%;
  text-align: center;
  color: var(--Black);
}
.review-simple-img-container {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}
.review-simple-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.read-more {
  margin-top: 10px;
  width: fit-content;
  cursor: pointer;
}

.review-text-gallery-img-container {
  position: relative;
}
.review-simple-img-container:hover,
.review-text-gallery-img-container:hover {
  .img-hover {
    opacity: 1;
  }
}

@media (max-width: 670px) {
  .review-text {
    width: 95vw;
  }
}
@media (max-width: 480px) {
  .review-text {
    padding: 20px;
  }
  .review-text-gallery-img-container {
    width: 20vw;
    height: calc(20vw * 1.5);
  }
  .review-text-gallery {
    margin-top: var(--Simple-margin);
  }
}
@media (max-width: 440px) {
  .review-simple-img {
    width: 95vw;
  }
}
@media (max-width: 380px) {
  .review-text-bottom .p2.hidden {
    height: calc(124px - 19px - 10px);
  }
}
@media (max-width: 360px) {
  .review-text-top {
    flex-direction: column;
    align-items: start;
  }
  .slide-review {
    height: auto;
    min-height: 360px;
  }
}

.after-block .btn {
  display: none;
}
