
/* =========================================
   TEAM SECTION — GLOBAL SECTION REUSED
========================================= */

.team-section {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.team-section .wla-section__inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* =========================================
   TEAM GRID — DESKTOP
========================================= */

.team-section .team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    width: 100%;
    min-width: 0;
}

/* =========================================
   TEAM MEMBER CARD
========================================= */

.team-section .team-member {
    position: relative;
    min-width: 0;
    box-sizing: border-box;
    padding: 20px;
}

/* MEMBER IMAGE */

.team-section .team-member img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 0 15px;
    border-radius: 24px;
    object-fit: cover;
}

/* MEMBER NAME */

/* Layout only - name style from global .wla-card-medium-text,
   role style from global .wla-card-description-text */
.team-section .team-member h3 {
    margin: 0 0 5px;
}

/* MEMBER ROLE */

.team-section .team-member p {
    margin: 0;
}

/* =========================================
   TABLET — 4 COLUMNS
========================================= */

@media (max-width: 1024px) {

    .team-section .wla-section__inner {
        gap: 25px;
    }

    .team-section .team-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 15px;
    }

    .team-section .team-member {
        padding: 12px;
    }

    .team-section .team-member img {
        border-radius: 21px;
    }

    /* Name and role sizes now come from the global file */
}

/* =========================================
   MOBILE — 2 COLUMNS
========================================= */

@media (max-width: 767px) {

    .team-section {
        border-radius: 24px;
    }

    .team-section .wla-section__inner {
        gap: 25px;
    }

    .team-section .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .team-section .team-member {
        padding: 10px;
    }

    .team-section .team-member img {
        margin-bottom: 10px;
        border-radius: 18px;
    }

    .team-section .team-member h3 {
        margin-bottom: 5px;
    }

    /* Role size and line height now come from the global file */
}
