div.team_list
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;

}

div.team_list a.item
{
    width: 30%;
    height: auto;
    margin: 1% 3% 8% 0%;
    text-decoration: none;
    position: relative;
    /*outline: solid 1px red;*/
}

div.team_list a.item div.thumb
{
    width: 100%;
    background-position: center top;
    background-size: cover;
    border: solid 1px #b7b7b7;
    border-top-left-radius: 1.25rem;
    border-top-right-radius: 1.25rem;
}

div.team_list a.item div.thumb:after
{
    content: '\20';
    display: block;
    padding-top: 100%;
}

div.team_list a.item div.text
{
    position: absolute;
    bottom: -20%;
    left: 0;
    right: 0;
    height: 51%;
    background-image: url('/assets/team-card-bottom-light.svg');
    background-position: center bottom;
    background-size: contain;
    background-repeat: no-repeat;
    padding: 20% 20% 0 5%;
    overflow: hidden;
    color: #fff;
    /*outline: solid 1px red;*/
}

div.team_list a.item div.text h3
{
    font-size: 1.25rem;
    line-height: 1.25;
    font-weight: 500;
    margin-top: 0;
    white-space: nowrap;
    color: inherit;
}

div.team_list a.item div.text p
{
    font-size: 1rem;
    line-height: 1.125rem;
    margin-top: 0.5rem;
    color: inherit;
}
@media (max-width: 768px) {
    div.team_list{
        gap:3rem;
    }
    @media (max-width: 768px)
    {
        div.team_list a.item {
            width: 90%;
            margin: 2rem auto;
        }
    }
}