
/* ==========================================================
   Leadership Section
   Unique Namespace: we-leadership-
   ========================================================== */

:root{
    --we-leadership-primary:#0b5cff;
    --we-leadership-text:#222;
    --we-leadership-muted:#666;
    --we-leadership-border:#e8e8e8;
    --we-leadership-bg:#ffffff;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

#we-leadership-section{
    width:100%;
    padding:80px 20px;
    background:#fff;
    overflow:hidden;
}

.we-leadership-container{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:120px 470px 1fr;
    gap:40px;
    align-items:center;
}

.we-leadership-sidebar{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:20px;
}

.we-leadership-arrow{
    width:46px;
    height:46px;
    border-radius:50%;
    border:1px solid var(--we-leadership-border);
    background:#fff;
    cursor:pointer;
    transition:.3s;
    display: none;
}

.we-leadership-arrow:hover{
    background:var(--we-leadership-primary);
    color:#fff;
}

.we-leadership-thumbnail-wrapper{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.we-leadership-thumb {
    width: 110px;
    height: auto;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid transparent;
    transition: .35s;
    padding: 3px;
    background: #fff;
}

.we-leadership-thumb.active{
    border-color:#989898;
    transform:scale(1.08);
}

.we-leadership-thumb img {
    width: 100%;
    height: 82px;
    object-fit: cover;
    display: block;
}

.we-leadership-thumb-name {
    display: block;
    width: 100%;
    padding: 7px 4px;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 500;
    color: #222;
    text-align: center;
    background: #fff;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.we-leadership-image-area{
    position:relative;
}

#we-leadership-main-image{
    width:100%;
    aspect-ratio:4/5.8;
    object-fit:cover;
    border-radius:0px;
    display:block;
}

.we-leadership-image-nav{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:48px;
    height:48px;
    border:none;
    border-radius:50%;
    background:#fff;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
    cursor:pointer;
}

.we-leadership-image-prev{left:-24px;}
.we-leadership-image-next{right:-24px;}

.we-leadership-content{
    animation:weLeadershipFade .5s ease;
}

.we-leadership-name{
    display:block;
    font-size:32px;
    font-weight:100;
    color:var(--dwm-text);
    margin-bottom:0px;
}

.we-leadership-designation{
    display:block;
    color:var(--dwm-text);
    font-weight:100;
    font-size:22px;
    margin-bottom:10px;
}

.we-leadership-description{
    color:#556677;
    font-size:16px;
    margin-bottom:36px;
}

.we-leadership-linkedin-btn{
    display:inline-flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    color:#0A66C2;
    background:#fff;
    padding:10px 20px;
    border-radius:5px;
    border: 1px solid #0A66C2;
    transition:.3s;
    font-weight:600;
}

.we-leadership-linkedin-btn:hover{
    transform:translateY(-2px);
        color:#fff;
    background:#0A66C2;
}

@keyframes weLeadershipFade{
    from{
        opacity:0;
        transform:translateY(20px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* Tablet */
@media (max-width:991px){

.we-leadership-container{
grid-template-columns:90px 320px 1fr;
gap:24px;
}

.we-leadership-name{
font-size:32px;
}

}

/* Mobile */

@media (max-width:768px){

#we-leadership-section{
padding:60px 16px;
}

.we-leadership-container{
display:flex;
flex-direction:column;
}

.we-leadership-sidebar{
order:2;
flex-direction:row;
justify-content:center;
width:100%;
}

.we-leadership-thumbnail-wrapper{
flex-direction:row;
overflow-x:auto;
padding-bottom:10px;
}

.we-leadership-image-area{
order:1;
width:100%;
}

.we-leadership-content{
order:3;
text-align:center;
}

.we-leadership-image-prev{
left:10px;
}

.we-leadership-image-next{
right:10px;
}

.we-leadership-name{
font-size:28px;
}

.we-leadership-designation{
font-size:18px;
}

}



  /* ==========================================================
   Leadership Team - Image Alignment
========================================================== */

.dwm__benefit-card .leadership-image {
    width: 100%;
    height: 320px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 25px;
}

.dwm__benefit-card .leadership-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    display: block;
}


/* Keep all cards aligned */
.dwm__benefit-card {
    display: flex;
    flex-direction: column;
}

.dwm__benefit-card h4 {
    margin-top: 0;
}

.dwm__benefit-card h6 {
    margin-bottom: 15px;
}

.dwm__benefit-card p {
    margin-top: 0;
}


/* Tablet */
@media (max-width: 991px) {
    .dwm__benefit-card .leadership-image {
        height: 280px;
    }
}


/* Mobile */
@media (max-width: 575px) {
    .dwm__benefit-card .leadership-image {
        height: 300px;
    }

    .dwm__benefit-card .leadership-image img {
        max-width: 100%;
    }
}
