.teamstack {
    display: flex;
    
    flex-wrap: wrap;
    overflow-wrap: normal;
    justify-content: center;
}

.teamstack div {
    display: block;
}

.teamstack div div {
    display: inline-flex;
}

.team-member-minibio {
    border-radius: 10px;
    margin: 2rem 1rem !important;
    padding: 0.5rem 1rem;

    background-color: var(--mfg-white);
    color: var(--mfg-purple);
    height: 180px;
    width: 350px;
    aspect-ratio: 7 / 5 !important;
}

    .team-member-minibio .hstack .vstack span {
        margin-top: 0rem !important;
        margin-bottom: 0.5rem !important;
    }

    .team-member-minibio .hstack .vstack:last-child {
        margin-bottom: 0 !important;
    }

.team-member-small-portrait {
    width: 150px;
    height: 150px;
    /*border-color: grey;
    border-style: groove;
    border-width: 4px;*/
}

.member-info {
    width: 100%;
    overscroll-behavior: none;
    position: relative;
}

.member-name {
    font-size: 18pt;
    font-weight: bold;
    font-style: italic;
}

.member-nouns {
    font-size: small;    
}

.member-titles {
    font-size: medium;
}

.member-socials {
    position: absolute;
    bottom: 0px;
}

@media screen and (max-width: 500px) {
    .team-member-minibio {
        height: 130px;
        width: 270px;
        margin: 1.5rem 0.4rem !important;
        padding: 0.5rem;
    }

        .team-member-minibio .hstack .vstack span {
            margin-top: 0rem !important;
            margin-bottom: 0.2rem !important;
        }

    .team-member-small-portrait {
        width: 110px;
        height: 110px;
    }

    .social-logo {
        width: 30px;
        height: 30px;
    }

    .member-name {
        font-size: 14pt;
    }

    .member-nouns {
        font-size: x-small;
    }

    .member-titles {
        line-height: 1em;
        max-height: 2em;
        font-size: small;
    }
}