/* trainers.html: page hero, filters, directory grid, CTA */
.sub-hero { padding: calc(var(--nav-h) + clamp(40px, 8vw, 88px)) 0 clamp(32px, 5vw, 56px); background: radial-gradient(60% 80% at 100% 0%, rgba(230, 25, 37, .16), transparent 70%), var(--bg); border-bottom: 1px solid var(--line); }
.sub-hero h1 { font: 400 clamp(2.8rem, 12vw, 6rem)/.9 var(--display); text-transform: uppercase; max-width: 12ch; }
.sub-hero .stats { margin-top: 28px; flex-wrap: wrap; }
.sub-hero .stats dt { max-width: 18ch; }

.dir { padding-block: clamp(36px, 6vw, 72px) clamp(56px, 9vw, 104px); }
.dir__head { display: grid; gap: 10px; margin-bottom: 22px; }
.dir__head p { color: var(--muted); max-width: 62ch; }
@media (min-width: 900px) { .dir__head { grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: end; } }

.tr-tools { display: grid; gap: 14px; padding: 16px; margin-bottom: 18px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); }
.tr-search { position: relative; display: grid; gap: 8px; }
.tr-search > span { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #c9ccd2; }
.tr-search svg { position: absolute; left: 14px; bottom: 14px; color: var(--muted); pointer-events: none; }
.tr-search input { padding-left: 44px; }
.tr-tools .chips { margin-inline: -16px; padding-inline: 16px; }
.tr-tools .chips button { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.tr-tools .chips small { font-size: .74rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.tr-tools .chips [aria-pressed="true"] small { color: #444; }
.tr-tools .chips button:hover { border-color: var(--white); }
.tr-row { display: grid; gap: 6px; }
.tr-row > span { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 900px) {
  .tr-tools { padding: 20px 22px; }
  .tr-tools .chips { flex-wrap: wrap; margin: 0; padding: 0; }
  .tr-tools .chips button { min-height: 40px; padding: 0 14px; }
}

.tr-count { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.tr-count b { color: var(--white); font: 400 1.5rem/1 var(--display); margin-right: 4px; font-variant-numeric: tabular-nums; }

.tr-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
.tr-grid li[hidden] { display: none; }
.tr-grid li { min-width: 0; }
.tr-ph { position: relative; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.tr-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.tr-ini { position: absolute; inset: 0; display: grid; place-items: center; font: 400 2.4rem/1 var(--display); color: var(--muted); letter-spacing: .06em; }
.tr-grid h3 { margin-top: 10px; font-weight: 700; font-size: .95rem; line-height: 1.25; overflow-wrap: anywhere; }
.tr-role { margin-top: 3px; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.tr-co { margin-top: 4px; color: var(--red-ink); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
@media (min-width: 600px) { .tr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 16px; } }
@media (min-width: 900px) { .tr-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .tr-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.tr-empty { display: grid; justify-items: start; gap: 10px; padding: 28px 22px; border: 1px dashed #3a3f48; border-radius: 10px; }
.tr-empty[hidden] { display: none; }
.tr-empty p { color: var(--muted); }
.tr-empty .btn { margin-top: 6px; }

.sub-cta { padding-block: clamp(48px, 8vw, 88px); background: radial-gradient(60% 90% at 0% 50%, rgba(230, 25, 37, .18), transparent 70%), var(--bg2); border-top: 1px solid var(--line); }
.sub-cta .wrap { display: grid; gap: 14px; justify-items: start; }
.sub-cta p { color: #d3d6dc; max-width: 52ch; }
.sub-cta .btn { margin-top: 8px; }
@media (min-width: 900px) { .sub-cta .wrap { grid-template-columns: 1fr auto; align-items: end; column-gap: 48px; } .sub-cta .btn { grid-column: 2; grid-row: 1 / span 2; } }
