:root {
  --burgundy: #951e23;
  --burgundy-deep: #7a171c;
  --burgundy-mid: #a82d33;
  --burgundy-soft: #c3595d;
  --ink: #2a1718;
  --muted: rgba(42, 23, 24, 0.68);
  --bg: #f7f3f2;
  --paper: #ffffff;
  --line: #eadfe0;
  --white: #ffffff;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
@supports (overflow-x: clip) {
  html, body { overflow-x: clip; }
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.7;
}
body.is-checking { visibility: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.admin-bar,
.admin-bar[hidden] {
  display: none !important;
}
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: #1a1212;
  color: rgba(255,255,255,.84);
  font-size: .82rem;
}
.admin-bar-actions { display: flex; gap: 8px; }
.admin-bar a, .admin-bar button {
  color: rgba(255,255,255,.9);
  background: transparent;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  padding: 6px 10px;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}
.brand img {
  width: 150px;
  height: auto;
  display: block;
  background: transparent;
}
.brand span {
  font-size: .92rem;
  font-weight: 700;
  color: var(--burgundy);
  white-space: nowrap;
}
.nav { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.nav a {
  text-decoration: none;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
}
.nav a:hover { color: var(--burgundy); }
.mnav-toggle,
.mnav-panel { display: none; }
@media (max-width: 1000px) {
  .mnav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    flex: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .mnav-toggle span {
    display: block;
    height: 2.5px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform .2s ease, opacity .2s ease;
  }
  .mnav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
  .mnav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .mnav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
  .mnav-panel {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .08);
  }
  .mnav-panel[hidden] { display: none; }
  .mnav-panel ul { margin: 0; padding: 6px 0 14px; list-style: none; }
  .mnav-panel a {
    display: block;
    padding: 13px 24px;
    color: var(--ink);
    font-size: 1.02rem;
    font-weight: 700;
    text-decoration: none;
  }
  .mnav-panel a:hover,
  .mnav-panel a.is-current { color: var(--burgundy); background: rgba(122, 23, 28, .04); }
  .site-header.mnav-open { background: #fff; }
}
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--burgundy);
  color: var(--white);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--burgundy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(255,255,255,.12), transparent 45%),
    linear-gradient(145deg, var(--burgundy-mid), var(--burgundy) 45%, var(--burgundy-deep));
  background-size: cover;
  background-position: center;
  transition: background .35s ease;
}
.hero[data-banner-theme="fall"] {
  background: #2a1208;
}
.hero[data-banner-theme="fall"] .hero-bg {
  background:
    linear-gradient(105deg, rgba(28,10,6,.78) 0%, rgba(40,16,8,.45) 42%, rgba(20,8,4,.55) 100%),
    var(--hero-fall-image, none) center / cover no-repeat;
}
.hero[data-banner-theme="winter"] {
  background: #0b1222;
}
.hero[data-banner-theme="winter"] .hero-bg {
  background:
    linear-gradient(105deg, rgba(6,10,24,.82) 0%, rgba(10,18,40,.5) 42%, rgba(6,10,24,.5) 100%),
    var(--hero-fall-image, none) center / cover no-repeat;
}
.hero[data-banner-theme="spring"] {
  background: #24101a;
}
.hero[data-banner-theme="spring"] .hero-bg {
  background:
    linear-gradient(105deg, rgba(30,10,20,.8) 0%, rgba(44,16,30,.45) 42%, rgba(24,8,16,.5) 100%),
    var(--hero-fall-image, none) center / cover no-repeat;
}
.hero[data-banner-theme="fall"] .hero-mark,
.hero[data-banner-theme="winter"] .hero-mark,
.hero[data-banner-theme="spring"] .hero-mark {
  opacity: .08;
}
/* ERP 적용 테마 확정 전·캐시 미적용 시 메인배너 깜빡임 방지 */
#indexHero:not([data-banner-ready="1"]) {
  visibility: hidden;
}
html[data-banner-cache="fall"] #indexHero:not([data-banner-ready="1"]) {
  /* 캐시가 가을이면 숨김 중에도 가을 배경 톤 유지(레이아웃 점프 완화) */
  background: #2a1208;
}
html[data-banner-cache="winter"] #indexHero:not([data-banner-ready="1"]) { background: #0b1222; }
html[data-banner-cache="spring"] #indexHero:not([data-banner-ready="1"]) { background: #24101a; }
.hero-grid {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 80px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: start;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--burgundy);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
}
.eyebrow.light { color: rgba(255,255,255,.78); }
.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 4.5vw, 3.25rem);
  line-height: 1.22;
  letter-spacing: -0.03em;
  font-weight: 900;
}
.hero-lead {
  margin: 0 0 24px;
  color: rgba(255,255,255,.9);
  font-size: 1.05rem;
  line-height: 1.8;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero-badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.hero-badges li {
  font-size: .9rem;
  color: rgba(255,255,255,.82);
}
.hero-badges li::before {
  content: "· ";
  color: rgba(255,255,255,.55);
}
@media (max-width: 1000px) {
  .hero-badges { display: none; }
  .hero-tracks {
    margin-top: 8px;
    padding: 14px 16px;
  }
  .tracks-title { font-size: 1.02rem; }
  .tracks-sub { display: none; }
  .track-card .track-desc { display: none; }
  .track-card {
    grid-template-columns: 44px 1fr auto;
    padding: 10px 0;
  }
  .track-card em { grid-column: 3; grid-row: 1; align-self: center; font-size: .78rem; }
  .hero-cta { margin-bottom: 12px; }
}

.hero-tracks {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(6px);
}
.tracks-title {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.tracks-sub {
  margin: 0 0 14px;
  color: rgba(255,255,255,.75);
  font-size: .9rem;
}
.track-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 12px;
  row-gap: 4px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  text-decoration: none;
  color: var(--white);
}
.track-card:first-of-type { border-top: 0; }
.track-code {
  grid-column: 1;
  grid-row: 1 / span 3;
  margin-top: 2px;
  color: #ffd0d2;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.2;
}
.track-card strong {
  grid-column: 2;
  font-size: .98rem;
  line-height: 1.35;
}
.track-card .track-desc {
  grid-column: 2;
  color: rgba(255,255,255,.72);
  font-size: .84rem;
  line-height: 1.5;
}
.track-card em {
  grid-column: 2;
  font-style: normal;
  color: #ffd0d2;
  font-size: .82rem;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--burgundy); color: var(--white); }
