.team-members-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.team-member {
    flex: 0 0 calc(33.8% - 20px);
    max-width: calc(33.8% - 20px);
}

.team-member {
    background-color: #FFFFFF;
    border-radius: 15px 15px 15px 15px;
    overflow: hidden;
    padding-bottom: 30px;
    box-shadow: 0px 12px 18px -6px rgba(142,137,129,0.11);
    transition: box-shadow 300ms ease 0ms;
    margin-bottom: 20px;
}
.team-member img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.team-details {
    font-size: 16px;
    line-height: 1.5em;
    background-color: #FFFFFF;
    margin-top: 10px !important;
    margin-right: 20px !important;
    margin-left: 20px !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.team-member h4 {
    font-family: 'Myriadpro-semibold', Helvetica, Arial, Lucida, sans-serif;
    font-size: 17px;
    color: #8E8981 !important;
    line-height: 1.2em;
}

.team-member h2 {   
    font-size: 20px;
    color: #231F20 !important;
    padding-bottom:0px;
}

.team-member a {
    font-family: 'Myriadpro-semibold', Helvetica, Arial, Lucida, sans-serif;
}

.team-member p {
    font-size: 18px;
    line-height: 35px;
}

#dr-thomas-m-bailey-memorial-award .sub-main {
    overflow: unset;
}
@media screen and (max-width: 980px) {
    .team-member {
        flex: 0 0 calc(49% - 20px);
        max-width: calc(49% - 20px);
    }
}
@media screen and (max-width: 768px) {
    .team-member {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media screen and (max-width: 480px) {
    .team-member {
        flex: 0 0 calc(100% - 20px);
        max-width: calc(100% - 20px);
    }
    .team-members-grid {            
        justify-content: space-around;    
    }
}