/************************ Team ***************************/
.team {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    margin: 0 auto;
}

.category_heading {
    margin-top: 30px;
    margin-bottom: 40px;
}

.team_member {
    width: calc((100% - 45px) / 2);
    display: flex;
    /* flex-direction: column; */
    background-color: var(--white);
    box-shadow: 0px 5px 10px #00000014;
    border-radius: 10px;
    padding: 15px;
    box-sizing: border-box;
    margin-bottom: 45px;
    z-index: 10;
}

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

.team_info {
    display: flex;
    flex-direction: column-reverse;
    justify-content: start;
    width: calc((100% - 15px) / 2);
    background-color: var(--white);
}

.team_member h3,
.team_member h4,
.team_member p {
    margin: 0;
}

.team_member h3 {
    margin-top: -5px;
}

.team_member h4 {
    color: var(--bronze);
    margin-top: 5px;
    font-size: 18px;
}

.team_member .team_description {
    margin-top: 15px;
}

.team_bio {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    width: calc((100% - 15px) / 2);
    margin-left: 15px;
}

.team_image {
    border-radius: 5px;
    width: 100%;
    height: 380px;
    overflow: hidden;
}

.team_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.list_dummy_card {
    height: 0px !important;
    padding-top: 0px !important;
    margin-top: 0px !important;
    padding-bottom: 0px !important;
    margin-bottom: 0px !important;
}

@media (max-width: 1400px) {
    .team_bio {
        width: calc(((100% - 15px) / 2) + 50px);
    }

    .team_info {
        width: calc(((100% - 15px) / 2) - 50px);
    }

    .team_image {
        height: 280px;
    }
}

@media (max-width: 1100px) {
    .team_member {
        width: 100%;
    }

    .team_bio {
        width: calc(100% - 295px);
    }

    .team_info {
        width: 280px;
    }

    .team_image {
        height: 380px;
    }
}

@media (max-width: 650px) {
    .team_member {
        flex-direction: column;
        margin-top: 25px;
    }

    .team_bio {
        width: 100%;
        margin-left: 0;
    }

    .team_member h3 {
        margin-top: 20px;
    }

    .team_info {
        margin-top: -40px;
        width: 180px;
        height: 240px;
        border-radius: 10px;
    }

    .team_image {
        border-radius: 10px;
    }
}

@media (max-width: 450px) {
    .category_heading {
        text-align: center;
    }

    .team_info {
        margin-left: auto;
        margin-right: auto;
    }

    .team_member h3,
    .team_member h4 {
        text-align: center;
    }
}