/* 강좌 상세 (/courses/{slug} — 시안 voicecheck-course-starter). 공통은 edu.css
   머리와 신청 패널은 조용히, 커리큘럼 파형(단원 탭) 한 곳만 크게. 신청 패널의 상태는 수강 중 · 기간 끝남 · 판매 전 · 입금 확인 중 · 계좌이체 입력 · 신청 가능 */
.d-head .hl { margin-top: 14px; font-size: var(--fs-xl); line-height: 1.4; font-weight: 650; letter-spacing: -.035em; color: var(--cobalt); }
.d-head .lede { margin-top: 12px; }
.d-acts { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.d-acts .btn { gap: 10px; }
.d-acts span { font-size: var(--fs-s); color: var(--slate); }

.d-head .buy { position: static; }
.buy .pend { margin-top: 20px; font-size: var(--fs-xl); line-height: 1.2; font-weight: 700; letter-spacing: -.035em; }
.buy .note { margin-top: 6px; }
.buy .fine { font-size: var(--fs-xs); }   /* 여기선 결제 방법 안내(메타 14) — 랜딩의 같은 자리는 의료 고지(작은 글씨 13) */
.buy li { align-items: flex-start; } .buy li .tick { margin-top: 3px; }
.buy .closed { padding: 14px 16px; border-radius: 14px; background: var(--mist); font-size: var(--fs-s); line-height: 1.65; color: var(--ink-2); margin-bottom: 10px; }

/* 커리큘럼 — 막대 하나가 강의 하나, 높이는 길이, 속이 빈 막대는 실습 */
.cur-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; }
.cur-h .lede { max-width: 32em; }
.key { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: var(--fs-xs); font-weight: 500; color: var(--slate); }
.key span { display: inline-flex; align-items: center; gap: 8px; }
.key i { width: 7px; height: 16px; border-radius: 999px; background: var(--cobalt); }
.key i.p { background: none; box-shadow: inset 0 0 0 1.5px var(--cobalt); }
.key i.end { background: var(--logo-mint); }
.key i.end.p { background: none; box-shadow: inset 0 0 0 1.5px var(--logo-mint); }
.cur { margin-top: 40px; padding: clamp(14px, 1.8vw, 22px); border-radius: 28px; background: var(--mist); }
.cur-tabs { display: grid; gap: 6px; }   /* 열 너비는 뷰가 단원별 강의 수로 준다 */
.cur-tabs [role="tab"] { display: flex; flex-direction: column; align-items: stretch; gap: 18px; padding: 26px 12px 20px; border: 0; border-radius: 20px; background: none; text-align: center; color: #B7C4FA; transition: background .15s, color .15s; }
@media (hover: hover) { .cur-tabs [role="tab"]:hover { color: var(--peri); background: rgba(255, 255, 255, .55); } }
.cur-tabs [aria-selected="true"] { color: var(--cobalt); background: var(--white); box-shadow: 0 1px 2px rgba(20, 27, 42, .05); }
@media (hover: hover) { .cur-tabs [aria-selected="true"]:hover { color: var(--cobalt); background: var(--white); box-shadow: 0 1px 2px rgba(20, 27, 42, .05); } }
.cur-tabs .bars { height: clamp(112px, 11vw, 156px); --bw: 18px; --bg: 12px; }
/* 마지막 강의(마무리) — 고르지 않은 단원은 연한 민트, 고른 단원은 로고의 민트 */
.cur-tabs [role="tab"] { --wave-end: #A9DDCF; }
@media (hover: hover) { .cur-tabs [role="tab"]:hover { --wave-end: #6CC7AF; } }
.cur-tabs [role="tab"][aria-selected="true"] { --wave-end: var(--logo-mint); }
.cur-tabs .lab { display: grid; gap: 2px; justify-items: center; }
.cur-tabs .lab b { font-size: var(--fs-xs); font-weight: 650; color: var(--slate); font-variant-numeric: tabular-nums; }
.cur-tabs .nm { font-size: var(--fs-s); line-height: 1.45; font-weight: 650; letter-spacing: -.02em; color: var(--ink-2); text-wrap: balance; }
.cur-tabs .lab small { font-size: var(--fs-xs); color: var(--slate); font-variant-numeric: tabular-nums; }
.cur-tabs [aria-selected="true"] .lab b { color: var(--cobalt); }
.cur-tabs [aria-selected="true"] .nm { color: var(--ink); }

.cur-panel { margin-top: 10px; padding: 6px clamp(20px, 2.6vw, 34px); border-radius: 22px; background: var(--white); }
.cur-panel:focus-visible { outline-offset: -2px; }
.cur-ph { display: none; }
.ls { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto 44px; grid-template-areas: "kd tx pv mn"; align-items: start; gap: 6px 22px; padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.ls:last-child { border-bottom: 0; }
.kd { grid-area: kd; justify-self: start; margin-top: 2px; padding: 2px 10px; border-radius: 999px; background: var(--mist); font-size: var(--fs-xs); font-weight: 500; color: var(--slate); white-space: nowrap; }
.ls.practice .kd { background: var(--tint); color: var(--cobalt); }
.tx { grid-area: tx; }
.tx h4 { font-size: var(--fs-m); line-height: 1.5; font-weight: 650; letter-spacing: -.02em; }
.tx p { margin-top: 4px; font-size: var(--fs-s); line-height: 1.7; color: var(--slate); max-width: 40em; }
.tx .ck { margin-top: 6px; font-size: var(--fs-xs); font-weight: 650; color: var(--cobalt); }
.pv { grid-area: pv; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-s); font-weight: 650; color: var(--cobalt); white-space: nowrap; }
@media (hover: hover) { .pv:hover { box-shadow: inset 0 0 0 1px var(--cobalt); } }
.mn { grid-area: mn; justify-self: end; margin-top: 1px; font-size: var(--fs-xs); color: var(--slate); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* 들으면 · 맞는 분 · 포함 안 됨 */
.fit { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.outs { margin-top: 32px; border-top: 1px solid var(--line); }
.outs li { display: flex; gap: 14px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line-2); font-size: var(--fs-l); line-height: 1.5; font-weight: 500; letter-spacing: -.03em; }
.outs .tick { width: 22px; height: 22px; margin-top: 3px; }
.fit-side h3 { font-size: var(--fs-m); font-weight: 700; letter-spacing: -.02em; }
.fit-side h3 + * { margin-top: 12px; }
.fit-side * + h3 { margin-top: 32px; }
.fit-side p { font-size: var(--fs-s); line-height: 1.75; color: var(--ink-2); }

/* 마친 뒤 — 재점검 → 결과에 맞는 다음 과정 → 그룹 코칭 · 프리미엄 1:1, 아래에 질문 두 개 (2026-11-02) */
.after-h .lede { margin-top: 12px; }
.after-steps { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.after-steps li { display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 30px); border-radius: 22px; background: var(--white); box-shadow: 0 1px 2px rgba(20, 27, 42, .04), 0 0 0 1px var(--line); }
.after-steps .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--cobalt); font-size: var(--fs-xs); font-weight: 650; line-height: 1; }
.after-steps li:first-child .n { background: var(--cobalt); color: #fff; }
.after-steps h3 { margin-top: 16px; font-size: var(--fs-l); line-height: 1.35; font-weight: 700; letter-spacing: -.03em; }
.after-steps p { margin-top: 8px; font-size: var(--fs-s); line-height: 1.75; color: var(--ink-2); }
.after-steps .go { margin-top: auto; padding-top: 18px; }
.after-steps .go .link { display: inline-block; padding: 10px 0; margin: -10px 0; }
.after-steps .acts { display: grid; gap: 8px; }
.after-steps .acts .btn { width: 100%; }
.after-qa { margin-top: clamp(40px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.after-qa h3 { font-size: var(--fs-l); font-weight: 700; letter-spacing: -.03em; }
.after-qa p { margin-top: 8px; font-size: var(--fs-s); line-height: 1.7; color: var(--ink-2); }
.after-qa .go-links { margin-top: 14px; }

/* 미리보기 — 유튜브 영상(쿠키 없는 주소)을 대화상자로 */
.pv-dlg { width: min(880px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 22px; background: var(--white); color: var(--ink); overflow: hidden; }
.pv-dlg::backdrop { background: rgba(20, 27, 42, .62); }
.pv-screen { position: relative; aspect-ratio: 16 / 9; background: var(--navy); }
.pv-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pv-cap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; }
.pv-cap small { display: block; font-size: var(--fs-xs); color: var(--slate); }
.pv-cap b { font-size: var(--fs-m); font-weight: 650; letter-spacing: -.02em; }
.pv-cap .btn { height: 44px; padding: 0 18px; font-size: var(--fs-s); }

@media (max-width: 860px) { .d-head .buy { max-width: 560px; } }
@media (max-width: 860px) {
    .fit, .after-qa { grid-template-columns: minmax(0, 1fr); }
    .after-steps { grid-template-columns: minmax(0, 1fr); }
}
/* 모바일 — 단계는 번호 옆에 제목 · 설명을 붙여 짧게 */
@media (max-width: 760px) {
    .after-steps { margin-top: 24px; gap: 10px; }
    .after-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; align-content: start; padding: 18px 18px 20px; border-radius: 18px; }
    .after-steps .n { grid-row: 1 / span 3; }
    .after-steps li > :not(.n) { grid-column: 2; }
    .after-steps h3 { margin-top: 2px; font-size: var(--fs-m); }
    .after-steps p { margin-top: 4px; }
    .after-steps .go { padding-top: 12px; }
    .after-qa { margin-top: 32px; }
}
@media (max-width: 760px) {
    .cur { padding: 10px; border-radius: 22px; }
    .cur-tabs { gap: 2px; }
    .cur-tabs [role="tab"] { padding: 16px 2px 12px; gap: 10px; border-radius: 14px; }
    .cur-tabs .bars { height: 76px; --bw: 8px; --bg: 4px; }
    .cur-tabs .nm, .cur-tabs .lab small { display: none; }
    .cur-tabs .lab b { font-size: var(--fs-s); }
    .cur-panel { padding: 4px 18px; border-radius: 16px; }
    .cur-ph { display: block; padding: 20px 0 4px; font-size: var(--fs-l); font-weight: 700; letter-spacing: -.03em; }
    .cur-ph small { display: block; margin-top: 2px; font-size: var(--fs-xs); font-weight: 500; color: var(--slate); letter-spacing: 0; }
    .ls { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "kd mn" "tx tx" "pv pv"; gap: 8px 12px; padding: 18px 0; }
    .pv { justify-self: start; margin-top: 4px; }
    .outs li { font-size: var(--fs-m); }
}
/* 모바일 덜어내기 */
@media (max-width: 760px) {
    .buy .pend { margin-top: 0; }
    .buy ul { margin-top: 14px; }
    .ls { grid-template-areas: "kd pv mn" "tx tx tx"; grid-template-columns: auto minmax(0, 1fr) auto; }
    .pv { margin-top: -10px; margin-bottom: -10px; justify-self: start; }
    .outs { margin-top: 20px; }
    .outs li { padding: 14px 0; }
    .fit-side { border-top: 1px solid var(--line); }
    .fit-side h3 { border-bottom: 1px solid var(--line-2); }
    .fit-side * + h3 { margin-top: 0; }
    .fit-side h3 + * { margin-top: 0; padding: 12px 2px 18px; }
    .fit-side .who-list.small { padding-top: 14px; }
}
@media (max-width: 480px) {
    .d-acts .btn { width: 100%; }
    .pv-cap { flex-direction: column; align-items: stretch; }
}

/* 신청 패널 — 실제 상태들 (시안의 '신청 열림' · '수강료 확정 전' 밖의 것) */
.buy .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 40px; }
.buy .price s { font-size: var(--fs-m); font-weight: 500; letter-spacing: -.01em; color: var(--slate); }
.buy .say { margin: 18px 0 0; }
.buy .wait { display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; background: var(--tint); font-size: var(--fs-s); line-height: 1.6; color: var(--ink-2); }
.buy .wait b { color: var(--ink); font-weight: 650; }
.buy .bank { padding: 12px 14px; border-radius: 12px; background: var(--mist); font-size: var(--fs-s); line-height: 1.6; color: var(--ink-2); }
.buy .field { margin: 12px 0 14px; display: grid; gap: 6px; font-size: var(--fs-s); font-weight: 650; }
.buy .field input { height: 54px; border-radius: 14px; border: 0; box-shadow: inset 0 0 0 1px var(--field); padding: 0 16px; font: 400 var(--fs-m) var(--font); color: var(--ink); background: var(--white); }
.buy .field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--cobalt); }
.buy .field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--err); }
.buy .field + .field-err { margin: -8px 0 12px; }
.buy .alt { margin-top: 8px; }
.cur-sum { padding: 16px 0 0; font-size: var(--fs-s); color: var(--ink-2); }
.others { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
