/* JD Sports 0.7.0 — football editorial landing and team center */

.jds-football-category,
.jds-team-center {
    --jds-navy: #10213d;
    --jds-ink: #17233a;
    --jds-muted: #6e7b90;
    --jds-line: rgba(16, 33, 61, 0.1);
    --jds-surface: #fff;
    color: var(--jds-ink);
}

.jds-football-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 28px;
    padding: 30px 34px;
    border: 1px solid var(--jds-line);
    border-radius: 24px;
    background: linear-gradient(135deg, #fff 0%, #f5f8f8 100%);
    box-shadow: 0 16px 40px rgba(16, 33, 61, 0.07);
}

.jds-football-category__eyebrow,
.jds-panel > header span,
.jds-section-heading span,
.jds-standings > header span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b27c16;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.jds-football-category h1 {
    margin: 7px 0 8px;
    color: var(--jds-navy);
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1;
}

.jds-football-category p {
    margin: 0;
    color: var(--jds-muted);
    font-size: 16px;
}

.jds-football-category__team {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 15px;
    min-width: min(100%, 390px);
    padding: 15px 17px;
    border: 1px solid rgba(178, 124, 22, 0.22);
    border-radius: 18px;
    background: #fffaf0;
    color: var(--jds-ink);
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.jds-football-category__team:hover,
.jds-football-category__team:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(178, 124, 22, 0.48);
    box-shadow: 0 12px 28px rgba(16, 33, 61, 0.09);
}

.jds-football-category__crest,
.jds-team-hero__crest {
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #fff;
}

.jds-football-category__crest {
    width: 56px;
    height: 56px;
    border: 1px solid var(--jds-line);
    border-radius: 15px;
    color: #b27c16;
    font-size: 24px;
}

.jds-football-category__crest img,
.jds-team-hero__crest img,
.jds-match-card__fixture img,
.jds-standings__team-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.jds-football-category__team small,
.jds-football-category__team strong,
.jds-football-category__team em {
    display: block;
}

.jds-football-category__team small {
    color: #9a6c16;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.jds-football-category__team strong {
    margin: 2px 0;
    font-size: 16px;
}

.jds-football-category__team em {
    color: var(--jds-muted);
    font-size: 12px;
    font-style: normal;
}

.jds-team-center {
    margin-bottom: 40px;
}

.jds-team-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 13px;
    padding: 0 4px;
    color: var(--jds-muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.jds-team-breadcrumb a {
    color: var(--jds-navy);
    text-decoration: none;
    transition: color 160ms ease;
}

.jds-team-breadcrumb a:hover,
.jds-team-breadcrumb a:focus-visible {
    color: var(--jds-team-primary);
}

.jds-team-breadcrumb i {
    color: #a6afbd;
    font-size: 9px;
}

.jds-team-breadcrumb span {
    color: #78859a;
}

.jds-team-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 34px;
    overflow: hidden;
    padding: 38px;
    border-radius: 26px 26px 0 0;
    background:
        radial-gradient(circle at 86% 18%, color-mix(in srgb, var(--jds-team-secondary) 34%, transparent), transparent 34%),
        linear-gradient(125deg, color-mix(in srgb, var(--jds-team-primary) 92%, #071522), #10233f);
    color: #fff;
}

.jds-team-hero::after {
    position: absolute;
    right: -45px;
    bottom: -90px;
    width: 270px;
    height: 270px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    content: "";
}

.jds-team-hero__identity {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 24px;
}

.jds-team-hero__crest {
    flex: 0 0 auto;
    width: 112px;
    height: 112px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 28px;
    box-shadow: 0 18px 34px rgba(3, 13, 25, 0.24);
    color: var(--jds-team-primary);
    font-size: 42px;
}

.jds-team-hero h1 {
    margin: 6px 0 5px;
    color: #fff;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
}

.jds-team-hero__identity p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
}

.jds-team-hero__facts {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(95px, 1fr));
    gap: 1px;
    min-width: 390px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 17px;
    background: rgba(4, 16, 30, 0.28);
    backdrop-filter: blur(12px);
}

.jds-team-hero__facts div {
    padding: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.11);
}

.jds-team-hero__facts div:last-child {
    border-right: 0;
}

