.home-leagues-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.65rem, 1.3vw, 1.15rem);
}

.home-league {
  min-width: 0;
  background: #fff;
  border: 1px solid #cad3ca;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.home-league > header {
  padding: .75rem .8rem;
  background: #103b2a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .2rem .55rem;
}

.home-league h3 { margin: 0; font-size: clamp(.99rem, 1.38vw, 1.15rem); line-height: 1.55; }
.home-league > header > bdi { color: #e6eacf; font: 650 var(--type-caption)/1.6 var(--tiran-figures); }
.home-league table { border-collapse: collapse; width: 100%; margin: 0; font-variant-numeric: tabular-nums; }
.home-league th, .home-league td { padding: .38rem .14rem; text-align: center; line-height: 1.5; }
.home-league thead th { color: #4e6256; font-size: var(--type-caption); font-weight: 700; background: #f3f5ef; }
.home-league thead th:nth-child(2), .home-league tbody th { text-align: start; }
.home-league tbody td { font: 500 var(--type-data)/1.65 var(--tiran-figures); }
.home-league tbody :is(th,td) { border-bottom: 1px solid #e0e6df; }
.home-league tbody th { font-size: var(--type-data); font-weight: 625; }
.home-league tbody td:first-child { width: 1.7rem; color: #53645b; }
.home-league tbody td:nth-child(3) { color: #53645b; }
.home-league tbody td:last-child { width: 2.4rem; font-weight: 700; color: #082a19; }
.home-league .side-team { display: inline-flex; align-items: center; gap: .34rem; }
.home-league .team-mark { width: 22px; height: 22px; }
.home-league > footer {
  margin-top: auto;
  background: #f0f5ee;
  color: #254937;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 .4rem;
  padding: .12rem .65rem;
}
.home-league time { font-size: var(--type-caption); color: #3e5145; }
.home-league footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: .2rem;
  font-weight: 650;
  font-size: var(--type-label);
  color: #164d35;
}
.home-league footer a:hover { text-decoration: underline; text-underline-offset: .18em; }
.home-league footer a:focus-visible { outline: 2px solid #bc192b; outline-offset: 2px; }
@media (max-width: 1050px) {
  .home-leagues-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .home-leagues-grid { grid-template-columns: minmax(0, 1fr); }
  .home-league > header { padding: .5rem .75rem; }
  .home-league th, .home-league td { padding-block: .3rem; }
}
