/* ===== 수업 상세 페이지 · 수업 찾기 카드 버튼 ===== */
.pg-btns { display: flex; gap: 10px; align-items: center; width: 100%; margin-top: 18px; }
.pg-btns .btn { flex: 1 1 0; min-height: 48px; padding: 0 16px; }
.btn-line.pg-detail { color: var(--ink); }

.course-page .cs-pain { margin-top: 18px; color: var(--accent); font-family: var(--serif); font-weight: 600; font-size: 1.12rem; }
.cs-meta { margin-top: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.cs-meta span { padding: 6px 14px; border-radius: 999px; background: var(--tint); font-size: .86rem; color: var(--ink); }

.cs-lead { margin-top: 18px; font-family: var(--serif); font-weight: 600; font-size: clamp(1.2rem, 3.4vw, 1.5rem); line-height: 1.7; color: var(--ink); }
.cs-label { margin-top: 36px; }
.cs-take { counter-reset: tk; }
.cs-take li { counter-increment: tk; position: relative; padding: 14px 4px 14px 40px; border-bottom: 1px solid var(--line); }
.cs-take li:first-child { border-top: 1px solid var(--line); }
.cs-take li::before { content: counter(tk); position: absolute; left: 6px; top: 14px; font-family: var(--serif); color: var(--accent); }
.cs-fit li { margin-top: 12px; }

.cs-group { display: flex; gap: 12px; align-items: baseline; margin: 28px 0 6px; font-family: var(--serif); font-weight: 600; font-size: 1.12rem; color: var(--ink); }
.cs-group span { color: var(--accent); }
.cs-steps { counter-reset: st; margin-top: 8px; border-top: 1px solid var(--line); }
.cs-steps li { counter-increment: st; display: flex; gap: 16px; padding: 16px 2px; border-bottom: 1px solid var(--line); }
.cs-steps li::before { content: counter(st); flex: 0 0 28px; height: 28px; border: 1px solid var(--ink); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: .85rem; line-height: 1; color: var(--ink); margin-top: 2px; }

.cs-flow li { margin-top: 10px; }
.cs-apply { margin-top: 32px; }
.cs-apply .btn { min-width: 240px; }
.course-page .eb-table td { line-height: 1.7; }
.course-page .eb-table td small { margin-left: 6px; color: var(--accent); font-weight: 500; }
.course-page .eb-table s { color: #98a1b3; }
.cs-others a { grid-template-columns: 1fr auto; row-gap: 4px; }
.cs-others a b { grid-column: 1; }
.cs-others a span { grid-column: 1; }
.cs-others a i { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
@media (max-width: 720px) { .cs-take li { padding-left: 36px; } }

/* ===== 맞춤 클래스 상세 ===== */
.cs-lead-sm { margin: 0 0 8px; font-size: 1.08rem; }
.cs-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.cs-tabs button { min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: .92rem; transition: color .2s, border-color .2s, background .2s; }
.cs-tabs button:hover { color: var(--ink); border-color: var(--ink); }
.cs-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 500; }
.cs-panel[hidden], .cs-plans[hidden] { display: none; }
.cs-panel { margin-top: 24px; }
.cs-ses { margin-top: 8px; border-top: 1px solid var(--line); }
.cs-ses li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 18px 2px; border-bottom: 1px solid var(--line); }
.cs-ses-no { font-family: var(--serif); color: var(--accent); font-size: .95rem; padding-top: 2px; }
.cs-ses b { display: block; font-weight: 500; color: var(--ink); line-height: 1.6; }
.cs-ses span:not(.cs-ses-no) { display: block; margin-top: 4px; color: var(--muted); font-size: .95rem; }
.cs-plans { margin-top: 18px; border-top: 1px solid var(--ink); }
.cs-plans > li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 24px 12px; border-bottom: 1px solid var(--line); }
.cs-plans > li.on { background: #f1f5ff; border-left: 3px solid var(--accent); }
.cs-ratio { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--accent); }
.cs-plans h4 { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--ink); line-height: 1.5; }
.cs-plans p { margin-top: 4px; color: var(--muted); font-size: .95rem; }
.cs-plans dl { margin: 14px 0 0; }
.cs-plans dl div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 6px 0; border-top: 1px solid rgba(0, 0, 0, .06); font-size: .94rem; }
.cs-plans dl div:first-child { border-top: 0; }
.cs-plans dt { font-weight: 700; color: var(--ink); }
.cs-plans dd { margin: 0; color: var(--text); }
.cs-plans s { color: #98a1b3; }
.cs-plans strong { color: var(--ink); }
@media (max-width: 720px) {
  .cs-ses li { grid-template-columns: 1fr; gap: 4px; }
  .cs-plans > li { grid-template-columns: 1fr; gap: 6px; padding: 22px 12px; }
  .cs-plans dl div { grid-template-columns: 1fr; gap: 0; }
}

/* ===== 오픈 기념 할인가: 진한 파랑으로 눈에 띄게 + (예시) 표시 ===== */
.cs-eg { margin-left: 4px; font-family: var(--sans); font-weight: 500; font-size: .86rem; color: var(--muted); }
.course-page .eb-table td strong { color: #1639b8; font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; vertical-align: baseline; }
.course-page .eb-table td small { color: #1639b8; font-weight: 700; }
.cs-plans dd strong { color: #1639b8; font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; }

/* ===== 90분 컨설팅 (수업 찾기 04) ===== */
.pg-consult .pg-sem .date { color: #1639b8; font-size: 1.6rem; font-weight: 800; letter-spacing: -.01em; }
.pg-consult .pg-sem .date small { font-size: .82rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.pg-consult .pg-sem { grid-template-columns: 170px 1fr auto; }
@media (max-width: 720px) { .pg-consult .pg-sem { grid-template-columns: 1fr; } }

/* ===== 맞춤 컨설팅: 장점 · 이런 분께 · 결과물을 크게 ===== */
.course-page .cs-lead mark { background: linear-gradient(transparent 62%, #cfe0ff 62%); color: #1639b8; font-weight: 800; box-shadow: none; padding: 0 2px; }
.cs-adv { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.cs-adv li { display: flex; gap: 14px; align-items: flex-start; padding: 20px 18px; border-radius: 16px; background: #f4f7ff; border: 1px solid #dbe6ff; }
.cs-adv-ic { flex: 0 0 48px; height: 48px; border-radius: 14px; background: #1639b8; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.cs-adv b { display: block; font-family: var(--serif); font-size: 1.14rem; font-weight: 800; color: var(--ink); line-height: 1.45; }
.cs-adv span:not(.cs-adv-ic) { display: block; margin-top: 6px; color: #4a5570; font-size: .96rem; line-height: 1.7; }
.cs-for { margin-top: 18px; display: grid; gap: 10px; }
.cs-for li { position: relative; padding: 16px 18px 16px 52px; border-radius: 12px; background: #f6f8fc; font-size: 1.04rem; font-weight: 600; line-height: 1.65; color: var(--ink); }
.cs-for li::before { content: ""; position: absolute; left: 16px; top: 16px; width: 24px; height: 24px; border-radius: 50%; background: #e7eeff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231639b8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center / 15px no-repeat; }
.cs-sublabel { margin: 26px 0 10px; font-family: var(--serif); font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.cs-worry { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-worry li { padding: 8px 14px; border-radius: 999px; background: #f4f7ff; color: #1639b8; font-weight: 700; font-size: .94rem; line-height: 1.5; }
.cs-worry li::before { content: "“"; margin-right: 2px; }
.cs-worry li::after { content: "”"; margin-left: 2px; }
.cs-gain { display: grid; gap: 10px; }
.cs-gain li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: #eef3ff; }
.cs-gain-ic { flex: 0 0 32px; height: 32px; border-radius: 50%; background: #cfe0ff; color: #1639b8; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.cs-gain b { display: block; font-size: 1.06rem; font-weight: 800; color: var(--ink); line-height: 1.5; }
.cs-gain span span { display: block; margin-top: 3px; color: #4a5570; font-size: .95rem; line-height: 1.65; }
.cs-result { margin-top: 20px; padding: 22px 22px; border-radius: 16px; background: linear-gradient(135deg, #1639b8, #285bd9); color: #fff; }
.cs-result-k { font-size: .8rem; font-weight: 700; letter-spacing: .12em; color: rgba(255, 255, 255, .8); }
.cs-result-t { margin-top: 8px; font-family: var(--serif); font-weight: 800; font-size: clamp(1.25rem, 3.6vw, 1.6rem); line-height: 1.5; color: #fff; }
@media (max-width: 720px) {
  .cs-adv { grid-template-columns: 1fr; }
  .cs-adv li { padding: 16px 14px; }
  .cs-result { padding: 18px 16px; }
}

/* ===== 블루 계열로 통일 (맞춤 · 원데이 상세 공통) ===== */
.cs-worry li { background: #fff; color: #1639b8; box-shadow: inset 0 0 0 1.5px #b9ccf5; }
.cs-gain li { background: #eef3ff; }
.cs-gain-ic { background: #1639b8; color: #fff; }
.cs-meta span { background: #e7eeff; color: #1639b8; font-weight: 700; }
.course-page .eb-no { border-color: #1639b8; color: #1639b8; font-weight: 700; }

/* 원데이 상세: 목록을 연한 블루 행 + 블루 아이콘으로 */
.course-page .eb-list li { position: relative; margin-top: 10px; padding: 14px 16px 14px 52px; border-radius: 12px; background: #f4f7ff; font-size: 1.03rem; font-weight: 600; line-height: 1.65; color: var(--ink); }
.course-page .eb-list li:first-child { margin-top: 0; }
.course-page .eb-list li::before { content: ""; position: absolute; left: 14px; top: 15px; width: 24px; height: 24px; border-radius: 50%; background: #e7eeff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231639b8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center / 15px no-repeat; }
.course-page .eb-list.cs-flow li { background: #eef3ff; }
.course-page .eb-list li strong { color: #1639b8; font-weight: 800; }
.course-page .eb-list .sm { font-weight: 500; }

/* 한마디 요약 아래 '할 수 있어요' 목록: 번호가 파란 원 */
.cs-take { display: grid; gap: 10px; border: 0; }
.cs-take li { counter-increment: tk; position: relative; padding: 16px 18px 16px 58px; border: 0; border-radius: 12px; background: #eef3ff; font-weight: 700; color: var(--ink); line-height: 1.6; }
.cs-take li:first-child { border-top: 0; }
.cs-take li::before { left: 16px; top: 15px; width: 28px; height: 28px; border-radius: 50%; background: #1639b8; color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-size: .9rem; font-weight: 800; }
.course-page .cs-lead mark, .course-page .eb-prose mark { color: #1639b8; }

/* 세부 커리큘럼 번호 */
.cs-steps li::before { background: #1639b8; border-color: #1639b8; color: #fff; font-weight: 800; }
.cs-steps li { font-weight: 600; color: var(--ink); }
.cs-group span { color: #1639b8; font-weight: 800; }

/* 수강료 · 다른 수업 링크 */
.course-page .eb-kw a:hover { background: #eef3ff; }
.course-page .eb-card, .course-page .eb-eg { border-radius: 12px; }
.course-page .eb-eg { background: #eef3ff; border-left-color: #1639b8; }
.course-page .eb-eg span { color: #1639b8; font-weight: 800; }

/* ===== 조정: 기존 사이트 글자 크기에 맞추고, 파란 바탕은 핵심 내용에만 ===== */
.cs-lead { font-size: clamp(1.05rem, 2.2vw, 1.2rem); font-weight: 600; line-height: 1.75; }
.cs-lead-sm { font-size: 1rem; font-weight: 600; }
.course-page .cs-lead mark, .course-page .eb-prose mark { background: none; box-shadow: none; color: #1639b8; font-weight: 700; }
.cs-label { margin-top: 30px; }
.cs-sublabel { margin: 22px 0 8px; font-size: .98rem; font-weight: 600; }

.cs-adv { gap: 10px; }
.cs-adv li { padding: 14px 15px; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.cs-adv-ic { flex: 0 0 38px; height: 38px; border-radius: 10px; background: #eef3ff; color: #1639b8; }
.cs-adv-ic svg { width: 20px; height: 20px; }
.cs-adv b { font-size: 1.02rem; font-weight: 600; line-height: 1.5; }
.cs-adv span:not(.cs-adv-ic) { margin-top: 4px; font-size: .92rem; line-height: 1.65; color: var(--muted); }

.cs-for { display: block; margin-top: 14px; border-top: 1px solid var(--line); }
.cs-for li { padding: 13px 4px 13px 40px; border-radius: 0; background: none; border-bottom: 1px solid var(--line); font-size: .95rem; font-weight: 400; line-height: 1.7; color: var(--text); }
.cs-for li::before { left: 4px; top: 14px; width: 22px; height: 22px; background-color: #eef3ff; background-size: 14px; }
.cs-worry li { font-size: .86rem; font-weight: 600; }
.cs-gain { display: block; border-top: 1px solid var(--line); }
.cs-gain li { padding: 13px 4px; gap: 12px; border-radius: 0; background: none; border-bottom: 1px solid var(--line); }
.cs-gain-ic { flex: 0 0 26px; height: 26px; background: #eef3ff; color: #1639b8; }
.cs-gain-ic svg { width: 15px; height: 15px; }
.cs-gain b { font-size: .98rem; font-weight: 700; }
.cs-gain span span { font-size: .9rem; color: var(--muted); }
.cs-result { margin-top: 18px; padding: 16px 18px; border-radius: 12px; }
.cs-result-k { font-size: .74rem; }
.cs-result-t { font-size: clamp(1.05rem, 2.4vw, 1.25rem); font-weight: 700; }

/* 원데이 상세 목록: 흰 바탕 + 가는 선 + 파란 체크 */
.course-page .eb-list { border-top: 1px solid var(--line); }
.course-page .eb-list li { margin-top: 0; padding: 12px 4px 12px 40px; border-radius: 0; background: none; border-bottom: 1px solid var(--line); font-size: .95rem; font-weight: 400; line-height: 1.7; color: var(--text); }
.course-page .eb-list li::before { left: 4px; top: 13px; width: 22px; height: 22px; background-color: #eef3ff; background-size: 14px; }
.course-page .eb-list.cs-flow li { background: none; }
.course-page .eb-list li strong { color: #1639b8; font-weight: 700; }
.cs-take { display: block; border-top: 1px solid var(--line); }
.cs-take li { padding: 13px 4px 13px 42px; border-radius: 0; background: none; border-bottom: 1px solid var(--line); font-size: .95rem; font-weight: 500; line-height: 1.7; color: var(--text); }
.cs-take li::before { left: 4px; top: 13px; width: 22px; height: 22px; font-size: .75rem; }
.cs-steps li { font-size: .95rem; font-weight: 400; }
.cs-steps li::before { font-weight: 700; }

@media (max-width: 720px) {
  .cs-adv li { padding: 13px 13px; }
  .cs-result { padding: 14px 15px; }
}

/* ===== 참고 이미지 느낌: 진한 파랑 라벨 + 굵은 제목 + 핵심 구절만 굵은 파랑 ===== */
.course-page .eb-sub { display: inline-block; margin-bottom: 16px; padding: 5px 14px; border-radius: 999px; background: #1639b8; color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.course-page .eb-hero h1 { font-weight: 700; }
.course-page .eb-label, .cs-sublabel { display: inline-block; margin: 26px 0 12px; padding: 3px 12px; border-radius: 3px; background: #1639b8; color: #fff; font-family: var(--sans); font-size: .9rem; font-weight: 700; letter-spacing: 0; line-height: 1.6; }
.cs-sublabel { margin-top: 22px; }
.course-page .eb-intro .cs-lead { padding-left: 14px; border-left: 4px solid #1639b8; }
.cs-q, .course-page .cs-q { color: #1639b8; font-weight: 700; }
.course-page .eb-note .cs-q, .course-page .sm .cs-q { font-weight: 700; }
.cs-result .cs-q { color: #fff; }

.course-page .eb-sub { display: table; }