.jds-team-hero__facts dt {
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.54);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.jds-team-hero__facts dd {
    margin: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.jds-team-nav {
    display: flex;
    overflow-x: auto;
    padding: 0 24px;
    border: 1px solid var(--jds-line);
    border-top: 0;
    border-radius: 0 0 20px 20px;
    background: #fff;
    scrollbar-width: none;
}

.jds-team-nav::-webkit-scrollbar {
    display: none;
}

.jds-team-nav a {
    position: relative;
    flex: 0 0 auto;
    padding: 18px 19px 17px;
    color: #68758a;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

.jds-team-nav a::after {
    position: absolute;
    right: 19px;
    bottom: 0;
    left: 19px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: transparent;
    content: "";
}

.jds-team-nav a:hover,
.jds-team-nav a:focus-visible,
.jds-team-nav a.is-active {
    color: var(--jds-team-primary);
}

.jds-team-nav a.is-active::after {
    background: var(--jds-team-secondary);
}

.jds-team-body {
    padding-top: 28px;
}

.jds-team-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.8fr);
    gap: 24px;
}

.jds-team-overview__main,
.jds-team-overview__aside {
    display: grid;
    align-content: start;
    gap: 24px;
}

.jds-panel,
.jds-standings,
.jds-match-list,
.jds-roster-grid,
.jds-section-heading,
.jds-stat-grid,
.jds-empty-state {
    border: 1px solid var(--jds-line);
    border-radius: 20px;
    background: var(--jds-surface);
    box-shadow: 0 14px 34px rgba(16, 33, 61, 0.055);
}

.jds-panel {
    padding: 24px;
}

.jds-panel > header,
.jds-standings > header,
.jds-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.jds-panel > header {
    margin-bottom: 19px;
}

.jds-panel h2,
.jds-standings h2,
.jds-section-heading h2 {
    margin: 3px 0 0;
    color: var(--jds-navy);
    font-size: 23px;
}

.jds-match-card {
    overflow: hidden;
    border: 1px solid var(--jds-line);
    border-radius: 17px;
    background: #fbfcfd;
}

.jds-match-card--featured {
    border-color: color-mix(in srgb, var(--jds-team-secondary) 35%, transparent);
    background: linear-gradient(135deg, #fff 0%, #fffaf0 100%);
}

.jds-match-card > header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--jds-line);
}

.jds-match-card > header span {
    color: #a46f0e;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.jds-match-card[data-status="live"] > header span,
.jds-match-card[data-status="halftime"] > header span {
    color: #c62222;
}

.jds-match-card > header strong {
    color: var(--jds-navy);
    font-size: 13px;
}

.jds-match-card > header small {
    color: var(--jds-muted);
    font-size: 11px;
}

.jds-match-card__fixture {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    padding: 25px 20px;
}

.jds-match-card__fixture > div {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.jds-match-card__fixture > div:last-child {
    flex-direction: row-reverse;
    text-align: right;
}

.jds-match-card__fixture > div span {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 52px;
    height: 52px;
    padding: 5px;
    border: 1px solid var(--jds-line);
    border-radius: 14px;
    background: #fff;
    color: var(--jds-team-primary);
    font-size: 23px;
}

.jds-match-card__fixture strong {
    overflow: hidden;
    color: var(--jds-navy);
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jds-match-card__fixture b {
    min-width: 68px;
    color: var(--jds-navy);
    font-size: 22px;
    text-align: center;
}

.jds-match-card > footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 12px 16px;
    border-top: 1px solid var(--jds-line);
    color: var(--jds-muted);
    font-size: 11px;
}

.jds-match-card > footer span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.jds-match-list {
    display: grid;
    gap: 14px;
    padding: 20px;
}

.jds-section-heading {
    margin-bottom: 18px;
    padding: 21px 24px;
}

.jds-standings > header {
    padding: 21px 21px 15px;
}

.jds-standings > header small {
    color: var(--jds-muted);
}

.jds-standings__scroll {
    overflow-x: auto;
}

.jds-standings table {
    width: 100%;
    border-collapse: collapse;
}

.jds-standings th,
.jds-standings td {
    padding: 12px 11px;
    border-top: 1px solid var(--jds-line);
    color: #526078;
    font-size: 12px;
    text-align: center;
}

.jds-standings th:nth-child(2),
.jds-standings td:nth-child(2) {
    text-align: left;
}

.jds-standings tbody tr.is-team {
    background: #fff8e8;
}

.jds-standings__team-mark {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-right: 7px;
    vertical-align: middle;
}

.jds-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
}

.jds-panel--compact .jds-stat-grid {
    border: 0;
    border-radius: 14px;
    box-shadow: none;
}

.jds-stat-grid article {
    display: grid;
    place-items: center;
    min-height: 105px;
    padding: 13px;
    border-right: 1px solid var(--jds-line);
    border-bottom: 1px solid var(--jds-line);
    text-align: center;
}

.jds-stat-grid i {
    color: #b27c16;
    font-size: 16px;
}

.jds-stat-grid strong {
    color: var(--jds-navy);
    font-size: 25px;
}

.jds-stat-grid span {
    color: var(--jds-muted);
    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
}

.jds-team-news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.jds-news-card {
    overflow: hidden;
    border: 1px solid var(--jds-line);
    border-radius: 17px;
    background: #fff;
}

.jds-news-card__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #eaf0f2;
}

