/* Department faculty page (e.g. Department of English). Scoped to .sfs-dept. */
.sfs-dept {
    background: #f7f6f1;
    padding: 56px 20px 70px;
}

.sfs-dept__inner {
    max-width: 1264px;
    margin: 0 auto;
}

.sfs-dept__back {
    display: inline-block;
    margin-bottom: 18px;
    color: #021d30;
    font-family: Lexend, sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}

.sfs-dept__back:hover { color: #cc3366; }

.sfs-dept .sfs-dept__title {
    margin: 0 0 32px;
    color: #021d30;
    font-family: Lexend, sans-serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.sfs-dept__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 36px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sfs-dept__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
    transition: transform 0.25s ease;
}

.sfs-dept__card:hover { transform: translateY(-4px); }

/* Round photo with a gold ring. */
.sfs-dept .sfs-dept__photo {
    width: 200px;
    height: 200px;
    max-width: 100%;
    object-fit: cover;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 5px #f7f6f1, 0 0 0 9px #f0b429;
    margin-top: 9px;
}

/* Navy name plate under the photo. */
.sfs-dept__plate {
    align-items: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-height: 82px;
    padding: 14px 12px;
    background: #123a6b;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(18, 58, 107, 0.2);
}

.sfs-dept .sfs-dept__name {
    margin: 0;
    color: #fff;
    font-family: Lexend, sans-serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.sfs-dept__role {
    color: #d6e2f3;
    font-family: Lexend, sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    .sfs-dept__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .sfs-dept { padding: 36px 16px 48px; }
    .sfs-dept .sfs-dept__title { font-size: 26px; margin-bottom: 24px; }
    .sfs-dept__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
    .sfs-dept__card { gap: 14px; }
    .sfs-dept .sfs-dept__photo { width: 120px; height: 120px; box-shadow: 0 0 0 3px #f7f6f1, 0 0 0 6px #f0b429; }
    .sfs-dept__plate { min-height: 68px; padding: 10px 8px; border-radius: 10px; }
    .sfs-dept .sfs-dept__name { font-size: 14px; }
    .sfs-dept__role { font-size: 11px; }
}

.sfs-dept__empty {
    margin: 40px 0;
    color: #4a5a70;
    font-family: Lexend, sans-serif;
    font-size: 18px;
    text-align: center;
}
