.testimonials-section{padding:80px 0 90px}
.testimonials-header{margin-bottom:30px}
.testimonials-header h2{margin:10px 0 0;max-width:800px}
.testimonial-box{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.8fr);gap:clamp(24px,5vw,70px);align-items:center}
.testimonial-photo{aspect-ratio:1.1;position:relative;min-width:0}
.testimonial-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center}
.testimonial-certificate-mark:not([hidden]){position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.testimonial-certificate-mark[hidden]{display:none}
.testimonial-content{min-width:0;display:flex;flex-direction:column;container-type:inline-size}
/* Stack the review copies so the tallest one sets the shared height. */
.testimonial-copy-space{display:grid}
.testimonial-copy{grid-area:1 / 1;display:flow-root;min-width:0}
.testimonial-copy[aria-hidden="true"]{visibility:hidden}
.testimonial-quote{
  position:relative;padding-top:clamp(30px,7cqi,52px);
  font-family:inherit;font-size:16cqi;line-height:1.05;
  letter-spacing:-.012em;font-weight:400;font-style:oblique 9deg;font-synthesis:style;
  margin:0 0 14px;max-width:820px;text-wrap:balance;
}
/* Hide the untyped part visually while keeping its place in the line. */
.testimonial-untyped{visibility:hidden}
.testimonial-quote-accessible{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.testimonial-author{color:var(--gold,#c7a773);font-weight:500;font-size:clamp(22px,2.5vw,30px);margin:0 0 24px}
.testimonial-author span{font-weight:400;font-size:12px;color:#9f9f9f}
.testimonial-navigation{display:flex;align-items:center;gap:18px}
.testimonial-counter{color:#c7a773;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}
.testimonial-dots{display:flex;align-items:center;gap:8px;flex:1}
.testimonial-dot{width:9px;height:9px;padding:0;background:#595959;border:0;border-radius:50%;cursor:pointer}
.testimonial-dot[aria-current="true"]{background:var(--gold,#c7a773)}
.testimonial-buttons{display:flex;gap:8px}
.testimonial-arrow{border:0;background:transparent;color:#f4f4f4;font-size:22px;line-height:1;width:39px;height:39px;cursor:pointer}
.testimonial-arrow:hover,.testimonial-arrow:focus-visible{color:var(--gold,#c7a773)}
.testimonial-quote--long{font-size:clamp(24px,6.5cqi,48px);line-height:1.2}
.testimonial-quote::before{content:"„" / "";position:absolute;top:0;left:0;color:var(--gold,#c7a773);font:normal clamp(40px,8cqi,68px)/.35 Georgia,serif}
.testimonial-quote--emoji{
  padding-top:clamp(14px,3cqi,24px);
  font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;
  font-size:clamp(64px,18cqi,116px);
  font-style:normal;
  line-height:1.2;
}
.testimonial-quote--emoji::before{content:none}

@media(max-width:640px){
 .testimonials-section{padding:65px 0}
 .testimonial-box{grid-template-columns:1fr;gap:20px}
 .testimonial-photo{max-width:440px;width:100%}
 .testimonial-navigation{gap:10px}
}

.course-page .testimonials-section{border-bottom:1px solid #292929}

.why-section + .testimonials-section {
  padding-block-start: clamp(20px, 3vw, 42px);
}
.why-section + .testimonials-section .testimonial-quote:not(.testimonial-quote--emoji) {
  font-size: clamp(26px, 8cqi, 56px);
  line-height: 1.14;
}
.why-section + .testimonials-section .testimonial-quote--long {
  font-size: clamp(23px, 6.5cqi, 44px);
}
@media (max-width: 640px) {
  .why-section + .testimonials-section .testimonial-box { gap: 12px; }
  .why-section + .testimonials-section .testimonial-photo {
    max-width: 270px;
    justify-self: center;
  }
  .why-section + .testimonials-section .testimonial-author { margin-bottom: 12px; }
}

.testimonial-box.testimonial-box--photo-only{
  grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px
}
.testimonial-box--photo-only .testimonial-photo{
  width:min(100%,780px);max-width:none;aspect-ratio:16/9
}
.testimonial-box--photo-only .testimonial-content{width:min(100%,680px)}
.testimonial-box--photo-only .testimonial-copy-space{display:none}
