/* Keep league totals aligned, with a compact labelled layout on narrow screens. */
.history-teams .history-honours__table-head,
.history-teams .history-honours__row { grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, .55fr)) minmax(3.5rem, .8fr) 1rem; align-items: center; }
.history-teams .history-honours__row > span:not(:first-child),
.history-teams .history-honours__table-head > span:not(:first-child) { text-align: center; }
.history-teams .history-honours__chevron { grid-column: 7; grid-row: 1; }
@media (max-width: 34rem) {
  .history-teams .history-honours__table-head { display: none; }
  .history-teams .history-honours__row { grid-template-columns: repeat(5, minmax(0, 1fr)) 1rem; gap: .4rem; }
  .history-teams .history-honours__row > span:first-child { grid-column: 1 / span 5; font-weight: 700; }
  .history-teams .history-honours__row > span:not(:first-child) { grid-column: auto; grid-row: 2; }
  .history-teams .history-honours__row > span:not(:first-child)::before { display: block; content: attr(data-label); margin: 0 0 .15rem; color: var(--color-muted); font-size: .65rem; font-weight: 700; }
  .history-teams .history-honours__chevron { grid-column: 6; grid-row: 1 / span 2; align-self: center; }
}
