/* Center review section headings - heading before carousel widget */
.elementor-widget-heading:has(~ .elementor-widget-shortcode .reviews-carousel-container) .elementor-heading-title,
.elementor-widget-heading:has(~ .reviews-carousel-container) .elementor-heading-title {
  text-align: center !important;
}

/* Reviews Carousel Styles */
.reviews-carousel-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  box-sizing: border-box;
}
.reviews-carousel-container .swiper {
  overflow: hidden !important;
  padding: 10px 0 20px;
}
.reviews-carousel-container .swiper-wrapper {
  box-sizing: border-box;
}
.rc-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.rc-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px;
}
.rc-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.rc-info {
  flex: 1;
  min-width: 0;
}
.rc-name {
  font-weight: 700;
  font-size: 15px;
  color: #222;
  line-height: 1.3;
}
.rc-date {
  font-size: 13px;
  color: #888;
  line-height: 1.3;
}
.rc-google {
  flex-shrink: 0;
}
.rc-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}
.rc-body {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  flex: 1;
}
.rc-read-more {
  background: none;
  border: none;
  color: #1a73e8;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
  font-weight: 500;
}
.rc-read-more:hover {
  text-decoration: underline;
}

/* Swiper Navigation */
.reviews-carousel-container .swiper-button-next,
.reviews-carousel-container .swiper-button-prev {
  color: #33373d;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.reviews-carousel-container .swiper-button-next:after,
.reviews-carousel-container .swiper-button-prev:after {
  font-size: 16px;
  font-weight: 700;
}
.reviews-carousel-container .swiper-button-next {
  right: 2px;
}
.reviews-carousel-container .swiper-button-prev {
  left: 2px;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
  .reviews-carousel-container {
    padding: 0 45px;
  }
}
/* Responsive - Mobile */
@media (max-width: 767px) {
  .reviews-carousel-container {
    padding: 0 35px;
  }
  .rc-card {
    padding: 18px;
  }
}
