/* Reviews Block Styles */
.reviews-block {
  padding: 80px 40px;
  margin: 0 !important;
  max-width: 100% !important;
}

.reviews-container {
  max-width: 1512px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.reviews-heading {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  color: #f99c28;
  text-align: left;
}

/* Swiper Styles */
.reviews-swiper {
  width: 100%;
  overflow: hidden;
  position: relative;
  touch-action: pan-y;
}

.review-card {
  background: white;
  border-radius: 16px;
  padding: 25px;
  height: 380px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  border: 1px solid #3db87d;
  box-sizing: border-box;
  justify-content: space-between;
}

/* Review Source Badge */
.review-source {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-source-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.review-source-text {
  font-size: 14px;
  font-weight: 600;
  color: #000000;
  opacity: 0.5;
  text-transform: uppercase;
}

/* Review Text */
.review-text {
  font-size: 16px;
  font-weight: 500;
  color: #000000;
  opacity: 0.75;
  margin: 0;
  font-style: italic;
  flex-grow: 1;
  quotes: none;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Rating Section */
.review-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 12px 0;
}

.review-rating .star svg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.review-rating-number {
  font-size: 16px;
  margin-left: 8px;
  font-weight: 500;
  line-height: 1;
  color: #000000;
}

/* Author Section */
.review-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.review-author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.review-profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-author-info {
  flex-grow: 1;
}

.review-author-name {
  font-size: 20px;
  font-weight: 600;
  color: #000000;
  margin: 0 0 4px 0;
}

.review-author-location {
  font-size: 16px;
  color: #000000;
  opacity: .5;
  margin: 0;
  text-transform: uppercase;
  font-weight: 600;
}

/* Swiper Pagination */
.reviews-swiper .swiper-pagination {
  bottom: -40px;
  position: relative;
  margin-top: 40px;
}

.reviews-swiper .swiper-pagination-bullet {
  background-color: #d1d5db;
  opacity: 1;
  width: 12px;
  height: 12px;
  margin: 0 6px;
  transition: all 0.3s ease;
}

.reviews-swiper .swiper-pagination-bullet-active {
  background-color: #f99c28;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .reviews-block {
    padding: 40px 15px;
  }
}

/* Fallback styles when Swiper is not available */
.reviews-swiper.reviews-fallback {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  min-height: auto;
}

.reviews-swiper.reviews-fallback .swiper-wrapper {
  display: contents;
}

.reviews-swiper.reviews-fallback .swiper-slide {
  display: flex;
}

/* Navigation arrows (if needed) */
.reviews-swiper .swiper-button-next,
.reviews-swiper .swiper-button-prev {
  color: #f99c28;
  font-weight: bold;
}

.reviews-swiper .swiper-button-next:after,
.reviews-swiper .swiper-button-prev:after {
  font-size: 20px;
}