.hero .btn-primary { background: var(--white); color: var(--burgundy); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.45);
}
.btn-outline {
  background: transparent;
  color: var(--burgundy);
  border: 1px solid var(--burgundy);
}
.btn.full { width: 100%; }

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0;
}
.section.alt {
  width: 100%;
  max-width: none;
  padding: 96px 0;
  background: var(--bg);
}
.section.alt > .section-head,
.section.alt > .course-grid,
.section.alt > .filter-chips,
.section.alt > .article-grid,
.section.alt > .calendar,
.section.alt > .compare {
  width: min(var(--max), calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}
.section-head {
  margin-bottom: 36px;
  max-width: 46rem;
  text-align: left;
}
/* alt 섹션에서도 합격성과처럼 왼쪽 정렬 (max-width로 가운데 몰리지 않게) */
.section.alt > .section-head {
  max-width: min(var(--max), calc(100% - 48px));
  text-align: left;
}
.section-head .lead { max-width: 40rem; }
.section h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3.5vw, 2.25rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 900;
}
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}
.feature-grid article,
.course-card,
.stat,
.article-card,
.campus-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
}
.feature-grid span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--burgundy);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.feature-grid h3,
.course-card h3,
.article-card h3,
.campus-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.feature-grid p,
.course-card p,
.article-card p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.7; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.steps > div {
  padding: 22px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.step-label {
  margin: 0 0 8px;
  color: var(--burgundy);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.steps h3 { margin: 0 0 6px; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--muted); font-size: .9rem; }

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.course-tag {
  margin: 0 0 10px;
  color: var(--burgundy);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
}
.course-range {
  margin: 0 0 10px !important;
  color: var(--ink) !important;
  font-weight: 700;
}
.course-goal {
  margin: 0 0 14px !important;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.course-card ul {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--muted);
  font-size: .9rem;
}
.course-card li + li { margin-top: 6px; }
.course-output {
  margin: 0 !important;
  color: var(--burgundy) !important;
  font-weight: 700 !important;
  font-size: .9rem !important;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.stat { text-align: center; }
.stat strong {
  display: block;
  margin-bottom: 6px;
  color: var(--burgundy);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.stat span { display: block; font-weight: 700; }
.stat small { color: var(--muted); }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
th, td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: .92rem;
  vertical-align: top;
  line-height: 1.55;
}
th {
  background: var(--bg);
  font-weight: 800;
}
tr:last-child td { border-bottom: 0; }
.note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .86rem;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.chip {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  font: inherit;
}
button.chip {
  font-family: inherit;
  font-size: .82rem;
  font-weight: 700;
}
.chip.active,
.chip.is-active {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--white);
}
.article-card[hidden] { display: none !important; }

/* TBP 스타일 텍스트 탭 — 모바일에서 과정/비교 전환 */
.panel-tabs {
  display: none;
  gap: 0;
  margin: 0 0 18px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.panel-tab {
  flex: 0 0 auto;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 12px 14px;
  margin-bottom: -1px;
  color: #9a8a8b;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.panel-tab.is-active {
  color: var(--ink);
  font-weight: 800;
  border-bottom-color: var(--ink);
}
.compare .panel-tabs {
  margin-top: 8px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  margin-bottom: 40px;
}
.article-card {
  min-height: 100%;
}
.article-cat {
  margin: 0 0 8px;
  color: var(--burgundy);
  font-size: .78rem;
  font-weight: 800;
}
.article-date {
  display: inline-block;
  margin-top: 12px;
  color: var(--muted);
  font-size: .82rem;
}

.calendar {
  padding: 28px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.calendar h3 { margin: 0 0 14px; font-size: 1.15rem; }
.calendar ul { list-style: none; margin: 0; padding: 0; }
.calendar li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.calendar li:first-of-type { border-top: 0; }
.calendar strong { color: var(--burgundy); }

.campus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.campus-region {
  margin: 0 0 8px;
  color: var(--burgundy);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
}
.campus-addr { margin: 0 0 10px; color: var(--muted); }
.campus-tel {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--burgundy);
  font-size: 1.2rem;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.campus-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.consult {
  width: 100%;
  max-width: none;
  padding: 40px 0 96px;
}
.consult-wrap {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 28px;
  padding: 36px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(149, 30, 35, .05), rgba(149, 30, 35, .02)),
    #fff;
  color: var(--ink);
}
.consult-copy .eyebrow { color: var(--burgundy); }
.consult-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.8vw, 1.95rem);
  line-height: 1.28;
  letter-spacing: -0.03em;
  font-weight: 900;
  color: var(--ink);
}
.consult-copy p { margin: 0 0 10px; color: var(--muted); line-height: 1.75; }
.consult-note { color: rgba(42, 23, 24, .55) !important; font-size: .88rem; }
.consult-form {
  background: var(--bg);
  color: var(--ink);
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 28px;
}
.consult-form h3 { margin: 0 0 20px; font-size: 1.15rem; }
.consult-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 560px) {
  .consult-form .form-row { grid-template-columns: 1fr; }
}
.consult-form label {
  display: block;
  margin-bottom: 18px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--muted);
}
.consult-form input,
.consult-form select {
  display: block;
  width: 100%;
  height: 46px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
  padding: 0 12px;
  font: inherit;
  color: var(--ink);
}
.consult-form textarea {
  display: block;
  width: 100%;
  min-height: 110px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
  padding: 12px;
  font: inherit;
  color: var(--ink);
  resize: vertical;
  line-height: 1.55;
}
.consult-form .optional {
  font-weight: 500;
  color: rgba(42, 23, 24, 0.45);
}
.consult-form .char-count {
  display: block;
  margin-top: 6px;
  text-align: right;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(42, 23, 24, 0.45);
}
.consult-form .check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 500;
}
.consult-form .check input {
  width: auto;
  height: auto;
  margin-top: 4px;
}
.consult-form .check a,
.consult-form .check .consent-legal-link {
  color: var(--burgundy);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font: inherit;
  background: none;
  border: 0;
  padding: 0;
}
.form-msg {
  margin: 10px 0 0;
  color: var(--burgundy);
  font-size: .86rem;
  font-weight: 700;
}

