/* ════════════════════════════════════════════
   LECTURES PAGE — lectures.css
   Design tokens from style.css
════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   브레드크럼
───────────────────────────────────────── */
.lc-breadcrumb {
  background: var(--black2);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.lc-bc-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
.lc-bc {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--gray2);
}
.lc-bc a {
  color: var(--gray2);
  text-decoration: none;
  transition: color 0.2s;
}
.lc-bc a:hover  { color: var(--gold); }
.lc-bc span     { color: var(--gray2); }
.lc-bc-current  { color: var(--gold); }

/* ─────────────────────────────────────────
   공용 eyebrow
───────────────────────────────────────── */
.lc-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

/* ─────────────────────────────────────────
   히어로
───────────────────────────────────────── */
.lc-hero {
  background: var(--black);
}
.lc-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 90px 48px 80px;
}
.lc-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 24px;
}
.lc-hero-title em {
  font-style: italic;
  color: var(--gold);
}
.lc-hero-desc {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray);
  max-width: 720px;
  margin-bottom: 36px;
}
.lc-hero-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.lc-hero-pill {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 20px;
  padding: 6px 14px;
  white-space: nowrap;
}

/* ─────────────────────────────────────────
   강사진 섹션
───────────────────────────────────────── */
.lc-instructors {
  background: var(--black2);
  border-top: 1px solid rgba(201,168,76,0.12);
  border-bottom: 1px solid rgba(201,168,76,0.12);
}
.lc-instructors-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px;
}
.lc-instr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 4px;
}
.lc-instr-card {
  position: relative;
  background: var(--black3);
  border: 1px solid rgba(247,245,240,0.06);
  padding: 32px 28px;
  overflow: hidden;
}
.lc-instr-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--gold);
}
.lc-instr-cat {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.lc-instr-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 14px;
}
.lc-instr-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray);
  margin-bottom: 18px;
}
.lc-instr-result {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--gold);
  line-height: 1.6;
  padding-top: 14px;
  border-top: 1px solid rgba(201,168,76,0.15);
}

/* ─────────────────────────────────────────
   강의 목록 섹션
───────────────────────────────────────── */
.lc-courses {
  background: var(--black);
}
.lc-courses-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 48px;
}
.lc-courses-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 40px;
}
.lc-courses-title em {
  font-style: italic;
  color: var(--gold);
}
.lc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* ─── 강의 아코디언 행 ─── */
.lec-row {
  position: relative;
  background: var(--black2);
  border: 1px solid rgba(247,245,240,0.06);
  overflow: hidden;
  transition: border-color 0.2s;
}
.lec-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: transparent;
  transition: background 0.2s;
  z-index: 1;
}
.lec-row:hover,
.lec-row.open {
  border-color: rgba(201,168,76,0.3);
}
.lec-row:hover::before,
.lec-row.open::before {
  background: var(--gold);
}

/* 행 헤더 (3열 그리드) */
.lec-row-header {
  display: grid;
  grid-template-columns: 1fr 1.8fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 36px 44px;
  cursor: pointer;
  user-select: none;
}

/* 왼쪽: 카테고리 + 강의명 + 강사 */
.lec-col-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lec-cat-tag {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 3px 10px;
  border-radius: 2px;
  align-self: flex-start;
}
.lec-name {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
}
.lec-instr-name {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--gold);
  line-height: 1.5;
}

/* 가운데: 요약 */
.lec-col-mid {}
.lec-summary {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray);
}

/* 오른쪽: 라이브클래스 + 토글 */
.lec-col-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}
.lec-live-tag {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--gray2);
  white-space: nowrap;
}
.lec-toggle {
  font-family: var(--font-sans);
  font-size: 20px;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.lec-row.open .lec-toggle {
  transform: rotate(45deg);
}

/* ─── 강의 디테일 영역 ─── */
.lec-detail {
  display: none;
  border-top: 1px solid rgba(247,245,240,0.06);
}
.lec-detail.open {
  display: block;
}
.lec-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding: 36px 44px;
}
.lec-detail-label {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

/* 수강 대상 */
.lec-target-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}
.lec-target-list li {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}
.lec-target-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 12px;
}

/* 커리큘럼 */
.lec-curriculum {
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
}
.lec-curriculum li {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.lec-num {
  font-family: var(--font-serif);
  font-size: 12px;
  color: var(--gold);
  flex-shrink: 0;
  font-weight: 400;
}

/* 기대 효과 */
.lec-effect-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.lec-effect-pill {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 4px 10px;
  border-radius: 2px;
  white-space: nowrap;
}
.lec-effect-desc {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 20px;
}
.lec-course-btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--black);
  background: var(--gold);
  padding: 12px 20px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.lec-course-btn:hover { background: var(--gold-light); }

