.football-squad-groups {
    display: grid;
    gap: 1.35rem;
}

.football-squad-group {
    display: grid;
    gap: .75rem;
    min-width: 0;
}

.football-squad-group + .football-squad-group {
    border-top: 1px solid rgba(15, 23, 42, .1);
    padding-top: 1.15rem;
}

.football-squad-group__heading {
    align-items: center;
    display: flex;
    gap: .75rem;
    justify-content: space-between;
}

.football-squad-group__heading h3 {
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.25;
    margin: 0;
}

.football-squad-group__heading span {
    background: rgba(14, 165, 164, .1);
    border: 1px solid rgba(14, 165, 164, .18);
    border-radius: 999px;
    color: #087f7e;
    flex: 0 0 auto;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    padding: .3rem .55rem;
    text-transform: uppercase;
}

.football-squad-group .football-player-grid {
    margin-top: 0;
}

.football-squad-group .football-player-card small {
    line-height: 1.35;
}

html[data-theme="dark"] .football-squad-group + .football-squad-group {
    border-top-color: rgba(255, 255, 255, .09);
}

html[data-theme="dark"] .football-squad-group__heading h3 {
    color: #f8fafc;
}

html[data-theme="dark"] .football-squad-group__heading span {
    background: rgba(45, 212, 191, .12);
    border-color: rgba(45, 212, 191, .2);
    color: #5eead4;
}

@media (max-width: 520px) {
    .football-squad-group__heading {
        align-items: flex-start;
    }

    .football-squad-group__heading h3 {
        font-size: .95rem;
    }
}
