/* learn/learn.css  -  Training: sections, course and lesson cards, the lesson page (Joey 2026-10-19). */
.tr-section { margin-top: 34px; }
.tr-head { font-family: var(--display); font-weight: 600; font-size: 24px; margin-bottom: 4px; }
.tr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 18px; }
.tr-card { display: block; overflow: hidden; padding: 0; color: var(--text); text-decoration: none; box-shadow: var(--shadow); }
.tr-card:hover .tr-thumb b { letter-spacing: 0.01em; }
.tr-thumb { aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: radial-gradient(120% 90% at 50% 0%, #2a3140 0%, #12151b 70%); color: #f2f3f5; text-align: center; padding: 14px; }
.tr-thumb .tr-brand { font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #9aa3b2; }
.tr-thumb b { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.1; transition: letter-spacing 0.2s; }
.tr-thumb .tr-sub { font-size: 13px; color: #c7ccd6; }
.tr-body { padding: 18px 20px 20px; }
.tr-body h3 { font-family: var(--display); font-weight: 600; font-size: 20px; margin-bottom: 6px; }
.tr-body p { color: var(--soft); line-height: 1.5; min-height: 24px; }
.tr-bar { position: relative; height: 22px; border-radius: 11px; background: var(--line); margin-top: 14px; overflow: hidden; }
.tr-bar i { position: absolute; inset: 0 auto 0 0; background: var(--accent); }
.tr-bar span { position: relative; font-size: 12px; font-weight: 700; padding-left: 12px; line-height: 22px; color: var(--soft); }
.tr-split { display: grid; grid-template-columns: 300px 1fr; gap: 26px; margin-top: 18px; align-items: start; }
.tr-side h2 { font-family: var(--display); font-weight: 600; font-size: 22px; }
.tr-side nav { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; }
.tr-part { padding: 12px 14px; border-radius: 10px; color: var(--text); text-decoration: none; }
.tr-part:hover { background: var(--line); }
.tr-part.on { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.tr-main { padding: 26px 28px 30px; }
.tr-main h1 { font-family: var(--display); font-weight: 600; font-size: 28px; margin-bottom: 18px; }
.tr-video { aspect-ratio: 16 / 9; border-radius: 12px; background: #0f1115; color: #e8eaed; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.tr-video b { font-size: 15px; letter-spacing: 0.04em; color: #aab1bd; }
.tr-play { width: 64px; height: 44px; border-radius: 10px; background: #2b3039; position: relative; }
.tr-play::after { content: ""; position: absolute; left: 26px; top: 13px; border-left: 16px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.tr-notes { margin-top: 20px; color: var(--soft); line-height: 1.6; }
@media (max-width: 900px) { .tr-grid { grid-template-columns: repeat(2, 1fr); } .tr-split { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .tr-grid { grid-template-columns: 1fr; } .tr-thumb b { font-size: 26px; } .tr-main { padding: 18px 16px 20px; } .tr-main h1 { font-size: 22px; } }
