/* Shared home / training carousel. Original card surfaces and slider arrows. */
.testimonial-section .headline-testimonials-home-a { margin-bottom:32px; }
.testimonial-controls { display:flex; align-items:center; justify-content:flex-end; gap:24px; margin-bottom:24px; }
.testimonial-arrows { display:flex; gap:12px; }
.testimonial-arrows .button-slider { width:56px; height:56px; padding:12px; }
.testimonial-arrows svg { width:24px; height:24px; }
.testimonial-arrows button:disabled { opacity:.3; cursor:default; pointer-events:none; }
.testimonial-track { display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 24px)/2); gap:24px; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scrollbar-width:none; padding:0 0 8px; }
.testimonial-track::-webkit-scrollbar { display:none; }
.testimonial-slide { margin:0; min-width:0; scroll-snap-align:start; scroll-snap-stop:always; gap:24px; padding:32px; }
.testimonial-slide blockquote { border:0; padding:0; margin:0 0 auto; font-family:inherit; font-size:22px; font-weight:400; line-height:1.5; letter-spacing:-.25px; }
.testimonial-slide blockquote p { font-size:inherit; line-height:inherit; margin:0 0 20px; }
.testimonial-slide blockquote p:last-child { margin-bottom:0; }
.testimonial-attribution { text-align:left; display:flex; flex-direction:column; justify-content:flex-end; min-height:96px; padding-right:104px; font-size:15px; line-height:1.4; gap:4px; }
.testimonial-slide .wrap-author-testimonial { border-top-left-radius:20px; }
.testimonial-slide .image-wrap-testimonial-small { width:96px; height:96px; }
.testimonial-slide .image-wrap-testimonial-small img { display:block; width:100%; height:100%; object-fit:cover; }
/* Crop the circular source inside the rounded frame, without altering the portrait. */
.testimonial-slide[data-testimonial="roope-hurting"] .image-wrap-testimonial-small img { transform:scale(1.3333333); }
.testimonial-track:focus-visible,.testimonial-arrows button:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
.testimonial-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media(max-width:767px) {
 .testimonial-track { grid-auto-columns:100%; gap:16px; }
 .testimonial-slide { padding:24px; gap:24px; }
 .testimonial-slide blockquote { font-size:18px; line-height:1.55; letter-spacing:0; }
 .testimonial-attribution { font-size:14px; padding-right:84px; min-height:80px; }
 .testimonial-slide .image-wrap-testimonial-small { width:80px; height:80px; }
 .testimonial-arrows .button-slider { width:48px; height:48px; }
}
@media(prefers-reduced-motion:reduce) { .testimonial-track { scroll-behavior:auto; } }

/* Bring the face forward in Mikko’s seated LinkedIn portrait. */
.testimonial-slide[data-testimonial="mikko-hakkarainen"] .image-wrap-testimonial-small img { transform:scale(1.8); transform-origin:40% 30%; }
