@charset "UTF-8";

.team-wrapper {
    padding: 50px 0;
}

.team-wrapper .col-md-4 {
    margin-bottom: 30px;
    max-height: 480px;
}

.team .title h3 {
    font-family: 'shelby', cursive;
    font-weight: 400;
    margin-bottom: 10px;
}

.team h3 a {
    color: #f8f8f8;
}

.team .headShot {
    width: 100%;
    margin-bottom: 15px;
    max-height: 393px;
}

section.team-section {
    padding: clamp(40px, 3.125vw, 60px) 0;
    background-color: #f8f8f8;
    text-align: center;
    position: relative;
}

section.team-section .heading {
    position: relative;
}

section.team-section h2 {
    margin-bottom: clamp(40px, 4.167vw, 80px);
    color: #2A2A2C;
}

.team-mates {
    display: flex;
    padding: 0;
    justify-content: center;
    gap: 45px;
}

.tHeadShot {
    display: inline-block;
    max-width: 400px;
    height: fit-content;
    margin: 0;
    position: relative;
    width: 25%;
}

.hdShotImg {
    height: clamp( 300px,  26.042vw, 500px );
    margin-bottom: 30px;
}

.tHeadShot .h4 {
    font-family: 'Kanit', sans-serif;
    color: #2A2A2C;
    font-size: clamp(24px, 1.771vw, 34px);
    text-transform: none;
}

.hdShotImg img {
    position: absolute;
    border-radius: 0;
    height: auto;
    left: 0;
    top: 0;
    border-radius: 25px;
    border: 1px solid #707070;
}

.hdShotImg img.work {
    opacity: 1;
    height: clamp( 300px,  26.042vw, 500px );
    transition: all .75s ease;
    object-fit: cover;
    object-position: center top;
}

.hdShotImg img.fun {
    opacity: 0;
    height: clamp( 300px,  26.042vw, 500px );
    display: block;
    object-fit: cover;
    object-position: center top;
}

.tHeadShot:hover .hdShotImg img.work {
    opacity: 0;
    transition: all .75s ease;
}

.tHeadShot:hover .hdShotImg img.fun {
    opacity: 1;
    transition: all .75s ease;
    object-fit: cover;
}

.tHeadShot:first-of-type {
    margin-left: 0;
}

.tHeadShot:last-of-type {
    margin-right: 0;
}

.team-overlay {
    position: absolute;
    bottom: 0;
    padding: 40px 0px;
    background: rgb(16 83 111 / 75%);
    color: #fff;
    overflow: hidden;
    display: grid;
    text-align: center;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all .3s ease;
    border-radius: 40px;
    align-items: end;
    box-sizing: border-box;
}

.tHeadShot:hover .team-overlay {
    opacity: 1;
}

.team-overlay .h4 a {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(22px, 1.667vw, 32px);
    line-height: clamp(32px, 2.188vw, 42px);
    color: #FFF;
}

section.team-section .h4 span.smallTxt {
    font-size: clamp(12px, 1.146vw, 22px);
}

.tHeadShot .btn-bios {
    width: 0;
    visibility: hidden;
    padding: 11px 14px;
    border-radius: 0;
    margin: 0 auto;
    position: relative;
    z-index: 99;
}

.tHeadShot:hover .btn-bios {
    width: 120px;
    visibility: visible;
    transition: all .3s ease;
}

.sumWrap {
    max-width: 812px;
    margin: 4.167vw auto;
    font-size: 0.938vw;
}

.single-team .main-frame {
    padding: 90px 0 20px;
}

.teamInfo {
    padding-top: 50px;
}

.teamInfo p.bio {
    font-size: 18px;
    font-weight: 300;
}

.teamInfo p {
    font-weight: 300;
}

p.bio-loc {
    font-weight: 400;
}

.teamInfo a {
    color: #42474c;
}

.teamInfo a.linkedIn i {
    font-size: 35px;
    color: #ed6a00;
}

.teamInfo a.linkedIn:hover i {
    color: #ff8523;
}

.teamInfo i {
    color: #ed6a00;
    margin-right: 20px;
    min-width: 24px;
    font-size: 24px;
}

.team-section a.btn {
    margin-top: clamp(36px, 2.917vw, 56px);
}

@media ( max-width: 1024px ) {
    ul.team-mates {
        padding-left: 0;
        display: block;
    }

    .tHeadShot {
        height: fit-content;
        width: 40%;
        clear: both;
        float: none;
        margin: 0 auto 40px;
        display: block;
    }

    .hdShotImg,
    .hdShotImg img,
    .hdShotImg img.work,
    .hdShotImg img.fun {
        height: clamp(225px, 48.828vw, 500px);
    }

    .tHeadShot:first-of-type,
    .tHeadShot:last-of-type {
        margin: 0 auto 40px;
    }

    .team-overlay .h4 {
        font-size: 24px
    }

    .sumWrap {
        font-size: 18px;
        line-height: 24px;
    }
}

@media ( max-width: 567px ) {
    section.team-section {
        padding: 80px 0;
    }

    .tHeadShot {
        margin: 0 auto 40px;
    }

    .team-overlay {
        bottom: unset;
        top: 0;
        height: 98%;
    }

}