/* ─────────────────────────────────────────
   수강 후기 섹션
───────────────────────────────────────── */
.lc-reviews-section {
  background: var(--black);
  padding: 0 48px 80px;
}
.lc-reviews-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.lc-reviews-box {
  background: var(--black2);
  border: 1px solid rgba(247,245,240,0.06);
  padding: 48px;
}
.lc-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.lc-review {
  padding: 0 40px;
}
.lc-review:first-child { padding-left: 0; }
.lc-review:last-child  { padding-right: 0; }
.lc-review:not(:last-child) {
  border-right: 1px solid rgba(247,245,240,0.08);
}
.lc-review-stars {
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.lc-review-text {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray);
  flex: 1;
  margin-bottom: 20px;
}
.lc-review-footer {
  border-top: 1px solid rgba(247,245,240,0.06);
  padding-top: 16px;
}
.lc-review-name {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 3px;
}
.lc-review-tag {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--gold);
}

/* ─────────────────────────────────────────
   CTA 배너
───────────────────────────────────────── */
.lc-cta {
  background: var(--black2);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 72px 0;
}
.lc-cta-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.lc-cta-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 14px;
}
.lc-cta-title em {
  font-style: italic;
  color: var(--gold);
}
.lc-cta-sub {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
}
.lc-cta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex-shrink: 0;
}
.lc-cta-btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--black);
  background: var(--gold);
  padding: 16px 32px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.lc-cta-btn:hover { background: var(--gold-light); }
.lc-cta-reassure {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--gray2);
  letter-spacing: 0.02em;
}
.lc-cta-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ─────────────────────────────────────────
   반응형
───────────────────────────────────────── */
@media (max-width: 1100px) {
  .lc-hero-inner,
  .lc-instructors-inner,
  .lc-courses-inner,
  .lc-reviews-inner,
  .lc-cta-inner,
  .lc-bc-inner {
    padding-left: 32px;
    padding-right: 32px;
  }
  .lc-reviews-section { padding-left: 32px; padding-right: 32px; }
  .lec-row-header { padding: 28px 32px; }
  .lec-detail-grid { padding: 28px 32px; }
}

@media (max-width: 900px) {
  .lc-instr-grid { grid-template-columns: 1fr; }
  .lec-row-header {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 24px;
  }
  .lec-col-right {
    justify-content: space-between;
  }
  .lec-detail-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px;
  }
  .lc-reviews-grid { grid-template-columns: 1fr; }
  .lc-review {
    padding: 24px 0;
    border-right: none !important;
    border-bottom: 1px solid rgba(247,245,240,0.08);
  }
  .lc-review:last-child { border-bottom: none; }
}

@media (max-width: 640px) {
  .lc-hero-inner     { padding: 56px 20px 48px; }
  .lc-instructors-inner,
  .lc-courses-inner  { padding: 36px 20px; }
  .lc-reviews-section { padding: 0 20px 56px; }
  .lc-reviews-box    { padding: 28px 20px; }
  .lc-cta-inner      { padding: 0 20px; flex-direction: column; align-items: flex-start; }
  .lc-cta-btn        { width: 100%; text-align: center; }
  .lec-name          { font-size: 22px; }
  .lec-row-header    { padding: 20px; }
  .lec-detail-grid   { padding: 20px; }
  .lc-bc-inner       { padding: 0 20px; }
}

/* ══════════════════════════════════════════════════
   SECTION-LIGHT OVERRIDES — lectures.php
══════════════════════════════════════════════════ */
/* 강사진 섹션 (2nd) */
.section-light.lc-instructors { border-top-color: rgba(0,0,0,0.06); border-bottom-color: rgba(0,0,0,0.06); }
.section-light .lc-instr-card  { background: #fff; border-color: rgba(0,0,0,0.1); }
.section-light .lc-instr-title { color: #1d1d1f; }
.section-light .lc-instr-desc  { color: #6e6e73; }
.section-light .lc-eyebrow     { color: #C9A84C; }

/* 수강 후기 섹션 (4th) */
.section-light .lc-reviews-box    { background: #fff; border-color: rgba(0,0,0,0.1); }
.section-light .lc-review:not(:last-child) { border-right-color: rgba(0,0,0,0.08); }
.section-light .lc-review-footer  { border-top-color: rgba(0,0,0,0.08); }
.section-light .lc-review-text    { color: #6e6e73; }
.section-light .lc-review-name    { color: #1d1d1f; }
