/* =========================================
   APSA India - Management Committee (management.css)
   ========================================= */

/* ---- Team Section ---- */
.team-section {
    padding: 70px 0;
    background-color: #6502026a;
}

.team-section__title {
    color: var(--accent-yellow);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.team-section__subtitle {
    color: white;
    margin-bottom: 0;
}

.team-photos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.team-member-card {
    background-color: #9b0101;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #fff;
}

.team-member-card:hover {
    transform: translateY(-4px);
}

.team-member-card img {
    width: 50%;
    height: 175px;
    object-fit: cover;
    object-position: top;
    border-bottom-right-radius: 20px;
    border-top-left-radius: 20px;
    margin-top: 20px;
}

.team-member-card__info {
    padding: 14px 10px;
}

.team-member-card__name {
    color: var(--accent-yellow);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-member-card__role {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .team-photos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .team-photos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-member-card img {
        height: 105px;
    }
}