/* Give the integrated portrait a definite image area at every screen size. */
#about.integrated-teacher{position:relative;isolation:isolate;overflow:hidden;display:block;min-height:740px}
#about .teacher-photo{display:block;position:absolute;inset:0 auto 0 0;width:62%;height:100%;min-height:0;margin:0;z-index:0}
#about .teacher-photo img{position:absolute;inset:0;display:block;width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:auto;object-fit:cover;object-position:50% 38%;opacity:1;visibility:visible}
#about .teacher-copy{position:relative;z-index:2;width:46%;margin-left:auto}
@media(max-width:720px){#about.integrated-teacher{min-height:0;padding-top:475px}#about .teacher-photo{inset:0 0 auto;width:100%;height:420px}#about .teacher-photo img{object-position:50% 34%}#about .teacher-copy{width:100%;margin:0}}

/* Move the portrait away from the existing fade without altering the fade. */
#about .teacher-photo img{transform:translateX(-8%)}
@media(max-width:720px){#about .teacher-photo img{transform:translateX(-4%)}}
/* Complete the fade before the shifted image's right edge. */
#about .teacher-photo::after{display:block;content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent 30%,#f3f0e850 53%,#f3f0e8eb 78%,#f3f0e8 90%,#f3f0e8 100%);pointer-events:none}
@media(max-width:720px){#about .teacher-photo::after{background:linear-gradient(90deg,#f3f0e870 0%,transparent 20%,transparent 75%,#f3f0e8 93%,#f3f0e8 100%)}}
