/* Worship course detail (node--course). Ported from Worship Course mockup; --fel → --accent
   via .section--worship. Progress UI omitted on web (no logged-in progress). */

.crs-hero { position: relative; color: #fff; overflow: hidden; padding: 48px 0 40px; }
.crs-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(900px 480px at 12% 0%, rgba(255,255,255,0.10), transparent 70%);
  pointer-events: none;
}
.crs-hero .wrap { position: relative; z-index: 1; }
.crs-crumb { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,0.78); font-weight: 500; margin-bottom: 22px; transition: color 0.15s; text-decoration: none; }
.crs-crumb:hover { color: #fff; }
.crs-crumb svg { width: 14px; height: 14px; }
[dir="rtl"] .crs-crumb svg { transform: scaleX(-1); }
.crs-head { display: grid; grid-template-columns: 420px 1fr; gap: 44px; align-items: center; }
.crs-head-left { max-width: 720px; }
.crs-chips { display: none; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.crs-chip { font-family: inherit; font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.16); color: #fff; }
.crs-chip.tinted { background: rgba(255,255,255,0.92); color: var(--accent-deep); }
.crs-title-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 12px; }
.crs-head h1 { font-family: var(--serif); font-weight: 500; font-size: 44px; line-height: 1.08; letter-spacing: -1px; margin: 0; color: #fff; text-wrap: balance; }
[dir="rtl"] .crs-head h1 { font-family: var(--farsi); font-weight: 600; letter-spacing: 0; }
.crs-instr { font-size: 15px; color: rgba(255,255,255,0.82); margin: 0 0 22px; }
.crs-instr strong { color: #fff; font-weight: 600; }
.crs-meta { display: flex; gap: 20px; align-items: center; font-size: 13.5px; color: rgba(255,255,255,0.86); flex-wrap: wrap; }
.crs-meta .dot { width: 4px; height: 4px; border-radius: 999px; background: rgba(255,255,255,0.40); }
.crs-meta strong { color: #fff; font-weight: 600; }
.crs-share-icon { width: 40px; height: 40px; border-radius: 999px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.24); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.15s, border-color 0.15s; padding: 0; }
.crs-share-icon:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.5); }

.crs-cover {
  width: 100%; max-width: 420px; aspect-ratio: 16 / 9; border-radius: 16px; position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.16); box-shadow: 0 16px 32px rgba(0,0,0,0.28);
  display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center;
}
.crs-cover::after { content: ''; position: absolute; inset: 0; background: radial-gradient(220px 120px at 100% 0%, rgba(255,255,255,0.16), transparent 60%); pointer-events: none; }
.crs-cover .glyph { width: 56px; height: 56px; color: rgba(255,255,255,0.92); position: relative; z-index: 1; }

.crs-main { padding: 56px 0 80px; }
.crs-grid { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.crs-block { margin-bottom: 44px; }
.crs-eyebrow { font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 12px; display: block; }
[dir="rtl"] .crs-eyebrow { letter-spacing: 0.4px; }
.crs-block p { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin: 0 0 12px; }
.crs-block p:last-child { margin-bottom: 0; }

.crs-takeaways { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.crs-takeaways li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.crs-takeaways .check { width: 22px; height: 22px; border-radius: 999px; background: var(--accent-tint); color: var(--accent-deep); display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }

.crs-eps-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.crs-eps-meta { font-size: 12.5px; color: var(--ink-3); }
.crs-eps { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 6px; }
.crs-ep { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 12px; transition: background 0.12s; text-decoration: none; color: inherit; }
.crs-ep:not(:last-child) { border-bottom: 1px solid var(--line); }
.crs-ep:hover { background: var(--paper-3); }
.crs-ep .thumb { position: relative; width: 96px; height: 54px; border-radius: 9px; overflow: hidden; background: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent) 100%); background-size: cover; background-position: center; }
.crs-ep .thumb .pl { position: absolute; inset: 0; display: inline-flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.24); color: #fff; transition: background 0.12s; }
.crs-ep:hover .thumb .pl { background: rgba(0,0,0,0.40); }
.crs-ep .thumb .n { position: absolute; left: 7px; bottom: 4px; font-size: 9.5px; font-weight: 800; letter-spacing: 0.6px; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.7); }
.crs-ep .info .ttl { font-family: var(--serif); font-weight: 500; font-size: 16px; color: var(--ink); margin: 0; letter-spacing: -0.2px; }
[dir="rtl"] .crs-ep .info .ttl { font-family: var(--farsi); font-weight: 600; letter-spacing: 0; }
.crs-ep .info .meta { font-size: 12.5px; color: var(--ink-3); margin: 4px 0 0; font-variant-numeric: tabular-nums; }
.crs-empty { font-size: 15px; color: var(--ink-3); padding: 16px 12px; }

.crs-side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 24px; }
.crs-instr-card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper-3); }
.crs-instr-card .av { width: 56px; height: 56px; border-radius: 999px; background: var(--accent-tint); color: var(--accent-deep); display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 500; font-size: 22px; margin-bottom: 12px; overflow: hidden; }
.crs-instr-card .av--photo { padding: 0; background: #e8e6e1; }
.crs-instr-card .av--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.crs-instr-card .nm { font-family: var(--serif); font-weight: 500; font-size: 18px; color: var(--ink); margin: 0 0 4px; letter-spacing: -0.2px; }
.crs-instr-card .role { font-size: 12px; color: var(--accent-deep); font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; margin: 0 0 12px; }
.crs-instr-card p { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin: 0; }

.crs-share-toast { position: fixed; top: 24px; left: 50%; transform: translateX(-50%) translateY(-6px); background: #1A1A1F; color: #fff; padding: 8px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity 0.18s, transform 0.18s; z-index: 300; }
.crs-share-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 980px) {
  .crs-head { grid-template-columns: 1fr; gap: 24px; }
  .crs-head h1 { font-size: 34px; }
  .crs-grid { grid-template-columns: 1fr; gap: 32px; }
  .crs-side { position: static; }
}
@media (max-width: 640px) {
  .crs-hero { padding: 36px 0 32px; }
  .crs-head h1 { font-size: 26px; }
  .crs-ep { grid-template-columns: 84px 1fr; }
  .crs-ep .thumb { width: 84px; height: 48px; }
}

/* Per-instrument hero gradients (match course grid). */
.crs-hero--vocals { background: linear-gradient(135deg, #4A1738 0%, #A53C7E 100%); }
.crs-hero--acoustic-guitar { background: linear-gradient(135deg, #2A1A4A 0%, #6750A4 100%); }
.crs-hero--harmony { background: linear-gradient(135deg, #1A3A4A 0%, #4A95AC 100%); }
.crs-hero--worship-leading { background: linear-gradient(135deg, #2B6038 0%, #41A769 100%); }
.crs-hero--drums { background: linear-gradient(135deg, #7A2A23 0%, #C04438 100%); }
.crs-hero--tech { background: linear-gradient(135deg, #5A4A2E 0%, #B0A04D 100%); }
.crs-hero--electric-guitar { background: linear-gradient(135deg, #3A1A2A 0%, #B0436A 100%); }
.crs-hero--bass { background: linear-gradient(135deg, #1A2A4A 0%, #3A6BAC 100%); }
.crs-hero--keys { background: linear-gradient(135deg, #2A2A3A 0%, #6A6A8E 100%); }
.crs-hero--generic { background: linear-gradient(135deg, #4A1738 0%, #8E2A66 55%, #A53C7E 100%); }
