.at-people {
    padding-block: 3rem;
    --minWidth: 300px;
}

.at-people--bgColor {
    background-color: #ededed;
}

.at-people__articleTitle {
    color: #a64757;
}

.at-people__inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--minWidth), 1fr));
    gap: 2rem;
}

/**
 * People items
 */

.at-people__item {
    position: relative;
}

.at-people__item:hover .at-people__image {
    scale: 1.05;
}

.at-people__imageWrapper {
    position: relative;
    overflow: hidden;
}

.at-people__image {
    display: block;
    width: 100%;
    height: 100% !important; /** Used important to override the "height: auto !important" from the UI */
    object-fit: cover;
    min-height: 0;
    z-index: -1;
    transition: scale .3s ease-in-out;
}

.at-people__name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 1rem;
    z-index: 2;
    color: #fff;
    background-color: rgba(47, 169, 225, 0.8);
}

.at-people__intro {
    margin-block: 1rem;
}

.at-people__link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: auto;
    content: '';
    background-color: transparent;
}

@media (min-width: 1024px) {
    .at-people {
        --minWidth: 400px;
    }
}
