.wgt-home-testimonials {
  position: relative;
  padding-top: 48px;
  padding-bottom: 66px;
}

.wgt-home-testimonials .home-inner {
  display: flex;
  flex-direction: column;
  gap: 42px;
  align-items: center;
}

.wgt-home-testimonials .home-section-text {
  align-items: center;
  text-align: center;
}

.wgt-home-testimonials .home-section-description {
  max-width: 640px;
  margin: 0 auto;
}

/* ===== Carousel ===== */

.wgt-home-testimonials .home-testimonials-carousel {
  position: relative;
  width: 100%;
}

.wgt-home-testimonials .splide__track {
  padding: 8px 4px 24px;
}

.wgt-home-testimonials .home-testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
  min-height: 280px;
  margin: 0;
  padding: 28px 24px;
}

.wgt-home-testimonials .home-testimonial-logo {
  display: block;
  width: auto;
  height: 40px;
  object-fit: contain;
  object-position: left center;
}

.wgt-home-testimonials .home-testimonial-card blockquote {
  flex: 1;
  margin: 0;
  color: var(--home-subtitle);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}

.wgt-home-testimonials .home-testimonial-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wgt-home-testimonials .home-testimonial-name {
  color: var(--home-title);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

.wgt-home-testimonials .home-testimonial-position {
  color: var(--home-subtitle);
  font-size: 14px;
  line-height: 1.4;
}

/* ===== Splide arrows (scoped) ===== */

.wgt-home-testimonials .splide__arrows {
  position: absolute;
  z-index: 1;
  top: 42%;
  right: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  width: calc(100% + 40px);
  margin-left: -20px;
}

.wgt-home-testimonials .splide__arrow {
  position: static;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--primary-color-1);
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.wgt-home-testimonials .splide__arrow svg {
  fill: var(--primary-color-1);
  scale: 0.7;
  transition: fill 0.2s ease;
}

.wgt-home-testimonials .splide__arrow:hover,
.wgt-home-testimonials .splide__arrow:focus:not(:focus-visible) {
  background: var(--primary-color-1);
  outline: none;
}

.wgt-home-testimonials .splide__arrow:hover svg,
.wgt-home-testimonials .splide__arrow:focus:not(:focus-visible) svg {
  fill: #fff;
}

.wgt-home-testimonials .splide__arrow:disabled {
  opacity: 0.35;
}

.wgt-home-testimonials .splide__pagination {
  bottom: -0.5rem;
  gap: 4px;
}

.wgt-home-testimonials .splide__pagination__page {
  width: 8px;
  height: 8px;
  margin: 0;
  background: #d9d2f5;
  opacity: 1;
}

.wgt-home-testimonials .splide__pagination__page.is-active {
  background: var(--primary-color-1);
  transform: none;
}

.wgt-home-testimonials .home-testimonials-link {
  margin-top: -8px;
}

@media (max-width: 992px) {
  .wgt-home-testimonials .splide__arrows {
    display: none;
  }
}

@media (max-width: 768px) {
  .wgt-home-testimonials {
    padding-bottom: 48px;
  }

  .wgt-home-testimonials .home-testimonial-card {
    min-height: 0;
    padding: 20px;
  }
}
