/* ============================================================
   contacts.css — "L'Équipe" page
   Project intro + moderator/admin contact tiles.
   ============================================================ */

.contacts-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 0.5rem 2rem;
}

.team-text {
    margin: 0.6rem 0 0.2rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--md-default-fg-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.team-tile {
    display: flex;
    align-items: center;
    gap: 0.8rem;

    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    border-left: 4px solid #3f51b5;
    background: var(--md-default-bg-color, #fff);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);

    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.team-tile:hover,
.team-tile:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.team-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eef0fa;
    color: #3f51b5;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.team-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.team-name {
    font-weight: 600;
    font-size: 0.92rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-role {
    font-size: 0.72rem;
    font-weight: 600;
    color: #3f51b5;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.team-email {
    font-size: 0.8rem;
    color: var(--primary-gray, #777);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-empty {
    grid-column: 1 / -1;
    padding: 0.8rem;
    font-size: 0.85rem;
    color: var(--primary-gray, #777);
    text-align: center;
}
