/* Lecture-specific compositions use the shared typography, controls and tokens. */
.lecture-page .btn { max-width: 100%; white-space: normal; text-align: center; }
.lecture-page section[id] { scroll-margin-top: 88px; }
.lecture-surface { background: var(--surface-2); }
.lecture-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: var(--s-7); align-items: center; }
.lecture-hero-copy h1 { max-width: 14ch; }
.lecture-hero-copy h1 .accent { display: block; }
.lecture-hero-copy .lead { max-width: 48ch; }
.lecture-trial-note { color: var(--muted); font-size: var(--fs-sm); margin-top: var(--s-4); line-height: 1.6; }
.lecture-output-list { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); list-style: none; margin: var(--s-6) 0 0; padding: 0; font-size: var(--fs-sm); color: var(--muted); }
.lecture-output-list li { padding-left: 13px; position: relative; }
.lecture-output-list li::before { content: ''; position: absolute; width: 5px; height: 5px; top: .6em; left: 0; border-radius: 50%; background: var(--accent); }
.lecture-sheet { margin: 0; border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-md); overflow: hidden; }
.lecture-sheet figcaption { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-2); padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--border); font-size: var(--fs-sm); font-weight: 600; }
.lecture-sheet figcaption svg { stroke: currentColor; fill: none; stroke-width: 1.7; color: var(--accent-ink); flex: none; }
.lecture-sheet-format { font-size: var(--fs-xs); font-weight: 400; color: var(--muted); margin-left: auto; }
.lecture-sheet-body { padding: var(--s-5); }
.lecture-example-label { font-size: var(--fs-xs); color: var(--muted); margin-bottom: var(--s-5); }
.lecture-excerpt { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--s-3); padding-bottom: var(--s-5); }
.lecture-excerpt:last-child { padding-bottom: 0; }
.lecture-time { font-size: var(--fs-xs); color: var(--accent-ink); padding-top: 3px; }
.lecture-excerpt p { margin: 0; font-size: var(--fs-ui); line-height: 1.75; }
.lecture-excerpt mark { background: var(--accent-soft); color: var(--fg); padding: 2px 0; }
.lecture-sheet-note { display: flex; gap: var(--s-2); align-items: flex-start; padding: var(--s-4) var(--s-5); background: var(--surface-2); font-size: var(--fs-xs); line-height: 1.6; color: var(--muted); border-top: 1px solid var(--border); }
.lecture-sheet-note svg { flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; color: var(--accent-ink); }
.lecture-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); list-style: none; padding: 0; margin: 0; }
.lecture-steps li { border-top: 1px solid var(--border); padding-top: var(--s-5); }
.lecture-steps h3 { margin: 0 0 var(--s-3); font-size: var(--fs-xl); }
.lecture-steps p, .lecture-recordings p { color: var(--muted); line-height: 1.75; }
.lecture-review-grid, .lecture-notes-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-8); align-items: start; }
.lecture-section-copy h2 { font-size: clamp(24px, 3.4vw, 36px); line-height: 1.25; letter-spacing: -.02em; margin-bottom: var(--s-5); }
.lecture-section-copy p { color: var(--muted); line-height: 1.8; }
.lecture-section-copy p + p { margin-top: var(--s-4); }
.lecture-section-copy .lead { font-size: var(--fs-lg); }
.lecture-review-list { border-left: 2px solid var(--accent); padding-left: var(--s-6); }
.lecture-review-list h3 { font-size: var(--fs-xl); }
.lecture-review-list dl { margin: var(--s-5) 0 0; }
.lecture-review-list dl > div + div { margin-top: var(--s-5); }
.lecture-review-list dt { font-weight: 700; margin-bottom: var(--s-2); }
.lecture-review-list dd { margin: 0; color: var(--muted); line-height: 1.75; }
.lecture-note-example { margin: 0; padding: var(--s-6); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.lecture-note-example figcaption { font-weight: 700; line-height: 1.5; margin-bottom: var(--s-5); }
.lecture-note-example figcaption span { display: block; color: var(--muted); font-size: var(--fs-xs); font-weight: 400; margin-top: var(--s-1); }
.lecture-note-time { font-size: var(--fs-xs); color: var(--accent-ink); line-height: 1.7; }
.lecture-note-definition { font-size: var(--fs-xl); line-height: 1.6; margin: var(--s-3) 0 var(--s-4); }
.lecture-note-context { color: var(--muted); line-height: 1.75; }
.lecture-note-foot { padding-top: var(--s-4); margin-top: var(--s-5); border-top: 1px solid var(--border); color: var(--muted); font-size: var(--fs-sm); line-height: 1.7; }
.lecture-recordings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.lecture-recordings h3 { display: flex; align-items: center; gap: var(--s-3); font-size: var(--fs-xl); margin-bottom: var(--s-3); }
.lecture-recordings h3 svg { flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; color: var(--accent-ink); }
.lecture-recordings a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.lecture-resources ul { list-style: none; margin: 0 auto; padding: 0; max-width: 880px; }
.lecture-resources li { border-top: 1px solid var(--border); }
.lecture-resources li:last-child { border-bottom: 1px solid var(--border); }
.lecture-resources a { display: flex; gap: var(--s-5); justify-content: space-between; align-items: baseline; padding: var(--s-5) 0; }
.lecture-resources strong { font-size: var(--fs-lg); }
.lecture-resources a > span { color: var(--muted); font-size: var(--fs-ui); text-align: right; }
.lecture-resources a:hover strong { color: var(--accent-ink); }
@media (max-width: 960px) {
  .lecture-hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .lecture-hero-copy h1 { max-width: 22ch; }
  .lecture-hero-copy .lead { max-width: 60ch; }
  .lecture-sheet { max-width: 640px; width: 100%; }
  .lecture-review-grid, .lecture-notes-grid { gap: var(--s-6); }
}
@media (max-width: 700px) {
  .lecture-steps, .lecture-recordings, .lecture-review-grid, .lecture-notes-grid { grid-template-columns: minmax(0, 1fr); }
  .lecture-hero-copy h1 { max-width: 16ch; }
  .lecture-hero-copy .hero-cta { display: grid; grid-template-columns: minmax(0, 1fr); }
  .lecture-trial-note span { display: block; }
  .lecture-output-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-2); margin-top: var(--s-5); }
  .lecture-steps { gap: var(--s-5); }
  .lecture-review-list { padding-left: var(--s-5); }
  .lecture-note-example { padding: var(--s-5); }
  .lecture-recordings article + article { border-top: 1px solid var(--border); padding-top: var(--s-5); }
  .lecture-resources a { flex-direction: column; gap: var(--s-2); }
  .lecture-resources a > span { text-align: left; }
}
@media (max-width: 380px) {
  .lecture-sheet-body { padding: var(--s-4); }
  .lecture-excerpt { grid-template-columns: 42px minmax(0, 1fr); gap: var(--s-2); }
  .lecture-sheet-format { margin-left: 28px; }
}
