/* ---------- Trainer Feedback page ---------- */
.tf-intro p { margin: 10px 0 0; color: rgba(0,0,0,.6); font-size: 15px; }
.tf-totals { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.tf-totals:empty { display: none; }
.tf-totals div { min-width: 140px; padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.tf-totals b { display: block; font-family: var(--font-display); font-size: 28px; line-height: 1.1; }
.tf-totals b small { font-size: 15px; color: rgba(0,0,0,.45); margin-left: 1px; }
.tf-totals span { font-size: 12.5px; color: rgba(0,0,0,.55); }
.tf-empty { padding: 40px 0; text-align: center; color: rgba(0,0,0,.55); }

/* one trainer */
.tf-trainer { padding: 34px 0; border-top: 1px solid var(--border); }
.tf-trainer:first-child { border-top: 0; }
/* [photo][name] | about and biodata, split by a soft fading line */
.tf-head { display: flex; align-items: center; gap: 28px; }
.tf-who { flex: none; display: flex; align-items: center; gap: 18px; max-width: 320px; }
.tf-about { position: relative; flex: 1; min-width: 0; padding-left: 28px; }
.tf-about::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.14) 20%, rgba(0,0,0,.14) 80%, transparent); }
.tf-about > :first-child { margin-top: 0; }
.tf-avatar { flex: none; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--pink), var(--red)); color: #fff; box-shadow: var(--shadow-sm); }
.tf-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tf-avatar span { font-family: var(--font-display); font-size: 30px; font-weight: 700; }

/* small screens: the line turns sideways and the about goes under the name */
@media (max-width: 760px) {
  .tf-head { flex-direction: column; align-items: stretch; gap: 16px; }
  .tf-who { max-width: none; }
  .tf-about { padding: 16px 0 0; }
  .tf-about::before { top: 0; bottom: auto; left: 4px; right: 4px; width: auto; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,.14) 15%, rgba(0,0,0,.14) 85%, transparent); }
}

/* their information */
.tf-info h2 { margin: 0; font-family: var(--font-display); font-size: 30px; }
.tf-title { margin: 4px 0 0; color: var(--red); font-weight: 700; font-size: 15px; }
.tf-bio { margin: 10px 0 0; font-size: 15px; line-height: 1.65; color: rgba(0,0,0,.75); max-width: 70ch; }
.tf-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; }
.tf-facts div { flex: 0 1 auto; min-width: 150px; padding: 10px 12px; border-radius: var(--radius-sm); background: rgba(0,0,0,.035); }
.tf-facts dt { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(0,0,0,.5); }
.tf-facts dd { margin: 2px 0 0; font-size: 14.5px; font-weight: 600; }
.tf-block { margin-top: 24px; }
.tf-block h3 { margin: 0 0 10px; font-family: var(--font-display); font-size: 17px; }
.tf-block h3 small { margin-left: 6px; font-size: 13px; font-weight: 400; color: rgba(0,0,0,.5); }
.tf-bars { display: grid; gap: 9px; max-width: 520px; }
.tf-bar { display: grid; grid-template-columns: 170px 1fr 34px; align-items: center; gap: 12px; font-size: 14px; }
.tf-bar i { height: 8px; border-radius: 99px; background: rgba(0,0,0,.08); overflow: hidden; }
.tf-bar em { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--pink), var(--red)); }
.tf-bar b { text-align: right; }
.tf-classes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tf-classes span { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--border); font-size: 13px; font-weight: 600; background: #fff; }
.tf-quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.tf-quote { margin: 0; padding: 14px 16px; border: 1px solid var(--border); border-left: 4px solid var(--pink); border-radius: var(--radius-sm); background: #fff; }
.tf-quote p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.55; }
.tf-quote footer { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: rgba(0,0,0,.55); }
.tf-stars span { color: rgba(0,0,0,.18); }
.tf-stars span.on { color: #f5a524; }
.tf-more { margin-top: 12px; padding: 9px 16px; border: 1px solid var(--black); border-radius: 999px; background: #fff; font: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.tf-more:hover { background: var(--black); color: #fff; }

/* screenshots */
.tf-shot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.tf-shot { display: flex; flex-direction: column; padding: 0; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; font: inherit; text-align: left; cursor: zoom-in; }
.tf-shot img { display: block; width: 100%; height: 300px; object-fit: cover; object-position: top; }
.tf-shot span { padding: 10px 12px; font-size: 13px; color: rgba(0,0,0,.7); }
.tf-zoom { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 30px; background: rgba(0,0,0,.82); cursor: zoom-out; }
.tf-zoom[hidden] { display: none; }
.tf-zoom img { max-width: 100%; max-height: 100%; border-radius: 10px; }
.tf-zoom-close { position: absolute; top: 14px; right: 18px; border: 0; background: none; color: #fff; font-size: 38px; line-height: 1; cursor: pointer; }

.tf-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 56px 0 48px; padding: 34px 40px; border-radius: var(--radius-lg); background: var(--black); color: #fff; }
.tf-cta h2 { margin: 0 0 6px; font-family: var(--font-display); font-size: 24px; }
.tf-cta p { margin: 0; color: rgba(255,255,255,.75); }

@media (max-width: 520px) {
  .tf-avatar { width: 64px; height: 64px; }
  .tf-avatar span { font-size: 24px; }
  .tf-info h2 { font-size: 24px; }
}
@media (max-width: 520px) {
  .tf-bar { grid-template-columns: 1fr 34px; }
  .tf-bar span { grid-column: 1 / -1; }
  .tf-totals div { min-width: 0; flex: 1 1 40%; }
  .tf-cta { padding: 26px 22px; }
}
