/* =========================================================================
   [커리큘럼 전용 스타일시트] css/curriculum.css
   - 핀터레스트 레퍼런스(pin/609463762133742469) 기반 미니멀 크림·진회색 선 테마 적용
   ========================================================================= */

body.curriculum-page {
  background: #F5F3EB;
  color: var(--text-main, #262930);
  min-height: 100vh;
}

/* 상단 고정 네비게이션: 밝은 크림 바 + 1.4px 진회색 테두리 */
.curriculum-nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 160;
  width: min(1140px, 94%);
  background: rgba(250, 248, 242, 0.94);
  backdrop-filter: blur(10px);
  color: #262930;
  border: 1.4px solid #3F444C;
  border-radius: 999px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 6px 20px rgba(63, 68, 76, 0.06);
}

.curriculum-nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.back-portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFDF9;
  color: #262930;
  border: 1.2px solid #3F444C;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}

.back-portfolio-link:hover {
  background: var(--mint, #D8E88A);
  transform: translateX(-2px);
}

/* 상단 3대 주제 즉시 전환 탭 바 (.topic-tab-bar) */
.topic-tab-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.topic-tab-btn {
  background: transparent;
  color: #4B525C;
  border: 1.2px solid #9CA3AF;
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.topic-tab-btn:hover {
  color: #262930;
  border-color: #3F444C;
}

.topic-tab-btn.active {
  background: var(--mint, #D8E88A);
  color: #262930;
  border-color: #3F444C;
  font-weight: 800;
}

/* 본문 전체 래퍼 (여백 확대) */
.curriculum-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 130px 32px 100px 32px;
}

/* =========================================================================
   1. 강의안 히어로 및 예시 이미지 프레임 (.curriculum-hero)
   ========================================================================= */
.curriculum-hero {
  background: #FFFDF9;
  border: 1.5px solid #3F444C;
  border-radius: 0;
  padding: 44px 40px;
  margin-bottom: 44px;
}

.curriculum-hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.curriculum-field-chip {
  display: inline-block;
  background: #F4F2EA;
  color: #262930;
  border: 1.2px solid #3F444C;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 999px;
}

.curriculum-question-badge {
  display: inline-block;
  background: #EDF7ED;
  color: #1E4620;
  font-size: 14.5px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1.2px solid #3F444C;
}

.curriculum-title {
  font-family: 'SBAggroB', 'Paperlogy', sans-serif;
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 400;
  color: #262930;
  line-height: 1.22;
  margin-bottom: 18px;
}

.curriculum-subtitle {
  font-size: clamp(16px, 1.7vw, 18.5px);
  font-weight: 600;
  color: #4B525C;
  line-height: 1.75;
  max-width: 900px;
  margin-bottom: 24px;
}

.curriculum-keyword-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.curriculum-keyword-pill {
  background: #F4F2EA;
  color: #262930;
  border: 1.2px solid #3F444C;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}

.curriculum-visual-frame {
  background: #FAF8F2;
  border: 1px solid #3F444C;
  border-radius: 0;
  padding: 28px;
  overflow: hidden;
}

/* 1·2번: HTML/CSS 직각 스퀘어 비교 도식 (얇은 진회색 테두리, 넓은 간격, SVG 캐릭터·겹침 선 제거) */
.cur-visual-board {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cur-visual-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: stretch;
}

.cur-visual-box {
  background: #FFFDF9;
  border: 1px solid #3F444C;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}

.cur-visual-box-head {
  padding: 12px 16px;
  border-bottom: 1px solid #3F444C;
  font-size: 14px;
  font-weight: 800;
  color: #1D1B4B;
  background: #F4F2EA;
}

.cur-visual-box.is-left .cur-visual-box-head {
  background: #FFEBE4;
  color: #9A3412;
}

.cur-visual-box.is-right .cur-visual-box-head {
  background: #EEF4D4;
  color: #1D1B4B;
}

.cur-visual-list {
  list-style: none;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cur-visual-item {
  border: 1px solid #CBD5E1;
  border-radius: 0;
  padding: 12px 14px;
  background: #FAF8F2;
}

.cur-visual-item strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #262930;
  margin-bottom: 3px;
}

.cur-visual-item span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #4B525C;
  line-height: 1.5;
}

.cur-visual-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 4px;
  text-align: center;
}

.cur-visual-mid-badge {
  border: 1px solid #3F444C;
  background: #FFFDF9;
  color: #1D1B4B;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 0;
  white-space: nowrap;
}

.cur-visual-mid-arrow {
  font-size: 20px;
  font-weight: 800;
  color: #3F444C;
}

.cur-visual-flow {
  border: 1px solid #3F444C;
  background: #FFFDF9;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #262930;
  text-align: center;
  line-height: 1.6;
}

.curriculum-visual-caption {
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: #4B525C;
  text-align: center;
}

/* =========================================================================
   2. 디지털 원리 탐구 × 미디어 제작 결합 배너 (.uniqueness-banner)
   ========================================================================= */
.uniqueness-banner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  margin-bottom: 56px;
}

.uniqueness-box {
  border: 1.5px solid #3F444C;
  border-radius: 0;
  padding: 28px 28px;
  font-size: 15.5px;
  line-height: 1.7;
}

.uniqueness-box.conventional {
  background: #FFFDF9;
  color: #4B525C;
}

.uniqueness-box.gongjo-way {
  background: #EDF7ED;
  color: #262930;
}

/* 4번: 공조 방식 본문 굵기 얇게 */
.uniqueness-box.gongjo-way p {
  font-weight: 400;
}

/* 3번: 라벨 스퀘어 높이·글씨 크기 확대 */
.uniqueness-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.2px solid #3F444C;
  margin-bottom: 14px;
  background: #FFFDF9;
  color: #262930;
}

