/**
 *  Meet Leaders
 */

@media (hover: hover) {
    a.meet-leader-item:hover .meet-leader-item-image > img {
        opacity: .3;
    }

    a.meet-leader-item:hover .meet-leader-bottom {
        opacity: 1;
    }
}

a.meet-leader-item .meet-leader-item-image > img {
    transition: all 0.3s ease-in-out;
}

@media ( min-width: 1381px ) {
    .meet-leaders {
        padding: 80px 0 110px;
        padding: 300px 0 110px;
        position: relative;
        background-repeat: no-repeat;
        background-origin: padding-box;
        background-position: left bottom;
    }

    section.meet-leaders:before {
        content: '';
        height: 510px;
        background: #f7f7f7;
        width: 100%;
        display: block;
        position: absolute;
        left: 0;
        top: 160px;
        z-index: -1;
    }

    .container {
        background: none;
    }

    .meet-leaders-heading {
        width: 40%;
        float: left;
    }

    .meet-leaders-picture {
        width: 60%;
        float: left;
        padding-top: 80px;
        height: 570px;
    }

    .meet-leaders-quote {
        width: 678px;
        height: auto;
        min-height: 452px;
        background-color: white;
        position: absolute;
        top: 425px;
        padding: 30px 40px;
        box-shadow: 0 1px 10px rgba( 200, 200, 200, 0.2 );
        border-radius: 3px;
        margin-top: 30px;
    }

    .meet-leaders-quote p {
        line-height: 35px;
        font-size: 20px;
    }

    .desktop-view-symbol {
        display: block;
        font-size: 100px;
        color: rgba( 25, 41, 65, 0.1 );
        margin-bottom: -30px;
        margin-left: -15px;
    }

    .quote-leaders-name {
        font-size: 20px;
        font-weight: bold;
        display: block;
        margin-bottom: 10px;
        margin-top: 20px;
    }

    .quote-leaders-position {
        display: block;
        position: relative;
    }

    .desktop-view-symbol {
        display: block;
    }

    .tablet-view-symbol {
        display: none;
    }

    .mobile-view-symbol {
        display: none;
    }

    .meet-leader-gallery {
        display: flex;
        margin-top: 130px;
        position: relative;
        justify-content: flex-start;
        margin-bottom: 40px;
    }

    .meet-leaders-inner .meet-leader-gallery {
        margin-top:  0;
    }

    .meet-leader-item {
        width: 234px;
        height: 214px;
        position: relative;
        margin-right: 20px;
        overflow: hidden;
    }
    /*
    .meet-leader-item:before {
        content: '';
        position: absolute;
        display: block;
        top: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0.7;
        background-image: linear-gradient(
            0deg,
            rgba( 25, 48, 76, 1 ),
            rgba( 255, 0, 0, 0 )
        );
    }

    .meet-leader-item:after {
        content: '';
        position: absolute;
        display: block;
        top: 50%;
        right: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0.3;
        transform: translateY( -50% ) scale( 0 );
        background-color: white;
        transition: transform 0.6s ease-in-out;
    }
    */

    /*.meet-leader-item:hover:after {
        cursor: pointer;
        transform: translateY( -50% ) scale( 3 );
    }*/

    .meet-leader-item-image img {
        -o-object-fit: cover;
           object-fit: cover;
    }

    .meet-leader-bottom {
        position: absolute;
        width: 100%;
        bottom: 0;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin: 0;
        padding: 0;
        flex-wrap: nowrap;
        align-items: flex-end;
    }

    .meet-leader-bottom h4 {
        color: white;
        font-weight: bold;
        margin-top: 1em;
        margin-bottom: 0.5em;
        margin-left: 10px;
        font-size: 16px;
    }

    .meet-leader-read-more {
        position: relative;
        margin-top: 20px;
    }

    .meet-leader-item:hover .meet-leader-bottom h4 {
        color: white;
        font-weight: bold;
        margin-top: 1em;
        margin-bottom: 0.5em;
        margin-left: 10px;
    }

    .meet-leader-btn {
        width: 38px;
        height: 38px;
        background-color: #f7cb40;
        color: white;
        text-align: center;
        transition: background-color 0.3s;
    }

    .meet-leader-btn i {
        line-height: 38px;
        vertical-align: middle;
    }

    .meet-leader-btn:hover {
        background-color: #e2b115;
    }
}

