.testimonial-slider {
  padding: 20px 0 20px;
 
  overflow: hidden;
  touch-action: pan-y;
}
img#testimonial-vaike{
	display:none;
}
.testimonial-slider__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.testimonial-slider__header {
  text-align: center;
  margin-bottom: 48px;
}

.testimonial-slider__title {
  margin: 0;
  font-size: 30px;
  width:100% !important;
  font-weight: 700;
  
}

.testimonial-slider__inner {
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  align-items: center;
  gap: 20px;
}

.testimonial-slider__track {
  position: relative;
  overflow: hidden;
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.is-active {
  display: block;
  animation: testimonialFade 0.45s ease;
}

.testimonial-slide__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 25px 7%;
}

.testimonial-slide__media {
  width: 41%;
  max-width: 380px;
  flex: 0 0 41%;
}

.testimonial-slide__media img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
}

.testimonial-slide__content {
  width: 52%;
  max-width: 520px;
  flex: 0 0 52%;
}

.testimonial-slide__text {
  font-size: 18px;
  line-height: 1.35;
 
}

.testimonial-slide__text h1,
.testimonial-slide__text h2,
.testimonial-slide__text h3,
.testimonial-slide__text h4,
.testimonial-slide__text h5,
.testimonial-slide__text h6 {
  margin: 0 0 24px;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 500;
 
}

.testimonial-slide__text p {
  margin: 0 0 18px;
}

.testimonial-slide__text p:last-child {
 
}

.testimonial-slide__meta {
  margin-top: 32px;
}

.testimonial-slide__name {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;

}

.testimonial-slide__position {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.3;
  font-style: italic;
 
}

.testimonial-slider__arrow {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 60px;
  height: 60px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.testimonial-slider__arrow span {
  font-size: 54px;
  line-height: 1;
  font-weight: 200;
  display: inline-block;
}

.testimonial-slider__arrow:hover {
  opacity: 0.7;
  transform: scale(1.05);
}

@keyframes testimonialFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
	.testimonial-slide__meta {
  margin-top: 0px;
}

 

  .testimonial-slide__grid {
    gap: 36px;
  }

  .testimonial-slide__media {
    width: 42%;
    flex: 0 0 42%;
  }

  .testimonial-slide__content {
    width: 50%;
    flex: 0 0 50%;
  }
}

@media (max-width: 900px) {
	img#testimonial-vaike{
	display:block;
}
	img#testimonial-suur{
	display:none;
}
.testimonial-person {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
	margin-top:25px;
	text-align:left !important;
}
  .testimonial-slider {
    padding: 30px 0 30px;
  }

  .testimonial-slider__header {
    margin-bottom: 32px;
  }

  .testimonial-slider__title {
    font-size: 30px;
  }

  .testimonial-slider__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .testimonial-slide__grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .testimonial-slide__media{
    width: 100%;
    max-width: 200px;
    flex: 0 0 100%;
  }
	
  .testimonial-slide__content {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
	  text-align:center;
  }

  .testimonial-slide__text {
    font-size: 17px;
  }

  .testimonial-slide__text h1,
  .testimonial-slide__text h2,
  .testimonial-slide__text h3,
  .testimonial-slide__text h4,
  .testimonial-slide__text h5,
  .testimonial-slide__text h6 {
    font-size: 28px;
    margin-bottom: 18px;
  }

  .testimonial-slider__arrow {
    display: none;
  }
}
@media (max-width: 900px) {
 .testimonial-slide__media{
 
    max-width: 70px;
   
  }}