.full-leadership-section {
    padding: 64px 0 80px;
    background: var(--bg-surface);
    min-height: 50vh;
}

/* Masonry Layout Approximation with Flex/Columns */
.masonry-grid {
    column-count: 3;
    column-gap: 24px;
}

@media (max-width: 1024px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .masonry-grid {
        column-count: 2;
        column-gap: 12px;
    }
    .masonry-item {
        margin-bottom: 12px !important;
    }
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 24px;
    position: relative;
    border-radius: var(--rad-md);
    overflow: hidden;
    background: var(--brand-light);
    cursor: pointer;
    box-shadow: var(--shadow-card);
    transition: var(--trans-swift);
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.masonry-item:hover {
    transform: translate3d(0, -4px, 0);
    box-shadow: var(--shadow-hover);
}

.masonry-image {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.masonry-item:hover .masonry-image {
    transform: scale(1.03) translate3d(0, 0, 0);
}

.masonry-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px 20px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: white;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--trans-swift);
    pointer-events: none;
}

.masonry-item:hover .masonry-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.lightbox[hidden] {
    display: none;
    opacity: 0;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--rad-md);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: white;
    margin-top: 20px;
    font-size: 1.15rem;
    text-align: center;
    font-weight: 500;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--trans-swift);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* CEO social links styling */
.ceo-social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

@media (max-width: 992px) {
    .ceo-social-links {
        justify-content: center;
    }
}

.ceo-social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
}

.ceo-social-link:hover {
    background: var(--brand-main);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 169, 224, 0.25);
}
