.team-cards-module__title.moduletitle {
    text-align: center;
    padding-bottom: 20px;
}

.team-cards-module__header {
    padding-bottom: 30px;
}

.team-cards-module__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.team-cards-module__row .col-12.col-sm-6.col-md-4.col-lg-3 {
    flex: 0 0 auto;
}

.team-cards-module__team-item {
    position: relative;
    margin: 0 auto 30px;
    width: 275px;
}

.team-cards-module__team-item:hover {
    box-shadow: rgb(0, 0, 0) 0px 6px 12px -8px;
}

.team-cards-module__member-photo img {
    width: 100%;
}

.team-cards-module__data {
    position: absolute;
    width: 100%;
    bottom: 0;
    text-align: center;
    z-index: 6;
    background: var(--brand-primary);
    border-top: 6px groove var(--scout-olive);
    overflow: hidden;
    transition: 0.6s;
}

.team-cards-module__member-photo {
    position: relative;
    height: 385px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.team-cards-module__member-photo .ModuleEditLink.flexi-item-edit {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--brand-primary);
    padding: 5px 10px;
    color: #fff;
    font-weight: 100;
    z-index: 100;
}

.team-cards-module__team-item:hover .team-cards-module__data {
    bottom: 50%;
    margin-bottom: -25%;
    border-top: 0;
}

.team-cards-module__name {
    padding: 10px 0;
}

.team-cards-module__name h4 {
    font-size: 21px;
    font-weight: 600;
    color: var(--gray-lighter);
    padding-top: 5px;
}

.team-cards-module__position {
    color: var(--gray-light);
    font-size: 16px;
}

.team-cards-module__contact {
    width: 100%;
    margin-bottom: -45px;
    padding: 10px 0;
    transition: 0.6s;
}

.team-cards-module__team-item:hover .team-cards-module__contact {
    margin-bottom: 0;
    border-top: 1px solid var(--scout-olive);
}

.member-email {
    font-size: 16px;
    font-weight: 700;
}

.member-email.no-email {
    visibility: hidden;
}

.team-cards-module__team-item:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 3;
    background: var(--brand-primary);
    opacity: 0;
    transition: 0.6s;
}

.team-cards-module__team-item:hover:after {
    opacity: 0.7;
}