.school-testimonials { padding: 4.5rem 0; background: #fff; scroll-margin-top: 6rem; }
.school-testimonials *, .school-testimonials *::before, .school-testimonials *::after { box-sizing: border-box; }
.testimonials-container { width: min(1200px, calc(100% - 3rem)); margin-inline: auto; }
.testimonials-heading { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.testimonials-kicker { margin: 0 0 .5rem; color: #637c90; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.testimonials-heading h2 { margin: 0; color: #123a61; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.25; font-weight: 500; letter-spacing: -.025em; }
.testimonials-heading h2::after { content: ''; display: block; width: 44px; height: 2px; margin-top: 1rem; background: #23879a; }
.testimonials-controls { display: flex; flex-shrink: 0; gap: .65rem; }
.school-testimonials [hidden], .alumni-stories-carousel [hidden] { display: none !important; }
.testimonials-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #e5eaef; border-radius: 4px; color: #123a61; background: #f7f9fb; cursor: pointer; }
.testimonials-controls button:hover:not(:disabled) { background: #eaf2f8; border-color: #bacddd; }
.testimonials-controls button:disabled { opacity: .35; cursor: default; }
.testimonials-track { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #bacddd transparent; padding-bottom: .75rem; overscroll-behavior-x: contain; }
.testimonial-card { display: flex; flex-direction: column; justify-content: space-between; flex: 0 0 calc((100% - 1.5rem) / 2); min-width: 0; margin: 0; padding: 2rem; border: 1px solid #e4e9ee; border-radius: 4px; scroll-snap-align: start; background: #fff; }
.testimonial-card:only-child { flex-basis: 100%; max-width: 780px; }
.testimonial-card blockquote { margin: 0 0 1.5rem; color: #536676; font-size: 1rem; line-height: 1.9; font-style: italic; overflow-wrap: anywhere; }
.testimonial-card blockquote p::before { content: '\201C'; }
.testimonial-card blockquote p::after { content: '\201D'; }
.testimonial-card figcaption { color: #247387; font-size: .82rem; line-height: 1.8; overflow-wrap: anywhere; }
.testimonial-card figcaption strong { font-weight: 650; }
.testimonial-author { display: flex; align-items: flex-start; gap: .85rem; }
.testimonial-avatar { display: flex; align-items: center; justify-content: center; flex: 0 0 56px; width: 56px; height: 56px; overflow: hidden; border: 1px solid #d4e1e8; border-radius: 50%; padding: 3px; background: #f0f5f8; color: #6b899a; }
.testimonial-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 50%; }
.testimonial-avatar.has-photo { padding: 0; background: #fff; }
.testimonial-author-details { min-width: 0; }
.testimonial-batch { display: block; }
.testimonials-demo-note { margin: -0.5rem 0 1.5rem; color: #6b7b86; font-size: .8rem; line-height: 1.6; }
.testimonial-demo-label { display: block; margin-top: .5rem; color: #6b7b86; font-size: .72rem; font-style: normal; }
.testimonials-position { min-height: 1.5em; margin-top: .5rem; color: #6b7b86; font-size: .72rem; }
.testimonials-submit { display: inline-flex; align-items: center; gap: .8rem; min-height: 44px; margin-top: .75rem; color: #245e91; font-size: .85rem; font-weight: 600; }
.testimonials-submit:hover { text-decoration: underline; text-underline-offset: 4px; }
.testimonials-empty { padding: 1.5rem 0; border-block: 1px solid #e3e9ef; color: #526b7f; font-size: .9rem; line-height: 1.8; }
.testimonials-empty p + p { margin-top: .4rem; color: #6b7b86; font-size: .8rem; }
.school-testimonials :focus-visible { outline: 3px solid #3076d5; outline-offset: 3px; }
#story-testimonial { scroll-margin-top: 7rem; }
.alumni-stories-carousel { max-width: 1040px; min-width: 0; margin-inline: auto; }
.alumni-stories-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.alumni-stories-toolbar .testimonials-position { margin: 0; }
.alumni-stories-track {
    display: flex; align-items: flex-start; gap: 1.5rem; overflow-x: auto;
    scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    scrollbar-width: thin; scrollbar-color: #bacddd transparent; padding-bottom: 1rem;
}
.alumni-stories-track > .alumni-success-card {
    box-sizing: border-box; flex: 0 0 100%; width: 100%; max-width: none; min-width: 0;
    margin: 0; scroll-snap-align: start; scroll-snap-stop: always;
}
.alumni-stories-carousel :focus-visible { outline: 3px solid #3076d5; outline-offset: -3px; }
.alumni-success-advice { margin-top: 1.5rem; padding: 1.25rem 1.5rem; border-left: 3px solid #bacddd; border-radius: 0 8px 8px 0; background: #f7f9fb; }
.alumni-success-advice h4 { margin: 0 0 .65rem; color: #123a61; font-size: .9rem; font-weight: 600; line-height: 1.5; }
.alumni-success-advice p { margin: 0; white-space: pre-line; }
@media (max-width: 767px) {
    .school-testimonials { padding-block: 3rem; }
    .testimonials-container { width: calc(100% - 2rem); }
    .testimonials-heading { gap: 1rem; margin-bottom: 1.5rem; }
    .testimonials-controls { gap: .35rem; }
    .testimonial-card { flex-basis: 100%; padding: 1.5rem; }
    .testimonial-card blockquote { font-size: .95rem; }
}
