/* Training Publisher — mirror Kit Publisher ksg-* grid */
.training-hub,
.training-team-hub,
.training-single {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.25rem 2rem;
}

.training-timelines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0 1.25rem;
}

.training-sponsor-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.training-sponsor-table th,
.training-sponsor-table td {
  border-bottom: 1px solid #e5e5e5;
  padding: .4rem .25rem;
  text-align: left;
}
.training-sponsor-table a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.training-timeline__range {
  margin-left: .35rem;
  opacity: .85;
}

.kit-shortcode-grid.training-team-hub { margin: 0; }
.ksg-filters { background: #f8f8f5; border: 1px solid #e8e8e5; border-radius: 10px; padding: 14px 18px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 12px; }
.ksg-filter-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ksg-filter-label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #999; white-space: nowrap; min-width: 70px; font-weight: 600; }
.ksg-pills { display: flex; flex-wrap: wrap; gap: 6px; }
a.ksg-pill,
.ksg-pill { padding: 5px 13px; border-radius: 20px; border: 1.5px solid #ddd; background: #fff; font-size: 12px; cursor: pointer; transition: all .15s; color: #444; white-space: nowrap; font-family: inherit; text-decoration: none; display: inline-block; }
a.ksg-pill:hover,
.ksg-pill:hover { border-color: #aaa; color: #111; }
.ksg-count { font-size: 13px; color: #888; margin-bottom: 14px; }
.ksg-count-num { font-weight: 700; color: #111; }

.ksg-grid,
.training-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 1.5rem;
}

.ksg-decade-heading {
  grid-column: 1 / -1;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 14px 0 6px;
  border-top: 2px solid #111;
  margin: 1.25rem 0 .35rem;
  scroll-margin-top: 80px;
}
.ksg-decade-heading a { color: inherit; text-decoration: none; }
.ksg-decade-heading a:hover { text-decoration: underline; }

.training-season-heading {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 1rem 0 .75rem;
  scroll-margin-top: 80px;
}
.training-season-heading a { color: inherit; text-decoration: none; }
.training-season-heading a:hover { text-decoration: underline; }

.ksg-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform .15s;
}
.ksg-card:hover { transform: translateY(-3px); }
.ksg-card-img {
  position: relative;
  background: #f5f5f0;
  border: 1px solid #e8e8e5;
  border-radius: 8px;
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 7px;
  transition: border-color .15s;
}
.ksg-card:hover .ksg-card-img { border-color: #bbb; }
.ksg-card-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ksg-no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #ccc; }
.ksg-type-badge { position: absolute; top: 5px; left: 5px; font-size: 9px; font-weight: 700; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; }
.ksg-type-training { background: #f5f5f5; color: #666; }
.ksg-type-pre-match { background: #f0e8ff; color: #5a1abd; }
.ksg-type-jacket { background: #e8f0ff; color: #1a4bbd; }
.ksg-type-drill { background: #fff0e8; color: #c24a00; }
.ksg-card-season { font-size: 13px; font-weight: 600; line-height: 1.3; }
.ksg-card-title { font-size: 11px; font-weight: 500; line-height: 1.3; margin-top: 2px; color: #333; }
.ksg-card-colour { font-size: 11px; color: #555; margin-top: 1px; }
.ksg-card-type { font-size: 11px; color: #888; margin-top: 1px; }

.training-sibling-banner {
  margin: 1rem 0 !important;
  padding: .75rem 1rem !important;
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
  background: #fafafa;
}

.training-hub__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

@media (max-width: 500px) {
  .ksg-grid,
  .training-grid { grid-template-columns: repeat(2, 1fr); }
}
