/* =============================================================================
   League tables
   ========================================================================== */

.league + .league {
  margin-top: 3em;
}

.league__title {
  margin: 0;
}

.page table.ce-table.-league {
  width: 100%;
  font-family: var(--f-family-2);
  font-size: 110%;
  text-transform: uppercase;
}

.page table.ce-table.-league th,
.page table.ce-table.-league td {
  min-width: 0;
  padding: 1px;
  font-size: 100%;
  line-height: 1.5;
  text-align: left;
  color: rgb(var(--c-neutral-darker));
  background: rgb(var(--c-neutral-lightest));
  border: 1px solid rgb(var(--c-neutral-light));
}

.page table.ce-table.-league th {
  font-weight: var(--f-weight-b);
  text-align: center;
  background: transparent;
  border: none;
}

.page table.ce-table.-league th:not(:nth-last-child(-n+2)),
.page table.ce-table.-league td.team,
.page table.ce-table.-league td.total,
.page table.ce-table.-league td.rank {
  padding: 0.2em 0.3em;
  white-space: nowrap;
  color: rgb(var(--c-neutral-lightest));
  background: rgb(var(--c-primary));
  border: 1px solid rgb(var(--c-neutral-light));
}

.page table.ce-table.-league th:not(:nth-last-child(-n+2)) {
  text-align: center;
}

.page table.ce-table.-league th:first-child {
  text-align: left;
}

.page table.ce-table.-league td.-home {
  background: rgb(var(--c-neutral-light));
}

.league .ce-table-scroll {
  margin-bottom: 0;
  padding-bottom: 0;
}

.page table.ce-table.-league td.total,
.page table.ce-table.-league td.rank {
  font-weight: var(--f-weight-n);
}
