/* 바이브 코딩 클래스(/class) 전용 — 2026-11-12 개편. 기존 class-* 규칙은 styles.css에 있다. */

.class-lead {
  max-width: none;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--muted);
  word-break: keep-all;
  margin-bottom: 32px;
}
.class-lead a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

.personas--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* 수강 모드 화면 */
.class-fig { margin: 0 0 36px; display: flex; flex-direction: column; gap: 10px; }
.class-fig img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 18px 40px -28px rgba(26, 47, 42, .5);
  background: var(--card);
}
.class-fig figcaption { font-size: 13.5px; line-height: 1.65; color: var(--muted); word-break: keep-all; }

/* 파트 1~3 */
.class-parts {
  list-style: none; margin: 0 0 32px; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.class-parts li {
  padding: 18px 18px 18px 20px;
  border-left: 2px solid var(--coral);
  display: flex; flex-direction: column; gap: 8px;
}
.class-parts strong { font-size: 14.5px; color: var(--fg); }
.class-parts span { font-size: 13.5px; line-height: 1.65; color: var(--muted); word-break: keep-all; }

.class-plans--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.class-plans--4 .class-plan__note { line-height: 1.6; }

/* 출장 강의료 표 */
.class-price-grid {
  margin-top: 32px;
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px; align-items: start;
}
.class-price-side { display: flex; flex-direction: column; gap: 18px; }
.class-price__notes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.class-price__notes li {
  position: relative; padding-left: 14px;
  font-size: 13.5px; line-height: 1.7; color: var(--muted); word-break: keep-all;
}
.class-price__notes li::before { content: "–"; position: absolute; left: 0; }
.class-price { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.class-price caption {
  text-align: left; font-size: 13px; color: var(--muted);
  padding-bottom: 10px;
}
.class-price th, .class-price td {
  padding: 14px 12px; border-bottom: 1px solid var(--line);
  text-align: left; vertical-align: top;
}
.class-price thead th { font-size: 13px; font-weight: 600; color: var(--muted); border-bottom-color: var(--fg); }
.class-price tbody th { font-weight: 700; color: var(--fg); }
.class-price tbody th small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 3px; }
.class-price td { font-family: var(--font-point); font-weight: 700; color: var(--fg); white-space: nowrap; }
.class-price__discount {
  margin: 0; padding: 14px 16px;
  background: var(--card); border-left: 2px solid var(--coral);
  font-size: 14px; line-height: 1.7; color: var(--fg); word-break: keep-all;
}

/* 패키지 카드 안 조건 목록 */
.class-plan__list {
  list-style: none; margin: auto 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px;
}
.class-plan__list li { position: relative; padding-left: 16px; font-size: 13px; line-height: 1.6; color: var(--muted); word-break: keep-all; }
.class-plan__list li::before { content: "✓"; position: absolute; left: 0; color: var(--mint); font-weight: 700; }

/* 2인 수강, 장소, 결제 안내 */
.class-boxes { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.class-box {
  padding: 22px 24px; border: 1px solid var(--line); border-radius: 4px;
  display: flex; flex-direction: column; gap: 10px;
}
.class-box__title { font-size: 15px; font-weight: 700; color: var(--fg); }
.class-box p { font-size: 14px; line-height: 1.75; color: var(--muted); word-break: keep-all; }

@media (max-width: 1100px) {
  .class-plans--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .class-price-grid { grid-template-columns: 1fr; gap: 24px; }
  .class-boxes { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .personas--3, .class-parts, .class-plan__list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .class-plans--4 { grid-template-columns: 1fr; }
  .class-price th, .class-price td { padding: 12px 6px; font-size: 13.5px; }
  .class-price td { white-space: normal; }
}

/* 히어로 — 왼쪽 정렬 글 + 오른쪽 상품 요약 카드(2026-11-12, 가운데 정렬이 퍼져 보인다는 지적) */
.class-hero--split {
  max-width: none;
  margin: 0;
  padding: 112px 96px 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(300px, 1fr);
  gap: 64px;
  align-items: center;
  text-align: left;
}
.class-hero--split .class-hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.class-hero--split .class-hero__title { font-size: 42px; }
.class-hero--split .class-hero__desc { max-width: none; }
.class-hero--split .class-hero__trust { justify-content: flex-start; }

.class-hero__card {
  padding: 28px; border: 1px solid var(--line); border-radius: 4px; background: var(--card);
  display: flex; flex-direction: column; gap: 14px;
}
.class-hero__card-label { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--muted); }
.class-hero__offer {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px 0; border-top: 1px solid var(--line);
  color: inherit; text-decoration: none;
}
.class-hero__offer:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.class-hero__offer-tag { font-size: 12px; font-weight: 600; color: var(--coral); }
.class-hero__offer strong { font-size: 17px; color: var(--fg); }
.class-hero__offer-price { font-family: var(--font-point); font-size: 15px; font-weight: 700; color: var(--fg); }
.class-hero__card-note { font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }

@media (max-width: 1100px) {
  .class-hero--split { grid-template-columns: 1fr; gap: 40px; padding: 88px 56px 64px; }
}
@media (max-width: 900px) {
  .class-hero--split { padding: 64px 28px 56px; }
  .class-hero--split .class-hero__title { font-size: 30px; }
}

/* 와디즈 펀딩 안내(펀딩이 끝나면 .class-funding 블록과 히어로 카드의 .class-hero__funding 줄을 지운다) */
.class-hero__funding {
  display: block; padding: 10px 12px; border-radius: 4px;
  background: var(--coral); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none;
}
.class-hero__funding:hover { opacity: .9; }
.class-funding {
  margin-bottom: 28px; padding: 24px 28px;
  border: 1px solid var(--coral); border-radius: 4px; background: var(--card);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.class-funding__text { display: flex; flex-direction: column; gap: 6px; }
.class-funding__label { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--coral); text-transform: uppercase; }
.class-funding__title { font-size: 18px; color: var(--fg); }
.class-funding__text p { font-size: 14px; line-height: 1.7; color: var(--muted); word-break: keep-all; }
.class-funding__btn {
  flex-shrink: 0; padding: 12px 20px; border-radius: 4px;
  background: var(--coral); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.class-funding__btn:hover { opacity: .9; }
@media (max-width: 900px) {
  .class-funding { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* 공통 규칙의 폭 제한(.class-notice 720px, .services__note 620px)을 이 페이지에서는 풀어 오른쪽이 남는데 줄이 넘어가지 않게 */
.class-notice, .services__note:not(.services__note--wide) { max-width: none; }
.process__desc, .persona__desc { word-break: keep-all; }