.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 48px 24px 110px;
}
.footer-top {
  width: min(var(--max), 100%);
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
}
.site-footer img { width: 140px; height: auto; margin-bottom: 12px; }
.site-footer p { margin: 0 0 6px; color: var(--muted); font-size: .9rem; }
.footer-meta { font-size: .82rem !important; }
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.footer-links strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
}
.footer-links a {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
}
.footer-bottom {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  color: var(--muted);
  font-size: .82rem;
}
.footer-copy { order: 0; }
.footer-bottom-links,
.footer-bottom-end {
  display: contents;
}
.footer-legal {
  order: 1;
  white-space: nowrap;
}
/* 오른쪽 끝(바로가기 열의 오른쪽 경계)에 맞춤 */
.footer-social-row {
  order: 2;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 70;
}
.footer-social-row .footer-social {
  order: unset;
  margin-left: 0;
}
.footer-social {
  order: 2;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
@media (max-width: 560px) {
  .footer-legal { white-space: normal; }
  .footer-social-row {
    margin-left: 0;
    flex-basis: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .footer-social {
    margin-left: 0;
    flex-basis: auto;
    overflow: visible;
  }
  .site-footer {
    padding-bottom: 84px;
  }
}
.footer-social a,
.footer-social .footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
  cursor: default;
}
.footer-social a {
  cursor: pointer;
}
.footer-social a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
  color: #111;
}
.footer-social svg {
  width: 16px;
  height: 16px;
  display: block;
  pointer-events: none;
}

.footer-blog-dd {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 71;
  flex: 0 0 auto;
}
.footer-blog-dd-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #fff;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  font: inherit;
  font-size: .86rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  pointer-events: auto;
}
.footer-blog-dd-btn:hover,
.footer-blog-dd.is-open .footer-blog-dd-btn {
  border-color: var(--burgundy);
  color: var(--burgundy);
}
.footer-blog-dd-btn span {
  font-size: .7rem;
  line-height: 1;
  pointer-events: none;
}
.footer-blog-dd-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 80;
  min-width: 188px;
  padding: 6px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
}
.footer-blog-dd-menu.is-fixed {
  position: fixed;
  bottom: auto;
  right: auto;
}
.footer-blog-dd-menu[hidden] { display: none !important; }
.footer-blog-dd-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
}
.footer-blog-dd-menu a:hover {
  background: #f7f4f2;
  color: var(--burgundy);
}
@media (max-width: 560px) {
  .footer-blog-dd-btn {
    width: auto;
    height: 34px;
    padding: 0 10px;
    font-size: .78rem;
  }
  .footer-social a,
  .footer-social .footer-social-btn {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
  }
}

.mobile-dock {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 50;
  grid-template-columns: 1fr 1.2fr;
  gap: 8px;
}
.mobile-dock a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  background: var(--paper);
  color: var(--burgundy);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(42, 23, 24, .12);
}
.mobile-dock a.primary {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}
.mobile-dock a.kakao {
  gap: 7px;
  background: #fee500;
  color: #191919;
  border-color: #fee500;
  box-shadow: 0 10px 24px rgba(120, 104, 0, .22);
}
.mobile-dock a.kakao svg {
  width: 22px;
  height: 20px;
  flex-shrink: 0;
}

/* Kakao 1:1 floating — PC: 원형+라벨 / 모바일: 1:1톡상담 이미지 */
.kakao-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  text-decoration: none;
  color: #191600;
  font-weight: 800;
  font-size: 0.92rem;
}
.kakao-float-desktop {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.22));
}
.kakao-float-mobile {
  display: none;
}
.kakao-float-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fee500;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 20px rgba(254, 229, 0, 0.35);
}
.kakao-float-icon svg {
  width: 30px;
  height: 30px;
  display: block;
}
.kakao-float-label {
  display: none;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}
.kakao-float:hover .kakao-float-icon {
  transform: translateY(-2px) scale(1.04);
}
@media (min-width: 1001px) {
  .kakao-float-label {
    display: inline-block;
  }
}
@media (max-width: 1000px) {
  .kakao-float {
    right: 10px;
    bottom: 76px;
    background: transparent;
  }
  .kakao-float-desktop {
    display: none;
  }
  .kakao-float-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: transparent;
    filter: none;
  }
  .kakao-mobile-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #fae100;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 16px rgba(42, 23, 24, 0.14);
  }
  .kakao-mobile-icon svg {
    width: 26px;
    height: 22px;
    display: block;
  }
  .kakao-mobile-text {
    font-size: 0.72rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
    letter-spacing: -0.02em;
  }
}

.hero-mark {
  position: absolute;
  right: -4%;
  top: 8%;
  width: min(520px, 48vw);
  opacity: .08;
  pointer-events: none;
  z-index: 0;
  animation: logoFloat 8s ease-in-out infinite;
}
.hero-copy h1,
.section h2,
.quote-band p,
.blog-strip h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
}

