.dept-team__head{display:flex;justify-content:center;margin-bottom:2rem}
.dept-team__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem 15px}
.dept-card{display:block;text-align:center;color:inherit;text-decoration:none}
.dept-card:hover .dept-card__name,.dept-card:focus-visible .dept-card__name{text-decoration:underline}
.dept-card__photo{display:block;width:250px;max-width:100%;height:auto;margin:0 auto}
.dept-card__photo--empty{display:flex;align-items:center;justify-content:center;aspect-ratio:3/4;font-size:4rem;background:var(--bg-lighter);border-radius:8px}
.dept-card__name{display:block;margin-top:1rem}
.teacher-profile{display:flex;gap:2rem;align-items:flex-start;margin-bottom:2rem}
.teacher-profile__photo{flex:0 0 250px;width:250px;height:auto;border-radius:8px}
.teacher-profile__facts{margin:0;flex:1;min-width:0}
.teacher-profile__facts dt{font-weight:700;color:var(--primary-color);margin-top:1rem}
.teacher-profile__facts dt:first-child{margin-top:0}
.teacher-profile__facts dd{margin:.25rem 0 0}
.teacher-profile__multiline{white-space:pre-line}
.teacher-profile__qualification{padding-left:1.25rem}
.teacher-profile__qualification li{margin-bottom:.5rem}
@media(max-width:768px){.dept-team__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.teacher-profile{flex-direction:column}.teacher-profile__photo{flex:none;width:250px;max-width:100%;align-self:center}}
@media(max-width:420px){.dept-team__grid{grid-template-columns:1fr}}
.teacher-profile__files{padding-left:1.25rem}
.teacher-profile__files li{margin-bottom:.5rem;overflow-wrap:anywhere}
.teacher-profile__file-ext{display:inline-block;margin-left:.35rem;padding:.05rem .4rem;font-size:.75rem;font-weight:700;text-transform:uppercase;color:var(--primary-color);background:var(--bg-lighter);border-radius:4px}
.dept-team__content{margin-top:2rem}
