.swiper-main-container {
  width: 100%;
  margin-top: 1.3rem;
  position: relative;
}
.mySwiper {
  padding: 0.8rem 0;
  height: 17.47rem;
}

.mySwiper .swiper-slide {
  background-color: #ffffff;
  border-radius: 0.4rem;
  height: 17.27rem;
  box-shadow: 0px 0.1rem 0.6rem 0px #0000001a;
}

.mySwiper .swiper-slide__image {
  width: 100%;
  border-radius: 0.5rem;

  /* height: 11rem; */
}

.mySwiper .swiper-slide__image > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-top-left-radius: 0.4rem;
  border-top-right-radius: 0.4rem;
}

.review-card-title-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  /* height: 8rem; */
  text-align: center;
  /* padding: 0.6rem 0; */
  position: relative;
}

.review-card-title {
  font-size: 0.8rem;
  width: 15.2rem;
  height: 3rem;
}

.review-card-title-container > button {
  background-color: var(--brandColor);
  width: 6.1rem;
  height: 2rem;
  border-radius: 2.18rem;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: -3.5rem;
  /* transition: background-color 0.3s ease-in-out; */
  /* margin: 1.25rem 0; */
}

/* .review-card-title-container > button:hover {
  background-color: darken(var(--brandClr), 10%);
} */

.review-card-title-container > button > span {
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
}

.swiper-button-next-custom,
.swiper-button-prev-custom {
  background-color: #ffffff;
  height: 2rem;
  width: 2rem;
  border-radius: 50%;
  box-shadow: 0px 2.4px 2.4px 0px rgba(240, 208, 221, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.swiper-button-prev-custom {
  position: absolute;
  left: -1.2rem;
  z-index: 9;
  top: 8rem;
}
.swiper-button-next-custom {
  position: absolute;
  right: -1rem;
  z-index: 9;
  top: 8rem;
}

/* .swiper-button-next-custom:hover,
.swiper-button-prev-custom:hover {
  transform: scale(1.1);
} */

.swiper-button-prev-custom {
  margin-right: 0.8rem;
}

.swiper-button-next-custom > img,
.swiper-button-prev-custom > img {
  width: 0.765rem;
  height: 0.72rem;
}

@media screen and (min-width: 768px) {
  .mySwiper {
    height: 8.5rem;
  }
  .swiper-slide__image {
    /* height: 5rem; */
  }

  .mySwiper .swiper-slide {
    border-radius: 0.2rem;
    height: 8.4rem;
    box-shadow: 0px 0.1rem 0.2rem 0px #0000001a;
  }

  .mySwiper .swiper-slide__image > img {
    border-top-left-radius: 0.16rem;
    border-top-right-radius: 0.16rem;
  }

  .review-card-title {
    font-size: 0.37rem;
    width: 6.8rem;
    height: 1.68rem;
  }

  .review-card-title-container > button {
    width: 3.35rem;
    height: 1rem;
    /* margin-top: 0.52rem; */
    position: absolute;
    bottom: -1.6rem;
    padding: 0.18rem 0.33rem;
    border-radius: 0.9rem;
  }

  .review-card-title-container > button > span {
    font-size: 0.41rem;
  }
  .review-section__navigation-buttons-container {
    margin-top: 0.5rem;
    margin: 1rem 0 0.2rem;
  }

  .swiper-button-next-custom,
  .swiper-button-prev-custom {
    height: 1.26rem;
    width: 1.26rem;
    box-shadow: 0px 4px 4px 0px #f0d0dd66;
  }
  .swiper-button-prev-custom {
    position: absolute;
    left: -1.6rem;
    z-index: 9;
    top: 6rem;
    transform: translate(50%, -180%);
  }
  .swiper-button-next-custom {
    position: absolute;
    right: -0.2rem;
    z-index: 9;
    top: 6rem;

    transform: translate(50%, -180%);
  }
  .swiper-button-next-custom > img,
  .swiper-button-prev-custom > img {
    width: 0.5rem;
    height: 0.51rem;
  }
}
