@charset "utf-8";

/* ==========================================================================
   반려동물학과 입시가이드 — Design System
   Ink / Charcoal / Gold. 명조 제목 + 고딕 본문. 장식 최소화.
   ========================================================================== */

:root {
  --ink: #1b1b1f;
  --ink-soft: #2a2a2f;
  --ink-line: #3a3a41;
  --charcoal: #33333a;
  --gold: #b08d4f;
  --gold-bright: #c9a769;
  --gold-soft: #f0e7d7;
  --paper: #ffffff;
  --paper-warm: #f7f5f1;
  --paper-warm-2: #efece5;
  --line: #e2dcd2;
  --line-strong: #cfc7b9;
  --text: #23232a;
  --text-mid: #5a5a63;
  --text-weak: #8b8b93;
  --text-invert: #f3f1ec;
  --text-invert-mid: #b3b0a8;

  --serif: "Noto Serif KR", "Nanum Myeongjo", "Apple SD Gothic Neo", "Malgun Gothic", serif;
  --sans: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
          "Noto Sans KR", "Malgun Gothic", sans-serif;

  --wrap: 1200px;
  --wrap-narrow: 860px;
  --gap: 24px;
  --radius: 2px;
  --shadow: 0 1px 2px rgba(27, 27, 31, .04), 0 12px 32px rgba(27, 27, 31, .07);
  --shadow-soft: 0 1px 2px rgba(27, 27, 31, .04), 0 6px 18px rgba(27, 27, 31, .05);
  --ease: cubic-bezier(.2, .7, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  letter-spacing: -.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin: .25em 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.35; margin: 0; letter-spacing: -.02em; }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { width: 100%; max-width: var(--wrap-narrow); margin: 0 auto; padding: 0 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--text-invert); padding: 12px 20px;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Eyebrow / Section heading ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 10px;
}
.section-head { margin-bottom: 32px; }
.section-head h2 { font-size: clamp(23px, 2.6vw, 31px); }
.section-head p { color: var(--text-mid); margin: 12px 0 0; font-size: 15px; }
.section { padding: clamp(56px, 7vw, 92px) 0; }
.section--warm { background: var(--paper-warm); }
.section--dark { background: var(--ink); color: var(--text-invert); }
.section--dark h2, .section--dark h3 { color: var(--text-invert); }
.section--dark p { color: var(--text-invert-mid); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 72px;
}
.wordmark { display: flex; flex-direction: column; line-height: 1.15; }
.wordmark__en {
  font-family: var(--serif); font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold);
}
.wordmark__ko { font-family: var(--serif); font-size: 18px; font-weight: 700; letter-spacing: -.02em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: inline-block; padding: 10px 14px; font-size: 15px; font-weight: 500;
  color: var(--text); transition: color .18s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav__cta {
  margin-left: 10px; background: var(--ink); color: var(--text-invert) !important;
  padding: 11px 20px !important; font-size: 14px !important; font-weight: 600;
  transition: background .18s var(--ease);
}
.nav__cta:hover { background: var(--gold); color: #fff !important; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  width: 42px; height: 42px; cursor: pointer; padding: 0; color: var(--ink);
}
.nav-toggle span { display: block; width: 18px; height: 1px; background: currentColor; margin: 4px auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--ink); color: var(--text-invert);
  padding: clamp(72px, 10vw, 128px) 0 clamp(120px, 12vw, 150px);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 82% 18%, rgba(176, 141, 79, .20), transparent 62%),
    linear-gradient(105deg, rgba(27, 27, 31, .96) 42%, rgba(43, 43, 50, .82) 100%);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 2; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.hero__rule { width: 44px; height: 2px; background: var(--gold); margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(30px, 4.4vw, 52px); line-height: 1.3; color: #fff;
  margin-bottom: 22px; letter-spacing: -.03em;
}
.hero h1 .gold { color: var(--gold-bright); }
.hero__lead { color: var(--text-invert-mid); font-size: clamp(15px, 1.4vw, 17px); max-width: 40em; margin-bottom: 30px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 26px; border-top: 1px solid var(--ink-line); }
.hero__stat b { display: block; font-family: var(--serif); font-size: 30px; color: var(--gold-bright); line-height: 1.2; }
.hero__stat span { font-size: 13px; color: var(--text-invert-mid); letter-spacing: .02em; }

