.testimonials {
  margin-top: 72px;
  padding-top: 80px;
  padding-bottom: 88px;
  border-top: 1px solid rgba(0, 0, 0, 0.25);
  text-align: center;
}

.testimonials__heading {
  margin-bottom: 32px;
  font-weight: 300;
  color: #222;
}

.testimonials__carousel {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 0 40px;
  max-width: 1120px;
  margin: 0 auto;
}

.testimonials__arrow {
  width: 44px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #7a7a7a;
  cursor: pointer;
}

.testimonials__arrow:hover {
  color: #222;
}

.testimonials__slide {
  display: flex;
  align-items: center;
  gap: 36px;
  min-height: 170px;
  text-align: left;
}

.testimonials__image {
  width: 142px;
  height: 142px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonials__quote,
.testimonials__author {
  font-family: OpenSans, sans-serif;
  font-size: 17px;
  color: #111;
}

.testimonials__quote {
  margin: 0 0 14px;
  font-style: italic;
  line-height: 1.7;
}

.testimonials__author {
  margin: 0;
  font-weight: 600;
}

.testimonials__dots.carousel-indicators {
  position: static;
  grid-column: 1 / -1;
  gap: 6px;
  margin: 48px 0 0;
}

.testimonials__dot {
  width: 34px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 1px;
  background: #b3d1f5;
  cursor: pointer;
}

.testimonials__dot:hover {
  background: #7fb0ec;
}

.testimonials__dot.active {
  background: var(--camstreamer-color);
}

.testimonials__arrow:focus-visible,
.testimonials__dot:focus-visible {
  outline: 3px solid var(--camstreamer-color);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .testimonials__carousel {
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    gap: 0 10px;
  }

  .testimonials__arrow {
    width: 28px;
  }

  .testimonials__slide {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }

  .testimonials__image {
    width: 110px;
    height: 110px;
  }

  .testimonials__quote,
  .testimonials__author {
    font-size: 15px;
  }
}
