/* Responsive, live-text versions of the school's supplied teacher cards. */
.instrument-names{flex-wrap:wrap;justify-content:flex-start;column-gap:24px;row-gap:8px}
.instrument-names>span{display:none}
.instrument-row .tag{font-size:.875rem;letter-spacing:.03em}
.teacher-dialog-open{overflow:hidden}
#teachers-dialog{width:min(1320px,96vw);max-width:1320px;max-height:92vh;max-height:92dvh;padding:0;border-radius:24px;background:#fff;overscroll-behavior:contain}
.teachers-dialog-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;position:sticky;top:0;z-index:2;padding:18px 28px;background:#fff;border-bottom:1px solid var(--line)}
.teachers-dialog-bar h2{font:500 1.125rem/1.4 var(--sans);letter-spacing:0;margin:0}
.teachers-dialog-bar h2:focus{outline:none}
.teachers-dialog-bar .close-dialog{flex:none;min-width:44px;min-height:44px;border-radius:50%;background:#fff7d9;line-height:1}
.teacher-card{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(0,1.5fr);gap:32px;padding:28px;color:#102c28}
.teacher-card+.teacher-card{border-top:6px solid #fff1b7;margin-top:16px}
.teacher-aside,.teacher-main{min-width:0}
.teacher-photo{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:center 30%;border-radius:20px}
.teacher-photo-daniel{object-position:58% 35%}
.teacher-photo-uliana{object-position:center 35%}
.teacher-photo.teacher-photo-alexey{aspect-ratio:auto;height:auto;max-height:none;object-fit:contain}
.teacher-details.teacher-details-single{grid-template-columns:1fr}
.teacher-facts{background:#fffbef;border-radius:20px;margin:16px 0 0;padding:24px}
.teacher-facts>div+div{margin-top:20px}
.teacher-facts dt,.teacher-subjects dt{font-weight:700;font-size:1.0625rem;line-height:1.4;margin-bottom:4px}
.teacher-facts dd,.teacher-subjects dd{margin:0;color:#595969;font-size:1rem;line-height:1.55}
.teacher-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}
.teacher-heading h3{font:700 clamp(2rem,3.6vw,3.5rem)/1.1 var(--sans);letter-spacing:-.035em;margin:0;overflow-wrap:anywhere}
.lesson-format,.teacher-director{display:inline-block;background:#fff1b7;border-radius:24px;padding:10px 18px;font-size:.875rem;font-weight:600;line-height:1.5}
.teacher-director{font-size:1.0625rem;margin:16px 0 0}
#teachers-dialog .teacher-role{font-size:1.375rem;line-height:1.4;color:#646174;margin:14px 0 28px}
#teachers-dialog .teacher-bio p{font-size:1rem;line-height:1.75;color:#595969;margin:0 0 18px}
.teacher-details{display:grid;grid-template-columns:1.35fr 1fr;gap:24px;background:#fffae7;border-radius:20px;padding:24px;margin-top:26px}
.teacher-details h4{font-size:1.125rem;margin:0 0 18px;line-height:1.4;overflow-wrap:anywhere}
.teacher-subjects{margin:0}
.teacher-subjects>div+div{border-top:1px solid #e8dfc4;padding-top:16px;margin-top:16px}
.teacher-languages{border-left:1px solid #e8dfc4;padding-left:24px}
.teacher-languages ul{list-style:none;margin:0;padding:0;display:grid;gap:12px;color:#595969}
#teachers-dialog .teacher-inquiry{font-size:1rem;margin-top:24px;text-decoration:none;max-width:100%;border-radius:12px;white-space:normal;text-align:left}
.teacher-empty{max-width:720px;padding:36px}
.teacher-empty h3{font:2rem/1.2 var(--serif)}
#teachers-dialog .teacher-empty p{font-size:1rem;line-height:1.75}
.teacher-empty .button{text-decoration:none;border-radius:12px}
@media(max-width:1000px){.teacher-card{gap:24px;grid-template-columns:minmax(200px,.7fr) minmax(0,1fr)}.teacher-details{grid-template-columns:1fr}.teacher-languages{border-left:0;border-top:1px solid #e8dfc4;padding:18px 0 0}.teacher-languages ul{display:flex;flex-wrap:wrap;gap:10px 18px}.teacher-facts{padding:18px}}
@media(max-width:680px){#teachers-dialog{width:calc(100% - 16px);max-height:96vh;max-height:96dvh;border-radius:18px}.teachers-dialog-bar{padding:12px 16px;gap:12px}.teachers-dialog-bar h2{font-size:1rem}.teacher-card{display:flex;flex-direction:column;padding:18px;gap:24px}.teacher-aside{display:contents}.teacher-photo{max-height:430px;aspect-ratio:4/5;order:0}.teacher-main{order:1}.teacher-facts{order:2;margin:0}.teacher-heading h3{font-size:2.25rem}.teacher-details{padding:20px}.teacher-empty{padding:24px}.teacher-inquiry{width:100%}.instrument-names{justify-content:center}}
