/* Scoped exclusively to the teachers section. */
#teacher_list{scroll-margin-top:180px}
.ty-teachers{padding:64px 0 80px;color:#342a33}
.ty-teachers .ty-teachers-wrap{width:min(1200px,calc(100% - 96px));margin-inline:auto}
.ty-teachers .ty-teachers-heading{display:flex;align-items:baseline;justify-content:space-between;gap:24px;margin-bottom:36px}
.ty-teachers .ty-teachers-heading h2{margin:0;font-size:40px;line-height:1.15;font-weight:500;letter-spacing:-.025em;color:#63214f;text-wrap:balance}
.ty-teachers .ty-teachers-heading p{margin:0;color:#675c65;font-size:16px;line-height:1.5}
.ty-teachers .ty-teachers-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px 24px}
.ty-teachers .ty-teacher{display:block;min-width:0;color:inherit;text-decoration:none}
.ty-teachers .ty-teacher-portrait{overflow:hidden;aspect-ratio:4/5;background:#e6e1e5;border-radius:3px}
.ty-teachers .ty-teacher-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 20%;transition:transform .3s ease-out}
.ty-teachers .ty-teacher-info{padding:18px 0 14px;border-bottom:1px solid #d7ced5}
.ty-teachers .ty-teacher-info h3{font-size:20px;font-weight:500;line-height:1.3;letter-spacing:-.015em;margin:0 0 12px;min-height:52px;color:#342a33;text-wrap:balance}
.ty-teachers .ty-teacher-link{display:flex;align-items:center;justify-content:space-between;font-size:14px;line-height:24px;color:#63214f}
.ty-teachers .ty-teacher-link svg{width:22px;height:22px}
.ty-teachers .ty-teacher:hover .ty-teacher-portrait img{transform:scale(1.025)}
.ty-teachers .ty-teacher:hover h3{color:#63214f}
.ty-teachers .ty-teacher:hover .ty-teacher-link{text-decoration:underline;text-underline-offset:4px}
.ty-teachers .ty-teacher:focus-visible{outline:3px solid #9b3676;outline-offset:6px;border-radius:3px}
.ty-teachers ::selection{background:#eacbdf;color:#302632}
@media(max-width:1000px){.ty-teachers .ty-teachers-wrap{width:calc(100% - 56px)}.ty-teachers .ty-teachers-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.ty-teachers{padding:40px 0 56px}.ty-teachers .ty-teachers-wrap{width:calc(100% - 40px)}.ty-teachers .ty-teachers-heading{display:block;margin-bottom:28px}.ty-teachers .ty-teachers-heading h2{font-size:32px}.ty-teachers .ty-teachers-heading p{margin-top:12px;font-size:15px}.ty-teachers .ty-teachers-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px}.ty-teachers .ty-teacher-info{padding-top:14px}.ty-teachers .ty-teacher-info h3{font-size:17px;min-height:66px;margin-bottom:8px}.ty-teachers .ty-teacher-link{font-size:13px}.ty-teachers .ty-teacher-link svg{width:18px}}
@media(prefers-reduced-motion:reduce){.ty-teachers .ty-teacher-portrait img{transition:none}}
