.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    margin-top: 40px;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.member-image {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.member-image img {
    width: 434px;
    height: 427px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
}

.member-info {
    max-width: 600px;
    margin: 0 auto;
}

.member-info h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.member-info .position {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .member-image img {
        width: 300px;
        height: 295px;
    }
}

@media (max-width: 576px) {
    .member-image img {
        width: 250px;
        height: 246px;
    }
}
