/*=========================LEADERSHIP==============================*/


/*HERO*/
.hero-leadership {
    width: 100%;
    height: 350px;
    background-image: url("../img/hero-leadership.jpg"); 
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}



/*Leaders*/

section.leaders {
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 100px;
    padding-top: 150px;
}

.leaders .heading-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 100px;
    margin-top: 50px;
    text-align: center;
}

.leaders .leaders-container {
    width: 100%;
    max-width: 1140px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.person {
    width: 310px;
    height: 430px;
    margin: 30px;
    margin-bottom: 100px;
    padding: 30px;
    background: var(--white);
    box-shadow: var(--shadow);
    position: relative;
}

.person-img {
    display: block;
    width: 150px;
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: var(--shadow);
}

.person-name-container {
    position: absolute;
    top: 140px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.person-title-container {
    position: relative;
    top: 210px;
    text-align: center;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.person a {
    text-decoration: none;
}

.person-name-container:hover h3 {
    color: var(--blue-md);
}

.person-title {
    margin-bottom: 10px;
}






/*Media Queries*/

@media (max-width: 992px){

    .hero-leadership {
        height: 200px;
        padding: 20px;
    }

    section.leaders {
        padding-top: 100px;
    }
}



@media (max-width: 768px) {
    section.leaders {
        padding: 50px 5%;
        padding-top: 100px;
    }

    .person-img {
        display: block;
        width: 150px;
        position: relative;
        top: -100px;
    }

    .person-name-container {
        position: relative;
        top: -80px;
        width: 100%;
        text-align: center;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .first-name {
        margin-right: 5px;
    }

    .person-title-container {
        top: -50px;
    }

    .person {
        height: 400px;
    }
}



@media (max-width: 450px) {
    .person {
        width: 100%;
        max-width: 300px;
        height: 400px;
        margin-left: 0;
        margin-right: 0;
    }

}




















/*======================Individual Leader Page===============================*/


section.leader {
    width: 100%;
    min-height: calc(100vh - 240px);
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 100px;
    background: var(--gray-lt);
    z-index: -1;
}

.leader-container {
    width: 100%;
    max-width: 1140px;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 50px 100px;
    position: relative;
}

.leader-img {
    width: 250px;
    height: 312px;
    margin-top: -100px;
    box-shadow: var(--shadow);
}

.leader-top {
    display: flex;
}

.leader-title {
    margin-left: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.leader-title h2 {
    margin-bottom: 10px;
}

.leader-title h4 {
    font-size: 1em;
    font-weight: 400;
}

.leader-content {
    margin-top: 50px;
}
.leader-content p {
    margin-bottom: 10px;
}







/*Media Queries*/


@media (max-width: 1100px) {
    .leader-img {
        margin-top: 0;
    }
}




@media (max-width: 992px) {

    section.leader {
        padding: 50px 100px;
    }

    .leader-top {
        flex-direction: column;
    }

    .leader-title {
        margin-left: 0;
        text-align: center;
    }

    .leader-img {
        display: block;
        margin: 0 auto;
        margin-bottom: 50px;
    }

    .leader-container {
        padding: 50px 50px;
    }
}



@media (max-width: 768px) {
    .leader-container {
        background: none;
        box-shadow: none;
        padding: 20px 0;
        position: relative;
    }

    section.leader {
        padding: 50px 5%;
    }
}




@media (max-width: 450px) {
    .leader-img {
        width: 80%;
        height: auto;
        margin-bottom: 20px;
    }

    .leader-container {
        padding: 0;
        background: none;
        box-shadow: none;
    }

}