.staff-list__wrapper {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(0, 275px)
    ); /* keep image as 4/3 ratio */
    gap: 50px 65px;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    justify-content: space-around;
}

.staff-list__card {
    display: flex;
    flex-direction: column;
}

.staff-list .card__image {
    background-repeat: no-repeat;
    background-size: contain;
    margin-bottom: 10px;
    position: relative;
    height: 375px; /* keep image as 4/3 ratio */
}

.staff-list .image--primary {
    opacity: 1;
    transition: opacity 0.5s;
}

.staff-list .image--secondary {
    opacity: 0;
    transition: opacity 0.5s;
}

.staff-list .card__image img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    object-position: top;
}

.staff-list .card__content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.staff-list .card__name {
    font-style: normal;
    font-weight: 700;
    font-size: 17px;
    line-height: 110%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-grey-100);
    text-decoration: none;
}

.staff-list .card__name a {
    color: var(--color-grey-100);
    text-decoration: none;
}

.staff-list .card__title {
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
}

.staff-list .card__socials {
    display: flex;
    gap: 5px;
    margin-top: 10px;
}

.staff-list .read-more__trigger {
    display: flex;
    font-weight: 700;
    font-size: 15px;
    line-height: 135%;
    text-decoration: none !important; /* intentionally overriding Astra style */
    color: var(--color-dark-blue);
    cursor: pointer;
}

.staff-list .read-more__trigger:before {
    content: attr(data-expand-label);
}
.staff-list .read-more__trigger:after {
    font-family: "Material Symbols Outlined";
    content: "\e313";
    font-size: 20px;
    margin-left: 5px;
    font-weight: 700;
}

.staff-list .read-more__trigger--open:before {
    content: attr(data-collapse-label);
}
.staff-list .read-more__trigger--open:after {
    content: "\e316";
}

.staff-list .read-more__content {
    font-weight: 400;
    font-size: 15px;
    line-height: 130%;
    color: #222222;
    opacity: 0.9;
}