.trust-strip {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.trust-track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 14px 0;
  animation: marquee 28s linear infinite;
  color: var(--burgundy);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.trust-track span::after {
  content: "•";
  margin-left: 28px;
  color: rgba(149, 30, 35, .35);
}

.section-head.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: end;
  max-width: none;
}
.mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 220px 180px;
  gap: 14px;
}
.mosaic-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.mosaic-item.large { grid-row: 1 / span 2; }
.mosaic-item.wide { grid-column: 2 / span 2; }
.mosaic-fill {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transition: transform .5s ease;
}
.mosaic-item:hover .mosaic-fill { transform: scale(1.04); }
.mosaic-a {
  background:
    linear-gradient(160deg, rgba(26,18,18,.05), rgba(26,18,18,.42)),
    url("/assets/photos/campus-iot-arduino.webp") center 60% / cover no-repeat;
}
.mosaic-b {
  background:
    linear-gradient(160deg, rgba(26,18,18,.02), rgba(26,18,18,.4)),
    url("/assets/photos/campus-textbook-coding.webp") center 45% / cover no-repeat;
}
.mosaic-c {
  background:
    linear-gradient(160deg, rgba(26,18,18,.02), rgba(26,18,18,.42)),
    url("/assets/photos/campus-maker-workshop.webp") center 62% / cover no-repeat;
}
.mosaic-d {
  background:
    linear-gradient(90deg, rgba(26,18,18,.28), rgba(26,18,18,.08)),
    url("/assets/photos/campus-small-group.webp") center 45% / cover no-repeat;
}
.mosaic-about-a {
  background:
    linear-gradient(160deg, rgba(26,18,18,.05), rgba(26,18,18,.42)),
    url("/assets/photos/campus-iot-desk.webp") center 55% / cover no-repeat;
}
.mosaic-about-b {
  background:
    linear-gradient(160deg, rgba(26,18,18,.02), rgba(26,18,18,.4)),
    url("/assets/photos/campus-typing-textbook.webp") center 50% / cover no-repeat;
}
.mosaic-about-c {
  background:
    linear-gradient(160deg, rgba(26,18,18,.02), rgba(26,18,18,.42)),
    url("/assets/photos/campus-maker-mentor.webp") center 55% / cover no-repeat;
}
.mosaic-about-d {
  background:
    linear-gradient(90deg, rgba(26,18,18,.28), rgba(26,18,18,.08)),
    url("/assets/photos/campus-seminar-small.webp") center 45% / cover no-repeat;
}

/* Real campus life strip */
.campus-life {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}
.campus-life-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 12px;
}
.life-shot {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background-position: center;
  background-size: cover;
}
.life-shot.tall { grid-row: 1 / span 2; }
.life-shot.wide { grid-column: 2 / span 2; }
.life-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(18, 8, 10, .62));
  pointer-events: none;
}
.life-shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 16px 18px;
  color: #fff;
}
.life-shot strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 2px;
}
.life-shot span {
  font-size: .82rem;
  opacity: .88;
}
.life-a {
  background-image: url("/assets/photos/campus-whiteboard-class.webp");
  background-position: center 55%;
}
.life-b {
  background-image: url("/assets/photos/campus-focus-hall.webp");
  background-position: center 40%;
}
.life-c {
  background-image: url("/assets/photos/campus-laptop-practice.webp");
  background-position: center 45%;
}
.life-d {
  background-image: url("/assets/photos/campus-scratch-tutor.webp");
  background-position: center 35%;
}
.mosaic-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
}
.mosaic-item strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.mosaic-item span { font-size: .86rem; opacity: .86; }

.quote-band {
  padding: 72px 24px;
  background:
    radial-gradient(ellipse at center, rgba(149,30,35,.08), transparent 60%),
    var(--bg);
  text-align: center;
}
.quote-band blockquote { margin: 0 auto; max-width: 820px; }
.quote-band p {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.quote-band cite {
  color: var(--burgundy);
  font-style: normal;
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .04em;
}

.compare {
  margin: 56px auto 0;
  max-width: none;
  width: 100%;
}
.compare h3 {
  margin: 0 0 18px;
  font-size: 1.2rem;
  text-align: left;
}
.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.compare-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 16px;
}
.compare-label {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--burgundy);
  color: var(--burgundy);
  font-size: .92rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.compare-grid dl {
  margin: 0;
  display: grid;
  gap: 10px;
}
.compare-grid dl > div {
  display: grid;
  gap: 2px;
}
.compare-grid dt {
  color: rgba(42, 23, 24, .5);
  font-size: .75rem;
  font-weight: 700;
}
.compare-grid dd {
  margin: 0;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.45;
}
.compare-note {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(149, 30, 35, .06);
  color: var(--burgundy-deep);
  font-size: .88rem;
  font-weight: 700;
  text-align: left;
}

.blog-strip {
  padding: 56px 24px 64px;
}
.blog-inner {
  width: min(720px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 36px 32px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
}
.blog-inner h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  line-height: 1.3;
  letter-spacing: -0.03em;
}
.blog-inner p {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: none;
  font-size: .92rem;
  line-height: 1.7;
}
.blog-inner img {
  width: 96px;
  height: auto;
  flex: 0 0 auto;
}

.campus-visual {
  position: relative;
  height: 210px;
  margin: -28px -28px 18px;
  border-radius: 14px 14px 0 0;
  display: grid;
  place-content: center;
  text-align: center;
  color: #fff;
  gap: 6px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}
