.team-profile .team-editorial {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: start;
    gap: clamp(1rem, 3vw, 2rem);
    padding: clamp(1rem, 3vw, 1.5rem);
    margin: 1.5rem 0 2rem;
    border: 1px solid #d9dde0;
    border-radius: 10px;
    background: #fff;
}

.team-editorial-logo {
    width: 180px;
    max-width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #20252a;
}

.team-editorial-logo-light {
    background: #f2f3f4;
}

.team-editorial-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.team-editorial-content h2 {
    margin: 0 0 .6rem;
}

.team-editorial-content p {
    max-width: 72ch;
    margin: 0 0 .75rem;
    line-height: 1.55;
}

.team-editorial-content .team-editorial-sources {
    position: relative;
    width: fit-content;
    font-size: .875rem;
}

.team-editorial-sources summary {
    cursor: pointer;
    padding: .3rem 0;
}

.team-editorial-sources ul {
    position: absolute;
    z-index: 2;
    inset: 100% auto auto 0;
    width: max-content;
    max-width: min(65vw, 22rem);
    margin: .25rem 0 0;
    padding: .65rem .85rem;
    border: 1px solid #c7cdd2;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 22px #20252a28;
    list-style: none;
    overflow-wrap: anywhere;
}

.team-editorial-sources li + li {
    margin-top: .45rem;
}

@media (max-width: 620px) {
    .team-profile .team-editorial {
        grid-template-columns: minmax(0, 1fr);
    }
}

.team-profile .team-editorial-text-only {
    grid-template-columns: minmax(0, 1fr);
}

.team-profile .team-seasons {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 1.25rem 0;
}

.team-profile .team-seasons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .4rem .8rem;
    border: 1px solid #c7cdd2;
    border-radius: 6px;
    background: #fff;
    color: #20252a;
    font-variant-numeric: tabular-nums;
}

.team-profile .team-seasons a[aria-current="page"] {
    background: #f4cf27;
    border-color: #b89104;
    font-weight: 700;
}

.design-page .team-profile .roster li > a {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: .875rem;
    min-height: 44px;
    padding: .5rem .7rem;
}

.team-profile .roster .team-driver-flag-slot {
    display: grid;
    place-items: center;
}

.team-profile .roster .team-driver-flag {
    display: block;
    margin: 0;
    width: 24px;
    height: 18px;
    object-fit: contain;
}

.team-profile .team-driver-name {
    min-width: 0;
    overflow-wrap: anywhere;
}

.team-profile .team-driver-arrow {
    margin-left: auto;
}
