#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2147483647;
}


#lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
}


#lightbox::after {
    content: "✕";
    position: fixed;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: #000;
    color: #fff;
    font-size: 26px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    z-index: 2147483647;
    pointer-events: auto;
}

.lb-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 30px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    z-index: 2147483647; /* MAX */
    pointer-events: auto;
}

.lb-prev { left: 14px; }
.lb-next { right: 14px; }

@media (max-width: 768px) {
    .lb-nav {
        width: 42px;
        height: 42px;
        font-size: 26px;
    }
}
    .president-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    background: #fff;
    padding: 10px;
}
@media (max-width: 576px) {
    .president-card {
        width: 200px;
        height: 260px;
    }
}
.president-name {
    margin-top: 12px;
    margin-bottom: 4px;
    color: #ffffff;
    font-weight: 600;
    font-size: 18px;
}

.president-designation {
    margin: 0;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    font-weight: 500;
}
.president-card {
    width: 260px;         
    height: 320px;         
    background: #ffffff;
    border-radius: 14px;
    padding: 10px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.president-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* magic line ✨ */
    border-radius: 10px;
}

.president-name {
    margin-top: 12px;
    color: #ffffff;
    font-weight: 600;
}
.president-wrapper {
    display: flex;
    justify-content: center;
    gap: 206px;
    flex-wrap: nowrap;   
    padding-bottom: 50px;
}

.president-item {
    text-align: center;
}

.president-card {
    width: 260px;
    height: 320px;
    background: #fff;
    border-radius: 16px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.president-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.president-name {
    margin-top: 12px;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
}

.president-role {
    color: #fff;
    font-size: 14px;
    opacity: 0.9;
}

