.team__grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 32px;
}

@media (min-width: 768px) {
    .team__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .team__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.team-card {
    display: flex;
    flex-direction: column;
}

.team-card__image-wrapper {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 24px;
    background-color: #e5e7eb;
}

.team-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: scale 0.5s ease !important;
}

.team-card:hover .team-card__image {
    scale: 1.05;
}

.team-card__content {
    text-align: center;
}

.team-card__name {
    font-size:  20px;
    line-height: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #000;
}

.team-card__role {
    color: #6b7280;
    font-size: 14px;
    line-height:  20px;
    font-weight: 500;
    text-transform: uppercase;
}

.team-index {
    margin-top: 30px;
    order: 17;
}