@charset "UTF-8";
/* ══════════════════════════════════════════════════════════
   중앙SKY학원 — 학교별 시험분석 페이지 전용 스타일
   이 페이지에서만 쓰는 편집형 레이아웃이라 style.css 와 분리했습니다.
   색·폰트는 style.css 의 :root 변수를 그대로 씁니다.
   ══════════════════════════════════════════════════════════ */

/* ───────── 강조 (em) — 네이비 박스 반전 ───────── */
.ex-title em,
.ex-lead em,
.ex-part-title em,
.ex-quote em,
.ex-problem-foot em {
  font-style: normal;
  background: var(--navy);
  color: #fff;
  padding: 2px 11px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@media (max-width: 700px) {
  .ex-title em, .ex-lead em, .ex-part-title em,
  .ex-quote em, .ex-problem-foot em { padding: 2px 7px; }
}

/* ───────── HERO ───────── */
.ex-hero {
  position: relative;
  padding: 150px 24px 96px;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, var(--tint2) 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.ex-hero::after {
  content: '내신';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(160px, 26vw, 400px);
  font-weight: 900; letter-spacing: -14px; line-height: 1;
  color: rgba(46, 49, 146, 0.045);
  pointer-events: none; white-space: nowrap; user-select: none;
}
.ex-hero > * { position: relative; z-index: 2; }
.ex-eyebrow {
  font-size: 11.5px; font-weight: 800; color: var(--navy);
  letter-spacing: 4px; text-transform: uppercase; margin-bottom: 20px;
}
.ex-hero-title {
  font-size: clamp(30px, 4.6vw, 54px); font-weight: 900;
  letter-spacing: -2px; line-height: 1.24; color: var(--ink);
  margin-bottom: 24px;
}
.ex-hero-title em { font-style: normal; color: var(--navy); }
.ex-hero-desc {
  font-size: 16px; color: var(--ink2); line-height: 1.85;
  max-width: 680px; margin: 0 auto 36px;
}
.ex-hero-desc b { color: var(--ink); font-weight: 700; }

.ex-stats {
  display: inline-flex; gap: 30px; flex-wrap: wrap; justify-content: center;
  padding: 16px 30px; margin-bottom: 34px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.ex-stat { display: flex; flex-direction: column; gap: 4px; min-width: 104px; }
.ex-stat-num { font-size: 21px; font-weight: 900; color: var(--navy); letter-spacing: -0.5px; line-height: 1; }
.ex-stat-label { font-size: 11.5px; color: var(--muted); font-weight: 700; letter-spacing: 0.5px; }

.ex-ctas { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 560px) {
  .ex-hero { padding: 120px 20px 72px; }
  .ex-ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .ex-ctas .btn { width: 100%; justify-content: center; }
  .ex-stats { gap: 18px; padding: 14px 18px; }
}

/* ───────── 섹션 공통 ───────── */
.ex-sec { padding: 104px 24px; }
.ex-sec-in { max-width: 1060px; margin: 0 auto; }
.ex-bg-tint { background: var(--tint2); }
.ex-bg-warm { background: var(--warm); }
@media (max-width: 700px) { .ex-sec { padding: 72px 20px; } }

/* 챕터 마크 — 01 / PROBLEM */
.ex-chapter {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-bottom: 46px;
}
.ex-chapter-line { flex: 0 1 72px; height: 1px; background: var(--line); }
.ex-chapter-num { font-size: 12px; font-weight: 800; color: var(--navy); letter-spacing: 3px; }
.ex-chapter-sep { font-size: 11px; color: var(--muted2); }
.ex-chapter-name { font-size: 12px; font-weight: 800; color: var(--ink); letter-spacing: 3px; text-transform: uppercase; }
@media (max-width: 700px) { .ex-chapter-line { flex-basis: 26px; } }

.ex-title {
  font-size: clamp(25px, 3.4vw, 42px); font-weight: 900;
  letter-spacing: -1.4px; line-height: 1.32; color: var(--ink);
  text-align: center; margin-bottom: 22px;
}
.ex-lead {
  font-size: 16.5px; color: var(--ink2); line-height: 1.85;
  max-width: 700px; margin: 0 auto; text-align: center;
}
.ex-lead b { color: var(--navy); font-weight: 700; }

/* ───────── 01 문제 카드 ───────── */
.ex-problem-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin: 52px 0 34px;
}
@media (max-width: 800px) { .ex-problem-cards { grid-template-columns: 1fr; } }
.ex-problem-card {
  position: relative; background: #fff;
  border: 1px solid var(--line); border-radius: 14px;
  padding: 32px 28px;
}
.ex-problem-num {
  position: absolute; top: 24px; right: 24px;
  font-size: 12px; font-weight: 800; color: var(--muted2); letter-spacing: 2px;
}
.ex-problem-tag {
  display: inline-block; background: var(--navy); color: #fff;
  font-size: 10.5px; font-weight: 800; letter-spacing: 1.2px;
  padding: 4px 10px; border-radius: 4px; margin-bottom: 16px;
}
.ex-problem-card h3 {
  font-size: 18px; font-weight: 800; color: var(--ink);
  line-height: 1.45; letter-spacing: -0.3px; margin-bottom: 10px;
}
.ex-problem-card p { font-size: 13.5px; color: var(--ink2); line-height: 1.75; }
.ex-problem-foot {
  font-size: 17px; font-weight: 700; color: var(--ink);
  line-height: 1.7; text-align: center;
  padding-top: 30px; border-top: 1px solid var(--line);
}

/* ───────── 02 관점 카드 ───────── */
.ex-approach { display: grid; gap: 14px; margin-top: 50px; }
.ex-approach-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 40px 44px;
  display: grid; grid-template-columns: 74px 1fr; gap: 28px; align-items: center;
  box-shadow: var(--shadow-s);
}
@media (max-width: 700px) {
  .ex-approach-card { grid-template-columns: 1fr; gap: 12px; padding: 30px 26px; }
}
.ex-approach-num { font-size: 50px; font-weight: 900; color: var(--navy); letter-spacing: -3px; line-height: 1; }
.ex-approach-text {
  font-size: clamp(18px, 2.1vw, 24px); font-weight: 800;
  letter-spacing: -0.7px; line-height: 1.5; color: var(--ink);
}
.ex-approach-text i { font-style: italic; font-weight: 900; color: var(--navy); }

/* ───────── 03 절차 블록 ───────── */
.ex-parts { display: flex; flex-direction: column; gap: 14px; margin-top: 50px; }
.ex-part {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 42px 48px;
  display: grid; grid-template-columns: 180px 1fr; gap: 48px; align-items: start;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ex-part:hover { border-color: var(--navy-l); box-shadow: var(--shadow-m); }
@media (max-width: 800px) {
  .ex-part { grid-template-columns: 1fr; padding: 30px 26px; gap: 18px; }
}
.ex-part-label { font-size: 12.5px; font-weight: 800; color: var(--muted2); letter-spacing: 3px; }
.ex-part-num { display: block; font-size: 50px; font-weight: 900; color: var(--navy); letter-spacing: -3px; line-height: 1; margin-top: 6px; }
.ex-part-title { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.4; color: var(--ink); margin-bottom: 12px; }
.ex-part-desc { font-size: 15px; color: var(--ink2); line-height: 1.8; margin-bottom: 18px; }
.ex-part-list { display: flex; flex-direction: column; gap: 0; }
.ex-part-list li {
  display: flex; align-items: baseline; gap: 12px;
  font-size: 14.2px; color: var(--ink); line-height: 1.6;
  padding: 13px 0; border-top: 1px solid var(--line);
}
.ex-part-list li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--navy); flex-shrink: 0;
}

