.telcor-testimonial-slider {
  position: relative;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: 50px clamp(25px, 2vw, 80px)
}

.telcor-testimonial-slider__viewport {
  position: relative;
  width: 100%;
  min-height: 1px;
}

.telcor-testimonial-slider__slide {
  display: none;
  width: 100%;
}

.telcor-testimonial-slider__slide.is-active {
  display: block;
}

.telcor-testimonial-slider__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
  max-width: 1350px;
  margin: 0 auto;
}

.telcor-testimonial-card {
  background-color: #EEF7F7;
  color: var(--text);
  border-radius: 8px;
  padding: 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.telcor-testimonial-card__quote-icon {
  display: block;
  width: 40px;
  height: 30px;
  margin: 0 auto 25px;
  flex-shrink: 0;
  background-image: url("https://go.telcor.com/hubfs/2025%20Website%20Update/Web%20Icons/quote.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

@supports ((-webkit-mask-image: url("")) or (mask-image: url(""))) {
  .telcor-testimonial-card__quote-icon {
    background-image: none;
    background-color: var(--accent);
    -webkit-mask-image: url("https://go.telcor.com/hubfs/2025%20Website%20Update/Web%20Icons/quote.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-image: url("https://go.telcor.com/hubfs/2025%20Website%20Update/Web%20Icons/quote.svg");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
  }
}

.telcor-testimonial-card__quote {
  width: 100%;
  text-align: center;
  font-size: 24px;
  line-height: 1.45;
  margin-bottom: 10px;
  font-weight: 400;
}

.telcor-testimonial-card__quote p {
  margin: 0 0 0.75em;
  text-align: center;
}

.telcor-testimonial-card__quote p:last-child {
  margin-bottom: 0;
}

.telcor-testimonial-card__meta {
  width: 100%;
  margin-top: 0;
  text-align: center;
}

.telcor-testimonial-card__name,
.telcor-testimonial-card__title,
.telcor-testimonial-card__org {
  display: block;
  font-family: inherit;
  font-style: italic;
  font-weight: 300;
  line-height: 1.35;
  font-size: 18px;
  text-align: center;
}

.telcor-testimonial-slider__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.telcor-testimonial-slider__dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.telcor-testimonial-slider__dot:hover {
  transform: scale(1.1);
}

.telcor-testimonial-slider__dot.is-active {
  background-color: var(--accent);
}

@media (max-width: 1200px) {
  .telcor-testimonial-slider__grid {
    max-width: 1200px;
  }
}

@media (max-width: 900px) {
  .telcor-testimonial-slider {
    padding: 50px 35px;
  }

  .telcor-testimonial-slider__grid {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .telcor-testimonial-slider {
    padding: 50px 35px;
  }

  .telcor-testimonial-slider__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100%;
  }

  .telcor-testimonial-card {
    min-height: auto;
  }

  .telcor-testimonial-slider__dots {
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .telcor-testimonial-slider {
    padding: 50px 35px;
  }
}