.bio-block h2 {
    margin-bottom: 4px !important;
}

.bio-block .two-third {
    padding-right: 50px;
}

p.bio {
    margin-top: 25px;
}

.exit-bio {
    position: absolute;
    width: 20px;
    height: 20px;
    left: -35px;
    margin-top: 8px;
    cursor: pointer;
    background-image: url(/wp-content/uploads/2023/05/plastic-energy-exit.png);
}

.bio-cont {
    background-color: #ffffff;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding-top: 80px;

}

.bio-block {
    display: none;
    opacity: 0;
    -webkit-transition: all 250ms;
    -o-transition: all 250ms;
    transition: all 250ms;
}

.bio-cont {
    opacity: 0;
    -webkit-transition: all 350ms;
    -o-transition: all 350ms;
    transition: all 350ms;
    pointer-events: none;
}

.bio-cont.active {
    opacity: 1;
    z-index: 1111;
    pointer-events: all;
}

.bio-block.active {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    opacity: 1
}

.team-index .flexed {
    gap: 20px;
}

.bio-cont .outer-cont {
    overflow: auto;
}

h2.team-title {
    text-align: center;
    margin-bottom: 35px!important;
}


@media screen and (max-width: 769px) {

    .team-index .cont.flexed {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .team-member.bg-img {
        border-radius: 5px;
        background-position: top;
        height: 200px;
        width: calc(33.333% - 15px);
    }


}

@media screen and (max-width: 690px) {

    .team-member.bg-img {
        width: calc(50% - 8px);
        position: relative;
    }

    .team-member.bg-img {
        border-radius: 5px;
        background-position: top;
        height: 180px;
    }

    .team-over {
        opacity: 0 !important;
        height: 100%;
        position: absolute;
        width: 100%;
    }

    .team-over.active {
        opacity: 1 !important;
    }

    .team-index .cont.flexed {
        gap: 15px;
    }

    .exit-bio {
        left: 0;
        top: 0;
    }

    section.bio-cont .v-space {
        padding-top: 60px; 
    }

    .bio-cont .outer-cont {
        overflow: auto;
        padding: 25px 15px; 
    }

    .team-member img.arrow {
        display: none; 
    }

    .team-over {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: end;
            -ms-flex-align: end;
                align-items: flex-end;
    }
    
}