/* ========================================
   TESTIMONIAL SLIDE (Durr Dental)
   ======================================== */

.slide-content--testimonial {
  background: var(--white);
}

.testimonial-slide {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 36px 42px 40px;
}

.testimonial-container {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: 360px minmax(440px, 1fr);
  gap: 78px;
  align-items: start;
}

.testimonial-left {
  padding-top: 6px;
}

.testimonial-photo {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(12, 35, 59, 0.12);
}

.testimonial-right {
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 0;
  background: rgba(255, 255, 255, 0.92);
}

.quote-icon {
  line-height: 1;
  width: 79px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 18px;
  padding: 0;
}

.quote-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.testimonial-quote {
  color: var(--secondary-500);
  font-family: var(--font-family);
  font-size: var(--text-2xl);
  font-weight: var(--fw-book);
  line-height: 26px;
  margin: 0;
  padding: 30px 24px 40px 0;
}

.testimonial-quote p {
  margin: 0 0 10px;
}

.testimonial-author {
  margin-top: auto;
  padding: 18px 0 0;
  border-top: 1px solid #d8dde2;
}

.author-name {
  color: var(--primary-700);
  font-family: var(--font-family);
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  margin-top: 48px;
}

.author-role {
  color: var(--secondary-500);
  font-family: var(--font-family);
  font-size: var(--text-2xl);
  font-weight: var(--fw-book);
  margin-top: 4px;
  margin-bottom: 48px;
}

.author-company {
  color: var(--secondary-100);
  font-family: var(--font-family);
  font-size: var(--text-sm);
  font-weight: var(--fw-book);
  margin-top: 2px;
}

.testimonial-category-label {
  color: var(--primary-500);
  font-family: var(--font-family);
  font-size: var(--text-xs);
  font-weight: var(--fw-demi);
  letter-spacing: 2.2px;
  text-transform: uppercase;
  margin-block: 14px;
}

.testimonial-title {
  color: var(--primary-700);
  font-family: var(--font-family);
  font-size: var(--text-6xl);
  font-weight: var(--fw-light);
  line-height: 0.98;
  margin: 0 0 8px;
}

.testimonial-subtitle {
  color: var(--primary-950);
  font-family: var(--font-family);
  font-size: var(--text-4xl);
  font-weight: var(--fw-light);
  line-height: 1;
  margin: 0 0 18px;
}

.testimonial-right .quote-icon,
.testimonial-right .testimonial-category-label,
.testimonial-right .testimonial-title,
.testimonial-right .testimonial-subtitle,
.testimonial-right .testimonial-quote,
.testimonial-right .testimonial-author,
.testimonial-right .testimonial-footer {
  margin-left: 26px;
  margin-right: 26px;
}

.testimonial-footer {
  color: var(--secondary-500);
  font-family: var(--font-family);
  font-size: 22px;
  font-weight: var(--fw-book);
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px solid #d8dde2;
}

@media (max-width: 1024px) {
  .testimonial-slide {
    padding: 24px;
  }

  .testimonial-container {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 30px;
  }

  .testimonial-photo {
    max-width: 280px;
  }

  .testimonial-right {
    min-height: 460px;
  }

  .testimonial-footer {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .testimonial-slide {
    padding: 14px 12px 18px;
  }

  .author-role { margin-bottom: 20px; }
  .author-name { margin-top: 20px; }
  .testimonial-quote { padding-bottom: 30px; }

  .testimonial-container {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .testimonial-left {
    padding-top: 0;
  }

  .testimonial-photo {
    max-width: none;
    width: 100%;
    max-height: 320px;
  }

  .testimonial-right {
    min-height: 0;
    margin-top: 2rem;
  }

  .quote-icon {
    width: 52px;
    height: 38px;
    margin-bottom: 12px;
  }

  .testimonial-right .quote-icon,
  .testimonial-right .testimonial-category-label,
  .testimonial-right .testimonial-title,
  .testimonial-right .testimonial-subtitle,
  .testimonial-right .testimonial-quote,
  .testimonial-right .testimonial-author,
  .testimonial-right .testimonial-footer {
    margin-left: 12px;
    margin-right: 12px;
  }

  .testimonial-category-label {
    margin-bottom: 8px;
  }

  .testimonial-quote {
    padding-right: 0;
    font-size: 18px;
  }

  .testimonial-title {
    font-size: 40px;
    margin-bottom: 6px;
  }

  .testimonial-subtitle {
    font-size: 26px;
    margin-bottom: 12px;
  }

  .author-name {
    font-size: 20px;
  }

  .author-role {
    font-size: 14px;
  }

  .testimonial-footer {
    font-size: 15px;
    margin-top: 10px;
    padding-top: 12px;
  }
}

@media (max-width: 576px){
  .testimonial-title {
    font-size: 32px;
  }
}
