.tcw-carousel-wrapper {
  position: relative;
  width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}

.tcw-swiper {
  width: 100%;
  padding-bottom: 45px; /* room for pagination dots */
  overflow: hidden;
}

.tcw-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.tcw-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.tcw-quote-icon {
  font-size: 48px;
  line-height: 1;
  color: #e0e0e0;
  font-family: Georgia, serif;
  margin-bottom: 8px;
}

.tcw-rating {
  color: #f5b301;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.tcw-content {
  color: #555555;
  font-size: 16px;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.tcw-content p {
  margin: 0 0 10px 0;
}

.tcw-content p:last-child {
  margin-bottom: 0;
}

.tcw-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.tcw-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.tcw-author-info {
  display: flex;
  flex-direction: column;
}

.tcw-name {
  font-weight: 600;
  font-size: 16px;
  color: #1a1a1a;
  line-height: 1.3;
}

.tcw-role {
  font-size: 13px;
  color: #888888;
  line-height: 1.3;
  margin-top: 2px;
}

/* Center mode: fade + scale down non-active slides */
.tcw-carousel-wrapper.tcw-center-mode .swiper-slide {
  opacity: 0.5;
  transform: scale(0.92);
}

.tcw-carousel-wrapper.tcw-center-mode .swiper-slide-active,
.tcw-carousel-wrapper.tcw-center-mode .swiper-slide-visible.swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}

/* Navigation arrows */
.tcw-swiper-button {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
  transition: background 0.2s ease, transform 0.2s ease;
}

.tcw-swiper-button:hover {
  background: #f2f2f2;
}

.tcw-swiper-button-prev {
  left: -10px;
}

.tcw-swiper-button-next {
  right: -10px;
}

.tcw-swiper-button.swiper-button-disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

/* Pagination dots */
.tcw-swiper .swiper-pagination {
  bottom: 0;
}

.tcw-swiper .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  background: #cccccc;
  opacity: 1;
}

.tcw-swiper .swiper-pagination-bullet-active {
  background: #1a1a1a;
}

/* Responsive tweaks */
@media (max-width: 767px) {
  .tcw-swiper-button {
    display: none;
  }
  .tcw-carousel-wrapper {
    padding: 0;
  }
}
