/* Faculty portrait rendering only. Keeps high-resolution portraits crisp without affecting other site images. */
.ctuk-faculty-page .ctuk-faculty-photo img,
.ctuk-home-faculty .ctuk-home-faculty-photo img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    object-fit:cover!important;
    object-position:center 14%!important;
    transform:none!important;
    filter:none!important;
    image-rendering:auto!important;
    backface-visibility:hidden;
}

/* Faculty detail cards use a portrait crop. */
.ctuk-faculty-page .ctuk-faculty-photo{
    aspect-ratio:4/5!important;
    overflow:hidden!important;
}

/* Homepage cards are wider; keep the face in the upper third without stretching. */
.ctuk-home-faculty .ctuk-home-faculty-photo{
    overflow:hidden!important;
}

/* Do not introduce interpolation blur on hover. Use the card itself for motion instead. */
.ctuk-home-faculty .ctuk-home-faculty-card:hover .ctuk-home-faculty-photo img,
.ctuk-faculty-page .ctuk-faculty-card:hover .ctuk-faculty-photo img{
    transform:none!important;
}

@media(max-width:480px){
    .ctuk-home-faculty .ctuk-home-faculty-photo img,
    .ctuk-faculty-page .ctuk-faculty-photo img{
        object-position:center 12%!important;
    }
}
