/* F4g (04 §3.1): /training. Topic chips with the sliding blue indicator and a 3-column grid around F4e's shared
   post card (partials/post-card, site.css «Post card»); pager from partials/pager (site.css .pager). */
/* the indicator paints the current topic (motion.css hands it over) and carries over between topic pages with the
   view transition */
.training-page .chip-ind { background: var(--blue); view-transition-name: training-chip; }
::view-transition-group(training-chip) { animation-duration: 420ms; animation-timing-function: var(--ease-out); }

.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s7) var(--s6); margin-top: var(--s7); }
.training-page .empty-note { margin-top: var(--s7); }

@media (max-width: 1080px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s5); } }
@media (max-width: 600px) {
  .pgrid { grid-template-columns: 1fr; margin-top: var(--s6); }
  /* the topic chips scroll sideways instead of wrapping into a block */
  .training-page .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .training-page .chip { flex: none; white-space: nowrap; }
}
