.teams-page {
    min-height: 100vh;
}

.teams-wrapper {
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    padding: 3rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

@media (min-width: 640px) {
    .teams-wrapper {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .teams-wrapper {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.teams-header {
    text-align: center;
}

.teams-title {
    margin: 0;
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 600;
    color: #111827;
}

@media (min-width: 640px) {
    .teams-title {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

.teams-subtitle {
    margin-top: 0.5rem;
    font-size: 1rem;
    line-height: 1.5rem;
    color: #4b5563;
}

.teams-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

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

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

.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

.team-avatar {
    position: relative;
    width: 6rem;
    height: 6rem;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.2);
    display: block;
}

.team-avatar-ring {
    pointer-events: none;
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-sizing: border-box;
}

.team-name {
    margin-top: 1rem;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 600;
    color: #111827;
}

.team-group {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(140, 146, 118, 0.9);
}

.team-role {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5rem;
    color: #4b5563;
}