/* ==========================================================================
   Typing Games hub (/typing-games/) — layout only; components come from
   assets/css/typing-games/base.css and the sitewide system.
   ========================================================================== */

.tg-hub__cards {
  margin-top: var(--space-7);
}

.tg-hub__widgets {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.tg-hub__widgets > * {
  /* See the .tg-card comment in base.css — same grid min-width: auto fix,
     applied to the widget tiles. */
  min-width: 0;
}

@media (min-width: 1024px) {
  .tg-hub__widgets {
    grid-template-columns: 1fr 1fr;
  }
  .tg-hub__widgets > :first-child {
    grid-column: 1 / -1;
  }
}
