
.team-member{
    width: calc((100% / 3) - ((var(--gap) * 2) / 3));
    padding-top: calc(var(--gap));
    padding-bottom: calc(var(--gap));
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member .portrait{
    margin-bottom: calc(var(--gap) * 2);
    width: 325px;
    max-width: 100%;
}

.team-member img{
    border-radius: 50%;
    width: 175px;
    height: 175px;
}

.team-member .content{
    display: flex;
    flex-direction: column;
    width: 325px;
    max-width: 100%;
}

.team-member p{
    margin-bottom: 0;
}

.team-member svg{
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.team-member .mail svg{
    transform:translateY(-2px);
}

.team-member a,
.team-member a:visited,
.team-member a:link,
.team-member a:active{
    display: inline-block;
    margin-top: 5px;
    color: var(--color-text);
}

.team-member a:hover{
    color: var(--blue);
    filter: brightness(2);
}

.team-member h3{
    font-weight:700;
    font-family: var(--default-font);
    font-size: var(--button-font-size);
    line-height: 1;
    margin-bottom: 5px;
}

@media only screen and (max-width: 991.98px) {
    .team-member{
        width: calc((100% / 2) - ((var(--gap)) / 2));
    }
}

@media only screen and (max-width: 599.98px) {

    .team-member{
        width: auto;
        margin: auto;
        text-align: center;
        display: block;
    }

}