.team {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.team-member {
    text-align: center;
    margin: 1rem;
    padding: 1.5rem;
    background: var(--bg-color-accent-light);
    border-radius: 10px;
    flex: 1;
    min-width: 200px;
}

.team-member h3 {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.team-member img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    background: var(--border-color);
}

@media (max-width: 768px) {
    .team {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .team-member {
        width: 90%;
        max-width: 350px;
    }
}