.team-details .team-header {
    display: grid;
    grid-template-columns: 25% auto;
    justify-items: center;
    box-shadow: 10px 10px 5px -1px rgb(0 0 0 / 40%);
    height: 150px;

    background-image: url(/images/backgrounds/team_details_header.png);
    background-position: initial;
    background-size: contain;
    background-repeat: no-repeat;
}

.team-details .team-header img {
    flex: 1;
    max-height: 100px;
    width: auto;
    max-width: 75px;
    object-fit: contain;
}


.team-details .team-header table {
    justify-self: end;
    width: 80%;
    height: 80px;
    table-layout: fixed;
    margin-left: 75px;
    max-width: 400px
}

.team-details .player-info {
    display: grid;
    grid-template-columns: min-content auto;
    grid-auto-flow: column;
    grid-template-rows: repeat(3, 1fr); /* This shouldn't be needed?  */
    column-gap: 10px;
}


.team-details #player_cards img {
    object-fit: cover;
}

.team-details .player-info .phoca-flag-wrapper {
    width: 0;
}

.team-details .player-info > span:nth-child(-n+3) {
    padding-left: 15px;
}

.team-details .player-info > span {
    white-space: nowrap;
    padding: 5px 0;
}

.team-details .player-info .shade-overlay::after {
    top: 0;
    left: 0;
}