/* ===== Team Grid ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 24px;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 576px) {
    .team-card-img {
        height: 200px;
    }

    .team-card-info {
        padding: 12px;
    }

    .team-name {
        font-size: 13px;
    }

    .team-role {
        font-size: 11px;
    }
}

.team-card-inner {
    overflow: hidden;
    border-radius: 12px;
    text-align: center;
}

.team-card-img {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.team-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-card-img img {
    transform: scale(1.05);
}

.team-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    font-size: 48px;
    color: rgba(255, 255, 255, 0.1);
}

/* Social overlay */
.team-social-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: linear-gradient(180deg, transparent, rgba(6, 3, 16, 0.9));
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.team-card:hover .team-social-overlay {
    transform: translateY(0);
}

.team-social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.25);
    color: var(--primary-color);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.team-social-link:hover {
    background: var(--primary-color);
    color: #000;
}

.team-card-info {
    padding: 20px;
}

.team-name {
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 4px;
}

.team-role {
    font-size: 13px;
    color: var(--tertiary-color);
}
