/* Reuse the border-free portrait presentation on every teacher surface. */
.teacher-photo-frame{position:relative;overflow:hidden;isolation:isolate;flex:none;background:#343731;border-radius:2px}
.teacher-photo-frame>img{display:block;position:absolute;left:0;top:0;width:100%;height:100%;max-width:none;object-fit:cover;border-radius:0;filter:saturate(.7)}
.teacher-photo-frame>img:is([src$="i2603019339_0000029989.jpg"],[src$="i26030141410_0000029975.jpg"],[src$="i2603014394_0000029969.jpg"],[src$="i2603013274_0000029977.jpg"],[src$="i2603012946_0000029984.jpg"],[src$="i2603013960_0000029986.jpg"],[src$="i2603019882_0000029991.jpg"],[src$="i2603019499_0000029988.jpg"]){width:128%;height:128%;left:-20%;top:-20%}
.staff-teacher-card>.teacher-photo-frame{width:100%;aspect-ratio:3/4}
.teacher-photo-frame.lms-profile-preview{width:140px;height:auto;aspect-ratio:3/4}
.class-teacher-portrait.teacher-photo-frame{width:90px;height:120px}
@media(max-width:600px){.class-detail-teacher .class-teacher-portrait{width:70px;height:94px}}

/* Faculty portrait alignment 20260915 */
/* Consistent portrait framing across faculty, admin and class surfaces. */
.teacher-photo-frame{position:relative;overflow:hidden;isolation:isolate;flex:none;min-width:0;background:#575550;border-radius:2px}
.teacher-photo-frame>img{display:block;position:absolute;inset:0;width:100%;height:100%;max-width:100%;object-fit:cover;object-position:center top;border-radius:0;filter:none}
.premium-teacher-grid>article{min-width:0;grid-template-columns:minmax(0,43%) minmax(0,1fr);align-items:start}
.premium-teacher-grid>article>.teacher-portrait{width:100%;min-width:0;height:auto;aspect-ratio:3/4;overflow:hidden}
.premium-teacher-grid>article>.teacher-portrait>img{inset:0;width:100%;height:100%;max-width:100%;object-fit:cover;object-position:center top;filter:none}
.premium-teacher-grid .teacher-bio{min-width:0;overflow-wrap:anywhere}
.premium-teacher-grid .teacher-bio h2 span{display:inline-block;margin:0 0 0 4px;white-space:nowrap}
.premium-teacher-grid .teacher-bio small{letter-spacing:0;line-height:1.7;word-break:keep-all;overflow-wrap:anywhere}
.staff-teacher-card>.teacher-photo-frame{width:100%;aspect-ratio:3/4}
.teacher-photo-frame.lms-profile-preview{width:140px;height:auto;aspect-ratio:3/4}
.class-teacher-portrait.teacher-photo-frame{width:90px;height:120px}
@media(max-width:600px){.class-detail-teacher .class-teacher-portrait{width:70px;height:94px}}
@media(max-width:380px){.premium-teacher-grid .teacher-bio{padding-left:16px}.premium-teacher-grid .teacher-bio h2{font-size:1.65rem}}

/* Faculty portrait alignment 20260915 */
/* Consistent portrait framing across faculty, admin and class surfaces. */
.teacher-photo-frame{position:relative;overflow:hidden;isolation:isolate;flex:none;min-width:0;background:#575550;border-radius:2px}
.teacher-photo-frame>img{display:block;position:absolute;inset:0;width:100%;height:100%;max-width:100%;object-fit:cover;object-position:center top;border-radius:0;filter:none}
.premium-teacher-grid>article{min-width:0;grid-template-columns:minmax(0,43%) minmax(0,1fr);align-items:start}
.premium-teacher-grid>article>.teacher-portrait{width:100%;min-width:0;height:auto;aspect-ratio:3/4;overflow:hidden}
.premium-teacher-grid>article>.teacher-portrait>img{inset:0;width:100%;height:100%;max-width:100%;object-fit:cover;object-position:center top;filter:none}
.premium-teacher-grid .teacher-bio{min-width:0;overflow-wrap:anywhere}
.premium-teacher-grid .teacher-bio h2 span{display:inline-block;margin:0 0 0 4px;white-space:nowrap}
.premium-teacher-grid .teacher-bio small{letter-spacing:0;line-height:1.7;word-break:keep-all;overflow-wrap:anywhere}
.staff-teacher-card>.teacher-photo-frame{width:100%;aspect-ratio:3/4}
.teacher-photo-frame.lms-profile-preview{width:140px;height:auto;aspect-ratio:3/4}
.class-teacher-portrait.teacher-photo-frame{width:90px;height:120px}
@media(max-width:600px){.class-detail-teacher .class-teacher-portrait{width:70px;height:94px}}
@media(max-width:380px){.premium-teacher-grid .teacher-bio{padding-left:16px}.premium-teacher-grid .teacher-bio h2{font-size:1.65rem}}
