@media (min-width: 1001px) {
  .games {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  /* Override the older three-column last-card placement in styles.css. */
  .game-card:last-child:nth-child(3n + 1) {
    grid-column: auto;
  }

  .game-card:last-child:nth-child(4n + 1) {
    grid-column: 2;
  }

  .game-card:nth-last-child(2):nth-child(4n + 1) {
    grid-column: 2;
  }

  .game-card:last-child:nth-child(4n + 2) {
    grid-column: 3;
  }
}