@media ( min-width: 921px ) and ( max-width: 1380px ) {
    .meet-leaders {
        padding: 80px 0 110px;
        position: relative;
        background-repeat: no-repeat;
        background-origin: padding-box;
        background-position: bottom;
    }

    .container {
        background: none;
    }

    .meet-leaders-heading {
        width: 40%;
        float: left;
    }

    .meet-leaders-heading h2 {
        font-size: 46px;
    }

    .meet-leaders-picture {
        width: 60%;
        float: left;
        padding-top: 80px;
        height: 620px;
    }

    .meet-leaders-quote {
        width: 550px;
        height: auto;
        min-height: 400px;
        background-color: white;
        position: absolute;
        top: 265px;
        padding: 30px 50px;
        box-shadow: 0 1px 10px rgba( 200, 200, 200, 0.2 );
        border-radius: 3px;
    }

    .meet-leaders-quote p {
        line-height: 1.3em;
        font-size: 18px;
    }

    .desktop-view-symbol {
        display: block;
        font-size: 81px;
        color: rgba( 25, 41, 65, 0.1 );
    }

    .quote-leaders-name {
        font-size: 20px;
        font-weight: bold;
        display: block;
        margin-bottom: 10px;
        margin-top: 20px;
    }

    .quote-leaders-position {
        display: block;
        position: relative;
    }

    .desktop-view-symbol {
        display: block;
    }

    .tablet-view-symbol {
        display: none;
    }

    .mobile-view-symbol {
        display: none;
    }

    .meet-leader-gallery {
        display: flex;
        margin-top: 60px;
        position: relative;
        justify-content: flex-start;
        margin-bottom: 40px;
    }

    .meet-leader-item {
        width: 234px;
        height: 214px;
        position: relative;
        margin-right: 20px;
        overflow: hidden;
    }

    .meet-leader-item:before {
        content: '';
        position: absolute;
        display: block;
        top: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0.7;
        background-image: linear-gradient(
            0deg,
            rgba( 25, 48, 76, 1 ),
            rgba( 255, 0, 0, 0 )
        );
        display: none;
    }

    .meet-leader-item:after {
        content: '';
        position: absolute;
        display: block;
        top: 50%;
        right: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0.3;
        -webkit-transform: translateY( -50% ) scale( 0 );
                transform: translateY( -50% ) scale( 0 );
        background-color: white;
        transition: -webkit-transform 0.6s ease-in-out;
        transition: transform 0.6s ease-in-out;
        transition: transform 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
        display: none;
    }

    .meet-leader-item:hover:after {
        cursor: pointer;
        -webkit-transform: translateY( -50% ) scale( 3 );
                transform: translateY( -50% ) scale( 3 );
    }

    .meet-leader-item-image img {
        -o-object-fit: cover;
           object-fit: cover;
    }

    .meet-leader-bottom {
        position: absolute;
        width: 100%;
        bottom: 0;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin: 0;
        padding: 0;
        flex-wrap: nowrap;
        align-items: flex-end;
    }

    .meet-leader-bottom h4 {
        color: white;
        font-weight: bold;
        margin-top: 1em;
        margin-bottom: 0.5em;
        margin-left: 10px;
    }

    .meet-leader-read-more {
        position: relative;
        margin-top: 20px;
    }

    .meet-leader-read-more a {
        font-size: 15px;
        padding: 10px 20px;
    }

    .meet-leader-btn {
        width: 38px;
        height: 38px;
        background-color: #f8cc41;
        color: white;
        text-align: center;
        transition: background-color 0.3s;
    }

    .meet-leader-btn i {
        line-height: 38px;
        vertical-align: middle;
    }

    .meet-leader-btn:hover {
        background-color: #e2b115;
    }

    .gallery-item-mobile:nth-last-child( 2 ),
    .gallery-item-mobile:last-child {
        border-bottom: 1px solid #ccc;
    }

    .meet-leaders-picture img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        -o-object-fit: cover;
        font-family: 'object-fit: cover;';
    }
}

