.team-all-in-one {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.team-card-compact {
    flex: 1 1 0;
    min-width: 140px;
    background-color: var(--md-default-bg-color, #f5f5f5);
    border: 1px solid var(--md-default-fg-color--lightest, #ddd);
    border-radius: 8px;
    padding: 20px 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    word-wrap: break-word;

    /* Como o card agora é um link */
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer;
}

.team-card-compact:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--md-primary-fg-color);
}

.team-card-compact img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    border: 2px solid var(--md-default-bg-color, #fff);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.team-card-compact h3 {
    font-size: 0.85em;
    margin: 0 0 6px 0 !important;
    line-height: 1.3;
    color: var(--md-default-fg-color, #333);
    font-weight: 700;
    text-align: center;
}

.team-card-compact p {
    margin: 0;
    font-size: 0.75em;
    color: var(--md-default-fg-color--light, #666);
    font-weight: 600;
    text-align: center;
}

/* Feedback visual ao passar o mouse */
.team-card-compact::after {
    content: "Ver no GitHub";
    margin-top: 10px;
    font-size: 0.65em;
    opacity: 0;
    transition: opacity 0.2s ease;
    color: var(--md-primary-fg-color);
}

.team-card-compact:hover::after {
    opacity: 1;
}