/* Team Grid - Staggered 2-column */

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 80px 80px;
    margin: 40px auto;
    padding: 0 20px;
    align-items: flex-start;
    justify-content: flex-start;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    border: 1px solid #999;
    box-sizing: border-box;
    max-width: calc(50% - 40px);
    position: relative;
}

/* Your original stagger — only even items get pushed down */
.team-member.even {
    margin-top: 100px;
}

.team-photo {
    margin-top: -40px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-member:hover .team-photo img {
    transform: scale(1.1);
}

.team-info {
    margin-top: 20px;
}

.team-name {
    margin: 0 0 8px 0;
    font-size: 1.4rem;
}

.team-title {
    color: #666;
    margin-bottom: 15px;
}

.read-bio-btn {
    background: #fff;
    color: #2a5ecb;
    border: 1px solid;
    padding: 16px 24px;
    cursor: pointer;
    transition: background 0.3s;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    font-size: 0.647058823529rem;
    line-height: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.read-bio-btn:hover {
    background: #005a87;
}

/* Fancybox Bio Lightbox */
.team-bio-lightbox .bio-content {
    display: flex;
    gap: 40px;
    max-width: 1000px;
    background: white;
    border-radius: 8px;
}

.bio-left {
    flex: 1;
    min-width: 300px;
}

.bio-left img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.bio-right {
    flex: 1;
    text-align: left;
}

.bio-right h2 {
    margin-top: 0;
}

.bio-title {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 20px;
}

.bio-text {
    line-height: 1.7;
    color: #333;
}

/* Responsive */
@media (max-width: 992px) {

    .team-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .team-member {
        max-width: none;
        width: 100%;
    }

    .team-member {
        margin: 40px 0 !important;
    }

    .team-bio-lightbox .bio-content {
        flex-direction: column;
        gap: 20px;
    }
}