/* 섹션 소제목 블록 (점선 구분선 및 여백) */
.curriculum-section-block {
  margin-bottom: 60px;
  padding-top: 44px;
  border-top: 1.5px dashed #8E95A2;
}

.section-block-header {
  margin-bottom: 28px;
}

.section-block-tag {
  display: inline-block;
  background: #FFFDF9;
  color: #262930;
  border: 1.2px solid #3F444C;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-block-title {
  font-family: 'SBAggroB', 'Paperlogy', sans-serif;
  font-size: clamp(23px, 3vw, 32px);
  font-weight: 400;
  color: #262930;
  line-height: 1.28;
}

/* 1번: h2 괄호 내용 부제 분리 (얇고 작게) */
.section-block-sub {
  display: block;
  margin-top: 8px;
  font-family: 'Paperlogy', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #4B525C;
  line-height: 1.5;
}

/* =========================================================================
   3. 미디어 질문 × 디지털 질문 × 주체적 활동 3열 공식 카드 (.formula-grid-3)
   ========================================================================= */
/* 5번: 3열 공식 카드 중간에 두꺼운 + 기호 배치 */
.formula-grid-3 {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
}

.formula-op {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 800;
  color: #1D1B4B;
  padding: 0 4px;
  user-select: none;
}

.formula-card {
  background: #FFFDF9;
  border: 1.5px solid #3F444C;
  border-radius: 0;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.formula-tag {
  display: inline-block;
  align-self: flex-start;
  background: #F4F2EA;
  color: #262930;
  border: 1.2px solid #3F444C;
  font-size: 12.5px;
  font-weight: 800;
  padding: 5px 13px;
  border-radius: 999px;
}

.formula-card:nth-child(1) .formula-tag { background: #EEF6FB; }
.formula-card:nth-child(2) .formula-tag { background: #FAF5E4; }
.formula-card:nth-child(3) .formula-tag { background: #EDF7ED; }

.formula-question {
  font-size: 18.5px;
  font-weight: 800;
  color: #262930;
  line-height: 1.45;
}

.formula-detail {
  font-size: 15px;
  font-weight: 600;
  color: #4B525C;
  line-height: 1.7;
}

/* =========================================================================
   4. 1~4차시 모듈형 상세 강의안 그리드 (.session-grid)
   ========================================================================= */
.session-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.session-card {
  background: #FFFDF9;
  border: 1.5px solid #3F444C;
  border-radius: 0;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.session-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.session-no-badge {
  background: #FAF5E4;
  color: #262930;
  border: 1.2px solid #3F444C;
  font-size: 12.5px;
  font-weight: 800;
  padding: 5px 13px;
  border-radius: 999px;
  white-space: nowrap;
  margin-top: 2px;
}

/* 9번: 주제(제목) + 부제 2단 구성 */
.session-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.session-title {
  font-size: 18.5px;
  font-weight: 800;
  color: #262930;
  line-height: 1.35;
}

.session-subtitle {
  font-size: 14px;
  font-weight: 400;
  color: #4B525C;
  line-height: 1.45;
}

/* 7번: 수업 목표 내어쓰기 (':' 뒤 본문 시작선에 줄맞춤) */
.session-goal {
  background: #F5F3EB;
  border-left: 3px solid #3F444C;
  padding: 12px 16px;
  border-radius: 0;
  font-size: 14.5px;
  font-weight: 600;
  color: #262930;
  margin-bottom: 14px;
  line-height: 1.6;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 6px;
}

.goal-label {
  font-weight: 800;
  white-space: nowrap;
}

/* 7번: li 내어쓰기 ('·' 아래 침범 방지) + 포인트 단어 색상 */
.session-activity-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  color: #4B525C;
  line-height: 1.65;
}

.session-activity-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 8px;
}

.session-activity-list li::before {
  content: '·';
  font-weight: 800;
  color: #262930;
}

.cur-pt {
  font-style: normal;
  color: #E04312;
  font-weight: 800;
}

/* 6번: 1→4차시 연결고리 (가져온 것 / 넘기는 것) */
.session-flow-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
  padding: 10px 14px;
  background: #FAF8F2;
  border: 1px dashed #9CA3AF;
  font-size: 13.5px;
  line-height: 1.5;
}

.session-flow-row {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 8px;
  color: #4B525C;
  font-weight: 400;
}

.session-flow-row strong {
  color: #1D1B4B;
  font-weight: 600;
  white-space: nowrap;
}

/* 7번: 산출물 텍스트 모두 굵기 얇게 */
.session-outcome-bar {
  background: #EDF7ED;
  border: 1.2px solid #3F444C;
  color: #1E4620;
  font-size: 13.5px;
  font-weight: 400;
  padding: 11px 16px;
  border-radius: 0;
}

/* =========================================================================
   5. 대상별(초·중·고/성인) 눈높이 맞춤 운영안 (.level-grid-3)
   ========================================================================= */
.level-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.level-card {
  background: #FFFDF9;
  border: 1.5px solid #3F444C;
  border-radius: 0;
  padding: 28px 26px;
}

/* 10번: 대상별 라벨 3색 구분 */
.level-target {
  display: inline-block;
  background: #EEF4D4;
  color: #1D1B4B;
  border: 1.2px solid #3F444C;
  font-size: 12.5px;
  font-weight: 800;
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.level-card:nth-child(2) .level-target {
  background: #FFEBE4;
  color: #9A3412;
  border-color: #F9531E;
}

.level-card:nth-child(3) .level-target {
  background: #E0E7FF;
  color: #1D1B4B;
  border-color: #1D1B4B;
}

/* 11번: 하단 문의 카드 위 간격 2cm(약 76px) 추가 */
#curriculum-contact {
  margin-top: 132px;
}

.level-focus {
  font-size: 17.5px;
  font-weight: 800;
  color: #262930;
  margin-bottom: 10px;
  line-height: 1.4;
}

.level-focus-note {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: #4B525C;
  margin-top: 4px;
}

.level-detail {
  font-size: 15px;
  font-weight: 600;
  color: #4B525C;
  line-height: 1.7;
  border-top: 1px solid #D4D4D8;
  padding-top: 14px;
  margin-top: 14px;
}

@media (max-width: 960px) {
  .curriculum-nav {
    border-radius: 0;
    padding: 12px 16px;
    flex-direction: column;
    align-items: stretch;
  }
  .curriculum-nav-left {
    justify-content: space-between;
  }
  .topic-tab-bar {
    justify-content: center;
  }
  .curriculum-main {
    padding-top: 164px;
  }
  .uniqueness-banner,
  .cur-visual-grid,
  .formula-grid-3,
  .session-grid,
  .level-grid-3 {
    grid-template-columns: 1fr;
  }
  .cur-visual-mid-arrow {
    transform: rotate(90deg);
  }
  .formula-op {
    padding: 4px 0;
  }
  #curriculum-contact {
    margin-top: 80px;
  }
  .curriculum-hero {
    padding: 28px 22px;
  }
}
