/* Per-module course pages (31 Jul 2026).
   Only the three classes the generated pages need that the site did not
   already have. Everything else reuses the house classes -- section-title,
   kicker, lede, btn, hero-actions -- so a course page cannot drift away from
   the rest of the site. The dot-marker list matches .standards-list. */

.course-page-crumb {
  font-size: 0.9rem;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.course-page-crumb a { color: var(--ink-2); }
.course-page-crumb a:hover { color: var(--accent); }

.tick-list { list-style: none; margin: 0; padding: 0; max-width: 760px; }
.tick-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--ink-2);
}
.tick-list li:last-child { margin-bottom: 0; }
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

/* The price table is the page's load-bearing element, so it scrolls inside
   its own box rather than pushing the page sideways on a phone. */
.price-table-wrap { overflow-x: auto; margin: 20px 0 18px; max-width: 760px; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 460px;
  font-size: 1rem;
}
.price-table th,
.price-table td {
  text-align: left;
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--line, rgba(0, 0, 0, 0.12));
  vertical-align: top;
}
.price-table thead th {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 600;
}
.price-table tbody th {
  font-weight: 500;
  color: var(--ink);
}
.price-table tbody td:first-of-type {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--accent);
  white-space: nowrap;
}
.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td { border-bottom: 0; }

.course-page-note { max-width: 760px; }
.course-page-small { font-size: 0.9rem; color: var(--ink-2); }

/* ---- course hero: the crafted mark on the left, the decision on the right ---- */
.course-hero { padding: 56px 0; }   /* bottom matches the top gap (Jamie, 1 Aug) */
.course-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 48px;
  align-items: center;
}
.course-mark-slot {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 260px;
  position: relative;
}
/* the ported mark's own classes: inline variant fills the slot it is given */
.concept-mark { position: absolute; inset: 0; pointer-events: none; opacity: 0.95; }
.concept-mark canvas { width: 100%; height: 100%; display: block; }
.concept-mark.concept-mark-inline { position: absolute; inset: 0; width: 100%; height: 100%; }

/* 10px below where they sat, and Buy leads (Jamie, 1 Aug) */
.course-hero-actions { margin-top: 10px; }

@media (max-width: 900px) {
  .course-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  /* source order already puts the words first; the mark is decorative */
  .course-mark-slot { min-height: 200px; max-width: 360px; }
}

/* ---- what you'll learn, as a panel ---- */
.learn-panel {
  border: 1px solid var(--line, rgba(0, 0, 0, 0.12));
  border-radius: 14px;
  padding: 28px 32px;
  max-width: 900px;
}
.learn-panel .section-title { margin-top: 0; }
.tick-list--two { max-width: none; }
@media (min-width: 760px) {
  .tick-list--two { columns: 2; column-gap: 40px; }
  .tick-list--two li { break-inside: avoid; }
}
