/* ==============================================
   Hdev Testimonial Slider Styles
   ============================================== */

.hdev-testimonial-slider-wrap {
  position: relative;
  width: 100%;
}

.hdev-testimonial-slider-wrap.has-dots {
  padding-bottom: 50px; /* Space for pagination */
}

.hdev-ts-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  height: 100%; /* Giúp các card cao bằng nhau nếu text dài ngắn khác nhau */
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  border: 1px solid #f0f0f0;
}

.hdev-ts-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.hdev-ts-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  flex-shrink: 0;
}

.hdev-ts-info {
  display: flex;
  flex-direction: column;
}

.hdev-ts-name {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #222222;
  line-height: 1.2;
}

.hdev-ts-highlight {
  font-size: 14px;
  color: #666666;
  margin-top: 6px;
  font-weight: 500;
}

.hdev-ts-highlight b,
.hdev-ts-highlight strong {
  color: #3bb54a; /* Xanh lá DrThin */
  font-weight: 700;
}

.hdev-ts-highlight p {
  margin: 0; /* Trong trường hợp text-editor sinh ra thẻ p */
}

.hdev-ts-content {
  font-size: 15px;
  line-height: 1.6;
  color: #555555;
  font-style: italic;
  flex-grow: 1; /* Đẩy nội dung xuống lấp đầy chiều cao */
}

.hdev-ts-content p {
  margin-bottom: 10px;
}
.hdev-ts-content p:last-child {
  margin-bottom: 0;
}

/* ==============================================
   Swiper Pagination Customization
   ============================================== */
.hdev-testimonial-slider-wrap .swiper-pagination {
  bottom: 0;
}

.hdev-testimonial-slider-wrap .swiper-pagination-bullet {
  width: 25px;
  height: 8px;
  border-radius: 10px; /* Pill shape */
  background: #666666;
  opacity: 0.5;
  transition: all 0.3s ease;
  margin: 0 6px !important;
}

.hdev-testimonial-slider-wrap .swiper-pagination-bullet-active {
  width: 35px; /* Rộng hơn một chút khi active */
  background: #f38221; /* Màu cam chủ đạo */
  opacity: 1;
}

/* Fix Swiper flex layout if needed */
.hdev-testimonial-slider-wrap .swiper-slide {
  height: auto; /* Swiper slide stretch by default, this ensures cards are equal height */
}

/* ==============================================
   Swiper Navigation Customization
   ============================================== */
.hdev-testimonial-slider-wrap .swiper-button-next,
.hdev-testimonial-slider-wrap .swiper-button-prev {
  background-color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #f38221;
  transition: all 0.3s ease;
  margin-top: -25px; /* Offset to center vertically (minus pagination space) */
}

.hdev-testimonial-slider-wrap .swiper-button-next:hover,
.hdev-testimonial-slider-wrap .swiper-button-prev:hover {
  background-color: #f38221;
  color: #ffffff;
}

.hdev-testimonial-slider-wrap .swiper-button-next:after,
.hdev-testimonial-slider-wrap .swiper-button-prev:after {
  font-size: 18px;
  font-weight: 700;
}

.hdev-testimonial-slider-wrap .swiper-button-prev {
  left: 15px;
}
.hdev-testimonial-slider-wrap .swiper-button-next {
  right: 15px;
}