/* ───────── 04 자료 박스 ───────── */
.ex-materials {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-top: 50px;
}
@media (max-width: 900px) { .ex-materials { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ex-materials { grid-template-columns: 1fr; } }
.ex-material {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 30px 26px; min-height: 172px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.ex-material:hover { border-color: var(--navy-l); transform: translateY(-3px); box-shadow: var(--shadow-m); }
.ex-material-ic { width: 26px; height: 26px; color: var(--navy); }
.ex-material-ic svg { width: 100%; height: 100%; }
.ex-material h3 { font-size: 16.5px; font-weight: 800; color: var(--ink); line-height: 1.45; letter-spacing: -0.3px; margin-top: 22px; }
.ex-material p { font-size: 13px; color: var(--muted); line-height: 1.65; margin-top: 8px; }

/* ───────── 04 미리보기 영상 ─────────
   유튜브 iframe 을 처음부터 넣지 않고 썸네일만 띄운다(facade).
   클릭할 때 iframe 을 만들어 넣으므로 페이지 첫 로딩이 느려지지 않는다. */
.ex-video {
  position: relative; aspect-ratio: 16 / 9;
  max-width: 880px; margin: 48px auto 0;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-d) 100%);
  display: flex; align-items: center; justify-content: center;
}
.ex-video img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.ex-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ex-video[data-ready="1"] { cursor: pointer; }
/* 밝은 썸네일에서도 재생 버튼과 하단 라벨이 읽히도록 덮어준다.
   썸네일 img 는 나중에 스크립트로 붙어 DOM 상 뒤에 오므로 z-index 로 올려야 가려지지 않는다. */
