.testimonials__container[data-astro-cid-tgbrwp4t] {
  gap: 40px;
}

.testimonials__slider[data-astro-cid-tgbrwp4t] {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.testimonials__slides[data-astro-cid-tgbrwp4t] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 48px;
}

.testimonials__slide[data-astro-cid-tgbrwp4t] {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(12px);
  visibility: hidden;
  transition:
    opacity 0.5s var(--ease-in-out),
    transform 0.5s var(--ease-in-out),
    visibility 0s 0.5s;
}

.testimonials__slide[data-astro-cid-tgbrwp4t].is-active {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition:
    opacity 0.5s var(--ease-in-out),
    transform 0.5s var(--ease-in-out),
    visibility 0s;
}

.testimonials__quote[data-astro-cid-tgbrwp4t] {
  max-width: 1000px;
  margin-bottom: 32px;
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.15em;
  letter-spacing: -0.02em;
  color: var(--white);
}

.testimonials__mark[data-astro-cid-tgbrwp4t] {
  color: var(--accent-light);
}

.testimonials__author[data-astro-cid-tgbrwp4t] {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonials__avatar[data-astro-cid-tgbrwp4t] {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

.testimonials__who[data-astro-cid-tgbrwp4t] {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonials__name[data-astro-cid-tgbrwp4t] {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--white);
}

.testimonials__role[data-astro-cid-tgbrwp4t] {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-50);
}

.testimonials__controls[data-astro-cid-tgbrwp4t] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 12px;
}

.testimonials__dots[data-astro-cid-tgbrwp4t] {
  display: flex;
  align-items: center;
  margin: 0 -4px;
}

.testimonials__dot[data-astro-cid-tgbrwp4t] {
  display: flex;
  height: 24px;
  padding: 8px 4px;
  margin: -8px 0;
}

.testimonials__dot[data-astro-cid-tgbrwp4t] span[data-astro-cid-tgbrwp4t] {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: #fff3;
  transition:
    width 0.4s,
    background-color 0.4s;
}

.testimonials__dot[data-astro-cid-tgbrwp4t].is-active
  span[data-astro-cid-tgbrwp4t] {
  width: 36px;
  background: var(--accent-light);
}

.testimonials__count[data-astro-cid-tgbrwp4t] {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--white-50);
}

@media (width <= 1199.98px) {
  .testimonials__quote[data-astro-cid-tgbrwp4t] {
    font-size: 40px;
  }
}

@media (width <= 809.98px) {
  .testimonials__quote[data-astro-cid-tgbrwp4t] {
    font-size: 24px;
    line-height: 1.2em;
  }
}