.campus-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(30, 8, 10, .65));
}
.campus-visual span {
  position: relative;
  z-index: 1;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  opacity: .8;
}
.campus-visual strong {
  position: relative;
  z-index: 1;
  font-size: .95rem;
}
.campus-visual.songdo {
  background:
    linear-gradient(180deg, rgba(26,10,12,.15), rgba(26,10,12,.45)),
    url("/assets/photos/campus-open-lab.webp") center 45% / cover no-repeat;
}
.campus-visual.daechi {
  background:
    linear-gradient(180deg, rgba(26,10,12,.15), rgba(26,10,12,.45)),
    url("/assets/photos/campus-mentoring.webp") center 60% / cover no-repeat;
}
.campus-visual.daechi.alt-photo {
  background:
    linear-gradient(180deg, rgba(26,10,12,.15), rgba(26,10,12,.45)),
    url("/assets/photos/campus-study-room.webp") center 50% / cover no-repeat;
}
.campus-visual.songdo.alt-photo {
  background:
    linear-gradient(180deg, rgba(26,10,12,.15), rgba(26,10,12,.45)),
    url("/assets/photos/campus-project-room.webp") center 45% / cover no-repeat;
}
.campus-points {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--muted);
  font-size: .9rem;
}
.campus-points li + li { margin-top: 4px; }
.campus-meta {
  margin: 0 0 12px;
  display: grid;
  gap: 6px;
}
.campus-meta p {
  margin: 0;
  font-size: .86rem;
  line-height: 1.55;
  color: var(--muted);
}
.campus-meta strong { color: var(--ink); }
.campus-map {
  margin: 0 0 14px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  background: #f3f3f3;
}
.campus-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.results-source-note,
.faq-more,
.case-stories-more {
  width: min(var(--max), calc(100% - 48px));
  margin: 12px auto 0;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.55;
}
.case-stories {
  width: min(var(--max), calc(100% - 48px));
  margin: 28px auto 0;
}
.case-stories-title {
  margin: 0 0 6px;
  font-size: 1.2rem;
}
.case-stories-lead {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: .92rem;
}
.case-story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.case-story {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 16px 14px;
  background: #fff;
}
.case-tag {
  margin: 0 0 8px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--burgundy);
}
.case-story h4 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  line-height: 1.35;
}
.case-story p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}
.case-result {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.case-link {
  display: inline-block;
  margin-right: 10px;
  margin-top: 4px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--burgundy);
  text-decoration: none;
}
.case-link:hover { text-decoration: underline; }
.admit-jump {
  width: min(var(--max), calc(100% - 48px));
  margin: 20px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.admit-jump a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 700;
}
.admit-jump a:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
}
#gifted,
#science-high,
#kaist,
#susi {
  scroll-margin-top: 96px;
}
.campus-map[data-map-lazy] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 180px;
  padding: 20px 16px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: #faf8f7;
  text-align: center;
}
.campus-map[data-map-lazy] iframe {
  width: 100%;
  min-height: 220px;
  border: 0;
  border-radius: 12px;
}
.map-load-btn {
  appearance: none;
  border: 1px solid var(--burgundy);
  background: var(--burgundy);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: .9rem;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
}
.map-load-btn:hover { filter: brightness(1.05); }
.map-fallback {
  font-size: .84rem;
  font-weight: 700;
  color: var(--burgundy);
  text-decoration: none;
}
.map-fallback:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .home-optional {
    display: none;
  }
}
.admit-summary-grid {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.admit-summary-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  color: inherit;
  min-height: 140px;
  transition: border-color .15s ease, transform .15s ease;
}
.admit-summary-card:hover {
  border-color: var(--burgundy);
  transform: translateY(-2px);
}
.admit-summary-card strong {
  font-size: 1rem;
  color: var(--ink);
}
.admit-summary-card span {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
  flex: 1;
}
.admit-summary-card em {
  font-style: normal;
  font-size: .84rem;
  font-weight: 700;
  color: var(--burgundy);
}
.calendar-compact ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 1000px) {
  .case-story-grid,
  .admit-summary-grid,
  .calendar-compact ul {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .case-story-grid,
  .admit-summary-grid,
  .calendar-compact ul {
    grid-template-columns: 1fr;
  }
}
.faq-more a,
.results-source-note a,
.article-foot a,
.calendar a {
  color: var(--burgundy);
  font-weight: 700;
  text-decoration: none;
}
.faq-more a:hover,
.article-foot a:hover,
.calendar a:hover { text-decoration: underline; }
.article-points {
  margin: 8px 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.5;
}
.article-points li + li { margin-top: 3px; }
.article-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}
.table-wrap td a {
  color: var(--burgundy);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.table-wrap td a:hover { text-decoration: underline; }

.faq-list {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px 22px;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.45;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--burgundy);
  font-weight: 700;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.75;
}

#faq.section.alt {
  padding-bottom: 48px;
}

.feature-grid article,
.course-card,
.article-card,
.campus-card,
.stat {
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-grid article:hover,
.course-card:hover,
.article-card:hover,
.campus-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(122, 23, 28, .08);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* —— Persuasion subpages —— */
.page-hero {
  position: relative;
  min-height: clamp(420px, 58vh, 560px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}
.page-hero-media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  animation: heroKen 18s ease-in-out infinite alternate;
}
.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(26, 10, 12, .82) 0%, rgba(26, 10, 12, .55) 48%, rgba(26, 10, 12, .28) 100%),
    linear-gradient(0deg, rgba(26, 10, 12, .55), transparent 55%);
}
.page-hero-curriculum .page-hero-media {
  background-image: url("/assets/photos/campus-code-lecture.webp");
  background-position: center 40%;
}
.page-hero-results .page-hero-media {
  background-image: url("/assets/photos/campus-study-hall.webp");
  background-position: center 45%;
}
.page-hero-admissions .page-hero-media {
  background-image: url("/assets/photos/campus-briefing.webp");
  background-position: center 40%;
}
.page-hero-faq .page-hero-media {
  background-image: url("/assets/photos/campus-wide-room.webp");
  background-position: center 45%;
}
.page-hero-copy {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 56px;
}
.page-hero h1 {
  margin: 10px 0 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4.6vw, 3.15rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.page-hero .lead.light,
.eyebrow.light { color: rgba(255,255,255,.9); }
.page-hero .lead.light {
  max-width: 640px;
  font-size: 1.02rem;
  line-height: 1.75;
}
.page-hero .lead.light a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.page-hero .lead.light strong { color: #fff; font-weight: 800; }
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.45);
  color: #fff;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
  background: rgba(255,255,255,.08);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.16); }

.trust-proof {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.trust-proof-grid {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.trust-proof-grid article {
  padding: 22px 18px;
  border-right: 1px solid var(--line);
}
.trust-proof-grid article:last-child { border-right: 0; }
.trust-proof-grid strong {
  display: block;
  color: var(--burgundy);
  font-size: .98rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.trust-proof-grid span {
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.55;
}

.side-photo {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 40px rgba(122, 23, 28, .08);
}
.side-photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.side-photo figcaption {
  padding: 12px 16px 14px;
  font-size: .86rem;
  color: var(--muted);
  font-weight: 600;
}

.reason-grid {
  width: min(var(--max), calc(100% - 48px));
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.reason-grid article {
  padding: 24px 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
}
.reason-grid h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.reason-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.7;
}

.track-detail {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
}
.track-detail.reverse { grid-template-columns: .85fr 1.15fr; }
.track-detail.reverse .track-detail-copy { order: 2; }
.track-detail.reverse .track-detail-photo { order: 1; }
.track-detail-copy .course-tag { margin-bottom: 8px; }
.track-detail-copy h3 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  letter-spacing: -0.03em;
  line-height: 1.35;
}
.track-detail-copy > p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.75;
}
.track-detail-photo {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 280px;
}
.track-detail-photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}
.text-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--burgundy);
  font-weight: 800;
  text-decoration: none;
  font-size: .92rem;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.article-card .text-link { margin-top: 12px; }

