/*
 * NFL_3.5.10 FIX5
 * Wiederherstellung der Teamhistorie im rechten Bereich des Team-Headers.
 * Grundlage: verifizierter Stand NFL_3.5.9_DUPLICATE_HISTORY_NOTE_FIX.
 */

.team-hero {
    display:grid;
    grid-template-columns:110px minmax(0,1fr) minmax(300px,520px);
    align-items:center;
}

.team-history {
    align-self:stretch;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:1rem;
    padding:1rem 1.15rem;
    background:rgba(6,15,27,.52);
    border:1px solid rgba(255,255,255,.28);
    border-radius:18px;
    line-height:1.35;
}

.team-history p,
.team-history-group {
    margin:0;
}

.team-history-group strong,
.team-history-group span {
    display:block;
}

.team-history-group span {
    margin-top:.15rem;
    color:#f8fafc;
}

.team-history-note {
    padding-top:.75rem;
    border-top:1px solid rgba(255,255,255,.12);
    color:var(--muted);
    font-size:.9rem;
}

@media(max-width:980px) {
    .team-hero {
        grid-template-columns:90px minmax(0,1fr);
    }

    .team-hero > img {
        width:90px;
        height:90px;
    }

    .team-history {
        grid-column:1 / -1;
    }
}

@media(max-width:640px) {
    .team-hero {
        grid-template-columns:1fr;
        align-items:start;
    }

    .team-hero > img {
        width:88px;
        height:88px;
    }
}
