.tdg-reviews-slider-container {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  padding: 40px 20px;
}

.tdg-reviews-swiper {
  overflow: visible;
  padding: 0 60px;
}

.tdg-review-card {
  display: flex;
  min-height: 450px;
  gap: 20px;
  overflow: hidden;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tdg-review-image {
  flex: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 300px;
  border-radius: 54px;
  overflow: hidden;
  min-width: 250px;
}

.tdg-review-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

.tdg-review-content {
  flex: 1;
  background-color: #f4f4f4;
  padding: 60px 30px;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  position: relative;
  border-radius: 54px;
  min-width: 250px;
  min-height: 550px;
}

.tdg-review-icon {
  color: #666;
  margin-bottom: 20px;
}

.tdg-review-icon svg {
  width: 32px;
  height: 32px;
}

.tdg-review-text {
  font-size: 30px;
  line-height: 1.2;
  color: #10201a;
  margin: 0 0 20px 0;
  flex-grow: 1;
  font-weight: 200;
}

.tdg-review-meta {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.tdg-review-author h4.tdg-review-name {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: #10201a;
  padding-bottom: 0;
}

.tdg-review-author p.tdg-review-location {
  margin: 0;
  font-size: 20px;
  color: #10201a;
  font-weight: 300;
}

.tdg-star-rating {
  display: flex;
  gap: 0px;
  margin-top: 15px;
}

.tdg-star {
  color: #ddd;
  transition: color 0.2s ease;
}

.tdg-star.filled {
  color: #04a6e8;
}

.tdg-star svg {
  width: 36px;
  height: 36px;
}

.tdg-reviews-swiper div.tdg-reviews-next,
.tdg-reviews-swiper div.tdg-reviews-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-image: none !important;
  border: none;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  color: #333;
  outline: none;
}

.tdg-reviews-next:hover,
.tdg-reviews-prev:hover {
  background: var(--accent-green);
  color: #000000;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.tdg-reviews-next {
  right: 10px;
}

.tdg-reviews-prev {
  left: 10px;
}

.tdg-reviews-next.swiper-button-disabled,
.tdg-reviews-prev.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.tdg-reviews-next svg,
.tdg-reviews-prev svg {
  width: 50px;
  height: 50px;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.1));
}

@media (max-width: 980px) {
  .tdg-reviews-swiper {
    padding: 0px;
  }
  .tdg-review-content {
    min-height: 300px;
  }
  .tdg-review-card {
    height: auto;
    min-height: 400px;
    gap: 10px;
  }

  .tdg-review-image {
    min-height: 200px;
    flex: none;
    border-radius: 32px;
    min-height: 400px;
    min-width: 45%;
  }
  .tdg-review-text {
    font-size: 20px;
  }

  .tdg-star svg {
    width: 28px;
    height: 28px;
  }
  .tdg-review-content {
    min-width: 40%;
    min-height: 400px;
  }
  .tdg-review-content {
    flex: 1;
    padding: 25px;
  }

  .tdg-review-text {
    margin-bottom: 15px;
  }

  .tdg-review-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .tdg-reviews-next {
    right: 5px;
    width: 40px;
    height: 40px;
  }

  .tdg-reviews-prev {
    left: 5px;
    width: 40px;
    height: 40px;
  }

  .tdg-reviews-next svg,
  .tdg-reviews-prev svg {
    /* width: 20px; */
    /* height: 20px; */
  }
  .tdg-reviews-swiper div.tdg-reviews-next,
  .tdg-reviews-swiper div.tdg-reviews-prev {
    transform: unset;
    bottom: -70px;
    top: unset;
  }

  .swiper-button-next.tdg-reviews-next {
    right: 30%;
    left: unset;
  }

  .swiper-button-prev.tdg-reviews-prev {
    left: 30%;
  }

  .tdg-reviews-slider-container {
    padding-bottom: 80px !important;
  }
  .tdg-review-author h4.tdg-review-name {
    font-size: 22px;
  }
  .tdg-review-author p.tdg-review-location {
    font-size: 18px;
  }
}

@media (max-width: 480pxx) {
  .tdg-reviews-slider-container {
    padding: 20px 10px;
  }

  .tdg-reviews-swiper {
  }

  .tdg-review-content {
    padding: 20px;
    border-radius: 32px;
  }

  .tdg-review-text {
  }

  .tdg-review-author h4.tdg-review-name {
    font-size: 26px;
  }

  .tdg-review-author p.tdg-review-location {
    font-size: 18px;
  }
}

.tdg-reviews-slider-container:hover .tdg-reviews-swiper {
  animation-play-state: paused;
}

.tdg-reviews-next:focus,
.tdg-reviews-prev:focus {
  outline: 2px solid #007cba;
  outline-offset: 2px;
}

.tdg-reviews-swiper .swiper-button-next:after,
.tdg-reviews-swiper .swiper-button-prev:after {
  display: none !important;
}
