/* ===== class.php — v7 single-class detail (page-specific rules only) =====
   Tokens, chrome, .container, .breadcrumb, .tag, .section-*, .card-grid,
   .course-card and buttons all live in v7-shared.css. Only NEW rules here. */

/* --- Hero (breadcrumb + eyebrow + title + lead) --- */
.cd-hero { padding: 40px 0 8px; background: var(--bg-soft); }
.cd-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.cd-title { font-family: 'Inter Tight', sans-serif; font-size: 42px; font-weight: 800; line-height: 1.06; letter-spacing: -0.025em; color: var(--ink); max-width: 780px; }
.cd-lead { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 660px; margin-top: 14px; }

/* --- Body: content + sticky join card --- */
.cd-body { padding: 40px 0 88px; }
.cd-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }

/* Cover / thumb */
.cd-thumb { aspect-ratio: 16/9; border-radius: var(--r-2xl); background-color: var(--plum-soft); background-size: cover; background-position: center; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.cd-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(31,6,23,0.35), transparent 55%); }
.cd-thumb .live-badge { position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--coral); color: #fff; padding: 6px 12px 6px 10px; border-radius: var(--r-full); font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 7px; }
.cd-thumb .live-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.7); } }

/* Facts strip under the cover */
.cd-meta-strip { display: flex; gap: 18px; flex-wrap: wrap; padding: 22px 0; border-bottom: 1px solid var(--line); margin: 22px 0 4px; }
.cd-meta-strip > div:not(.cd-divider) { display: flex; flex-direction: column; gap: 3px; }
.cd-meta-strip strong { font-size: 15px; color: var(--ink); font-weight: 700; }
.cd-meta-strip span { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.cd-divider { width: 1px; background: var(--line); align-self: stretch; }

/* Prose blocks (About / Benefits / Who it's for) */
.prose { max-width: 720px; }
.prose h2 { font-family: 'Inter Tight', sans-serif; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin: 40px 0 16px; }
.prose > h2:first-child { margin-top: 24px; }
.prose p { font-size: 16px; line-height: 1.7; color: var(--ink-2); }

/* Benefits → check grid */
.learn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; padding: 24px 28px; background: var(--saffron-soft); border-radius: var(--r-xl); margin-top: 8px; }
.learn-item { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink); line-height: 1.5; }
.learn-item::before { content: '✓'; color: var(--saffron-deep); font-weight: 800; flex-shrink: 0; }

/* Who it's for → dotted list */
.whofor { list-style: none; display: grid; gap: 10px; margin-top: 8px; }
.whofor li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.whofor li::before { content: ''; position: absolute; left: 6px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--saffron); }

/* Medical disclaimer */
.cd-disclaimer { margin-top: 30px; padding: 16px 18px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-md); font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* --- Sticky join card --- */
.enroll-card { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-2xl); padding: 26px; box-shadow: var(--shadow-lg); }
.price-stack { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.price-stack .price { font-family: 'Inter Tight', sans-serif; font-size: 38px; font-weight: 800; color: var(--ink); letter-spacing: -0.025em; line-height: 1; }
.price-stack .price.free { color: var(--jade); }
.price-stack small { font-size: 13px; color: var(--muted); font-weight: 500; }
.gst-line { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.enroll-cta { display: block; width: 100%; text-align: center; background: var(--saffron); color: #fff; font-size: 16px; font-weight: 800; padding: 15px; border-radius: var(--r-md); border: none; cursor: pointer; box-shadow: var(--shadow-cta); margin-bottom: 10px; transition: all 0.15s; }
.enroll-cta:hover { background: var(--saffron-bright); transform: translateY(-1px); }
.enroll-secondary { display: block; width: 100%; text-align: center; background: transparent; color: var(--ink); border: 2px solid var(--ink); padding: 12px; border-radius: var(--r-md); font-weight: 700; font-size: 14.5px; cursor: pointer; transition: all 0.15s; }
.enroll-secondary:hover { background: var(--ink); color: #fff; }
.feat-list { padding: 22px 0 6px; border-top: 1px solid var(--line); margin-top: 20px; }
.feat-list h5 { font-family: 'Inter Tight', sans-serif; font-size: 14px; font-weight: 800; margin-bottom: 12px; color: var(--ink); letter-spacing: -0.005em; }
.feat-item { display: flex; gap: 12px; padding: 7px 0; font-size: 14px; color: var(--ink-2); align-items: flex-start; }
.feat-item::before { content: '✓'; color: var(--jade); font-weight: 800; flex-shrink: 0; font-size: 15px; line-height: 1.35; }
.enroll-note { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.5; }

@media (max-width: 1024px) {
  .cd-grid { grid-template-columns: 1fr; gap: 32px; }
  .enroll-card { position: static; }
  .cd-title { font-size: 33px; }
  .learn-grid { grid-template-columns: 1fr; }
}
