.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 8px; }

.trainer { position: relative; display: grid; grid-template-columns: 124px minmax(0, 1fr); background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.trainer__photo { position: relative; min-height: 155px; background: var(--surface-2); border-right: 1px solid var(--border); overflow: hidden; }
.trainer__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.monogram { position: absolute; inset: 0; display: grid; place-items: center; }
.monogram svg { position: absolute; width: 72%; height: auto; stroke-width: .6; color: var(--border); }
.monogram span { position: relative; font-family: var(--font-display); font-weight: 700; font-size: 56px; line-height: 1; color: var(--border-strong); text-transform: uppercase; }
.trainer__body { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 12px 14px; }

.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 8px 0 6px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); font-family: var(--font-body); font-size: 12px; font-weight: 700; color: var(--red-text); white-space: nowrap; }
.badge svg { flex-shrink: 0; width: 13px; height: 13px; }

.trainer__name { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1; text-transform: uppercase; }
.trainer__role { margin: 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .02em; text-transform: uppercase; color: var(--text-2); }
.trainer__role--lead { color: var(--red-text); }

.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.tags li { padding: 3px 6px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font-mono); font-size: 10px; line-height: 1.3; text-transform: uppercase; color: var(--text-2); }

@media (min-width: 1024px) {
  .team { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

  .trainer { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .trainer__photo { aspect-ratio: 4 / 5; min-height: 0; border-right: 0; border-bottom: 1px solid var(--border); }
  .monogram svg { width: 58%; }
  .monogram span { font-size: 120px; }
  .badge { position: absolute; top: 12px; left: 12px; height: 30px; padding: 0 10px 0 8px; font-size: 13px; z-index: 1; }
  .badge svg { width: 15px; height: 15px; }
  .trainer__body { justify-content: flex-start; gap: 10px; padding: 18px 20px 20px; }
  .trainer__name { font-size: 32px; }
  .trainer__role { font-size: 12px; }
  .tags li { font-size: 11px; padding: 3px 7px; }
}
