.masthead .brand.ict-banner img, .era11-club-footer .era11-footer-identity.ict-banner img {
  width: auto; height: auto; max-width: min(100%, 36rem); max-height: 6rem;
  object-fit: contain; border-radius: 0; flex: 0 1 auto; min-width: 0;
}
.era11-club-footer .era11-footer-identity.ict-banner { max-width: min(34rem, 100%); }
.ct-home .ct-latest p, .ct-home .ct-latest a { margin-block: .4rem; }
.ct-home .ct-score { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: .65rem; }
.ct-score .ict-score-team { display: flex; align-items: center; justify-content: center; gap: .45rem; min-width: 0; line-height: 1.15; }
.ict-score-team img { height: 2.35rem; width: 2.35rem; object-fit: contain; flex-shrink: 0; }
.ict-nav { position: relative; z-index: 4; }
.ict-nav .nav-inner { display: flex; flex-wrap: wrap; overflow: visible; }
.ict-nav .more-nav > div { z-index: 6; max-height: 65vh; overflow: auto; }
.ict-player-thumb { width: 36px; height: 44px; vertical-align: middle; margin-right: .6rem; object-fit: cover; object-position: center top; border-radius: 3px; }
.ict-contributor { margin: .6rem 0; }
.ct-archive > main > .ict-contributor { padding: .8rem 1rem; }
@media(max-width: 700px) {
  .ct-home .ct-latest { width: 100%; }
  .ct-home .ct-score { gap: .35rem; }
  .ct-score .ict-score-team { flex-direction: column; font-size: .9rem; text-align: center; }
  .ict-nav .nav-inner { gap: .15rem; }
  .ict-nav .nav-inner > a, .ict-nav summary { padding: .55rem .65rem; }
  .ict-player-thumb { width: 27px; height: 34px; margin-right: .3rem; }
}

@media (max-width: 640px) {
  .match-table.match-table-media td.attendance-cell:not(:empty) {
    display: block; grid-column: 1 / 3; grid-row: 3; font-size: .85rem;
  }
  .match-table.match-table-media td.attendance-cell::before { content: "Crowd "; }
  .match-table.match-table-media td.highlights-cell {
    grid-column: 3 / 5; grid-row: 3; text-align: right;
  }
  .match-table-media .highlights-cell a::after { content: " Highlights"; }
  .season-table .ict-season-europe:has(a)::before, .season-table .ict-season-crowd:has(a)::before {
    display: block; font-size: .75rem; font-weight: 700;
  }
  .season-table .ict-season-europe:has(a)::before { content: "European competition"; }
  .season-table .ict-season-crowd:has(a)::before { content: "Avg. home crowd"; }
}

.ct-home .ct-home-grid { margin-bottom: 24px; }
.ct-home-body > .ct-latest { padding: 16px 20px; margin: 0 0 24px; }
.ct-home-body > .ct-latest > p { margin: 0 0 8px; }
.ct-home-body > .ct-latest .ct-score { max-width: 42rem; }
.ct-home-body > .ct-latest > a { display: inline-block; margin-top: .75rem; color: var(--link); border: 0; padding: 0; }
.kit-gallery .kit-card { padding: 0; }
.kit-gallery .kit-artwork img { height: 100%; background: transparent; }
.kit-gallery .kit-card-copy h2 { margin: 0 0 4px; }

@media (min-width: 801px) { .ct-home .home-routes-five { grid-template-columns: repeat(5,minmax(0,1fr)); } }

@media (min-width: 800px) {
  .ct-home .home-welcome-copy { max-width: none; min-width: 0; }
  .ct-home .home-welcome h1 { max-width: none; }
  .ct-home-body > .ct-latest {
    display: grid;
    grid-template-columns: minmax(12rem, .8fr) minmax(20rem, 1.6fr) auto;
    align-items: center;
    column-gap: 1.25rem;
  }
  .ct-home-body > .ct-latest > p { grid-column: 1; margin: 0; }
  .ct-home-body > .ct-latest > .ct-score { grid-column: 2; grid-row: 1 / 3; width: 100%; }
  .ct-home-body > .ct-latest > a { grid-column: 3; grid-row: 1 / 3; margin: 0; }
}