@media ( max-width: 920px ) {
    .meet-leaders {
        padding: 60px 30px 60px;
        position: relative;
        background-image: none;
        background-color: #f7f7f7;
    }

    .meet-leaders-heading {
        width: 100%;
        float: none;
    }

    .meet-leaders-heading .title-blue {
        font-weight: 800;
        font-size: 40px;
    }

    .meet-leaders-picture-details {
        display: block;
        position: relative;
        margin-bottom: 20px;
        margin-top: 35px;
        padding: 0;
    }

    .meet-leaders-picture {
        width: 70%;
        float: right;
        padding-top: 20px;
        height: auto;
        display: block;
        position: relative;
    }

    .tablet-view-symbol {
        position: absolute;
        bottom: 0;
        font-size: 100px;
        z-index: 70;
        color: #eee;
        left: 28px;
        top: -53px;
    }

    .desktop-view-symbol {
        display: none;
    }

    .tablet-view-symbol {
        display: block;
    }

    .mobile-view-symbol {
        display: none;
    }

    .meet-leaders-quote {
        width: 50%;
        height: auto;
        background-color: white;
        position: absolute;
        top: 50%;
        padding: 20px 40px;
        box-shadow: 0 1px 10px rgb( 200 200 200 / 20% );
        border-radius: 3px;
        display: block;
        -webkit-transform: translateY( -50% );
        transform: translateY( -50% );
    }

    .quote-leaders-details,
    .quote-leaders-name,
    .quote-leaders-position {
        display: block;
        width: 100%;
    }

    .quote-leaders-details p {
        font-size: 16px;
        line-height: 1.3em;
    }

    .quote-leaders-name {
        font-weight: 800;
        margin-bottom: 10px;
    }

    .meet-leader-read-more {
        position: relative;
        display: block;
        margin-top: 20px;
    }

    .meet-leader-gallery {
        display: none;
    }

    .meet-leader-gallery-mobile {
        display: block;
        position: relative;
    }

    .meet-leader-gallery-mobile-list {
        position: relative;
        margin-top: 20px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
    }

    .gallery-item-mobile {
        display: flex;
        width: 47%;
        margin-bottom: 0;
        justify-content: space-between;
        padding: 10px;
        border-top: 1px solid #ccc;
        transition: box-shadow 0.3s;
        color: #85878a;
    }

    .gallery-item-mobile:last-child {
        border-bottom: 1px solid #ccc;
    }

    .gallery-item-mobile-title {
        font-size: 22px;
        font-weight: bold;
        line-height: 38px;
        display: block;
        position: relative;
        color: #85878a;
    }

    .gallery-item-mobile-btn {
        width: 38px;
        height: 38px;
        background-color: #f8cc41;
        color: white;
        text-align: center;
        transition: background-color 0.3s;
    }

    .gallery-item-mobile-btn i {
        line-height: 38px;
        vertical-align: middle;
    }

    .gallery-item-mobile:hover {
        box-shadow: 0 1px 10px rgba( 10, 10, 10, 0.5 );
    }

    .meet-leaders-picture img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        -o-object-fit: cover;
        font-family: 'object-fit: cover;';
    }
}

@media ( max-width: 767px ) {
    .meet-leaders-picture {
        width: 100%;
        float: none;
    }

    .meet-leaders-quote {
        position: relative;
        top: auto;
        -webkit-transform: none;
        transform: none;
        width: 100%;
    }
}


