.tns-testimonials {
  background: #f6f9fc;
  padding: 84px 0;
  overflow: hidden;
}

.tns-testimonials .tns-shell {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.tns-testimonials .tns-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 34px;
}

.tns-testimonials .tns-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  color: #2b4d7a;
}

.tns-testimonials h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  color: #132238;
}

.tns-testimonial-controls {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.tns-testimonial-nav {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid #d9e1eb;
  background: #eef3fb;
  color: #17335f;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}

.tns-testimonial-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.tns-testimonial-slider {
  overflow: hidden;
  width: 100%;
}

.tns-testimonial-track {
  display: flex;
  gap: 24px;
  transition: transform 0.28s ease;
  will-change: transform;
}

.tns-testimonial-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  background: #eef3fb;
  border-radius: 24px;
  padding: 28px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tns-testimonial-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.tns-testimonial-avatar {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 999px;
  overflow: hidden;
  background: #17335f;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tns-testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tns-testimonial-avatar-fallback {
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}

.tns-testimonial-person h3 {
  margin: 0 0 4px;
  font-size: 1.18rem;
  line-height: 1.18;
  color: #132238;
}

.tns-testimonial-person p {
  margin: 0;
  color: #8094b2;
  font-size: 0.96rem;
  line-height: 1.4;
}

.tns-testimonial-quote {
  margin: 0 0 18px;
  color: #4f617d;
  font-size: 1rem;
  line-height: 1.7;
}

.tns-testimonial-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #17335f;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .tns-testimonial-card {
    flex: 0 0 calc((100% - 24px) / 2);
    min-width: calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }

  .tns-testimonials .tns-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .tns-testimonials .tns-shell {
    width: min(100% - 24px, 1320px);
  }

  .tns-testimonial-card {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
  }
}