/* =========================================
   SPIELER.CSS – Über-uns / Team-Liste
   Grid, Team-Karten (Titel/Filter in site.css)
========================================= */

.filter-bar input { width: 300px; text-align: center; }

/* ================================
   GRID
=============================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 30px 26px;
    align-items: start;
}

.team-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.team-card {
    overflow: hidden;
}

/* Vorschau: Höhe = Breite * 1,62 */
.team-img {
    width: 100%;
    aspect-ratio: 1 / 1.62;
    overflow: hidden;
    background: #e0e3e8;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* ================================
   KARTEN-INHALT
=============================== */
.team-content {
    padding: 18px 18px 20px;
    text-align: center;
}

.team-name {
    color: #1f73d9;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.team-role {
    font-size: 17px;
    color: #1f2d37;
    margin-bottom: 8px;
    line-height: 1.5;
}

.team-quote {
    font-style: italic;
    color: #6a6f78;
    font-size: 15px;
    line-height: 1.7;
}

/* ================================
   RESPONSIVE
=============================== */
@media (max-width: 1100px) {
    .team-grid {
        grid-template-columns: repeat(3, minmax(220px, 1fr));
    }
}

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

@media (max-width: 520px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}
