.team-grid {
    background: #fff;
}

.team-grid__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.team-grid__card {
    background: var(--secondary-color-700);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.team-grid__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(64, 50, 38, 0.12);
}

.team-grid__image {
    aspect-ratio: 1;
    overflow: hidden;
}

.team-grid__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-grid__card:hover .team-grid__image img {
    transform: scale(1.08);
}

.team-grid__content {
    padding: 1.5rem;
    text-align: center;
}

.team-grid__name {
    color: var(--primary-color-100);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    font-family: 'AlbertSansBold', sans-serif;
}

.team-grid__role {
    color: var(--secondary-color-100);
    font-size: 14px;
    margin-bottom: 1rem;
}

.team-grid__social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-grid__social a {
    width: 36px;
    height: 36px;
    background: var(--primary-color-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.team-grid__social a:hover {
    background: var(--secondary-color-100);
    transform: translateY(-2px);
}

.team-grid__social svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}


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

    .team-grid__content {
        padding: 1.25rem;
    }
    
    .team-grid__name {
        font-size: 1rem;
    }
    
    .team-grid__role {
        font-size: 13px;
    }
}

@media (min-width: 1024px) {
    .team-grid__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}



@media (prefers-reduced-motion: reduce) {
    .team-grid__card,
    .team-grid__image img,
    .team-grid__social a {
        transition: none;
    }
    
    .team-grid__card:hover,
    .team-grid__social a:hover {
        transform: none;
    }
}

.team-grid__card:focus-within {
    outline: 2px solid var(--secondary-color-100);
    outline-offset: 4px;
}

.team-grid__social a:focus-visible {
    outline: 2px solid var(--secondary-color-100);
    outline-offset: 2px;
}