.jds-news-card__media img,
.jds-news-card__fallback {
    width: 100%;
    height: 100%;
}

.jds-news-card__media img {
    display: block;
    object-fit: cover;
    transition: transform 250ms ease;
}

.jds-news-card:hover .jds-news-card__media img {
    transform: scale(1.035);
}

.jds-news-card__fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--jds-team-primary), #142a48);
    color: rgba(255, 255, 255, 0.6);
    font-size: 35px;
}

.jds-news-card > div {
    padding: 16px;
}

.jds-news-card > div > span {
    color: #a46f0e;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.jds-news-card h3 {
    margin: 7px 0 8px;
    font-size: 17px;
    line-height: 1.28;
}

.jds-news-card h3 a {
    color: var(--jds-navy);
    text-decoration: none;
}

.jds-news-card p {
    margin: 0 0 12px;
    color: var(--jds-muted);
    font-size: 12px;
    line-height: 1.55;
}

.jds-news-card__read {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--jds-team-primary);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.jds-roster-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 20px;
}

.jds-player-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px;
    border: 1px solid var(--jds-line);
    border-radius: 15px;
}

.jds-player-card__photo {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    overflow: hidden;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #edf2f4;
    color: #8794a5;
    font-size: 22px;
}

.jds-player-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jds-player-card small,
.jds-player-card strong,
.jds-player-card div > span {
    display: block;
}

.jds-player-card small {
    color: #a46f0e;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.jds-player-card strong {
    margin: 3px 0;
    color: var(--jds-navy);
}

.jds-player-card div > span {
    color: var(--jds-muted);
    font-size: 11px;
}

.jds-empty-state {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
}

.jds-empty-state > i {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #fff8e8;
    color: #b27c16;
    font-size: 19px;
}

.jds-empty-state strong {
    color: var(--jds-navy);
}

.jds-empty-state p {
    margin: 3px 0 0;
    color: var(--jds-muted);
    font-size: 13px;
}

.jds-section-spacing {
    margin-top: 20px;
}

.jds-team-not-found {
    padding: 50px 24px;
    text-align: center;
}

.jds-team-not-found a {
    display: inline-flex;
    margin-top: 12px;
    color: #9a6c16;
    font-weight: 800;
}

