/* Owner-supplied original teacher portraits. Map illustrations stay unchanged. */
.sheet-person-with-photo{grid-template-columns:104px 1fr 20px;gap:19px;align-items:center}
.sheet-person-with-photo .teacher-portrait{display:block;width:104px;height:138px;object-fit:cover;object-position:50% 20%;border:3px solid #fffaf0;box-shadow:0 2px 8px #263a3a17}
.sheet-person-minimal{margin:0}
.person-card .teacher-portrait{display:block;width:100%;height:320px;object-fit:cover;object-position:50% 20%}
.person-card-minimal .person-content{padding-block:24px}
.sheet-image.teacher-profile-photo,.modal-photo.teacher-profile-photo{width:100%;height:440px;max-height:66vh;object-fit:contain;object-position:50% 20%;background:#e8e0d0}
.seo-teacher-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
.seo-teacher-grid .teacher-portrait{display:block;width:100%;height:320px;object-fit:cover;object-position:50% 20%}
.teacher-portrait[src$="/alexander-20261117.jpg"]{object-position:65% 40%}
.teacher-portrait[src$="/sergey-20261117.jpg"]{object-position:70% 42%}
.teacher-portrait[src$="/yuriy-20261117.jpg"]{object-position:59% 36%}
.teacher-portrait[src$="/evgeny-20261117.jpg"]{object-position:53% 28%}
@media(max-width:700px){.sheet-person-with-photo{grid-template-columns:76px 1fr 18px;gap:13px}.sheet-person-with-photo .teacher-portrait{width:76px;height:105px}.person-card .teacher-portrait{height:320px}.sheet-image.teacher-profile-photo,.modal-photo.teacher-profile-photo{height:360px}.seo-teacher-grid{grid-template-columns:1fr}.seo-teacher-grid .teacher-portrait{height:360px}}