.enroll-cta {
  padding: 56px 24px 72px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255,255,255,.12), transparent 50%),
    linear-gradient(135deg, var(--burgundy-mid), var(--burgundy) 40%, var(--burgundy-deep));
  color: #fff;
}
.enroll-cta-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 28px;
  align-items: center;
}
.enroll-cta h2 {
  margin: 8px 0 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.enroll-cta p {
  margin: 0;
  max-width: 560px;
  color: rgba(255,255,255,.88);
  font-size: .98rem;
  line-height: 1.7;
}
.enroll-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: min(280px, 100%);
}
.enroll-cta .btn-primary {
  background: #fff;
  color: var(--burgundy);
}
.enroll-cta .btn-primary:hover { background: #f7f3f2; }

@keyframes heroKen {
  from { transform: scale(1.02) translateY(0); }
  to { transform: scale(1.08) translateY(-1.5%); }
}

@media (max-width: 1000px) {
  .hero-grid,
  .feature-grid,
  .steps,
  .course-grid,
  .stat-grid,
  .article-grid,
  .campus-grid,
  .consult-wrap,
  .footer-top,
  .section-head.split,
  .mosaic,
  .blog-inner,
  .trust-proof-grid,
  .reason-grid,
  .track-detail,
  .track-detail.reverse,
  .enroll-cta-inner { grid-template-columns: 1fr; }
  .campus-life-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 160px 160px;
  }
  .life-shot.tall {
    grid-row: auto;
    grid-column: 1 / span 2;
    min-height: 200px;
  }
  .life-shot.wide {
    grid-column: 1 / span 2;
  }
  .mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .mosaic-item.large,
  .mosaic-item.wide { grid-column: auto; grid-row: auto; min-height: 180px; }
  .blog-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .compare-grid { grid-template-columns: 1fr; }
  .nav, .header-cta, .brand span { display: none; }
  .mobile-dock { display: grid; }
  .kakao-float { display: none !important; }
  .section, .section.alt { padding: 56px 0; }

  /* 모바일: 과정/비교 탭 — 같은 프레임에서 전환 */
  .panel-tabs[data-tabs="courses"],
  .panel-tabs[data-tabs="compare"] {
    display: flex;
  }
  [data-panels="courses"] > [data-panel]:not(.is-active),
  [data-panels="compare"] > [data-panel]:not(.is-active) {
    display: none !important;
  }
  [data-panels="courses"],
  [data-panels="compare"] {
    grid-template-columns: 1fr;
  }
  .consult-wrap { padding: 28px 20px; }
  .hero-mark { opacity: .05; width: 70vw; right: -18%; }
  .trust-proof-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .trust-proof-grid article:last-child { border-bottom: 0; }
  .track-detail.reverse .track-detail-copy,
  .track-detail.reverse .track-detail-photo { order: initial; }
  .page-hero-copy { padding: 56px 0 40px; }
  .side-photo img { height: 220px; }
  .consult-photo { max-width: none; }
}

.page-hero-about .page-hero-media {
  background-image: url("/assets/photos/campus-mentor-rounds.webp");
  background-position: center 40%;
}
.page-hero-consult .page-hero-media {
  background-image: url("/assets/photos/campus-parent-consult.webp");
  background-position: center 40%;
}

.consult-bullets {
  margin: 16px 0 18px;
  padding-left: 18px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.75;
}
.consult-bullets li + li { margin-top: 6px; }
.consult-photo {
  margin: 22px 0 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  max-width: 420px;
}
.consult-photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.consult-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  resize: vertical;
  min-height: 88px;
}

/* Board (CTI-style) */
.board-hero {
  position: relative;
  padding: 72px 24px 56px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(26,10,12,.88), rgba(122,23,28,.72)),
    url("/assets/photos/campus-book-study.webp") center 40% / cover no-repeat;
  text-align: center;
}
.board-hero-compact { padding: 48px 24px 36px; }
.board-hero-inner { width: min(720px, 100%); margin: 0 auto; }
.board-hero h1 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  letter-spacing: -0.03em;
}
.board-hero-sub {
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,.92);
}
.board-hero p { margin: 0; color: rgba(255,255,255,.82); line-height: 1.7; }

