/* Compact AIST testimonial cards: three across, advancing one at a time. */
.testimonials-section{background:#f3f4ed}.testimonials-section .section-top>p{max-width:460px}.testimonial-stage{display:flex;gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;position:relative;outline-offset:5px;padding:2px 0 6px;align-items:stretch;overscroll-behavior-x:contain}.testimonial-stage::-webkit-scrollbar{display:none}.testimonial-stage:focus-visible{outline:2px solid #2d7180}.testimonial-slide,.testimonial-slide.with-photo{margin:0;flex:0 0 calc((100% - 44px)/3);min-width:0;height:400px;background:#fffdf7;border:1px solid #d0dfd7;border-radius:4px;overflow:hidden;scroll-snap-align:start;position:relative;display:flex}.testimonial-content{padding:24px;min-width:0;display:flex;flex-direction:column;flex:1}.testimonial-card-header{display:flex;align-items:center;gap:16px;min-height:92px;margin-bottom:22px;padding-bottom:18px;border-bottom:1px solid #dce5dd}.testimonial-portrait{flex:0 0 70px;width:70px;height:86px;min-width:0;background:#e4ede6;display:flex;align-items:center;justify-content:center;border-radius:3px;overflow:hidden}.testimonial-portrait img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}.testimonial-author{min-width:0}.testimonial-author h3{font:400 21px/1.3 Georgia,serif;color:#21464d;margin:0 0 9px;overflow-wrap:anywhere}.testimonial-author>p{font:500 11px/1.6 Manrope,Arial,sans-serif;color:#2d7180;margin:0}.testimonial-excerpt{font:400 15px/1.8 Manrope,Arial,sans-serif;color:#354b4e;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;max-height:10.8em;overflow:hidden;overflow-wrap:break-word}.testimonial-full-source[hidden]{display:none!important}.testimonial-read{align-self:flex-start;margin-top:auto;padding:8px 0;min-height:44px;border:0;background:transparent;color:#2d7180;font:600 12px/1.5 Manrope,Arial,sans-serif;text-decoration:underline;text-underline-offset:4px;cursor:pointer}.testimonial-read:hover{color:#174c5a}.testimonial-read:focus-visible{outline:2px solid #2d7180;outline-offset:3px}.testimonial-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0 0}.testimonial-controls[hidden]{display:none}.testimonial-controls button{background:#fffdf7;border:1px solid #84a5a6;color:#275f6b;min-width:46px;min-height:46px;border-radius:24px;cursor:pointer;padding:10px 16px}.testimonial-controls button:hover{background:#e3efea}.testimonial-controls button:focus-visible{outline:3px solid #2d7180;outline-offset:3px}.testimonial-arrow{font-size:20px;line-height:1}.testimonial-pause{font-size:12px}.testimonial-position{margin-left:auto;font-size:13px;color:#2f5c63;white-space:nowrap;font-variant-numeric:tabular-nums}.testimonial-progress{height:2px;background:#d5e2d9;margin-top:20px;overflow:hidden}.testimonial-progress>span{display:block;height:100%;background:#2d7180;transition:width .35s ease}.testimonial-source{font-size:11px;line-height:1.8;color:#536d6c;max-width:760px;margin-top:14px}.testimonial-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.testimonial-dialog{width:min(760px,calc(100vw - 28px));max-width:760px;max-height:88dvh;overflow-y:auto;padding:40px 34px 30px;border:1px solid #b9d0c7;border-radius:8px;background:#fffdf7;color:#354b4e}.testimonial-dialog::backdrop{background:#173e4699}.testimonial-dialog-close{position:absolute;right:12px;top:10px;width:44px;height:44px;border:0;background:none;color:#275f6b;font-size:25px;cursor:pointer}.testimonial-dialog-close:focus-visible{outline:2px solid #2d7180}.testimonial-dialog-heading{display:flex;align-items:center;gap:20px;margin-bottom:25px;padding-right:26px}.testimonial-dialog-portrait{flex:0 0 90px;width:90px;height:115px;display:flex;align-items:center;justify-content:center;background:#e4ede6;border-radius:3px}.testimonial-dialog-portrait img{width:100%;height:100%;object-fit:contain}.testimonial-dialog h2{font:400 29px/1.3 Georgia,serif;color:#21464d;letter-spacing:0;margin:0 0 10px}.testimonial-dialog-programme{font:500 12px/1.7 Manrope,Arial,sans-serif;color:#2d7180;margin:0}.testimonial-dialog blockquote{margin:0;padding-left:20px;border-left:2px solid #adcac2}.testimonial-dialog blockquote>p{font:400 16px/1.85 Manrope,Arial,sans-serif;margin:0 0 18px}.testimonial-dialog blockquote>.testimonial-omission{font-size:13px;color:#426b70;margin:8px 0}
@media(max-width:1100px){.testimonial-slide,.testimonial-slide.with-photo{flex-basis:calc((100% - 22px)/2)}}
@media(max-width:600px){.testimonial-slide,.testimonial-slide.with-photo{flex-basis:100%;height:390px}.testimonial-content{padding:22px}.testimonial-author h3{font-size:21px}.testimonial-card-header{gap:14px;margin-bottom:18px}.testimonial-portrait{flex-basis:66px;width:66px;height:82px}.testimonial-excerpt{font-size:15px;line-height:1.8}.testimonial-controls{gap:8px}.testimonial-controls button{padding:9px 13px}.testimonial-pause{font-size:11px;max-width:155px}.testimonial-position{font-size:12px}.testimonial-source{font-size:11px}.testimonials-section{scroll-margin-top:25px}.testimonial-dialog{padding:45px 22px 25px}.testimonial-dialog h2{font-size:24px}.testimonial-dialog-heading{gap:14px;padding-right:0}.testimonial-dialog-portrait{flex-basis:70px;width:70px;height:90px}.testimonial-dialog blockquote{padding-left:14px}.testimonial-dialog blockquote>p{font-size:15px}}
@media(prefers-reduced-motion:reduce){.testimonial-progress>span{transition:none}}
.testimonial-card-header,.testimonial-read{flex-shrink:0}.testimonial-excerpt{flex:1 1 auto;min-height:0}
/* New owner-supplied student reviews, November 2026: compact cards on every course. */
.testimonials-section{min-width:0}.testimonials-section .section-top{display:flex;justify-content:space-between;align-items:end;gap:28px;margin-bottom:28px}.testimonials-section .section-top>div{min-width:0}.testimonials-section .section-top>p{font:400 14px/1.8 Manrope,Arial,sans-serif;color:#455e59;margin:0;max-width:450px}.testimonials-section .section-top h2{font-size:clamp(27px,3vw,40px);line-height:1.35;margin:10px 0 0}.testimonials-section .eyebrow{font:600 11px/1.7 Manrope,Arial,sans-serif;letter-spacing:1.4px;color:#2d7180}.testimonials-section .testimonial-slide{height:370px}.testimonials-section .testimonial-content{padding:20px}.testimonials-section .testimonial-card-header{min-height:86px;gap:13px;margin-bottom:16px;padding-bottom:14px}.testimonials-section .testimonial-author h3{font:400 21px/1.3 Georgia,serif;color:#21464d;margin:0 0 8px}.testimonials-section .testimonial-author>p{font:500 11px/1.5 Manrope,Arial,sans-serif;color:#2d7180;margin:0}.testimonials-section .testimonial-portrait{border-radius:8px;width:70px;height:86px}.testimonials-section .testimonial-portrait img{object-fit:cover;object-position:center 22%}.testimonials-section .testimonial-excerpt{font:400 15px/1.8 Manrope,Arial,sans-serif;color:#354b4e;margin:0;max-height:10.8em}.testimonials-section .testimonial-source{font:400 11px/1.8 Manrope,Arial,sans-serif;color:#536d6c;margin:14px 0 0;max-width:850px}.testimonials-section .testimonial-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}.testimonial-dialog-portrait img{object-fit:cover;object-position:center 22%}.testimonial-dialog .testimonial-full-text p{font:400 16px/1.85 Manrope,Arial,sans-serif;color:#354b4e;margin:0 0 18px}
@media(max-width:760px){.testimonials-section .section-top{display:block}.testimonials-section .section-top>p{margin-top:15px}.testimonials-section .testimonial-slide{height:365px}.testimonials-section .testimonial-content{padding:18px}.testimonials-section .testimonial-card-header{gap:12px}.testimonials-section .testimonial-author h3{font-size:20px}.testimonials-section .testimonial-pause{max-width:160px}.testimonial-dialog .testimonial-full-text p{font-size:15px}}