.ex-video[data-ready="1"]::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,22,43,0.12) 0%, rgba(20,22,43,0.28) 55%, rgba(20,22,43,0.68) 100%);
}
.ex-video-play {
  position: relative; z-index: 2;
  width: 76px; height: 76px; border-radius: 50%;
  background: #fff; color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 38px rgba(20,22,43,0.32);
  transition: transform 0.2s ease;
}
.ex-video[data-ready="1"]:hover .ex-video-play { transform: scale(1.08); }
.ex-video-play::after {
  content: ''; width: 0; height: 0; margin-left: 5px;
  border-style: solid; border-width: 12px 0 12px 19px;
  border-color: transparent transparent transparent currentColor;
}
.ex-video-label {
  position: absolute; z-index: 2; left: 26px; bottom: 22px;
  font-size: 12.5px; font-weight: 800; letter-spacing: 2px;
  color: rgba(255,255,255,0.9); text-transform: uppercase;
}
/* 영상 주소를 아직 안 넣은 상태 */
.ex-video-soon { position: relative; z-index: 2; text-align: center; padding: 20px; }
.ex-video-soon strong { display: block; font-size: 19px; font-weight: 800; color: #fff; letter-spacing: -0.4px; }
.ex-video-soon span { display: block; font-size: 13.5px; color: rgba(255,255,255,0.62); margin-top: 8px; }
@media (max-width: 560px) {
  .ex-video { border-radius: 14px; margin-top: 34px; }
  .ex-video-play { width: 60px; height: 60px; }
  .ex-video-play::after { border-width: 10px 0 10px 16px; }
  .ex-video-label { left: 18px; bottom: 16px; font-size: 11px; }
}

/* ───────── 관리 학교 ───────── */
.ex-schools {
  display: flex; flex-wrap: wrap; gap: 9px;
  justify-content: center; margin-top: 40px;
}
.ex-school {
  font-size: 14px; font-weight: 700; color: var(--ink2);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 20px;
}
.ex-schools-note { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: 26px; line-height: 1.7; }

/* ───────── 05 담임 관리 (다크 카드) ───────── */
.ex-dark {
  background: var(--ink); color: #fff; border-radius: 20px;
  padding: 52px 56px; margin-top: 50px;
  display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center;
}
@media (max-width: 800px) { .ex-dark { grid-template-columns: 1fr; padding: 36px 28px; gap: 24px; } }
.ex-dark-eyebrow { font-size: 11.5px; font-weight: 800; letter-spacing: 3px; color: var(--navy-l); text-transform: uppercase; margin-bottom: 14px; }
.ex-dark-title { font-size: clamp(21px, 2.6vw, 29px); font-weight: 900; letter-spacing: -1px; line-height: 1.4; margin-bottom: 16px; }
.ex-dark-title em { font-style: normal; background: #fff; color: var(--ink); padding: 2px 11px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ex-dark-text { font-size: 14.8px; line-height: 1.85; color: rgba(255,255,255,0.68); }
.ex-dark-btn {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: #fff; color: var(--ink); font-size: 14.5px; font-weight: 800;
  padding: 15px 28px; border-radius: 999px; transition: transform 0.18s ease;
}
.ex-dark-btn:hover { transform: translateY(-2px); }

/* ───────── 06 결과 카드 ───────── */
.ex-outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 50px; }
@media (max-width: 800px) { .ex-outcomes { grid-template-columns: 1fr; } }
.ex-outcome {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 38px 32px; text-align: center;
}
.ex-outcome-num { font-size: 13px; font-weight: 800; color: var(--navy); letter-spacing: 3px; margin-bottom: 16px; }
.ex-outcome-title { font-size: 19px; font-weight: 800; color: var(--ink); line-height: 1.5; letter-spacing: -0.4px; }

/* ───────── 최종 CTA ───────── */
.ex-final {
  background: var(--navy); color: #fff;
  padding: 104px 24px; text-align: center;
}
.ex-final h2 {
  font-size: clamp(27px, 3.6vw, 44px); font-weight: 900;
  letter-spacing: -1.6px; line-height: 1.3; margin-bottom: 20px;
}
.ex-final p { font-size: 16px; line-height: 1.85; color: rgba(255,255,255,0.72); margin-bottom: 36px; }
.ex-final-btns { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 560px) {
  .ex-final { padding: 72px 20px; }
  .ex-final-btns { flex-direction: column; align-items: stretch; width: 100%; }
  .ex-final-btns .btn { width: 100%; justify-content: center; }
}
