/* ═══════════════════════════════════════════
   SCHEDULE — 과정 목록 (카드 스타일)
   ═══════════════════════════════════════════ */
.course-group-title {
  font-size: 22px; font-weight: 700; color: var(--dark);
  margin: 0; padding: 28px 0 14px;
}

.course-list {
  display: grid; gap: 16px;
}

.course-item {
  display: flex; align-items: stretch;
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  background: #fff;
  transition: box-shadow .2s;
  cursor: pointer;
  overflow: hidden;
}
.course-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); border-color: #1f5afc; }

.timetable-link {
  color: #999; font-size: 18px; font-weight: 500;
  text-decoration: underline; margin-left: 6px;
  white-space: nowrap;
}
.timetable-link:hover { color: #1f5afc; }

/* ── 메인 영역 (왼쪽) ── */
.c-main {
  flex: 1; min-width: 0;
  padding: 32px 40px 36px;
  display: flex; flex-direction: column; justify-content: center;
  color: inherit; text-decoration: none;
}
a.c-main:hover .c-name { color: var(--primary); }

/* 상단: 딱지 + 상태 — 한 줄 */
.c-top {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.c-tags { display: flex; gap: 8px; align-items: center; }
.c-tag {
  display: inline-block;
  font-size: 15px; font-weight: 600;
  padding: 5px 16px;
  border: 1px solid #bdbdbd; color: #9e9e9e;
  border-radius: 5px;
  line-height: 1.4;
}
.c-tag--method { border-color: #34c47a; color: #34c47a; }
.c-tag--level  { border-color: #f9a825; color: #f9a825; }
.c-tag--round  { border-color: #bdbdbd; color: #999; }
.c-tag--weekday { border-color: #1f5afc; color: #1f5afc; }
.c-tag--weekend { border-color: #e65100; color: #e65100; }

.c-state {
  font-size: 15px; font-weight: 400;
  padding: 5px 18px;
  border-radius: 16px;
  white-space: nowrap;
  margin-left: auto;
}
.c-state--active {
  color: #1f5afc;
  background: rgba(31,90,252,0.08);
  border: 1px solid #1f5afc;
}
.c-state--off {
  color: #9e9e9e;
  background: #f5f5f5;
  border: 1px solid #bdbdbd;
}

/* 분류 텍스트 */
.c-category {
  font-size: 17px; font-weight: 400; color: #999;
  margin-bottom: 8px;
}

/* 중앙: 과정명 */
.c-center { margin-bottom: 20px; }
.c-name {
  font-size: 26px; font-weight: 500;
  color: #111; line-height: 1.4;
  letter-spacing: -0.3px;
}

/* 하단: 메타 정보 — 2×2 그리드 */
.c-bottom {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  gap: 8px 48px;
  margin-top: 0;
}
.c-bottom-row {
  display: contents;
}
.c-dl {
  display: flex; align-items: baseline; gap: 8px;
}
.c-dl dt {
  font-size: 18px; font-weight: 500; color: #111;
  white-space: nowrap;
}
.c-dl dd {
  font-size: 18px; font-weight: 500; color: #999;
}
.c-dl dd strong {
  color: #1f5afc; font-weight: 700;
}

/* ── 액션 영역 (오른쪽 · 파티션 포함) ── */
.c-action {
  flex: 0 0 220px;
  padding: 0 36px;
  border-left: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  position: relative;
}
.c-action::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 66%;
  background: #e0e0e0;
  border-radius: 1px;
}
.c-btn {
  display: flex; align-items: center; justify-content: center;
  width: 140px; height: 52px;
  font-size: 16px; font-weight: 600;
  border-radius: 10px;
  border: 1px solid;
  text-decoration: none;
  transition: background .15s;
}
.c-btn--active {
  background: #1f5afc; color: #fff; border-color: #1f5afc;
}
.c-btn--active:hover { background: #1746d1; border-color: #1746d1; }
.c-btn--off {
  background: #bdbdbd; color: #fff; border-color: #bdbdbd;
  pointer-events: none;
}
.c-btn--today {
  background: #dc2626; color: #fff; border-color: #dc2626;
}
.c-btn--today:hover { background: #b91c1c; border-color: #b91c1c; }
.c-btn--timetable {
  background: #fff; color: #1f5afc; border-color: #1f5afc;
}
.c-btn--timetable:hover { background: #eff4ff; }

.sec-cta { text-align: center; margin-top: 32px; }
.btn-primary {
  display: inline-flex; padding: 14px 32px; font-size: 14px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.5px;
  border-radius: 8px; background: var(--primary); color: #fff;
  transition: all .2s;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ═══════════════════════════════════════════
   REVIEWS — 후기 카드
   ═══════════════════════════════════════════ */
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px 24px;
  position: relative;
}
.review-card::before {
  content: '\201C';
  position: absolute; top: 16px; left: 24px;
  font-size: 48px; line-height: 1;
  color: var(--primary);
  opacity: 0.15;
  font-family: Georgia, serif;
}

.review-text {
  font-size: 15px; color: var(--text-sub);
  line-height: 1.8; margin-bottom: 20px;
  padding-top: 8px;
}

.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: #fff;
}
.review-meta strong { display: block; font-size: 14px; font-weight: 700; color: var(--dark); }
.review-meta span { font-size: 12px; color: var(--text-light); }

/* ═══════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════ */
.faq-list {
  max-width: 740px; margin: 0 auto;
}

.faq-item { border-bottom: 1px solid var(--border); }

.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; cursor: pointer;
  font-size: 16px; font-weight: 700; color: var(--dark);
  transition: color .15s; user-select: none;
}
.faq-q:hover { color: var(--primary); }

.faq-icon {
  font-size: 13px; color: var(--text-light);
  transition: transform .3s;
  flex-shrink: 0; margin-left: 16px;
}
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-item.open .faq-q { color: var(--primary); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner {
  padding: 0 0 20px;
  font-size: 15px; color: var(--text-sub);
  line-height: 1.8;
}