@media (max-width: 1080px) {
    .jds-team-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .jds-team-hero__facts {
        width: 100%;
        min-width: 0;
    }

    .jds-team-overview {
        grid-template-columns: 1fr;
    }

    .jds-team-overview__aside {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .jds-football-category {
        align-items: stretch;
        flex-direction: column;
        padding: 24px;
    }

    .jds-football-category__team {
        min-width: 0;
    }

    .jds-team-hero {
        padding: 28px 22px;
        border-radius: 21px 21px 0 0;
    }

    .jds-team-hero__identity {
        align-items: flex-start;
    }

    .jds-team-hero__crest {
        width: 82px;
        height: 82px;
        border-radius: 21px;
    }

    .jds-team-hero__facts {
        grid-template-columns: 1fr;
    }

    .jds-team-hero__facts div {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    }

    .jds-team-hero__facts div:last-child {
        border-bottom: 0;
    }

    .jds-team-nav {
        padding: 0 8px;
    }

    .jds-team-nav a {
        padding-right: 14px;
        padding-left: 14px;
    }

    .jds-team-overview__aside,
    .jds-team-news-grid,
    .jds-roster-grid {
        grid-template-columns: 1fr;
    }

    .jds-match-card__fixture {
        gap: 10px;
        padding: 21px 12px;
    }

    .jds-match-card__fixture > div,
    .jds-match-card__fixture > div:last-child {
        flex-direction: column;
        text-align: center;
    }

    .jds-match-card__fixture strong {
        font-size: 12px;
        white-space: normal;
    }

    .jds-match-card > header {
        grid-template-columns: 1fr auto;
    }

    .jds-match-card > header small {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .jds-team-hero__identity {
        flex-direction: column;
    }

    .jds-team-hero__crest {
        width: 72px;
        height: 72px;
    }

    .jds-panel,
    .jds-match-list,
    .jds-roster-grid {
        padding: 16px;
    }

    .jds-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* JD Sports 0.8.0 — photographic team dashboard */

.jds-team-hero {
    display: grid;
    grid-template-columns: minmax(0, 54fr) minmax(0, 46fr);
    align-items: center;
    gap: 30px;
    min-height: 222px;
    padding: 28px 34px;
    background-color: var(--jds-team-secondary);
    background-image:
        linear-gradient(90deg, rgba(4, 15, 36, 0.88), rgba(4, 15, 36, 0.28)),
        var(--jds-team-hero-image, none);
    background-position: center;
    background-size: cover;
}

.jds-team-hero__identity {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.jds-team-hero__crest {
    width: 94px;
    height: 94px;
    border-radius: 23px;
}

.jds-team-hero__identity > div {
    min-width: 0;
}

.jds-team-hero h1 {
    max-width: none;
    margin-top: 5px;
    font-size: clamp(32px, 2.75vw, 43px);
    letter-spacing: -0.025em;
    white-space: nowrap;
}

.jds-team-hero__identity p,
.jds-team-hero__performance {
    display: none;
}

.jds-team-hero__facts {
    position: static;
    z-index: auto;
    flex: 0 1 500px;
    width: auto;
    min-width: 0;
    grid-template-columns: minmax(140px, 1fr) minmax(96px, 0.58fr) minmax(190px, 1.25fr);
    margin: 0;
    border: 0;
    border-left: 1px solid var(--jds-line);
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
}

.jds-team-hero__facts div {
    min-height: 58px;
    padding: 10px 13px;
    border-right-color: var(--jds-line);
}

.jds-team-hero__facts dt {
    color: #8994a5;
    font-size: 8px;
}

.jds-team-hero__facts dd {
    color: var(--jds-navy);
    font-size: 11px;
    line-height: 1.2;
}

.jds-team-subbar {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--jds-line);
    border-top: 0;
    border-radius: 0 0 18px 18px;
    background: #fff;
}

.jds-team-subbar .jds-team-nav {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.jds-team-subbar .jds-team-nav a {
    display: flex;
    align-items: center;
}

.jds-team-overview {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.jds-team-overview__dashboard {
    display: grid;
    grid-template-columns: minmax(0, 31fr) minmax(0, 33fr) minmax(0, 36fr);
    align-items: stretch;
    gap: 24px;
}

.jds-team-overview__dashboard > .jds-panel {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    padding: 22px;
}

.jds-team-overview__dashboard .jds-panel > header {
    align-items: flex-start;
    margin-bottom: 16px;
}

.jds-team-overview__dashboard .jds-panel h2 {
    font-size: 21px;
}

.jds-panel--featured-match .jds-match-card {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.jds-panel--featured-match .jds-match-card__competition {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
}

.jds-panel--featured-match .jds-match-card__competition strong {
    overflow: visible;
    font-size: 12px;
    line-height: 1.2;
    text-overflow: clip;
    white-space: normal;
}

.jds-panel--featured-match .jds-match-card__competition small {
    color: var(--jds-muted);
    font-size: 10px;
    white-space: nowrap;
}

.jds-panel--featured-match .jds-match-card__fixture {
    flex: 1;
    grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 122px;
    padding: 16px 10px 13px;
}

.jds-panel--featured-match .jds-match-card__fixture > div span {
    width: 50px;
    height: 50px;
}

.jds-panel--featured-match .jds-match-card__fixture > div,
.jds-panel--featured-match .jds-match-card__fixture > div:last-child {
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.jds-panel--featured-match .jds-match-card__fixture strong {
    display: block;
    min-height: 2.35em;
    color: var(--jds-navy);
    font-size: 12px;
    line-height: 1.18;
    text-align: center;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
}

.jds-panel--featured-match .jds-match-card__fixture b {
    min-width: 0;
    font-size: 20px;
}

.jds-panel--season-summary .jds-stat-grid {
    flex: 1;
    grid-template-columns: repeat(3, 1fr);
    border-radius: 14px;
    box-shadow: none;
}

.jds-panel--season-summary .jds-stat-grid article {
    min-height: 82px;
    padding: 9px 6px;
}

.jds-panel--season-summary .jds-stat-grid strong {
    font-size: 21px;
}

.jds-panel--season-summary .jds-stat-grid span {
    font-size: 8px;
    line-height: 1.2;
}

.jds-panel--recent .jds-empty-state {
    flex: 1;
    padding: 18px;
    border: 0;
    border-radius: 14px;
    background: #f8fafb;
    box-shadow: none;
}

.jds-recent-results {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--jds-line);
    border-radius: 14px;
}

.jds-recent-results article {
    display: grid;
    grid-template-columns: 27px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 47px;
    padding: 7px 11px;
    border-bottom: 1px solid var(--jds-line);
}

.jds-recent-results article:last-child {
    border-bottom: 0;
}

.jds-recent-results article > span {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border-radius: 8px;
    background: #eef2f5;
    color: var(--jds-muted);
    font-size: 10px;
    font-weight: 900;
}

.jds-recent-results article[data-result="V"] > span {
    background: #e7f6ec;
    color: #168445;
}

.jds-recent-results article[data-result="D"] > span {
    background: #fff0f0;
    color: #c83232;
}

.jds-recent-results article[data-result="E"] > span {
    background: #fff7e3;
    color: #a46f0e;
}

.jds-recent-results small,
.jds-recent-results strong {
    display: block;
}

.jds-recent-results small {
    color: var(--jds-muted);
    font-size: 9px;
}

.jds-recent-results strong,
.jds-recent-results b {
    color: var(--jds-navy);
    font-size: 12px;
}

.jds-team-overview__content {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(300px, 0.78fr);
    align-items: start;
    gap: 24px;
}

.jds-team-overview__sidebar,
.jds-team-overview__sticky {
    min-width: 0;
}

.jds-team-overview__sticky {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 24px;
}

.jds-team-news-grid {
    grid-template-columns: 1fr;
}

.jds-news-card {
    display: grid;
    grid-template-columns: minmax(210px, 34%) minmax(0, 1fr);
    min-height: 205px;
}

.jds-news-card__media {
    height: 100%;
    aspect-ratio: auto;
}

.jds-news-card > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 22px;
}

.jds-news-card__read {
    margin-top: auto;
}

.jds-team-ad {
    min-height: 250px;
}

@media (max-width: 1180px) {
    .jds-team-hero {
        display: flex;
        align-items: stretch;
        flex-direction: column;
    }

    .jds-team-hero h1 {
        white-space: normal;
    }

    .jds-team-subbar {
        flex-direction: column;
    }

    .jds-team-hero__facts {
        flex-basis: auto;
        width: 100%;
        border-top: 1px solid var(--jds-line);
        border-left: 0;
    }

    .jds-team-overview__dashboard {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jds-panel--featured-match {
        grid-column: 1 / -1;
    }
}

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

    .jds-team-overview__sticky {
        position: static;
    }
}

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

    .jds-panel--featured-match {
        grid-column: auto;
    }

    .jds-news-card {
        grid-template-columns: 1fr;
    }

    .jds-news-card__media {
        aspect-ratio: 16 / 9;
    }

    .jds-team-hero__facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .jds-team-hero__facts div {
        border-right: 1px solid var(--jds-line);
        border-bottom: 0;
    }

    .jds-team-hero__facts div:last-child {
        border-right: 0;
    }
}

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

    .jds-team-hero__facts div {
        border-right: 0;
        border-bottom: 1px solid var(--jds-line);
    }

    .jds-team-hero__facts div:last-child {
        border-bottom: 0;
    }
}
