#sales-team {
    padding: 50px 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
    position: relative;
    background-color: var(--white);
    z-index: 2;
}

#sales-team h2 span {
    color: var(--dark-green);
}

#team-row {
    margin-top: 50px;
}

.member-image {
    position: relative;
    width: 100%;
    /*height: 360px;*/
    margin-bottom: 25px;
    border-radius: 5px;
    overflow: hidden;
    padding-top: 165%;
}

.member-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name p {
    margin-bottom: 20px;
}

.member-content a {
    color: var(--grey);
    text-decoration-line: none;
    line-height: 20px;
    font-weight: 300;
}

.member-content a:hover {
    color: var(--green);
}

@media only screen and (min-width: 1280px) {
    .member-wrapper {
        width: 20%;
        flex-basis: 20%;
        margin-bottom: 30px;
    }
}

@media only screen and (min-width: 992px) {
    .member-wrapper {
        margin-bottom: 30px;
    }
}

@media only screen and (max-width: 991.8px) {
    .member-wrapper {
        margin-bottom: 30px;
    }

    .member-image {
        margin-bottom: 15px;
        padding-top: 125%;
    }
}

@media only screen and (max-width: 767.8px) {
    #sales-team {
        padding: 30px 0 15px 0;
    }

    /*.member-image {*/
    /*    height: 300px;*/
    /*}*/
}

@media only screen and (max-width: 575.8px) {
    #team-row {
        margin-top: 20px;
    }

    .member-wrapper {
        margin-bottom: 10px;
    }

    .member-wrapper:last-of-type {
        margin-bottom: 0;
    }

    .member-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
    }

    .member-image {
        width: 132px;
        height: 145px;
        flex-basis: 132px;
        max-width: 100%;
        margin-bottom: 0;
        padding-top: 0;
    }

    .member-content {
        width: calc(100% - 132px);
        flex-basis: calc(100% - 132px);
        padding-left: 25px;
    }

    .member-content a {
        font-size: 14px;
    }
}

@media only screen and (max-width: 360px) {
    .member-content {
        padding-left: 10px;
    }
}