@media ( max-width: 600px ) {
    .meet-leaders {
        padding: 60px 30px 60px;
        position: relative;
        background-image: none;
        background-color: #f7f7f7;
    }

    .meet-leaders-heading {
        width: 100%;
        float: none;
    }

    .meet-leaders-heading .title-blue {
        font-weight: 800;
        font-size: 30px;
    }

    .meet-leaders-picture {
        width: 100%;
        float: none;
        padding-top: 20px;
        height: auto;
        display: block;
        position: relative;
    }

    .meet-leaders-picture img {
        width: 100%;
        height: auto;
    }

    .mobile-view-symbol {
        position: absolute;
        bottom: -42px;
        font-size: 120px;
        z-index: 100;
        color: #eee;
    }

    .desktop-view-symbol {
        display: none;
    }

    .tablet-view-symbol {
        display: none;
    }

    .mobile-view-symbol {
        display: block;
    }

    .meet-leaders-quote {
        width: 100%;
        height: auto;
        background-color: white;
        position: relative;
        padding: 30px 20px;
        box-shadow: 0 1px 10px rgba( 200, 200, 200, 0.2 );
        border-radius: 3px;
        display: block;
        top: 0;
        -webkit-transform: none;
                transform: none;
    }

    .quote-leaders-details,
    .quote-leaders-name,
    .quote-leaders-position {
        display: block;
        width: 100%;
    }

    .quote-leaders-details p {
        font-size: 16px;
        line-height: 1.7em;
    }

    .quote-leaders-name {
        font-size: 18px;
        font-weight: 800;
        margin-bottom: 5px;
        margin-top: 15px;
    }

    .quote-leaders-position {
        line-height: 1.5em;
    }

    .meet-leader-read-more {
        position: relative;
        width: 100%;
        display: block;
        margin-top: 20px;
    }

    .meet-leader-gallery {
        display: none;
    }

    .meet-leader-gallery-mobile {
        margin-top: 20px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .gallery-item-mobile {
        display: flex;
        width: 100%;
        margin-bottom: 0;
        justify-content: space-between;
        padding: 10px 20px;
        border-top: 1px solid #ccc;
        transition: box-shadow 0.3s;
    }

    .gallery-item-mobile:last-child {
        border-bottom: 1px solid #ccc;
    }

    .gallery-item-mobile-title {
        font-size: 20px;
        font-weight: bold;
        line-height: 38px;
        display: block;
        position: relative;
        color: #85878a;
    }

    .gallery-item-mobile-btn {
        width: 38px;
        height: 38px;
        background-color: #f8cc41;
        color: white;
        text-align: center;
        transition: background-color 0.3s;
    }

    .gallery-item-mobile-btn i {
        line-height: 38px;
        vertical-align: middle;
    }

    .gallery-item-mobile:hover {
        box-shadow: 0 1px 10px rgba( 100, 100, 100, 0.5 );
    }
}

@media ( min-width: 768px ) {
    .gallery-item-mobile:nth-child( 3 ) {
        border-bottom: 1px solid #ccc;
    }
}

@media ( min-width: 921px ) and ( max-width: 1000px ) {
    .meet-leaders-picture img {
        -o-object-position: left;
           object-position: left;
    }
}

/* slider */

.meet-leader-item,
.meet-leader-item-image {
    height: auto;
    aspect-ratio: 12 / 13;
}

.meet-leader-gallery {
    width: calc(100% - 90px);
    margin-right: auto;
    margin-left: auto;
}

.meet-leader-gallery .slick-slide > div {
    margin-right: 15px;
    margin-left: 15px;
}

.meet-leader-item-image img {
    -o-object-fit: cover;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.meet-leaders .btn-previous,
.meet-leaders .btn-next,
.meet-leaders-inner .btn-previous,
.meet-leaders-inner .btn-next {
    display: block;
    width: 30px;
    height: 30px;
    background-color: #f0f0f0;
    text-align: center;
    line-height: 30px;
    vertical-align: middle;
    color: #636366;
    transition: background-color 0.3s;
    border: none;
    position: absolute;
    margin-top: -15px;
    top: 50%;
    z-index: 99;
}

.meet-leaders .btn-previous,
.meet-leaders-inner .btn-previous { left: -45px; }

.meet-leaders .btn-next,
.meet-leaders-inner .btn-next  { right: -45px; }

.meet-leader-gallery.desktop-view { display: none !important; }

@media (min-width: 921px) {
    .meet-leader-gallery.desktop-view { display: block !important; }

    /* New styling to match Leadership Team hover effects */
    .meet-leader-item, 
    .meet-leader-item-image {
        display: block;
        background-color: #0081c6;
    }

    a.meet-leader-item:hover .meet-leader-item-image > img {
        opacity: .3;
    }

    .meet-leader-bottom {
        margin: 0;
        flex-wrap: nowrap;
        align-items: flex-start;
        padding: 13px 10px 8px;
        margin-top: -70px;
        display: flex;
        flex-direction: column;
        position: absolute;
        bottom: 0;
        top: initial;
        width: 100%;
        left: 0;
        height: auto;
        border-radius: 0;
        background: transparent;
        color: #fff;
        opacity: 0;
        transition: all 0.3s ease-in-out;
        box-shadow: none !important;
    }

    a.meet-leader-item:hover .meet-leader-bottom {
        opacity: 1;
    }

    .meet-leader-btn {
        display: none;
    }
}

@media (min-width: 1025px) {
    .meet-leaders .btn-previous,
    .meet-leaders .btn-next,
    .meet-leaders-inner .btn-previous,
    .meet-leaders-inner .btn-next {
        width: 60px;
        height: 60px;
        line-height: 60px;
        margin-top: -30px;
        top: 50%;
    }

    .meet-leaders .btn-previous,
    .meet-leaders-inner .btn-previous { left: -75px; }

    .meet-leaders .btn-next,
    .meet-leaders-inner .btn-next { right: -75px; }

    .meet-leader-gallery {
        width: calc(100% - 150px);
        margin-right: auto;
        margin-left: auto;
    }
}

section.meet-leaders-inner {
    margin-top: 40px;
    margin-bottom: 40px;
}

@media (min-width: 1025px) {
    section.meet-leaders-inner {
        margin-top: 60px;
        margin-bottom: 40px;
    }
}