.board-layout {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 72px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.board-sidebar {
  position: sticky;
  top: 88px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.board-sidebar-title {
  padding: 16px 18px;
  background: var(--burgundy);
  color: #fff;
  font-weight: 900;
  font-size: .98rem;
  letter-spacing: -0.02em;
}
.board-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.board-sidebar a {
  display: block;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 700;
}
.board-sidebar a:hover { background: var(--bg); color: var(--burgundy); }
.board-tab-arrow { display: none; }
.board-sidebar a.active {
  background: var(--burgundy-deep);
  color: #fff;
}
.board-sidebar-cta {
  display: block;
  margin: 14px;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  background: rgba(149, 30, 35, .08);
  color: var(--burgundy) !important;
  font-weight: 800 !important;
  border-bottom: 0 !important;
  text-decoration: none;
}

.board-main {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 22px 28px;
}
.board-main-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.board-main h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.board-count {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 700;
}
.board-cat-desc {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: .9rem;
}
.board-search {
  display: flex;
  gap: 8px;
}
.board-search input {
  height: 40px;
  min-width: 180px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
}
.board-search button {
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: var(--burgundy);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.board-table-wrap { overflow-x: auto; }
.board-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.board-table th,
.board-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
  text-align: left;
}
.board-table th {
  background: var(--bg);
  font-weight: 800;
}
.board-table .num { width: 64px; color: var(--muted); }
.board-table .date { width: 110px; color: var(--muted); white-space: nowrap; }
.board-table .author { width: 130px; color: var(--muted); white-space: nowrap; }
.board-table .title a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}
.board-table .title a:hover { color: var(--burgundy); }
.board-comment-count {
  margin-left: 4px;
  color: var(--burgundy);
  font-weight: 700;
  font-size: .92em;
}
.board-table .board-empty { padding: 40px 0; text-align: center; color: var(--muted); }
.board-pager {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
}
.board-pager-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid var(--line, #e5e0dc);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
.board-pager-btn:hover { border-color: var(--burgundy); color: var(--burgundy); }
.board-pager-btn.is-active {
  border-color: var(--burgundy);
  background: var(--burgundy);
  color: #fff;
}
.board-pager-btn.is-arrow { font-size: 1.1rem; }
.board-pager-btn.is-disabled { opacity: .35; pointer-events: none; }

.board-post h2 {
  margin: 8px 0 12px;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  letter-spacing: -0.03em;
  line-height: 1.35;
}
.board-post-cat {
  margin: 0;
  color: var(--burgundy);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.board-post-meta {
  display: flex;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
  font-weight: 600;
}
.board-post-body {
  color: var(--ink);
  font-size: .98rem;
  line-height: 1.85;
  min-height: 120px;
}
.board-post-body p { margin: 0 0 14px; }
.board-post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1000px) {
  .board-layout {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 0 0 56px;
  }
  .board-sidebar {
    position: sticky;
    top: 72px;
    z-index: 30;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .04);
  }
  .board-sidebar .board-sidebar-title,
  .board-sidebar .board-sidebar-cta { display: none; }
  .board-sidebar ul {
    position: relative;
    display: flex;
    gap: 8px;
    padding: 12px 20px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .board-sidebar ul::-webkit-scrollbar { display: none; }
  .board-sidebar ul { cursor: grab; user-select: none; }
  .board-sidebar ul.is-dragging { cursor: grabbing; }
  .board-sidebar ul.is-dragging a { pointer-events: none; }
  .board-tab-arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 48px;
    padding: 0 10px;
    border: 0;
    color: var(--burgundy);
    font: inherit;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
  }
  .board-tab-arrow[hidden] { display: none; }
  .board-tab-arrow.is-prev {
    left: 0;
    justify-content: flex-start;
    background: linear-gradient(90deg, #fff 55%, rgba(255, 255, 255, 0));
  }
  .board-tab-arrow.is-next {
    right: 0;
    justify-content: flex-end;
    background: linear-gradient(270deg, #fff 55%, rgba(255, 255, 255, 0));
  }
  .board-sidebar li { flex: none; }
  /* 모바일 탭 순서: 공지 → 입시소식 → Q&A → 합격·수상 → 제휴 → 자료실 (PC 사이드바 순서는 그대로) */
  .board-sidebar li:nth-child(1) { order: 1; } /* 공지사항 */
  .board-sidebar li:nth-child(2) { order: 2; } /* 입시 소식 */
  .board-sidebar li:nth-child(3) { order: 4; } /* 합격·수상 소식 */
  .board-sidebar li:nth-child(4) { order: 5; } /* 제휴·연계 안내 */
  .board-sidebar li:nth-child(5) { order: 3; } /* Q&A */
  .board-sidebar li:nth-child(6) { order: 6; } /* 교육자료실 */
  .board-sidebar a {
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: .9rem;
    white-space: nowrap;
  }
  .board-sidebar a.active {
    border-color: var(--burgundy);
    background: var(--burgundy);
  }
  .board-main {
    min-width: 0;
    width: calc(100% - 40px);
    margin: 20px auto 0;
    padding: 20px 18px 24px;
  }
  .board-main-head { flex-direction: column; align-items: stretch; }
  .board-search { width: 100%; }
  .board-search input { flex: 1; min-width: 0; }
  .board-table { min-width: 0; table-layout: fixed; }
  .board-table .num,
  .board-table .author { display: none; }
  .board-table .date { width: 92px; padding-left: 4px; font-size: .84rem; }
  .board-table .title { line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; }
}

/* Consult — Google map (Daechi HQ) */
.map-section {
  padding-top: 24px;
}
.map-tabs {
  display: flex;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto 24px;
  border-bottom: 1px solid var(--line);
}
.map-tabs .panel-tab { padding: 12px 18px; font-size: 1rem; }
.map-layout[hidden] { display: none; }
.map-layout {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 28px;
  align-items: stretch;
}
.map-copy h2 {
  margin: 8px 0 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.map-lead {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.75;
  max-width: 36em;
}
.map-facts {
  margin: 0 0 22px;
  display: grid;
  gap: 14px;
}
.map-facts > div {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.map-facts dt {
  margin: 0 0 4px;
  color: var(--burgundy);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.map-facts dd {
  margin: 0;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--ink);
}
.map-facts a {
  color: var(--burgundy);
  text-decoration: none;
}
.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.map-frame-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 40px rgba(122, 23, 28, .08);
  display: flex;
  flex-direction: column;
  min-height: 360px;
}
.map-frame {
  border: 0;
  width: 100%;
  flex: 1;
  min-height: 320px;
}
.map-caption {
  margin: 0;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-size: .86rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--bg);
}

@media (max-width: 1000px) {
  .map-layout { grid-template-columns: 1fr; }
  .map-frame { min-height: 280px; }
}

/* Board write · view · comments */
.board-write-row { display: flex; justify-content: flex-end; margin-top: 16px; }
.board-write-row[hidden],
.board-write-btn[hidden] { display: none; }
.board-write-btn { height: 42px; padding: 0 22px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: .86rem; }
.btn-danger { background: #b42318; color: #fff; }
.btn-danger:hover { background: #912018; }
.board-link-btn {
  border: 0;
  background: none;
  padding: 0;
  color: var(--muted);
  font: inherit;
  font-size: .8rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.board-link-btn:hover { color: var(--burgundy); }
.board-comments {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.board-comments h3 { margin: 0 0 14px; font-size: 1.02rem; }
.board-comments h3 span { color: var(--burgundy); }
.board-comment-list { list-style: none; margin: 0 0 14px; padding: 0; }
.board-comment-list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}
.board-comment-list li + li { margin-top: 10px; }
.board-comment-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: .86rem;
}
.board-comment-head strong { color: var(--burgundy); }
.board-comment-head span { color: var(--muted); }
.board-comment-head .board-link-btn { margin-left: auto; }
.board-comment-body { font-size: .94rem; line-height: 1.75; }
.board-comment-body p { margin: 0 0 8px; }
.board-comment-body p:last-child { margin-bottom: 0; }
.board-comment-empty { margin: 0 0 14px; color: var(--muted); font-size: .92rem; }
.board-comment-actions { display: flex; justify-content: flex-end; }
.board-admin-tools {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 28px;
}
body.board-modal-open { overflow: hidden; }
.board-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}
.board-modal-backdrop { position: absolute; inset: 0; background: rgba(20, 8, 10, .55); }
.board-modal-card {
  position: relative;
  width: min(640px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 26px 26px 22px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}
.board-modal-card h3 { margin: 0 0 6px; font-size: 1.2rem; }
.board-modal-desc { margin: 0 0 16px; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.board-modal-card label {
  display: block;
  margin-bottom: 14px;
  font-size: .88rem;
  font-weight: 700;
}
.board-modal-card input,
.board-modal-card textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 400;
}
.board-modal-card textarea { resize: vertical; line-height: 1.7; }
.board-modal-card input:focus,
.board-modal-card textarea:focus { outline: 2px solid rgba(122, 23, 28, .25); border-color: var(--burgundy); }
.board-modal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.board-modal-counter {
  display: block;
  margin-top: 4px;
  text-align: right;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 400;
}
@media (max-width: 560px) {
  .board-modal-row { grid-template-columns: 1fr; gap: 0; }
}
.board-modal-error { margin: 0 0 12px; color: #b42318; font-size: .88rem; font-weight: 600; }
.board-modal-actions { display: flex; justify-content: flex-end; gap: 8px; }
.board-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.board-modal-note { margin: -4px 0 14px; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.board-modal-radio {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-bottom: 12px;
  font-size: .88rem;
}
.board-modal-radio > span { font-weight: 700; }
.board-modal-card .board-modal-radio label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-weight: 500;
  cursor: pointer;
}
.board-modal-card .board-modal-radio input { width: auto; margin: 0; accent-color: var(--burgundy); }
.board-modal-chips { margin-bottom: 14px; }
.board-modal-label { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 700; }
.board-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  touch-action: none;
  user-select: none;
}
.board-chip {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .12s, border-color .12s, color .12s;
}
.board-chip:hover { border-color: var(--burgundy); }
.board-chip[aria-pressed="true"] {
  border-color: var(--burgundy);
  background: var(--burgundy);
  color: #fff;
}
.board-modal-info { margin: 4px 0 18px; border-top: 1px solid var(--line); }
.board-modal-info > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 11px 4px;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
.board-modal-info dt { color: var(--muted); font-weight: 600; }
.board-modal-info dd { margin: 0; min-height: 1.4em; color: var(--ink); font-weight: 600; word-break: break-all; }
.board-author-btn {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}
.board-author-btn:hover { color: var(--burgundy); text-decoration-color: currentColor; }
.board-lock-mark { margin-right: 4px; font-size: .85em; }
.board-lock { width: .8em; height: .8em; margin-right: 6px; vertical-align: -.05em; color: var(--muted); }
.board-private-tag {
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(122, 23, 28, .08);
  color: var(--burgundy);
  font-size: .78rem;
  font-weight: 700;
}
.board-private-box {
  margin: 24px 0;
  padding: 36px 20px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: #faf8f7;
  text-align: center;
  color: var(--muted);
}
.board-private-box p { margin: 0 0 14px; }
.board-private-box div { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
/* ===== 컴세바 뉴스룸 (TBP Blog & Insight 스타일) ===== */
.newsroom-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  align-items: start;
  margin-top: 8px;
}
.newsroom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 28px;
}
.newsroom-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
.newsroom-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
  background: #efe7e6;
}
.newsroom-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.newsroom-card:hover .newsroom-thumb img { transform: scale(1.04); }
.newsroom-thumb.is-empty,
.newsroom-hot-thumb.is-empty {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--burgundy-deep), var(--burgundy-soft));
  color: rgba(255, 255, 255, .85);
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  letter-spacing: .14em;
}
.newsroom-card-body { padding: 16px 2px 0; }
.newsroom-title {
  margin: 0 0 8px;
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: 800;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.newsroom-card:hover .newsroom-title { color: var(--burgundy); }
.newsroom-excerpt {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.newsroom-date {
  display: block;
  color: rgba(42, 23, 24, .5);
  font-size: .82rem;
  font-weight: 600;
}
.newsroom-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 56px 0;
  text-align: center;
  color: var(--muted);
}
.newsroom-hot {
  position: sticky;
  top: 96px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}
.newsroom-hot[hidden] { display: none; }
.newsroom-hot-title {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--burgundy);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--burgundy);
}
.newsroom-hot-list { list-style: none; margin: 0; padding: 0; }
.newsroom-hot-list li + li { border-top: 1px solid var(--line); }
.newsroom-hot-list a {
  display: grid;
  grid-template-columns: 18px 64px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  color: inherit;
  text-decoration: none;
}
.newsroom-hot-rank { font-weight: 800; color: var(--burgundy); font-size: .95rem; text-align: center; }
.newsroom-hot-thumb {
  width: 64px;
  height: 48px;
  overflow: hidden;
  border-radius: 8px;
  background: #efe7e6;
  font-size: .5rem;
}
.newsroom-hot-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.newsroom-hot-text { display: grid; gap: 4px; min-width: 0; }
.newsroom-hot-text strong {
  font-size: .88rem;
  line-height: 1.4;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.newsroom-hot-list a:hover strong { color: var(--burgundy); }
.newsroom-hot-text time { font-size: .76rem; color: rgba(42, 23, 24, .5); }
.board-post-rich img { max-width: 100%; height: auto; display: block; margin: 14px 0; border-radius: 8px; }
.board-post-rich h1, .board-post-rich h2, .board-post-rich h3 { margin: 22px 0 10px; line-height: 1.4; }
.board-post-rich ul, .board-post-rich ol { margin: 0 0 14px; padding-left: 1.4em; }
.board-post-rich figure { margin: 14px 0; }
.board-post-rich figcaption { color: var(--muted); font-size: .85rem; text-align: center; }
.board-post-rich a { color: var(--burgundy); text-decoration: underline; }
@media (max-width: 1000px) {
  .newsroom-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .newsroom-hot { position: static; order: -1; }
  .newsroom-hot-list { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 4px; }
  .newsroom-hot-list li { flex: 0 0 240px; }
  .newsroom-hot-list li + li { border-top: 0; }
}
@media (max-width: 640px) {
  .newsroom-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .newsroom-title { font-size: 1.1rem; }
}