/* ============================================================
   registration.css — 부트캠프 2기 등록 페이지
   Supplementary styles — extends bootcamp-2.css
   (fundamental.css 와 동일한 공유 스타일 포함)
   ============================================================ */

/* ── Phase title — 크게 + 또렷한 흰색 (fundamental.css 와 동일) ── */
.phase-title {
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.45;
  word-break: keep-all;
}

/* ── 커리큘럼 아코디언 (details/summary) ── */
.curriculum-phase > .phase-header {
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.curriculum-phase > .phase-header::-webkit-details-marker { display: none; }
.curriculum-phase > .phase-header::marker { content: ""; }
.curriculum-phase:not([open]) > .phase-header { border-bottom: none; }

/* 토글 화살표 */
.phase-toggle {
  margin-left: auto;
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transform-origin: 60% 60%;
  transition: transform 0.25s ease, border-color 0.2s ease;
}
.curriculum-phase[open] > .phase-header .phase-toggle {
  transform: rotate(-135deg);
}
.curriculum-phase > .phase-header:hover .phase-toggle {
  border-color: var(--accent);
}

/* ── 페이즈 점프 링크 (week-jump 와 동일한 패턴) ── */
.phase-jump {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.phase-jump a {
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-muted);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
.phase-jump a:hover {
  color: var(--text);
  border-color: rgba(255, 179, 71, 0.4);
  background: rgba(255, 179, 71, 0.06);
}

/* ── 레슨 설명 단락 (fundamental 의 lesson-title-en 에 해당하는 desc) ── */
.lesson-desc {
  margin-top: 5px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── 강사 참여작 갤러리 (fundamental.css 와 동일) ── */
.instructor-works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.instructor-work { margin: 0; }
.instructor-work img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.2s ease;
}
.instructor-work img:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 179, 71, 0.4);
}
.instructor-work figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* ── curriculum-tag--project 변형 ── */
.curriculum-tag--project {
  background: rgba(255, 179, 71, 0.12);
  border-color: rgba(255, 179, 71, 0.35);
  color: var(--accent);
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .instructor-works {
    grid-template-columns: 1fr;
  }
}
