/* =============================================================
   meet-our-team.css — Inner page styles for Meet Our Team
   Extends: css/index.css (shared design system)
   ============================================================= */

.team-section {
    padding: 7rem 0;
    background-color: var(--bg-white);
}

.team-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Row wrapper for each team member */
.team-row {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 7rem;
    position: relative;
}

/* Remove bottom margin on the last row */
.team-row:last-child {
    margin-bottom: 0;
}

/* Image Column (1/3 width, proportional to About Us page design) */
.team-image-col {
    flex: 0 0 35%;
    max-width: 380px;
}

.team-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth);
}

.team-img-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(30, 35, 35, 0.15);
}

.team-member-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Bio Content Column */
.team-bio-col {
    flex: 1;
}

.team-role {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    display: block;
}

.team-name {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.team-desc {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-dark);
    opacity: 0.9;
    line-height: 1.65;
}

/* ── Responsive breakpoints ────────────────────────────────── */

@media (max-width: 992px) {
    .team-row {
        gap: 3rem;
        margin-bottom: 5rem;
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 5rem 0;
    }

    .team-row {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        margin-bottom: 5rem;
    }

    .team-image-col {
        flex: 0 0 100%;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .team-name {
        margin-bottom: 1rem;
    }
}
