/* Team Section Styles */
.team-page {
    background: var(--bg-deep);
}

.team-section {
    padding: var(--section-padding);
    position: relative;
    background: var(--bg-deep);
}

.section-header-simple {
    margin-bottom: 60px;
}

.section-title-simple {
    font-family: var(--font-primary);
    font-size: 28px;
    color: var(--text-white);
    font-weight: 500;
}

/* =====================================================
 * Team Grid
 * ===================================================== */
.team-grid-simple {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

/* =====================================================
 * Team Card
 * ===================================================== */
.team-card-simple {
    display: flex;
    flex-direction: column;
    background: var(--bg-body);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s ease;
}

.team-card-simple:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 48px rgba(13, 31, 78, 0.3);
}

/* Image area — fills the top of the card */
.member-image-simple {
    width: 100%;
    aspect-ratio: 1 / 1.15;
    overflow: hidden;
    flex-shrink: 0;
    background: #d0d4dc;
}

.member-image-simple img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
    display: block;
}

.team-card-simple:hover .member-image-simple img {
    transform: scale(1.06);
}

/* Info area — white card body */
.member-info-simple {
    padding: 22px 24px 26px;
    position: relative;
    flex-grow: 1;
    background: var(--bg-body);
}

/* Blue accent line at the top edge of the info area */


.member-name-simple {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1e23;
    margin-top: 14px;
    margin-bottom: 6px;
    line-height: 1.25;
}

.member-role-simple {
    font-family: var(--font-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    color: #0D1F4E;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    opacity: 1;
}

/* =====================================================
 * Responsive
 * ===================================================== */
@media (max-width: 1200px) {
    .team-grid-simple {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .team-grid-simple {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 500px) {
    .team-grid-simple {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title-simple {
        font-size: 20px;
    }
}
