.member-cards {
    position: relative;
    z-index: 2;
}

.image-cards + .member-cards {
    z-index: 1;
    margin-top: 0;
}

.member-cards__headlines {
    padding-bottom: 5px;
}

.member-card-item {
    margin-top: 25px;
}

.member-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    height: 100%;
    border: none;
    background: #fff;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.16);
    border-radius: 20px;
    overflow: hidden;
}

.member-card__image {
    height: 196px;
}

.member-card__image img {
    border-radius: 20px;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.16);
    -webkit-filter: grayscale(100);
    filter: grayscale(100);
}

.member-card__details {
    padding: 20px 26px;
}

.member-card__title {
    font-size: 25px;
    line-height: 1.32em;
    font-weight: 400;
    color: var(--header-font-color);
    margin: 0 0 3px 0;
    padding: 0;
}

.member-card__designation {
    margin: 0;
    padding: 0;
    color: var(--sub-header-font-color);
    font-size: 16px;
    line-height: 1.3125em;
    text-transform: uppercase;
}

.member-card--sml {
    flex-wrap: wrap;
    flex-direction: inherit;
    /* height: 100px; */
    align-items: center;
}

.member-card--sml .member-card__image {
    width: 105px;
    height: 100%;
}

.member-card--sml .member-card__image img {
    box-shadow: none;
}

.member-card--sml .member-card__details {
    width: calc(100% - 105px);
    padding: 0 40px 0 23px;
    padding-block: 20px;
}

.member-card--sml .member-card__title {
    font-size: 20px;
    line-height: 1.3em;
}

.member-cards__logo {
    position: absolute;
    z-index: -1;
    width: 179px;
    height: auto;
    right: -54px;
    top: -40px;
}

.member-cards--margins {
    margin: 40px 0 80px;
}

.member__listing {
    position: relative;
    z-index: 1;
}

.team-logo-icon {
    position: absolute;
    right: -208px;
    top: -136px;
    z-index: -1;
}

.member-card__cta {
    font-size: 12px;
    line-height: 1;
    border-bottom: 1px solid var(--primary-color);
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    color: var(--primary-color) !important;
    display: none;
}

.member__btn {
    margin-top: 40px;
}

@media (min-width: 768px) {
    .member-card-item {
        margin-top: 30px;
    }

    .member-card--sml .member-card__title {
        font-size: 22px;
    }

    .member-cards__logo {
        width: 238px;
        right: -54px;
        top: -136px;
    }

    .member-cards--margins {
        margin: 40px 0 120px;
    }

    .member__btn {
        margin-top: 60px;
    }
}

@media (min-width: 1200px) {
    .member-cards__headlines {
        padding-bottom: 0;
    }

    .member-card-item {
        margin-top: 32px;
    }

    .member-card {
        flex-wrap: wrap;
        flex-direction: inherit;
        height: 181px;
        align-items: center;
    }

    .member-card__image {
        width: 292px;
        height: 100%;
    }

    .member-card__details {
        width: calc(100% - 292px);
        padding: 0 32px;
    }

    .member-card--sml {
        height: 134px;
    }

    .member-card--sml .member-card__image {
        width: 134px;
    }

    .member-card--sml .member-card__details {
        width: calc(100% - 134px);
        padding: 0 40px 0 22px;
    }

    .member-card--sml .member-card__title {
        font-size: 24px;
    }

    .member-card__designation--sml {
        font-size: 12px;
    }

    .member-card__cta {
        display: none;
        margin-top: 10px;
        font-size: 16px;
        line-height: 1.4;
        display: block;
    }

    .member-card:hover .member-card__cta {
        display: inline-block;
    }

    .member-card__title {
        font-size: 30px;
    }

    .member-card--sml .member-card__title {
        font-size: 24px;
    }

    .member-card:hover .member-card__image img {
        -webkit-filter: grayscale(0);
        filter: grayscale(0);
    }

    .member-cards__logo {
        width: 524px;
        right: -50px;
        top: -245px;
    }

    .member-cards--margins {
        margin: 0 0 220px;
    }
}