/* Dark side panel (학과 계열) */
.panel {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 26px 24px;
}
.panel__title { font-family: var(--serif); font-size: 17px; color: #fff; }
.panel__sub {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-bright); margin-bottom: 4px;
}
.panel ul { list-style: none; margin: 18px 0 0; padding: 0; }
.panel li { margin: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.panel li a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 2px; font-size: 14.5px; color: var(--text-invert-mid);
  transition: color .18s var(--ease), padding .18s var(--ease);
}
.panel li a:hover { color: var(--gold-bright); padding-left: 6px; }
.panel li a::after { content: ""; width: 16px; height: 1px; background: currentColor; flex: none; }

/* ---------- Finder bar (overlapping hero) ---------- */
.finder { margin-top: -76px; position: relative; z-index: 5; }
.finder__box { background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 26px 28px; }
.finder__head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.finder__head h2 { font-size: 19px; }
.finder__head span { font-size: 13.5px; color: var(--text-mid); }
.finder__form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 12px; }
.field { position: relative; }
.field label {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em;
  color: var(--text-weak); text-transform: uppercase; margin-bottom: 6px;
}
.field select, .field input {
  width: 100%; height: 46px; padding: 0 38px 0 14px; font-family: inherit; font-size: 15px;
  color: var(--text); background: var(--paper-warm); border: 1px solid var(--line);
  border-radius: var(--radius); appearance: none; cursor: pointer;
}
.field select:focus, .field input:focus { border-color: var(--gold); background: #fff; }
.field::after {
  content: ""; position: absolute; right: 16px; bottom: 19px; width: 7px; height: 7px;
  border-right: 1px solid var(--text-mid); border-bottom: 1px solid var(--text-mid);
  transform: rotate(45deg); pointer-events: none;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 30px; font-family: inherit; font-size: 15px; font-weight: 600;
  border: 1px solid var(--gold); background: var(--gold); color: #fff; cursor: pointer;
  border-radius: var(--radius); transition: background .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: #9c7c43; border-color: #9c7c43; }
.btn--ghost { background: transparent; color: var(--gold); }
.btn--ghost:hover { background: var(--gold); color: #fff; }
.btn--dark { background: var(--ink); border-color: var(--ink); }
.btn--dark:hover { background: var(--gold); border-color: var(--gold); }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn--block { width: 100%; }
.finder__form .btn { align-self: end; }

/* ---------- Key summary (AI 인용용 핵심 요약) ---------- */
.summary-box {
  border: 1px solid var(--line); border-left: 3px solid var(--gold);
  background: var(--paper-warm); padding: 24px 28px; margin: 0 0 36px;
}
.summary-box h2, .summary-box h3 {
  font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.summary-box ul { margin: 0; padding-left: 1.1em; }
.summary-box li { font-size: 15px; color: var(--text); }
.summary-box li::marker { color: var(--gold); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); padding: 26px 24px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-soft); }
.card__icon { color: var(--gold); margin-bottom: 16px; }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--text-mid); margin: 0; }
.card__more { margin-top: auto; padding-top: 18px; font-size: 13px; font-weight: 600; color: var(--gold); letter-spacing: .02em; }
.card--feature { background: var(--ink); border-color: var(--ink); color: var(--text-invert); }
.card--feature h3 { color: #fff; }
.card--feature p { color: var(--text-invert-mid); }
.card--gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.card--gold h3, .card--gold .card__more { color: #fff; }
.card--gold p { color: rgba(255, 255, 255, .88); }
.card--gold .card__icon { color: #fff; }

/* ---------- University list ---------- */
.uni-list { display: grid; gap: 16px; }
.uni {
  display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 28px;
  background: #fff; border: 1px solid var(--line); padding: 24px 26px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.uni:hover { border-color: var(--gold); box-shadow: var(--shadow-soft); }
.uni__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.uni__name { font-family: var(--serif); font-size: 20px; font-weight: 700; }
.uni__name a:hover { color: var(--gold); }
.uni__meta { font-size: 13.5px; color: var(--text-mid); margin-bottom: 14px; }
.uni__meta span + span::before { content: "·"; margin: 0 8px; color: var(--line-strong); }
.uni__depts { display: flex; flex-wrap: wrap; gap: 8px; }
.uni__aside { border-left: 1px solid var(--line); padding-left: 26px; display: flex; flex-direction: column; justify-content: center; }
.uni__aside dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-weak); }
.uni__aside dd { margin: 2px 0 12px; font-size: 14px; font-weight: 600; }
.uni__aside dd:last-child { margin-bottom: 0; }

.tag {
  display: inline-block; padding: 4px 10px; font-size: 12.5px; line-height: 1.5;
  border: 1px solid var(--line); background: var(--paper-warm); color: var(--text-mid);
}
.tag--gold { border-color: var(--gold); background: var(--gold-soft); color: #7d6231; }
.tag--dark { border-color: var(--ink); background: var(--ink); color: var(--text-invert); }
.tag--plain { background: transparent; }

.tag--cert {
  border-color: #2f6b4f; background: #eaf4ee; color: #245540; font-weight: 600;
}
.tag--cert::before {
  content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: #2f6b4f; margin-right: 6px; vertical-align: 2px;
}

/* ---------- Campus location ---------- */
.campus { border: 1px solid var(--line); background: #fff; padding: 26px; margin-bottom: 32px; }
.campus__title { font-size: 20px; margin-bottom: 18px; }
.map-embed {
  position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 240px;
  border: 1px solid var(--line); background: var(--paper-warm); margin-bottom: 22px; overflow: hidden;
}
.map-embed::before {
  content: "지도를 불러오는 중입니다. 표시되지 않으면 아래 지도 앱 바로가기를 이용해 주세요.";
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 0 24px; text-align: center; font-size: 13.5px; color: var(--text-weak); z-index: 0;
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; background: var(--paper-warm); }
.map-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 18px; }
.map-actions .btn { height: 40px; padding: 0 18px; font-size: 14px; }

/* ---------- Timeline (입시 일정) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline > li { position: relative; padding: 0 0 30px 28px; }
.timeline > li::before {
  content: ""; position: absolute; left: -7px; top: 7px; width: 12px; height: 12px;
  background: #fff; border: 2px solid var(--gold); border-radius: 50%;
}
.timeline > li:last-child { padding-bottom: 0; }
.timeline__when { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--gold); margin-bottom: 4px; }
.timeline__what { font-family: var(--serif); font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.timeline p { font-size: 14.5px; color: var(--text-mid); margin: 0; }

/* ---------- Korea map (전국 지도) ---------- */
.koreamap { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 40px; align-items: start; }
.koreamap__svg { border: 1px solid var(--line); background: var(--paper-warm); padding: 16px; }
.koreamap__svg svg { width: 100%; height: auto; display: block; }
.koreamap .region-shape { fill: #e8e3d9; stroke: #fff; stroke-width: 1.5; transition: fill .18s var(--ease); }
.koreamap a:hover .region-shape, .koreamap a:focus .region-shape { fill: var(--gold); }
.koreamap .region-label { font-family: var(--sans); font-size: 11px; font-weight: 700; fill: var(--text); pointer-events: none; }
.koreamap a:hover .region-label, .koreamap a:focus .region-label { fill: #fff; }
.koreamap .region-count { font-family: var(--sans); font-size: 10px; fill: var(--text-mid); pointer-events: none; }
.koreamap a:hover .region-count { fill: rgba(255,255,255,.85); }
.koreamap .marker { transition: r .15s var(--ease), opacity .15s var(--ease); }
.koreamap .marker--university { fill: var(--gold); opacity: .95; }
.koreamap .marker--college { fill: var(--ink); opacity: .7; }
.koreamap .marker--cyber { fill: #2f6b4f; opacity: .8; }
.koreamap a:hover .marker, .koreamap a:focus .marker { opacity: 1; r: 8; }
.koreamap .city-label { font-family: var(--sans); font-size: 12px; font-weight: 700; fill: var(--text-weak); letter-spacing: .04em; }

/* ---------- Compare table ---------- */
.compare-picker { border: 1px solid var(--line); background: #fff; padding: 20px 22px; margin-bottom: 28px; }
.compare-picker__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px 14px; max-height: 280px; overflow-y: auto; padding-right: 6px; }
.compare-picker label { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 4px 0; cursor: pointer; }
.compare-picker input { accent-color: var(--gold); width: 15px; height: 15px; }
.compare-note { font-size: 13px; color: var(--text-weak); margin-top: 12px; }
.compare-table th[scope="row"] { background: var(--paper-warm); font-weight: 600; white-space: nowrap; }

/* ---------- Filter bar ---------- */
.filters { border: 1px solid var(--line); background: #fff; padding: 20px 22px; margin-bottom: 28px; }
.filter-row { display: flex; align-items: baseline; gap: 14px; padding: 9px 0; }
.filter-row + .filter-row { border-top: 1px solid var(--line); }
.filter-row > b {
  flex: none; width: 74px; font-size: 12px; font-weight: 700; letter-spacing: .1em;
  color: var(--text-weak);
}
.filter-row__items { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-block; padding: 6px 14px; font-size: 14px; color: var(--text-mid);
  border: 1px solid var(--line); background: #fff; cursor: pointer; font-family: inherit;
  transition: all .16s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--text-invert); }
.result-count { font-size: 14px; color: var(--text-mid); margin-bottom: 16px; }
.result-count b { color: var(--gold); font-size: 16px; }
.is-hidden { display: none !important; }

/* ---------- Page head (sub pages) ---------- */
.page-head { background: var(--ink); color: var(--text-invert); padding: clamp(48px, 6vw, 76px) 0 clamp(40px, 5vw, 60px); }
.page-head h1 { font-size: clamp(26px, 3.4vw, 40px); color: #fff; margin-bottom: 14px; }
.page-head p { color: var(--text-invert-mid); max-width: 46em; margin: 0; font-size: 15.5px; }
.page-head .hero__rule { margin-bottom: 20px; }

.breadcrumb { font-size: 13px; color: var(--text-invert-mid); margin-bottom: 18px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--ink-line); }
.breadcrumb a:hover { color: var(--gold-bright); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; margin: 0 0 24px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 620px; }
caption { text-align: left; font-size: 13px; color: var(--text-mid); padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--paper-warm); }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--ink); color: var(--text-invert); font-size: 13px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--paper-warm); }
td .tag { white-space: nowrap; }
.t-center { text-align: center; }
.t-num { font-variant-numeric: tabular-nums; }

/* ---------- Detail page ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.dept-block { border: 1px solid var(--line); background: #fff; margin-bottom: 32px; }
.dept-block__head { padding: 22px 26px; border-bottom: 1px solid var(--line); background: var(--paper-warm); }
.dept-block__head h3 { font-size: 20px; margin-bottom: 8px; }
.dept-block__body { padding: 26px; }
.dept-block__body > :last-child { margin-bottom: 0; }
.deflist { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 0; margin: 0 0 22px; font-size: 14.5px; }
.deflist dt { padding: 10px 0; color: var(--text-weak); font-size: 13px; border-bottom: 1px solid var(--line); }
.deflist dd { padding: 10px 0; margin: 0; border-bottom: 1px solid var(--line); }

.side-card { border: 1px solid var(--line); background: #fff; padding: 24px; margin-bottom: 20px; }
.side-card h3 { font-size: 16px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.side-card ul { list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.side-card li { padding: 7px 0; border-bottom: 1px dotted var(--line); }
.side-card li:last-child { border-bottom: 0; }
.side-card li a:hover { color: var(--gold); }
.side-card--dark { background: var(--ink); border-color: var(--ink); color: var(--text-invert); }
.side-card--dark h3 { color: #fff; border-color: var(--ink-line); }
.side-card--dark li { border-color: var(--ink-line); color: var(--text-invert-mid); }

.source-note { font-size: 13px; color: var(--text-weak); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 26px; }
.source-note a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Article ---------- */
.article { font-size: 16.5px; line-height: 1.85; }
.article h2 { font-size: clamp(21px, 2.4vw, 27px); margin: 52px 0 18px; padding-top: 26px; border-top: 1px solid var(--line); }
.article h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.article h3 { font-size: 19px; margin: 32px 0 12px; }
.article ul, .article ol { margin-bottom: 1.2em; }
.article li { margin: .4em 0; }
.article li::marker { color: var(--gold); }
.article blockquote {
  margin: 26px 0; padding: 18px 24px; border-left: 3px solid var(--gold);
  background: var(--paper-warm); font-size: 15.5px; color: var(--text-mid);
}
.article blockquote p:last-child { margin-bottom: 0; }
.article a.inline { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

.toc { border: 1px solid var(--line); background: var(--paper-warm); padding: 22px 26px; margin-bottom: 44px; }
.toc h2 { font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; border: 0; padding: 0; }
.toc ol { margin: 0; padding-left: 1.2em; font-size: 15px; }
.toc a:hover { color: var(--gold); }

.faq-item { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item h3 { font-size: 18px; margin-bottom: 10px; padding-left: 26px; position: relative; }
.faq-item h3::before { content: "Q"; position: absolute; left: 0; color: var(--gold); font-family: var(--serif); }
.faq-item div { padding-left: 26px; color: var(--text-mid); font-size: 15.5px; }
.faq-item div > :last-child { margin-bottom: 0; }

/* ---------- Academy / partner ---------- */
.partner-band { background: var(--ink); color: var(--text-invert); }
.partner-band__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px;
  align-items: center; padding: 44px 0;
}
.partner-band h2 { font-size: clamp(20px, 2.2vw, 26px); color: #fff; margin-bottom: 10px; }
.partner-band p { color: var(--text-invert-mid); margin: 0; font-size: 15px; }
.partner-note { font-size: 12.5px; color: var(--text-weak); margin-top: 10px; }

.partner-inline {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center;
  border: 1px solid var(--line); border-top: 3px solid var(--gold);
  background: var(--paper-warm); padding: 26px 28px; margin: 44px 0 0;
}
.partner-inline h3 { font-size: 18px; margin-bottom: 8px; }
.partner-inline p { font-size: 14.5px; color: var(--text-mid); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--charcoal); color: var(--text-invert); padding: 52px 0; }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.cta-band h2 { font-size: clamp(20px, 2.2vw, 27px); color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; color: var(--text-invert-mid); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--text-invert-mid); padding: 60px 0 0; font-size: 14px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.site-footer h3 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 9px; }
.site-footer a:hover { color: var(--gold-bright); }
.site-footer .wordmark__ko { color: var(--text-invert); }
.site-footer__about { font-size: 13.5px; line-height: 1.8; max-width: 30em; margin: 16px 0 0; }
.site-footer__bottom {
  border-top: 1px solid var(--ink-line); padding: 20px 0; font-size: 12.5px; color: var(--text-weak);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ---------- Utilities ---------- */
.mb-0 { margin-bottom: 0; } .mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; } .mb-40 { margin-bottom: 40px; }
.mt-40 { margin-top: 40px; } .mt-56 { margin-top: 56px; }
.text-mid { color: var(--text-mid); } .small { font-size: 13.5px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .detail { grid-template-columns: 1fr; gap: 40px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .nav { position: fixed; inset: 72px 0 auto; background: #fff; flex-direction: column; align-items: stretch;
         border-bottom: 1px solid var(--line); padding: 8px 16px 20px; display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav__cta { margin: 12px 0 0; text-align: center; border-bottom: 0 !important; }
  .nav-toggle { display: block; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .finder__form { grid-template-columns: 1fr 1fr; }
  .finder__form .btn { grid-column: 1 / -1; }
  .uni { grid-template-columns: 1fr; gap: 18px; }
  .uni__aside { border-left: 0; border-top: 1px solid var(--line); padding: 16px 0 0; flex-direction: row; gap: 28px; }
  .uni__aside dd { margin-bottom: 0; }
  .partner-band__inner, .cta-band__inner, .partner-inline { grid-template-columns: 1fr; gap: 22px; }
  .deflist { grid-template-columns: 96px minmax(0, 1fr); }
  .koreamap { grid-template-columns: 1fr; gap: 28px; }
  .campus { padding: 20px 18px; }
  .map-actions .btn { flex: 1 1 auto; }
}
@media (max-width: 520px) {
  body { font-size: 15.5px; }
  .finder { margin-top: -56px; }
  .finder__box { padding: 22px 18px; }
  .finder__form { grid-template-columns: 1fr; }
  .hero__stats { gap: 24px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .filter-row { flex-direction: column; gap: 8px; }
  .filter-row > b { width: auto; }
}

@media print {
  .site-header, .site-footer, .finder, .cta-band, .partner-band, .nav-toggle { display: none !important; }
  body { font-size: 11pt; }
  .hero, .page-head { background: none; color: #000; padding: 0 0 20pt; }
  .hero h1, .page-head h1 { color: #000; }
}
