/* ==========================================================================
   중앙대학교 교육대학원 서브페이지 통합 단일 스타일시트 (assets/css/sub.css)
   - main.css (기본 리셋, CSS 변수, GNB 상단헤더, 메가메뉴, 모바일 드로어, 푸터)
   - sub.css (서브페이지 레이아웃, 2차 LNB, 서브 히어로, 탭네비, 테이블, 모바일 반응형)
   - board.css (통합 공지/자료실/FAQ 게시판 스킨)
   - 서브페이지 단일 CSS(1 Request) 로드로 브라우저 렌더링 속도 최적화
   ========================================================================== */

/* [1. 공통 기반 스타일 (main.css)] */
/* ==========================================================================
   중앙대학교 교육대학원 메인 스타일 (assets/css/main.css)
   main1123.html 기반 분리
   ========================================================================== */

button,
[role="button"],
select,
summary,
input:not([type="checkbox"], [type="radio"]) {
  min-height: 2rem;
}

* {
  box-sizing: border-box;
}

:root {
  --blue: #2b4acb;
  --blue-d: #1d369e;
  --navy: #141c38;
  --topbar: #20294d;
  --green: #2f9e44;
  --teal: #2596b4;
  --ink: #16181d;
  --body: #3d4451;
  --faint: #7a8191;
  --line: #dde3ec;
  --bg: #ffffff;
  --soft: #e9f1f7;
  --soft2: #f4f7fa;
  --chip: #eef3fb;
  --card: #ffffff;
  --foot: #171f3d;
  --foot2: #10162c;
  --shadow: 0 10px 30px rgba(20, 35, 90, .10);
}

@media (prefers-color-scheme: dark) {
  :root {
    --blue: #7d97f2;
    --blue-d: #a9bcf7;
    --ink: #eef1f8;
    --body: #c3cadb;
    --faint: #8d96ab;
    --line: #2c3550;
    --bg: #12172a;
    --soft: #18203a;
    --soft2: #161d33;
    --chip: #1c2745;
    --card: #171e36;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  }
}

html {
  scroll-behavior: smooth
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto
  }
}

body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Segoe UI", "Malgun Gothic", sans-serif;
  color: var(--body);
  background: var(--bg);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased
}

img {
  display: block;
  max-width: 100%
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  color: inherit
}

.wrap {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 28px
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px
}

/* ── concept bar (same style as design 2) ── */
.concept {
  background: var(--navy);
  color: #cfe0ff;
  font-size: 12px
}

.concept .wrap {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap
}

.concept strong {
  color: #fff;
  letter-spacing: .14em;
  font-size: 11px
}

.concept .r {
  color: #8fb0e8
}

/* ── utility bar ─────────────────────────── */
.util {
  background: var(--topbar);
  color: #cfd6ee;
  font-size: 15px
}

.util .wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 38px;
  overflow-x: auto;
  scrollbar-width: none
}

.util .wrap::-webkit-scrollbar {
  display: none
}

.util a {
  padding: 8px 10px;
  white-space: nowrap;
  border-radius: 6px
}

.util a:hover {
  color: #fff
}

.util .sp {
  flex: 1
}

/* ── header ──────────────────────────────── */
header.site {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #ffffff;
  border-bottom: 3px solid var(--blue)
}

.head-in {
  display: flex;
  align-items: stretch;
  max-width: 1560px;
  margin: 0 auto;
  padding-left: 28px
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 12px 10px 12px 0;
  flex: none
}

.cau-symbol {
  height: 46px;
  width: auto;
  flex: none
}

.logo-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center
}

.logo-text strong {
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.15;
  white-space: nowrap
}

.logo-text small {
  font-size: 8.5px;
  letter-spacing: -.015em;
  color: var(--faint);
  font-weight: 600;
  margin-top: 3px;
  white-space: nowrap;
  line-height: 1.25
}

nav.main {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: stretch;
  margin-left: 10px
}

nav.main a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 2px;
  font-size: 18.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  letter-spacing: -.02em
}

nav.main a:hover,
nav.main a.on {
  color: var(--blue)
}

nav.main a.on {
  box-shadow: inset 0 -3px 0 var(--blue)
}

.head-btns {
  display: flex;
  margin-left: 18px
}

.hb {
  width: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff
}

.hb svg {
  width: 26px;
  height: 26px
}

.hb.sitemap {
  background: var(--blue)
}

.hb.burger {
  background: var(--navy);
  display: none
}

/* mega dropdown — dark navy editorial panel (CNSU identity): big title block + numbered text rows, no photo, no cards */
.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: linear-gradient(155deg, #1d2749, var(--navy) 62%);
  color: #e8ecf8;
  border-top: 3px solid var(--green);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  box-shadow: 0 30px 50px rgba(5, 18, 44, .38);
  z-index: 70
}

header.site.mega-open .mega {
  opacity: 1;
  visibility: visible;
  transform: none
}

.mega-in {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 52px;
  max-width: 1380px;
  margin: 0 auto;
  padding: 36px 28px 40px;
  align-items: start
}

.mega-side .midx {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .24em;
  color: #8fe3a5
}

.mega-side .midx::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #8fe3a5;
  margin-right: 10px;
  vertical-align: 1px
}

.mega-side h3 {
  margin: 12px 0 0;
  font-size: 31px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.025em;
  line-height: 1.2
}

.mega-side .men {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3em;
  color: #8d96c4;
  text-transform: uppercase
}

.mega-side p {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: #aeb9da;
  font-weight: 500
}

.mega-side .mtel {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: 13px;
  color: #8d96c4
}

.mega-side .mtel b {
  color: #fff;
  font-size: 14.5px;
  margin-left: 6px;
  white-space: nowrap
}

.mega-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  align-content: start
}

.mrow {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  color: #dfe5f5;
  transition: color .15s ease, padding-left .15s ease
}

.mrow .no {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .1em;
  color: #7d97f2;
  flex: none;
  font-variant-numeric: tabular-nums;
  transition: color .15s ease
}

.mrow b {
  font-size: 18.5px;
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.35
}

.mrow .arr {
  margin-left: auto;
  color: #8fe3a5;
  font-size: 15px;
  font-weight: 800;
  flex: none;
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity .15s ease, transform .15s ease
}

.mrow:hover {
  color: #fff;
  padding-left: 10px
}

.mrow:hover .no {
  color: #8fe3a5
}

.mrow:hover .arr {
  opacity: 1;
  transform: none
}

@media (prefers-reduced-motion: reduce) {

  .mega,
  .mrow,
  .mrow .no,
  .mrow .arr {
    transition: none
  }

  .mrow:hover {
    padding-left: 4px
  }
}

/* mobile drawer — dark navy accordion with plain divided text rows */
.drawer {
  display: none;
  background: var(--navy);
  color: #e8ecf8;
  padding: 6px 28px 16px;
  max-height: 70vh;
  overflow-y: auto
}

.drawer.open {
  display: block
}

.d-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 2px;
  font-size: 17.5px;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  text-align: left;
  min-height: 48px
}

.d-head .arr {
  font-size: 13px;
  color: #8fe3a5;
  font-weight: 800;
  transition: transform .15s
}

.d-group.open .d-head .arr {
  transform: rotate(180deg)
}

.d-sub {
  display: none;
  padding: 4px 0 10px
}

.d-group.open .d-sub {
  display: block
}

.d-sub a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 6px;
  font-size: 16px;
  font-weight: 500;
  color: #cfd6ee;
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.d-sub a:last-child {
  border-bottom: 0
}

.d-sub a::after {
  content: "→";
  margin-left: auto;
  color: #8fe3a5;
  font-weight: 800
}

/* ── hero — image slider ─────────────────── */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  pointer-events: none
}

.hero-slide.on {
  opacity: 1
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 18, 48, .42), rgba(10, 18, 48, .30) 45%, rgba(10, 18, 48, .62));
  pointer-events: none
}

.hero-in {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 92px 24px 104px
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .55);
  background: rgba(10, 18, 48, .28);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease
}

.hero-arrow:hover {
  background: rgba(10, 18, 48, .55);
  border-color: #fff
}

.hero-arrow.prev {
  left: 26px
}

.hero-arrow.next {
  right: 26px
}

.hero-ctl {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px
}

.hero-dots button {
  width: 11px;
  height: 11px;
  min-height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .45);
  padding: 0;
  transition: width .25s ease, background-color .25s ease
}

.hero-dots button.on {
  width: 30px;
  background: #fff
}

.hero-count {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .85);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .4)
}

.hero-play {
  width: 34px;
  height: 34px;
  min-height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .55);
  background: rgba(10, 18, 48, .28);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center
}

.hero-play svg {
  width: 13px;
  height: 13px
}

.hero-play:hover {
  background: rgba(10, 18, 48, .55);
  border-color: #fff
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none
  }

  .hero-dots button {
    transition: none
  }

  .hero-arrow {
    transition: none
  }
}

.hero-in .pre {
  font-size: clamp(17px, 2.2vw, 24px);
  font-weight: 600;
  letter-spacing: -.01em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .35)
}

.hero-in h1 {
  margin: 10px 0 0;
  font-size: clamp(38px, 5.6vw, 64px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -.03em;
  text-shadow: 0 3px 20px rgba(0, 0, 0, .35)
}

.hero-in .univ {
  margin-top: 14px;
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -.02em
}

.hero-in .univ span {
  border-bottom: 5px solid var(--green)
}

/* ── 서브페이지 에디토리얼 히어로 & 서브탭 (sub1123.html Editorial System) ── */
:root {
  --paper: #fdfcf9;
  --ink-ed: #14161a;
  --ink-2: #3d434e;
  --mut: #767d89;
  --line-ed: #e3e1da;
  --line-2: #efece4;
  --blue-ed: #1f5fd6;
  --blue-deep: #0b2a5b;
  --red-ed: #e4572e;
  --g-yang: #1f5fd6;
  --g-jae: #0e7a5f;
}



/* search — white pill bar directly under the hero, on the plain page background (no blue band) */
.search-zone {
  background: transparent;
  padding: 52px 0 6px
}

.search-wrap {
  max-width: 920px
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 7px 7px 30px;
  box-shadow: 0 14px 34px rgba(20, 35, 90, .14)
}

.search-bar input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  outline: none;
  padding: 10px 0
}

.search-bar input::placeholder {
  color: var(--faint)
}

.search-btn {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s ease
}

.search-btn:hover {
  background: var(--blue-d)
}

.search-btn svg {
  width: 25px;
  height: 25px
}

@media (prefers-reduced-motion: reduce) {
  .search-btn {
    transition: none
  }
}

.search-box-wrap {
  position: relative;
  z-index: 90
}

.search-results {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 20px 48px rgba(15, 30, 80, .20), 0 4px 14px rgba(0, 0, 0, .06);
  overflow: hidden;
  padding: 6px;
  max-height: 460px;
  overflow-y: auto
}

.search-results::-webkit-scrollbar {
  width: 6px
}

.search-results::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px
}

.search-results::-webkit-scrollbar-track {
  background: transparent
}

.search-results.open {
  display: block
}

.sr-count {
  margin: 8px 14px 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--faint);
  display: flex;
  justify-content: space-between;
  align-items: center
}

.sr-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background .15s ease;
  box-sizing: border-box
}

.sr-item:hover,
.sr-item:focus,
.sr-item.active {
  background: #eff6ff;
  outline: none
}

.sr-item.active .sr-arrow {
  color: #1f5fd6;
  transform: translateX(3px)
}

.sr-cat {
  flex: none;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  background: #eff6ff;
  color: #1f5fd6;
  white-space: nowrap
}

.sr-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px
}

.sr-info b {
  font-size: 15px;
  color: #0f172a;
  font-weight: 700
}

.sr-info small {
  font-size: 12.5px;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.sr-arrow {
  flex: none;
  font-size: 15px;
  color: #94a3b8;
  transition: transform .15s ease, color .15s ease
}

.sr-item:hover .sr-arrow {
  color: #1f5fd6;
  transform: translateX(3px)
}

.sr-more {
  display: block;
  padding: 12px 16px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  font-size: 13.5px;
  font-weight: 700;
  color: #1f5fd6;
  text-align: center;
  text-decoration: none;
  transition: background .15s ease
}

.sr-more:hover {
  background: #eff6ff
}

.sr-none {
  margin: 16px 14px;
  font-size: 14.5px;
  color: var(--faint);
  text-align: center
}

.search-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 20px;
  padding: 0 10px
}

.tags-label {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink)
}

.stag {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--blue);
  padding: 6px 2px
}

.stag:hover {
  text-decoration: underline
}

/* ── sections ────────────────────────────── */
section.block {
  padding: 86px 0
}

.sec-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px
}

.sec-title h2 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.025em
}

.sec-title h2 .en {
  font-style: italic;
  color: var(--blue);
  margin-right: 10px
}

.sec-title.center {
  justify-content: center;
  text-align: center
}

.plus-btn {
  flex: none;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-size: 26px;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card)
}

.plus-btn:hover {
  background: var(--ink);
  color: var(--bg)
}

/* notices — CNSU segmented tabs + 2col list */
.ntabs {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 8px;
  max-width: 100%
}

.ntabs button {
  padding: 13px 34px;
  border: 1px solid var(--line);
  border-left: 0;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--faint);
  background: var(--card);
  min-height: 48px
}

.ntabs button:first-child {
  border-left: 1px solid var(--line)
}

.ntabs button.on {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  font-weight: 800
}

.nlist {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 56px;
  max-width: 100%
}

.nrow {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 21px 2px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
  max-width: 100%
}

.nrow .cat {
  flex: none;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 8px;
  min-width: 74px;
  width: auto;
  text-align: center;
  white-space: nowrap !important;
  word-break: keep-all
}

.nrow h3 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.01em;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.nrow:hover h3 {
  color: var(--blue)
}

.nrow time {
  flex: none;
  color: var(--faint);
  font-size: 14.5px
}

.nrow .new {
  flex: none;
  background: #e03131;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center
}

.nempty {
  grid-column: 1/-1;
  padding: 30px 0;
  color: var(--faint)
}

/* notice section must never push the page sideways */
#notice {
  overflow-x: clip;
  max-width: 100%
}

#notice .wrap {
  min-width: 0;
  max-width: 1380px
}

/* tablet and below: notice list stacks to one column so nothing is cut off */
@media (max-width:1080px) {
  .nlist {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0
  }

  .ntabs button {
    padding: 12px 22px;
    font-size: 15.5px;
    flex: 1 1 auto
  }

  .nrow {
    gap: 14px
  }
}

@media (max-width:560px) {
  .nrow {
    gap: 10px;
    padding: 18px 0
  }

  .nrow .cat {
    width: 56px;
    font-size: 12px
  }

  .nrow h3 {
    font-size: 15px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical
  }

  .nrow time {
    font-size: 12.5px
  }

  .ntabs button {
    flex: 1 1 30%;
    padding: 11px 6px;
    font-size: 14.5px
  }
}

/* schedule at a glance — calendar + list */
.sched-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 30px
}

.sched-head h2 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15
}

.sched-head h2 .dark {
  color: var(--blue-d)
}

.sched-head h2 .light {
  color: #5b9bd5
}

.sched-head p {
  margin: 10px 0 0;
  font-size: 15.5px;
  color: var(--faint)
}

.sched-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 22px;
  align-items: start
}

.cal-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 26px 20px;
  box-shadow: var(--shadow)
}

.cal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px
}

.cal-top b {
  font-size: 19px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.02em
}

.cal-nav {
  display: flex;
  gap: 8px
}

.cal-nav button {
  width: 34px;
  height: 34px;
  min-height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center
}

.cal-nav button:hover {
  border-color: var(--blue);
  color: var(--blue)
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center
}

.cal-grid .dow {
  font-size: 13px;
  font-weight: 700;
  color: var(--faint);
  padding: 6px 0 8px
}

.cal-grid .dow.sun {
  color: #d64545
}

.cal-grid .dow.sat {
  color: var(--blue)
}

.cal-day {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  border-radius: 10px;
  background: transparent;
  border: none;
  cursor: default;
  padding: 0;
  width: 100%
}

button.cal-day {
  cursor: pointer;
  transition: background .15s ease, color .15s ease
}

button.cal-day:hover {
  background: #f1f5f9
}

button.cal-day.has-sched {
  font-weight: 700
}

.cal-day .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: 3px
}

.cal-day.today {
  background: var(--blue) !important;
  color: #fff !important;
  font-weight: 800
}

.cal-day.today .dot {
  background: #fff !important
}

.cal-day.selected {
  background: #0b2a5b !important;
  color: #fff !important;
  font-weight: 800
}

.cal-day.selected .dot {
  background: #fff !important
}

.cal-day.dim {
  color: var(--faint);
  opacity: .55;
  cursor: default
}

.cal-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--faint)
}

.cal-legend .ld {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex: none
}

.cal-legend .ld.today {
  background: var(--ink)
}

.cal-legend .sep {
  margin-left: 10px
}

.sched-list {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.sched-item {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: var(--shadow)
}

.sched-date {
  flex: none;
  width: 76px;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.sched-date b {
  font-size: 21px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums
}

.sched-date span {
  font-size: 13px;
  color: var(--faint);
  margin-top: 3px
}

.sched-bar {
  flex: none;
  width: 4px;
  border-radius: 999px;
  margin: 2px 20px 2px 6px
}

.sched-bar.purple {
  background: #8b5cf6
}

.sched-bar.blue {
  background: #3b82d6
}

.sched-bar.green {
  background: #2f9e44
}

.sched-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  min-width: 0
}

.sched-chip {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 800;
  line-height: 1
}

.sched-chip.purple {
  color: #8b5cf6
}

.sched-chip.blue {
  color: #3b82d6
}

.sched-chip.green {
  color: #2f9e44
}

.sched-body h3 {
  margin: 0;
  font-size: 17.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.015em;
  line-height: 1.4
}

/* quick links — 6 icon cards */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px
}

.qcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 14px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 18px rgba(20, 35, 90, .06);
  transition: transform .22s ease, box-shadow .22s ease
}

.qcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(20, 35, 90, .13)
}

.qicon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex: none;
  margin-bottom: 16px
}

.qcard .qicon {
  color: #ffffff
}

.qicon svg {
  width: 28px;
  height: 28px;
  color: #ffffff;
  stroke: #ffffff
}

.qicon svg path,
.qicon svg circle {
  stroke: #ffffff
}

.qicon.blue {
  background: #2f6bff
}

.qicon.teal {
  background: #0ea5a4
}

.qicon.purple {
  background: #7c5cf0
}

.qicon.orange {
  background: #f2762e
}

.qicon.green {
  background: #2f9e44
}

.qicon.navy {
  background: #1e3a6e
}

.qcard b {
  font-size: 16.5px;
  line-height: 1.35;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.02em
}

.qcard span {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--faint);
  font-weight: 500
}

@media (max-width:1080px) {
  .quick-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media (max-width:560px) {
  .quick-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .qcard {
    padding: 22px 10px 20px
  }

  .qcard b {
    font-size: 15px
  }
}

@media (prefers-reduced-motion: reduce) {
  .qcard {
    transition: none
  }

  .qcard:hover {
    transform: none
  }
}

/* big type + blue band */
.bigtype {
  overflow: hidden;
  padding: 26px 0 6px;
  white-space: nowrap
}

.bigtype .track {
  display: inline-block;
  font-size: clamp(64px, 10.5vw, 168px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--blue)
}

.bigtype .track .out {
  color: transparent;
  -webkit-text-stroke: 2px var(--blue)
}

@media (prefers-reduced-motion: no-preference) {
  .bigtype .track {
    animation: slide 30s linear infinite
  }

  @keyframes slide {
    from {
      transform: translateX(0)
    }

    to {
      transform: translateX(-50%)
    }
  }
}

.blueband {
  background: var(--blue);
  color: #fff;
  position: relative;
  padding: 110px 0 64px;
  margin-top: 56px
}

.stat-circles {
  position: absolute;
  top: -58px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  width: max-content;
  max-width: 94vw
}

.statc {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--card);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow);
  padding: 10px
}

.statc b {
  font-size: 23px;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.1
}

.statc span {
  font-size: 12px;
  color: var(--faint);
  font-weight: 700;
  margin-top: 3px
}

.blueband .bb-in {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start
}

.blueband .stmt {
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -.02em;
  max-width: 640px;
  margin: 0
}

.blueband .stmt b {
  font-weight: 800
}

.blueband .eng {
  text-align: right;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 300;
  line-height: 1.35;
  color: #dbe4ff
}

.blueband .foot-note2 {
  margin-top: 44px;
  font-size: 13.5px;
  color: #b9c8f5
}

/* footer — white, CAU logo left / links right (same as sub-page design 1) */
footer.site {
  background: #ffffff;
  color: #555555;
  border-top: 1px solid #e3e6eb
}

.foot-in {
  max-width: 1380px;
  margin: 0 auto;
  padding: 38px 28px 44px;
  display: flex;
  gap: 32px 56px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap
}

.foot-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex: none;
  text-decoration: none
}

.foot-brand .cau-symbol {
  height: 40px
}

.foot-brand .logo-text strong {
  font-size: 20px;
  color: #111111
}

.foot-brand .logo-text small {
  font-size: 7.5px;
  letter-spacing: -.015em;
  color: #888888
}

.foot-right {
  flex: 1 1 420px;
  min-width: 280px;
  max-width: 780px
}

.foot-links {
  display: flex;
  gap: 12px 30px;
  flex-wrap: wrap;
  margin-bottom: 16px
}

.foot-links a {
  font-size: 16px;
  color: #333333;
  padding: 2px 0
}

.foot-links a:hover {
  text-decoration: underline
}

.foot-links a b {
  color: #111111;
  font-weight: 800
}

.foot-addr {
  font-size: 15.5px;
  color: #666666;
  line-height: 1.7
}

.foot-copy {
  margin-top: 8px;
  font-size: 14px;
  color: #777777;
  line-height: 1.65;
  letter-spacing: .01em
}

/* ── right fixed quick menu ── */
.quick {
  position: fixed;
  right: 0;
  bottom: 24px;
  width: 84px;
  z-index: 999;
  background: #ffffff;
  border-radius: 14px 0 0 14px;
  box-shadow: 0 14px 36px rgba(10, 20, 50, .28);
  overflow: hidden
}

.quick-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: var(--navy);
  color: #fff;
  padding: 9px 4px 9px 7px
}

.quick-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap
}

.quick-close {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 16px;
  height: 16px;
  min-height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0
}

.quick-close:hover {
  background: rgba(255, 255, 255, .32)
}

.quick-body {
  padding: 7px 4px;
  display: flex;
  flex-direction: column;
  gap: 6px
}

.qm-design {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 0;
  border-bottom: none !important;
}

.qm-design a {
  display: block;
  text-align: center;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.3;
  padding: 7px 2px;
  border-radius: 8px;
  border: 1px solid var(--navy);
  color: var(--navy);
  background: #ffffff;
  min-height: 32px
}

.qm-design a:hover {
  background: #eef1f6
}

.qm-design a.on {
  background: var(--navy);
  color: #ffffff
}

.qm-design a.on:hover {
  background: var(--navy)
}

.qm-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border-radius: 10px;
  padding: 9px 3px;
  color: #fff;
  transition: filter .18s ease
}

.qm-card:hover {
  filter: brightness(1.09)
}

.qm-card.teal {
  background: linear-gradient(120deg, #14a08d, #38b24d)
}

.qm-card.blue {
  background: linear-gradient(120deg, #2b62e8, #4a90d9)
}

.qm-card.navy {
  background: #16264e
}

.qm-ic {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none
}

.qm-ic svg {
  width: 15px;
  height: 15px
}

.qm-tx {
  text-align: center;
  min-width: 0
}

.qm-tx b {
  display: block;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -.03em;
  overflow-wrap: anywhere
}

.qm-tx span {
  display: block;
  margin-top: 3px;
  font-size: 7px;
  line-height: 1.3;
  letter-spacing: -.04em;
  color: rgba(255, 255, 255, .88);
  white-space: nowrap;
  overflow-wrap: normal
}

.quick-top {
  background: #eef1f6;
  color: #3d4451;
  font-size: 11px;
  font-weight: 700;
  border-radius: 8px;
  padding: 7px 0;
  text-align: center;
  min-height: 32px;
  width: 100%;
  border: none;
}

.quick-top:hover {
  background: #e0e7f1
}

.quick-open {
  position: fixed;
  right: 0;
  bottom: 24px;
  z-index: 999;
  background: var(--navy);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  writing-mode: vertical-rl;
  padding: 14px 7px;
  border-radius: 10px 0 0 10px;
  box-shadow: 0 10px 24px rgba(10, 20, 50, .3);
  display: none;
  align-items: center;
  gap: 6px;
  letter-spacing: .06em
}

.quick-open.show {
  display: flex
}

@media (max-width:1080px) {

  .quick,
  .quick-open {
    display: none !important
  }
}

@media (prefers-reduced-motion: reduce) {
  .qm-card {
    transition: none
  }
}

/* ── responsive ──────────────────────────── */
@media (max-width:1080px) {
  nav.main {
    display: none
  }

  .mega {
    display: none
  }

  .head-in {
    justify-content: space-between
  }

  .hb.burger {
    display: flex
  }
}

@media (max-width:760px) {
  .concept .r {
    display: none
  }

  .util .wrap {
    flex-wrap: wrap;
    overflow-x: visible;
    padding-top: 5px;
    padding-bottom: 5px;
    row-gap: 0
  }

  .util a {
    padding: 5px 7px;
    font-size: 12.5px
  }

  .wrap {
    padding: 0 18px
  }

  .head-in {
    padding-left: 18px
  }

  .hb {
    width: 54px
  }

  .cau-symbol {
    height: 36px
  }

  .logo {
    gap: 10px
  }

  .logo-text strong {
    font-size: 16.5px
  }

  .logo-text small {
    font-size: 6.55px;
    letter-spacing: -.015em
  }

  .drawer {
    padding-left: 18px;
    padding-right: 18px
  }

  .hero-in {
    padding: 60px 18px 84px
  }

  .hero-arrow {
    width: 42px;
    height: 42px;
    font-size: 20px
  }

  .hero-arrow.prev {
    left: 12px
  }

  .hero-arrow.next {
    right: 12px
  }

  .hero-ctl {
    bottom: 18px
  }

  .search-zone {
    padding: 36px 0 2px
  }

  .search-bar {
    padding-left: 20px
  }

  .search-bar input {
    font-size: 15px
  }

  .search-btn {
    width: 46px;
    height: 46px
  }

  .search-btn svg {
    width: 21px;
    height: 21px
  }

  .search-tags {
    padding: 0 4px;
    gap: 4px 10px
  }

  section.block {
    padding: 58px 0
  }

  .nlist {
    grid-template-columns: minmax(0, 1fr)
  }

  .ntabs button {
    padding: 12px 10px;
    font-size: 15px;
    flex: 1 1 30%
  }

  .nrow {
    gap: 12px
  }

  .nrow .cat {
    width: 62px;
    font-size: 12.5px
  }

  .nrow time {
    font-size: 13.5px
  }

  .sched-grid {
    grid-template-columns: 1fr
  }

  .cal-card {
    padding: 22px 18px 16px
  }

  .cal-day {
    min-height: 38px;
    font-size: 14px
  }

  .sched-item {
    padding: 18px 18px
  }

  .sched-date {
    width: 64px
  }

  .sched-date b {
    font-size: 18px
  }

  .sched-bar {
    margin: 2px 14px 2px 2px
  }

  .sched-body h3 {
    font-size: 16px
  }

  .stat-circles {
    gap: 8px
  }

  .statc {
    width: 82px;
    height: 82px
  }

  .statc b {
    font-size: 15.5px
  }

  .statc span {
    font-size: 10.5px
  }

  .blueband {
    padding-top: 78px
  }

  .blueband .eng {
    text-align: left
  }

  .foot-in {
    padding: 30px 18px 36px;
    flex-direction: column;
    gap: 22px
  }

  .foot-brand .cau-symbol {
    height: 32px
  }

  .foot-brand .logo-text strong {
    font-size: 16px
  }

  .foot-brand .logo-text small {
    font-size: 6.2px
  }

  .foot-right {
    min-width: 0
  }
}

/* ==========================================================================
   스크롤 등장 애니메이션 (Scroll Reveal Inview)
   ========================================================================== */

/* ── scroll reveal — a different entrance per section.
         Content rests fully visible; when a section enters the viewport the
         observer adds .inview and that section's keyframe animation plays.
         Leaving the viewport removes .inview, resetting the animation so it
         replays from the start on the next entry (fill backwards, so staggered
         items wait hidden only during their delay, and natural styles — e.g.
         card hover — apply untouched afterwards). ── */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rvFade {
    from {
      opacity: 0
    }

    to {
      opacity: 1
    }
  }

  @keyframes rvZoom {
    from {
      transform: scale(1.07)
    }

    to {
      transform: scale(1)
    }
  }

  @keyframes rvHeroCopy {
    from {
      opacity: 0;
      transform: translateY(14px) scale(.985)
    }

    to {
      opacity: 1;
      transform: none
    }
  }

  @keyframes rvUp {
    from {
      opacity: 0;
      transform: translateY(36px)
    }

    to {
      opacity: 1;
      transform: none
    }
  }

  @keyframes rvLeft {
    from {
      opacity: 0;
      transform: translateX(-38px)
    }

    to {
      opacity: 1;
      transform: none
    }
  }

  @keyframes rvRow {
    from {
      opacity: 0;
      transform: translateX(-26px)
    }

    to {
      opacity: 1;
      transform: none
    }
  }

  @keyframes rvRight {
    from {
      opacity: 0;
      transform: translateX(46px)
    }

    to {
      opacity: 1;
      transform: none
    }
  }

  @keyframes rvType {
    from {
      opacity: 0;
      transform: scale(.96)
    }

    to {
      opacity: 1;
      transform: scale(1)
    }
  }

  @keyframes rvPop {
    from {
      opacity: 0;
      transform: scale(.45)
    }

    to {
      opacity: 1;
      transform: scale(1)
    }
  }

  /* hero — fade in + gentle zoom-out of the visuals and copy */
  html.anim .hero.inview {
    animation: rvFade .8s ease backwards
  }

  html.anim .hero.inview .hero-slide {
    animation: rvZoom 1.2s ease backwards
  }

  html.anim .hero.inview .hero-in {
    animation: rvHeroCopy .8s ease .15s backwards
  }

  /* search — slide up + fade */
  html.anim .search-zone.inview .search-wrap {
    animation: rvUp .7s ease backwards
  }

  /* notices — slide in from the left; rows stagger in one by one */
  html.anim #notice.inview .sec-title {
    animation: rvLeft .7s ease backwards
  }

  html.anim #notice.inview .ntabs {
    animation: rvLeft .7s ease .08s backwards
  }

  html.anim #notice.inview .nrow {
    animation: rvRow .6s ease backwards
  }

  html.anim #notice.inview .nrow:nth-child(1) {
    animation-delay: .10s
  }

  html.anim #notice.inview .nrow:nth-child(2) {
    animation-delay: .16s
  }

  html.anim #notice.inview .nrow:nth-child(3) {
    animation-delay: .22s
  }

  html.anim #notice.inview .nrow:nth-child(4) {
    animation-delay: .28s
  }

  html.anim #notice.inview .nrow:nth-child(5) {
    animation-delay: .34s
  }

  html.anim #notice.inview .nrow:nth-child(6) {
    animation-delay: .40s
  }

  /* schedule — slide up + fade; calendar first, list items follow with a beat */
  html.anim #schedule.inview .sched-head {
    animation: rvUp .7s ease backwards
  }

  html.anim #schedule.inview .cal-card {
    animation: rvUp .7s ease .05s backwards
  }

  html.anim #schedule.inview .sched-item {
    animation: rvUp .7s ease backwards
  }

  html.anim #schedule.inview .sched-item:nth-child(1) {
    animation-delay: .18s
  }

  html.anim #schedule.inview .sched-item:nth-child(2) {
    animation-delay: .26s
  }

  html.anim #schedule.inview .sched-item:nth-child(3) {
    animation-delay: .34s
  }

  /* quick links — cards float up one by one, 0.08s apart */
  html.anim #quick.inview .qcard {
    animation: rvUp .65s ease backwards
  }

  html.anim #quick.inview .qcard:nth-child(1) {
    animation-delay: 0s
  }

  html.anim #quick.inview .qcard:nth-child(2) {
    animation-delay: .08s
  }

  html.anim #quick.inview .qcard:nth-child(3) {
    animation-delay: .16s
  }

  html.anim #quick.inview .qcard:nth-child(4) {
    animation-delay: .24s
  }

  html.anim #quick.inview .qcard:nth-child(5) {
    animation-delay: .32s
  }

  html.anim #quick.inview .qcard:nth-child(6) {
    animation-delay: .40s
  }

  /* giant type — fade in + slight zoom */
  html.anim .bigtype.inview {
    animation: rvType .8s ease backwards
  }

  /* blue mission band — content slides in from the right; stat circles pop in */
  html.anim .blueband {
    overflow-x: clip
  }

  html.anim .blueband.inview {
    animation: rvFade .7s ease backwards
  }

  html.anim .blueband.inview .bb-in {
    animation: rvRight .75s ease .1s backwards
  }

  html.anim .blueband.inview .foot-note2 {
    animation: rvFade .7s ease .32s backwards
  }

  html.anim .blueband.inview .statc {
    animation: rvPop .55s cubic-bezier(.34, 1.45, .64, 1) backwards
  }

  html.anim .blueband.inview .statc:nth-child(1) {
    animation-delay: .05s
  }

  html.anim .blueband.inview .statc:nth-child(2) {
    animation-delay: .13s
  }

  html.anim .blueband.inview .statc:nth-child(3) {
    animation-delay: .21s
  }

  html.anim .blueband.inview .statc:nth-child(4) {
    animation-delay: .29s
  }

  /* footer — plain fade */
  html.anim footer.site.inview {
    animation: rvFade .75s ease backwards
  }
}


/* [2. 서브페이지 레이아웃 및 컴포넌트 스타일 (sub.css)] */
@charset "UTF-8";
/**
 * ==============================================================================
 * 중앙대학교 교육대학원 서브페이지 통합 스타일시트 (sub.css)
 * 에디토리얼 서브 히어로 · 서브탭 · 서브콘텐츠 · 전공색인 · 통합게시판/FAQ
 * ==============================================================================
 */

/* ==============================================================================
 * 1. 서브페이지 기본 레이아웃 및 좌측 2차 메뉴 (LNB) 모듈 스타일
 * ============================================================================== */
header.site {
  background: #ffffff !important;
}

/* 서브페이지 전체 2컬럼 레이아웃 래퍼 */
.sub-layout-container {
  min-height: 60vh;
  padding: 24px 0 84px;
  background: #ffffff;
}

.sub-layout-wrap {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* 좌측 2차 메뉴 (LNB) - 테두리 없는 모던 플랫 스타일 */
.sub-lnb {
  width: 256px;
  flex: 0 0 256px;
  position: sticky;
  top: 90px;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  z-index: 30;
}

.lnb-header {
  padding: 24px 22px 20px;
  background: linear-gradient(135deg, #0b2a5b 0%, #153e7e 100%);
  color: #ffffff;
  border-bottom: 3px solid #1f5fd6;
  border-radius: 10px 10px 0 0;
}

.lnb-kicker {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #93c5fd;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.lnb-heading {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  line-height: 1.2;
}

/* LNB 2차 메뉴 목록 */
.lnb-nav {
  padding: 0;
}

.lnb-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-top: none;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
}

.lnb-item {
  border-bottom: 1px solid #f1f5f9;
}

.lnb-item:last-child {
  border-bottom: none;
}

.lnb-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  font-size: 18px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: all 0.18s ease;
  position: relative;
}

.lnb-link:hover {
  background: #f8fafc;
  color: #1f5fd6;
  padding-left: 26px;
}

.lnb-item.active .lnb-link,
.lnb-link.on {
  background: #eff6ff;
  color: #1f5fd6;
  font-weight: 800;
}

.lnb-item.active .lnb-link::before,
.lnb-link.on::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #1f5fd6;
}

.lnb-arrow {
  display: inline-flex;
  align-items: center;
  color: #94a3b8;
  transition: transform 0.18s ease, color 0.18s ease;
}

.lnb-link:hover .lnb-arrow {
  color: #1f5fd6;
  transform: translateX(3px);
}

.lnb-item.active .lnb-arrow,
.lnb-link.on .lnb-arrow {
  color: #1f5fd6;
}

/* LNB 교학지원팀 CS 박스 */
.lnb-cs-box {
  padding: 20px 22px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.cs-badge {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 700;
  color: #1f5fd6;
  background: #e0f2fe;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.cs-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 21px;
  font-weight: 800;
  color: #0b2a5b;
  margin-bottom: 8px;
}

.cs-phone a {
  color: inherit;
  text-decoration: none;
}

.cs-phone svg {
  color: #1f5fd6;
  flex: none;
}

.cs-hours {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 12px;
}

.cs-hours span {
  font-weight: 700;
  color: #475569;
  display: inline-block;
  width: 32px;
}

.cs-quick {
  border-top: 1px dashed #cbd5e1;
  padding-top: 10px;
}

.cs-link {
  font-size: 14px;
  font-weight: 700;
  color: #1f5fd6;
  text-decoration: none;
  display: block;
}

.cs-link:hover {
  text-decoration: underline;
}

/* 우측 본문 콘텐츠 영역 - 테두리 없는 모던 플랫 스타일 */
.sub-content-area {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 0 40px 0;
  box-shadow: none;
  box-sizing: border-box;
}

/* 본문 영역 내부 엘리먼트 레이아웃 정합성 */
.sub-content-area .wrap {
  max-width: 100% !important;
  padding: 0 !important;
}

.sub-content-area .letter-sec {
  padding: 0 !important;
}

.sub-content-area .letter {
  max-width: 100% !important;
  border: none !important;
  padding: 16px 0 24px !important;
  background: transparent !important;
}

.sub-content-area .keys-sec {
  padding: 24px 0 0 !important;
}

.sub-content-area .sec-head,
.sub-content-area .keys {
  max-width: 100% !important;
}

.sub-content-area .board-container,
.sub-content-area .board-view-container,
.sub-content-area .board-write-container {
  padding: 0 !important;
  max-width: 100% !important;
}

.sub-content-area .index-sec {
  padding: 0 !important;
  background: transparent !important;
}

.sub-content-area .index-sec .wrap {
  max-width: 100% !important;
  padding: 0 !important;
}

/* 1024px 이하 태블릿/모바일 반응형: 모바일에서 좌측 2차 메뉴(LNB) 숨김 처리 */
@media (max-width: 1024px) {
  .sub-layout-container {
    padding: 16px 0 60px;
  }

  .sub-layout-wrap {
    flex-direction: column;
    gap: 0;
    padding: 0 16px;
  }

  /* 모바일/태블릿 화면에서 좌측 2차 메뉴 숨김 */
  .sub-lnb {
    display: none !important;
  }

  .sub-content-area {
    width: 100%;
    padding: 16px 0 30px;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }
}

/* 레거시 호환 클래스 */
.sub-main-wrap {
  min-height: 50vh;
  padding: 24px 0 80px;
  background: #ffffff;
}

.sub-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==============================================================================
 * 2. 에디토리얼 서브 히어로 & 전공 색인 (sub1123.html 기반)
 * ============================================================================== */
/* ── Editorial hero ── */
.ed-hero {
  padding: 26px 0 18px;
  position: relative;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid #eef2f6;
}

.ed-hero .kick {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--hero-accent, var(--red-ed));
  text-transform: uppercase;
}

.ed-hero .kick::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #cbd5e1;
}

.ed-title {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin: 10px 0 0;
  flex-wrap: wrap;
}

.ed-title h1 {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.25;
  letter-spacing: -.02em;
  color: #0f172a;
}

.ed-title h1 em {
  font-style: normal;
  font-weight: 800;
  color: #1f5fd6 !important;
}

.ed-title .big-no {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-weight: 900;
  font-size: clamp(34px, 4.8vw, 60px);
  line-height: .9;
  color: transparent;
  -webkit-text-stroke: 1.5px #1e293b;
  margin-left: auto;
  text-align: right;
}

.ed-title .big-no span {
  display: block;
  font-family: "Pretendard Variable", Pretendard, sans-serif;
  -webkit-text-stroke: 0;
  color: var(--mut);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .18em;
  margin-top: 5px;
}

.ed-lead {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 24px;
  margin-top: 14px;
  align-items: start;
}

.ed-lead p {
  margin: 0;
  font-size: 18.5px;
  line-height: 1.85;
  color: var(--ink-2);
  font-weight: 500;
  word-break: keep-all;
}

.ed-lead p strong {
  color: #0f172a;
  font-weight: 800;
  box-shadow: inset 0 -6px 0 var(--hero-highlight, #ffe3d6);
}

.ed-meta {
  border-top: 2px solid #1e293b;
  padding-top: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 18px;
  font-size: 14px;
  margin: 0;
}

.ed-meta div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 5px;
}

.ed-meta dt {
  color: var(--mut);
  font-weight: 600;
}

.ed-meta dd {
  margin: 0;
  font-weight: 600;
  color: #0f172a;
  text-align: right;
}

.photo-strip {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.photo-strip figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 16/5;
  transition: transform .35s ease;
}

.photo-strip figure:nth-child(2) img,
.photo-strip figure:nth-child(3) img {
  aspect-ratio: 4/1.5;
}

.photo-strip figure:hover img {
  transform: scale(1.03);
}

.photo-strip figcaption {
  position: absolute;
  left: 12px;
  bottom: 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .65);
  pointer-events: none;
}

/* 1차 메뉴별 테마 색상 (Theme Colors per 1st-level menu) - 서브 전체 공통 블루 브랜드 통일 */
.theme-about {
  --hero-accent: #1f5fd6;
  --hero-sub: #1f5fd6;
  --hero-highlight: #dbeafe;
}

.theme-major {
  --hero-accent: #1f5fd6;
  --hero-sub: #1f5fd6;
  --hero-highlight: #dbeafe;
}

.theme-admissions {
  --hero-accent: #1f5fd6;
  --hero-sub: #1f5fd6;
  --hero-highlight: #dbeafe;
}

.theme-academic {
  --hero-accent: #1f5fd6;
  --hero-sub: #1f5fd6;
  --hero-highlight: #dbeafe;
}

.theme-teaching {
  --hero-accent: #1f5fd6;
  --hero-sub: #1f5fd6;
  --hero-highlight: #dbeafe;
}

.theme-community {
  --hero-accent: #1f5fd6;
  --hero-sub: #1f5fd6;
  --hero-highlight: #dbeafe;
}

.theme-notice {
  --hero-accent: #1f5fd6;
  --hero-sub: #1f5fd6;
  --hero-highlight: #fee2e2;
}

/* Sub nav — horizontal index tabs & breadcrumb */
.subnav {
  position: sticky;
  top: 73px;
  z-index: 45;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid #edf2f7;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  margin-top: 0;
}

.subnav .wrap {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  overflow: visible;
}

.subnav .wrap::-webkit-scrollbar {
  display: none;
}

/* 좌측 브레드크럼 */
.subnav .crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #64748b;
  white-space: nowrap;
  padding: 14px 20px 14px 0;
  margin-right: 16px;
  border-right: 1px solid #f1f5f9;
}

.subnav .crumb a {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s ease;
}

.subnav .crumb a:hover {
  color: #1f5fd6;
}

.subnav .crumb-home {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
}

.subnav .crumb-home:hover {
  color: #1f5fd6;
}

.subnav .crumb-sep {
  color: #cbd5e1;
  font-size: 13px;
  user-select: none;
}

.subnav .crumb b,
.subnav .crumb .crumb-current {
  color: #0f172a;
  font-weight: 700;
}

/* 우측 2차 메뉴 수평 탭 그룹 */
.subnav-tabs {
  display: flex;
  align-items: stretch;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin-left: auto;
}

.subnav-tabs::-webkit-scrollbar {
  display: none;
}

/* 탭 버튼 디자인 */
.subnav a.sub-tab-link,
.subnav .subnav-tabs a {
  padding: 0 24px;
  min-height: 56px;
  font-size: 18.5px;
  font-weight: 700;
  color: #475569;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  border-bottom: 3px solid transparent;
  transition: all 0.18s ease;
  box-sizing: border-box;
}

.subnav a.sub-tab-link:hover,
.subnav .subnav-tabs a:hover {
  color: #1f5fd6;
  background: rgba(31, 95, 214, 0.04);
}

.subnav a.sub-tab-link.on,
.subnav .subnav-tabs a.on {
  color: #1f5fd6;
  font-weight: 800;
  border-bottom-color: #1f5fd6;
  background: rgba(31, 95, 214, 0.05);
}

/* ── Majors Index Section (sub1123.html) ── */
.index-sec {
  padding: 44px 0 60px;
}

.index-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.index-head h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #0f172a;
}

.index-head h2 span {
  color: var(--blue-ed);
}

.index-head p {
  margin: 8px 0 0;
  color: var(--mut);
  font-size: 16px;
}

.tools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.searchbox {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #0f172a;
  border-radius: 999px;
  padding: 0 16px;
  background: #fff;
  min-height: 46px;
}

.searchbox svg {
  width: 17px;
  height: 17px;
  color: var(--mut);
  flex: none;
}

.searchbox input {
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  width: 180px;
  background: none;
  color: #0f172a;
}

.searchbox input::placeholder {
  color: var(--mut);
  font-weight: 500;
}

.gtabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.gtab {
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  cursor: pointer;
  transition: all .15s ease;
}

.gtab .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mut);
  flex: none;
}

.gtab[data-filter="yang"] .dot {
  background: var(--g-yang);
}

.gtab[data-filter="jae"] .dot {
  background: var(--g-jae);
}

.gtab .cnt {
  font-size: 13px;
  color: var(--mut);
  font-weight: 700;
}

.gtab[aria-pressed="true"] {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.gtab[aria-pressed="true"] .cnt {
  color: #c9cdd4;
}

.result-line {
  margin: 16px 2px 0;
  font-size: 14.5px;
  color: var(--mut);
  font-weight: 600;
}

.result-line b {
  color: #0f172a;
}

/* Index rows */
.index-list {
  margin-top: 10px;
}

.cat {
  margin-top: 36px;
}

.cat:first-child {
  margin-top: 16px;
}

.cat-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  padding: 0 2px 12px;
}

.cat-head h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.03em;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
}

.cat-head h3 .cdot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex: none;
}

.cat-head.yang h3 .cdot {
  background: var(--g-yang);
}

.cat-head.jae h3 .cdot {
  background: var(--g-jae);
}

.cat-head .cat-en {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-style: normal;
  font-size: 15px;
  color: var(--red-ed);
  font-weight: 700;
}

.cat-head p {
  margin: 0 0 0 auto;
  font-size: 15px;
  color: var(--mut);
  font-weight: 600;
}

.cat-rows {
  border-top: 2px solid #0f172a;
}

.row {
  border-bottom: 1px solid #e2e8f0;
}

.row-head {
  width: 100%;
  display: grid;
  grid-template-columns: 44px 1fr auto 40px;
  gap: 16px;
  align-items: center;
  text-align: left;
  background: none;
  border: 0;
  padding: 20px 8px;
  min-height: 44px;
  color: #0f172a;
  cursor: pointer;
  transition: background .15s ease;
}

.row-head:hover {
  background: #f8fafc;
}

.row.open .row-head {
  background: #f8fafc;
}

.r-ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #0f172a;
  display: grid;
  place-items: center;
  color: #0f172a;
  background: #fff;
}

.r-ico svg {
  width: 22px;
  height: 22px;
}

.row.open .r-ico {
  background: #0f172a;
  color: #fff;
}

.r-main {
  min-width: 0;
}

.r-name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.3;
  color: #0f172a;
}

.r-short {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  color: var(--mut);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.r-tag {
  font-size: 13px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1.5px solid currentColor;
}

.r-tag.yang {
  color: var(--g-yang);
}

.r-tag.jae {
  color: var(--g-jae);
}

.r-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 19px;
  font-weight: 400;
  color: var(--mut);
  transition: transform .25s ease, color .15s, background .15s;
  justify-self: end;
}

.row.open .r-arrow {
  transform: rotate(45deg);
  color: #fff;
  background: var(--red-ed);
}

.row-body {
  display: none;
  background: #fff;
  border-top: 1px dashed #e2e8f0;
}

.row.open .row-body {
  display: block;
}

.row-body-in {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 16px;
  padding: 24px 8px 28px 68px;
}

.row-body-in .rb-label {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-style: normal;
  font-size: 15px;
  color: var(--red-ed);
  font-weight: 700;
  padding-top: 4px;
}

.rb-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-2);
  max-width: 800px;
}

.rb-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 22px;
  margin-top: 20px;
  max-width: 920px;
}

.rb-grid h5 {
  margin: 0 0 9px;
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--mut);
  font-weight: 700;
}

.rb-grid p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  font-size: 13.5px;
  font-weight: 600;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--ink-2);
}

.rb-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.rb-actions a,
.rb-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: all .15s ease;
}

.rb-primary {
  background: #0f172a;
  color: #fff;
  border: 1px solid #0f172a;
}

.rb-primary:hover {
  background: var(--blue-ed);
  border-color: var(--blue-ed);
  color: #fff;
}

.rb-ghost {
  border: 1.5px solid #0f172a;
  color: #0f172a;
  background: #fff;
}

.rb-ghost:hover {
  background: #0053CF;
  border-color: #0053CF;
  color: #ffffff;
}

/* 전공 카드 내 연락처 위젯 박스 */
.rb-contact-card {
  margin-top: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0b2a5b;
  border-radius: 8px;
  padding: 16px 20px;
  max-width: 920px;
}

.rb-contact-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #0b2a5b;
  margin-bottom: 12px;
}

.rb-contact-card-title svg {
  flex-shrink: 0;
  color: #0053CF;
}

.rb-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 18px;
  font-size: 14px;
}

.rb-cg-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #334155;
  line-height: 1.5;
}

.rb-cg-item .lbl {
  font-weight: 700;
  color: #64748b;
  font-size: 13px;
  flex-shrink: 0;
  min-width: 68px;
}

.rb-cg-item .val {
  color: #0f172a;
}

.rb-cg-item a {
  color: #0053CF;
  text-decoration: none;
}

.rb-cg-item a:hover {
  text-decoration: underline;
}

/* ==============================================================================
 * 전공 상세내용 레이어 팝업 모달 스타일
 * ============================================================================== */
.major-detail-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.major-detail-modal-backdrop.is-open {
  display: flex;
  opacity: 1;
}

.major-detail-modal-card {
  position: relative;
  background: #ffffff;
  border-radius: 14px;
  width: 100%;
  max-width: 880px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transform: translateY(12px) scale(0.98);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.major-detail-modal-backdrop.is-open .major-detail-modal-card {
  transform: translateY(0) scale(1);
}

.major-detail-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 26px;
  background: linear-gradient(135deg, #0b2a5b 0%, #153e7e 100%);
  color: #ffffff;
}

.mdm-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mdm-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.mdm-badge.yang {
  background: rgba(0, 83, 207, 0.45);
  border-color: rgba(255, 255, 255, 0.45);
}

.mdm-badge.jae {
  background: rgba(180, 83, 9, 0.45);
  border-color: rgba(255, 255, 255, 0.45);
}

.major-detail-modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.4px;
}

.mdm-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 36px;
  height: 36px;
  min-height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}

.mdm-close-btn:hover {
  background: #ffffff;
  color: #0b2a5b;
  transform: rotate(90deg);
}

.mdm-contact-bar {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 26px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: #475569;
}

.mdm-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mdm-contact-item strong {
  color: #0b2a5b;
  font-weight: 700;
}

.mdm-contact-item a {
  color: #0053CF;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.major-detail-modal-body {
  padding: 24px 26px;
  overflow-y: auto;
  flex: 1;
  background: #ffffff;
}

.major-detail-modal-body img {
  display: none !important;
}

.major-detail-modal-body .sub_ct_text01 {
  display: block;
  font-size: 16.5px;
  font-weight: 800;
  color: #0b2a5b;
  margin: 24px 0 10px 0;
  padding: 8px 14px;
  background: #f1f5f9;
  border-left: 4px solid #0053CF;
  border-radius: 0 6px 6px 0;
}

.major-detail-modal-body .sub_ct_text01:first-child {
  margin-top: 0;
}

.major-detail-modal-body .sub_ct_text02 {
  display: block;
  font-size: 14.5px;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 10px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.major-detail-modal-body .sub_ct_text02 strong {
  color: #0f172a;
}

.major-detail-modal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px 0;
  font-size: 13.5px;
}

.major-detail-modal-body th,
.major-detail-modal-body td {
  padding: 9px 12px;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.major-detail-modal-body th {
  background: #f8fafc;
  color: #0b2a5b;
  font-weight: 700;
}

.major-detail-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 26px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.mdm-btn-admissions {
  font-size: 14px;
  font-weight: 700;
  color: #0053CF;
  text-decoration: none;
}

.mdm-btn-admissions:hover {
  text-decoration: underline;
}

.mdm-btn-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  min-height: 38px;
  background: #0b2a5b;
  color: #ffffff;
  border: 1px solid #0b2a5b;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.mdm-btn-close:hover {
  background: #0053CF;
  border-color: #0053CF;
}

.empty-msg {
  padding: 44px 10px;
  text-align: center;
  color: var(--mut);
  font-size: 15px;
  border-bottom: 1px solid #e2e8f0;
}

.sub-main-wrap {
  min-height: 520px;
  padding: 30px 0 80px;
}

.sub-main-wrap .board-container {
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width: 1024px) {

  /* 모바일/태블릿: 서브 히어로 숨김 (Sub nav만 노출) */
  .ed-hero {
    display: none !important;
  }
}

@media (max-width: 860px) {
  .ed-lead {
    grid-template-columns: 1fr;
  }

  .ed-title .big-no {
    margin-left: 0;
  }

  /* 모바일/태블릿: 서브 히어로 사진 3개 중 1개만 노출 (2개 숨김) */
  .photo-strip {
    grid-template-columns: 1fr;
    margin-top: 14px;
  }

  .photo-strip figure:not(:first-child) {
    display: none !important;
  }

  .photo-strip figure:first-child {
    grid-column: 1 / -1;
    width: 100%;
  }

  .photo-strip figure:first-child img {
    aspect-ratio: 16/8;
    width: 100%;
    height: auto;
  }

  .rb-grid {
    grid-template-columns: 1fr;
  }

  .row-body-in {
    padding-left: 8px;
    grid-template-columns: 1fr;
  }

  .row-body-in .rb-label {
    display: none;
  }
}

@media (max-width: 720px) {
  .subnav {
    top: 63px;
  }

  .subnav .crumb {
    display: none;
  }

  .subnav-tabs {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }

  .subnav a.sub-tab-link,
  .subnav .subnav-tabs a {
    padding: 0 14px;
    min-height: 44px;
    font-size: 14px;
  }

  .ed-hero {
    padding-top: 18px;
  }

  .photo-strip {
    grid-template-columns: 1fr;
  }

  .photo-strip figure:not(:first-child) {
    display: none !important;
  }

  .photo-strip figure:first-child {
    grid-column: 1 / -1;
    width: 100%;
  }

  .photo-strip figure:first-child img {
    aspect-ratio: 16/8;
    width: 100%;
    height: auto;
  }

  .row-head {
    grid-template-columns: 1fr 34px;
    gap: 12px;
    padding: 16px 4px;
  }

  .r-ico {
    display: none;
  }

  .r-tag {
    display: none;
  }

  .r-name {
    font-size: 18px;
  }

  .searchbox {
    flex: 1;
  }

  .searchbox input {
    width: 100%;
  }

  .tools {
    width: 100%;
  }

  .sub-main-wrap {
    padding: 20px 0 60px;
  }
}


/* ==============================================================================
 * 3. 서브페이지 본문 콘텐츠 스타일 (인사말/학사/소개/표/키워드 등)
 * ============================================================================== */
:root {
  --navy: #0b2a52;
  --navy-2: #123a6d;
  --navy-3: #0a2140;
  --blue: #1a5aa8;
  --blue-light: #eaf1f9;
  --sky: #2f7fd1;
  --gold: #1f5fd6;
  --gold-dark: #0b2a5b;
  --gold-light: #eff6ff;
  --ink: #1c2533;
  --body: #2f3d52;
  --muted: #5b6a7f;
  --line: #d9e0ea;
  --line-2: #e8edf3;
  --bg: #ffffff;
  --sub-bg: #f4f6f9;
  --card: #ffffff;
  --soft: #f8fafc;
  --radius: 6px;
}

* {
  box-sizing: border-box
}



a {
  color: inherit;
  text-decoration: none
}

button {
  font-family: inherit;
  cursor: pointer;
  min-height: 44px
}

.wrap {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 20px
}

img {
  max-width: 100%
}

/* ── Header system — identical to sub Design 01 ── */
:root {
  --h-navy: #0b2a5b;
  --h-navy2: #123a7d;
  --h-blue: #1f5fd6;
  --h-sky: #e8f0fd;
  --h-ink: #101623;
  --h-mut: #5b6577;
  --h-faint: #98a1b3;
  --h-line: #e4e8f0;
  --h-bg2: #f4f6fa;
  --h-card: #ffffff;
  --h-head-bg: rgba(255, 255, 255, .92);
}

/* Letter body */
.letter-sec {
  padding: 32px 0 10px
}

.letter {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  padding: 46px 52px 40px;
  position: relative
}

.letter::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0px;
  background: #fff;
}

.letter-label {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--gold-dark)
}

.letter h2 {
  margin: 12px 0 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 34px;
  line-height: 1.45;
  color: var(--navy-3);
  font-weight: 800;
  letter-spacing: -.02em;
  word-break: keep-all
}

.letter-body {
  margin-top: 26px
}

.letter-body p {
  margin: 0 0 20px;
  font-size: 18.5px;
  line-height: 1.9;
  color: var(--body);
  word-break: keep-all
}

.letter-body p:last-child {
  margin-bottom: 0
}

/* ==============================================================================
 * Greeting Page Styles (정돈된 단정한 인사말 스타일)
 * ============================================================================== */
.greeting-wrap {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 10px 0 60px;
}

.greeting-intro-banner {
  margin: 0 0 38px 0;
  padding: 28px 34px;
  background: #f0f7ff;
  border: 1px solid #dbeafe;
  border-left: 4px solid #0053CF;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 83, 207, 0.04);
}

.greeting-intro-banner .intro-lead {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  font-size: 21.5px;
  font-weight: 600;
  line-height: 1.65;
  color: #1e293b;
  letter-spacing: -0.015em;
  word-break: keep-all;
}

.greeting-intro-banner .intro-lead .text-blue {
  color: #0053CF;
  font-weight: 700;
}

@media (max-width: 768px) {
  .greeting-intro-banner {
    padding: 20px 22px;
    margin-bottom: 28px;
  }

  .greeting-intro-banner .intro-lead {
    font-size: 18px;
    line-height: 1.6;
  }
}

.greeting-title {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #0b2a5b;
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin: 0 0 34px 0;
  padding-bottom: 22px;
  border-bottom: 2px solid #0b2a5b;
  word-break: keep-all;
}

.greeting-body p {
  margin: 0 0 24px;
  font-size: 18.5px;
  line-height: 1.95;
  color: #334155;
  word-break: keep-all;
}

.greeting-body p:last-child {
  margin-bottom: 0;
}

.greeting-body p.greeting-closing {
  margin-top: 36px;
  font-size: 19px;
  font-weight: 600;
  color: #0f172a;
}

.greeting-sign {
  margin-top: 48px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.greeting-sign img {
  max-width: 240px;
  height: auto;
}

/* ==============================================================================
 * Location Page Styles (오시는 길 - 인사말 UI 일관성 적용)
 * ============================================================================== */
/* Map Switcher Tabs & Toolbar */
.map-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.map-toolbar-tabs {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 3px;
  border-radius: 8px;
  gap: 4px;
}

.btn-map-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-map-tab:hover {
  color: #0b2a5b;
}

.btn-map-tab.is-active {
  background: #0053CF;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 83, 207, 0.25);
}

.map-action-btns {
  display: flex;
  gap: 8px;
}

.btn-map-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-map-action:hover {
  background: #e2e8f0;
  color: #0b2a5b;
}

.btn-map-zoom-primary {
  background: #0053CF;
  border-color: #0053CF;
  color: #ffffff;
  font-weight: 700;
}

.btn-map-zoom-primary:hover {
  background: #0b2a5b;
  border-color: #0b2a5b;
  color: #ffffff;
}

/* Map Image Container with Click-to-Zoom Cue */
.location-map-wrap {
  position: relative;
  margin: 0 0 32px 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  background: #ffffff;
  cursor: pointer;
}

.location-map-wrap .map-img-container {
  position: relative;
  overflow: hidden;
  background: #f8fafc;
}

.location-map-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.25s ease;
}

.location-map-wrap:hover img {
  transform: scale(1.012);
}

.location-map-wrap .map-zoom-hint {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(11, 42, 91, 0.88);
  color: #ffffff;
  padding: 7px 14px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(4px);
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* Fullscreen Lightbox Modal */
.map-modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(6px);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.map-modal-backdrop.is-open {
  display: flex;
}

.map-modal-card {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  width: 95vw;
  max-width: 1400px;
  height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.map-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  background: #0b2a5b;
  color: #ffffff;
}

.map-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.map-modal-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-modal-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.map-modal-btn:hover {
  background: #ffffff;
  color: #0b2a5b;
}

.map-modal-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 0 6px;
  margin-left: 8px;
}

.map-modal-body {
  flex: 1;
  overflow: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px;
  background: #f1f5f9;
}

.map-modal-body img {
  max-width: none;
  transition: transform 0.2s ease;
  transform-origin: center center;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.location-badge-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  font-size: 16.5px;
  color: #1e293b;
  font-weight: 600;
}

.location-badge-bar .badge-loc {
  background: #0053CF;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.location-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.location-info-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.location-info-card h4 {
  font-size: 19px;
  font-weight: 700;
  color: #0b2a5b;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.location-info-card p,
.location-info-card li {
  font-size: 16.5px;
  line-height: 1.8;
  color: #334155;
  margin: 0 0 8px;
  word-break: keep-all;
}

.location-info-card ul {
  margin: 0;
  padding-left: 20px;
}

.location-info-card strong {
  color: #0f172a;
}

@media (max-width: 768px) {
  .location-info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .location-badge-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 15px;
  }

  .location-info-card {
    padding: 20px 20px;
  }
}

/* ==============================================================================
 * Organization Page (조직구성) Styles
 * ============================================================================== */
.org-table-wrap {
  width: 100%;
  background: #ffffff;
  border-radius: 10px;
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  margin-bottom: 40px;
  -webkit-overflow-scrolling: touch;
}

.org-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.org-table thead tr {
  background: #f8fafc;
  border-bottom: 1px solid #cbd5e1;
}

.org-table th {
  padding: 16px 14px;
  font-size: 15px;
  font-weight: 700;
  color: #0b2a5b;
  text-align: center;
  white-space: nowrap;
}

.org-table td {
  padding: 18px 14px;
  font-size: 15px;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.org-table tbody tr:last-child td {
  border-bottom: none;
}

.org-table .col-role {
  width: 15%;
  font-weight: 700;
  color: #1e293b;
  background: #fcfdfe;
}

.org-table .col-name {
  width: 20%;
  font-weight: 700;
  color: #0f172a;
  font-size: 16px;
}

.org-table .col-task {
  width: 40%;
  text-align: left;
  padding-left: 24px;
  color: #475569;
}

.org-table .col-tel {
  width: 25%;
  font-weight: 600;
}

.org-table .col-tel a {
  color: #0053CF;
  text-decoration: none;
  font-weight: 700;
}

.org-table .col-tel a:hover {
  text-decoration: underline;
}

/* 모바일 전용 직원 카드 뷰 (<= 680px) */
.org-cards-mobile {
  display: none;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.org-card-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.org-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.org-card-person {
  display: flex;
  align-items: center;
  gap: 10px;
}

.org-badge-role {
  display: inline-block;
  padding: 3px 10px;
  background: #eff6ff;
  color: #0053CF;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 4px;
  border: 1px solid #dbeafe;
}

.org-card-name {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
}

.org-card-tel-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: #f0f7ff;
  color: #0053CF;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #dbeafe;
  transition: all 0.2s ease;
}

.org-card-tel-btn:hover {
  background: #0053CF;
  color: #ffffff;
}

.org-card-body {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
}

.org-card-task-label {
  display: inline-block;
  font-weight: 700;
  color: #0b2a5b;
  margin-right: 6px;
}

@media (max-width: 680px) {
  .org-table-wrap {
    display: none !important;
  }

  .org-cards-mobile {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .greeting-title {
    font-size: 23px;
    margin-bottom: 22px;
    padding-bottom: 16px;
  }

  .greeting-body p {
    font-size: 17px;
    line-height: 1.85;
    margin-bottom: 20px;
  }

  .greeting-sign img {
    max-width: 190px;
  }
}

.letter-body .first::first-letter {
  /* Disabled drop-cap to prevent broken/cluttered typography */
  all: unset;
}

.pullquote {
  margin: 30px 0;
  padding: 24px 28px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-left: 4px solid #1f5fd6;
  border-radius: 8px;
}

.pullquote p {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 20px;
  line-height: 1.8;
  font-weight: 700;
  letter-spacing: -.015em;
  color: #1e3a8a;
  word-break: keep-all;
}

.pullquote cite {
  display: block;
  margin-top: 10px;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-style: normal;
  font-size: 15px;
  font-weight: 700;
  color: #1f5fd6;
  letter-spacing: .04em;
}

.sign {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 0px solid var(--line-2);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap
}

.sign p {
  margin: 0;
  font-size: 17.5px;
  color: var(--muted);
  line-height: 1.7
}

.sign .org {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 23px;
  font-weight: 800;
  color: var(--navy);
  text-align: right;
  line-height: 1.45
}

.sign .org small {
  display: block;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .08em;
  margin-top: 4px
}

/* Keywords */
.keys-sec {
  padding: 34px 0 6px
}

.sec-head {
  max-width: 860px;
  margin: 0 auto 16px
}

.sec-head h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px
}

.sec-head h3::before {
  content: "";
  width: 4px;
  height: 20px;
  background: #1f5fd6;
  flex: none
}

.sec-head p {
  margin: 7px 0 0;
  font-size: 17px;
  color: var(--muted)
}

.keys {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px
}

.key {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px;
  border-top: 3px solid var(--navy)
}

.key .no {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #1f5fd6;
  letter-spacing: .1em
}

.key h4 {
  margin: 9px 0 8px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--navy-3);
  word-break: keep-all
}

.key p {
  margin: 0;
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--muted);
  word-break: keep-all
}

/* Facts table */
.table-sec {
  padding: 30px 0 6px
}

.table-wrap {
  max-width: 100%;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden
}

.table-sec table {
  width: 100%;
  border-collapse: collapse;
  font-size: 18px
}

.table-sec th {
  background: var(--navy);
  color: #fff;
  text-align: left;
  padding: 16px 20px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .02em
}

.table-sec td {
  padding: 16px 20px;
  border-top: 1px solid var(--line-2);
  vertical-align: top;
  line-height: 1.8;
  color: var(--body);
  font-size: 18px
}

.table-sec tbody tr:nth-child(even) {
  background: var(--soft)
}

.table-sec td.cat {
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
  width: 170px
}

/* Next pages */
.next-sec {
  padding: 30px 0 52px
}

.next-grid {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px
}

.next-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px;
  transition: border-color .15s ease
}

.next-card:hover {
  border-color: var(--blue)
}

.next-card .n-ico {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 8px;
  background: var(--blue-light);
  color: var(--navy);
  display: grid;
  place-items: center
}

.next-card .n-ico svg {
  width: 23px;
  height: 23px
}

.next-card b {
  display: block;
  font-size: 17.5px;
  color: var(--navy)
}

.next-card p {
  margin: 5px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted)
}

.next-card .arr {
  margin-left: auto;
  color: #b7c2d1;
  font-weight: 900;
  font-size: 17px;
  flex: none;
  padding-top: 2px
}

.next-card:hover .arr {
  color: var(--blue)
}

/* [Subpage Footer provided by main.css] */
/* [1080px Header breakpoint handled by main.css] */

@media (max-width:920px) {
  .hero-head {
    flex-direction: column;
    align-items: flex-start
  }

  .keys {
    grid-template-columns: 1fr
  }
}

@media (max-width:720px) {



  .hero-title {
    font-size: 26px
  }

  .hero-lead {
    font-size: 14px
  }

  .hero-facts b {
    font-size: 17px
  }

  .letter {
    padding: 30px 20px 26px
  }

  .letter h2 {
    font-size: 23px
  }

  .letter-body p {
    font-size: 15.5px
  }

  .pullquote {
    padding: 18px
  }

  .pullquote p {
    font-size: 17px
  }

  .next-grid {
    grid-template-columns: 1fr
  }

  .sign .org {
    text-align: left
  }



  .table-sec table,
  .table-sec tbody,
  .table-sec tr,
  .table-sec td {
    display: block;
    width: 100%
  }

  .table-sec table thead {
    display: none
  }

  .table-sec tr {
    border-top: 1px solid var(--line-2);
    padding: 6px 0
  }

  .table-sec tr:first-child {
    border-top: 0
  }

  .table-sec td {
    border-top: 0;
    padding: 5px 16px
  }

  .table-sec td.cat {
    padding-top: 10px
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }
}


/* ==============================================================================
 * 4. 통합 게시판 및 자주 묻는 질문(FAQ) 스타일 (board.css)
 * ============================================================================== */
@charset "UTF-8";
/**
 * ==============================================================================
 * 중앙대학교 교육대학원 통합 게시판 스타일시트 (board.css)
 * 적용 대상: board/list.php, board/view.php, board/write.php
 * 지원 스킨: normal(목록형), gallery(갤러리형), faq(FAQ형)
 * ==============================================================================
 */

/* -----------------------------------------------------------------------------
 * 1. 게시판 공통 컨테이너 및 헤더/카테고리/검색/버튼
 * -------------------------------------------------------------------------- */
.board-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  font-family: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
}

/* 관리자 일괄 선택 체크박스 */
.board-checkbox {
  width: 17px;
  height: 17px;
  cursor: pointer;
  accent-color: #0052cc;
  vertical-align: middle;
  border-radius: 4px;
}

.board-header-bar,
.sub-content-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.board-title-group h2,
.sub-content-title-group h2 {
  font-size: 38px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.board-title-group p,
.sub-content-title-group p {
  font-size: 18px;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

.board-cat-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.board-cat-tab {
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 17px;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  text-decoration: none;
  transition: all .15s ease;
}

.board-cat-tab:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.board-cat-tab.active {
  background: #0052cc;
  color: #ffffff;
}

.badge-notice {
  background: #0052cc;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  white-space: nowrap !important;
}

.badge-cat {
  background: #e0f2fe;
  color: #0284c7;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  white-space: nowrap !important;
  word-break: keep-all;
}

.badge-comment {
  color: #0052cc;
  font-weight: 700;
  font-size: 14.5px;
}

.board-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.board-btn-write {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 28px;
  background: #0052cc;
  color: #ffffff;
  border-radius: 10px;
  font-size: 17.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s ease;
}

.board-btn-write:hover {
  background: #0747a6;
  color: #ffffff;
}

.board-search-form {
  display: flex;
  gap: 8px;
}

.board-search-input {
  padding: 12px 18px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 16.5px;
  outline: none;
  min-width: 260px;
}

.board-search-input:focus {
  border-color: #0052cc;
}

.board-search-btn {
  padding: 12px 24px;
  background: #334155;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 16.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease;
}

.board-search-btn:hover {
  background: #1e293b;
}

/* -----------------------------------------------------------------------------
 * 2. 스킨: 목록형 스타일 (normal)
 * -------------------------------------------------------------------------- */
.board-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-top: 2px solid #0052cc;
}

.board-table th {
  background: #f8fafc;
  padding: 18px 14px;
  font-size: 18px;
  font-weight: 800;
  color: #1e293b;
  border-bottom: 1px solid #cbd5e1;
  text-align: center;
}

.board-table td {
  padding: 18px 14px;
  font-size: 18px;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.board-table tr:hover td {
  background: #f8fafc;
}

.board-table tr.row-notice td {
  background: #f0f7ff;
}

.board-post-title {
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  font-size: 17.5px;
  line-height: 1.55;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.board-post-title:hover {
  color: #0052cc;
}

/* -----------------------------------------------------------------------------
 * 3. 스킨: 갤러리형 스타일 (gallery)
 * -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.gallery-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all .2s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 82, 204, 0.12);
  border-color: #bfdbfe;
}

.gallery-thumb-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f1f5f9;
  position: relative;
  overflow: hidden;
}

.gallery-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.gallery-card:hover .gallery-thumb-img {
  transform: scale(1.05);
}

.gallery-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

.gallery-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gallery-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.gallery-meta {
  margin-top: auto;
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* -----------------------------------------------------------------------------
 * 4. 스킨: FAQ형 스타일 (faq)
 * -------------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all .15s ease;
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-question {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  background: #ffffff;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all .2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.faq-item.active {
  border-color: #93c5fd;
  box-shadow: 0 4px 16px rgba(0, 82, 204, 0.08);
}

.faq-question {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  background: #ffffff;
  transition: background .15s ease;
}

.faq-item.active .faq-question {
  background: #f8faff;
}

.faq-question-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16.5px;
  font-weight: 700;
  color: #0f172a;
  flex: 1;
  min-width: 0;
}

.faq-subject {
  flex: 1;
  line-height: 1.45;
}

.faq-q-badge {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #0052cc;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 15px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 82, 204, 0.25);
}

.faq-arrow-box {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  transition: all .2s ease;
  margin-left: 12px;
}

.faq-item.active .faq-arrow-box {
  background: #eff6ff;
}

.faq-arrow {
  width: 18px;
  height: 18px;
  color: #64748b;
  transition: transform .25s ease, color .2s ease;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: #0052cc;
}

.faq-answer {
  display: none;
  padding: 22px 24px 24px 24px;
  background: #fbfcfe;
  border-top: 1px solid #edf2f7;
}

.faq-item.active .faq-answer {
  display: block;
  animation: faqSlideDown .25s ease-out;
}

@keyframes faqSlideDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-answer-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.faq-a-badge {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #16a34a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.25);
}

.faq-answer-content {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
}

.faq-answer-content p {
  margin: 0 0 10px 0;
}

.faq-answer-content p:last-child {
  margin-bottom: 0;
}

/* -----------------------------------------------------------------------------
 * 5. 모듈화된 페이지네이션 (Pagination)
 * -------------------------------------------------------------------------- */
.board-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

.board-page-btn {
  min-width: 46px;
  height: 46px;
  padding: 0 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  color: #475569;
  font-size: 17px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all .15s ease;
  user-select: none;
}

.board-page-btn:hover:not(.disabled) {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}

.board-page-btn.active {
  background: #0052cc;
  border-color: #0052cc;
  color: #ffffff;
  cursor: default;
}

.board-page-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: #f8fafc;
  color: #94a3b8;
}

/* -----------------------------------------------------------------------------
 * 6. 상세 보기 스타일 (board/view.php)
 * -------------------------------------------------------------------------- */
.board-view-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  font-family: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
}

.board-view-header {
  border-bottom: 2px solid #0052cc;
  padding-bottom: 24px;
  margin-bottom: 28px;
}

.board-view-cat {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #0052cc;
  background: #eff6ff;
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.board-view-title {
  font-size: 36px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
}

.board-view-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16.5px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}

.board-view-meta-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.board-view-files {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 32px;
}

.board-view-files-title {
  font-size: 16px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.board-file-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  margin-right: 8px;
  margin-bottom: 8px;
  transition: all .15s ease;
}

.board-file-badge-link:hover {
  border-color: #0052cc;
  color: #0052cc;
  background: #f0f7ff;
}

.board-view-content {
  font-size: 18.5px;
  line-height: 1.9;
  color: #1e293b;
  min-height: 280px;
  word-break: break-all;
  padding: 10px 0 40px;
}

.board-view-content img {
  max-width: 100% !important;
  height: auto !important;
}

/* 댓글 영역 */
.comment-section {
  margin-top: 50px;
  padding-top: 36px;
  border-top: 1px solid #e2e8f0;
}

.comment-section h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 20px;
}

.comment-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 12px;
}

.comment-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.comment-author {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.comment-date {
  font-size: 12px;
  color: #94a3b8;
}

.comment-content {
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
  white-space: pre-wrap;
}

.comment-form {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 18px;
  margin-top: 24px;
}

/* 이전글 다음글 네비게이션 */
.board-prev-next {
  margin-top: 40px;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.prev-next-row {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  font-size: 14px;
}

.prev-next-row:first-child {
  border-bottom: 1px solid #f1f5f9;
}

.prev-next-label {
  width: 90px;
  font-weight: 700;
  color: #64748b;
  flex-shrink: 0;
}

.prev-next-link {
  color: #0f172a;
  text-decoration: none;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prev-next-link:hover {
  color: #0052cc;
}

.board-view-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
  flex-wrap: wrap;
  gap: 12px;
}

.board-action-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* 게시판 공통 액션 버튼 (신규 디자인) */
.board-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1.4;
  user-select: none;
  box-sizing: border-box;
}

.board-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.board-btn:hover svg {
  transform: scale(1.1);
}

/* 1. 목록 버튼 (기본형) */
.board-btn-default {
  background: #ffffff;
  color: #475569;
  border-color: #cbd5e1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.board-btn-default:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #94a3b8;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* 2. 수정 버튼 (보조형) */
.board-btn-secondary {
  background: #f1f5f9;
  color: #334155;
  border-color: #cbd5e1;
}

.board-btn-secondary:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #94a3b8;
}

/* 3. 삭제 버튼 (경고형) */
.board-btn-danger {
  background: #fff1f2;
  color: #e11d48;
  border-color: #fecdd3;
}

.board-btn-danger:hover {
  background: #e11d48;
  color: #ffffff;
  border-color: #e11d48;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

/* 4. 글쓰기 버튼 (주요 액션형 - 중앙대 블루) */
.board-btn-primary {
  background: #0052cc;
  color: #ffffff;
  border-color: #0052cc;
  box-shadow: 0 2px 6px rgba(0, 82, 204, 0.2);
}

.board-btn-primary:hover {
  background: #0747a6;
  border-color: #0747a6;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 82, 204, 0.35);
  transform: translateY(-1px);
}

/* 레거시 adm-btn-pill 호환 클래스 */
.adm-btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

.adm-btn-pill.default {
  background: #ffffff;
  color: #475569;
  border-color: #cbd5e1;
}

.adm-btn-pill.default:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.adm-btn-pill.secondary {
  background: #f1f5f9;
  color: #334155;
  border-color: #e2e8f0;
}

.adm-btn-pill.secondary:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.adm-btn-pill.red {
  background: #fff1f2;
  color: #e11d48;
  border-color: #fecdd3;
}

.adm-btn-pill.red:hover {
  background: #e11d48;
  color: #ffffff;
}

.adm-btn-pill.primary {
  background: #0052cc;
  color: #ffffff;
  border-color: #0052cc;
}

.adm-btn-pill.primary:hover {
  background: #0747a6;
  color: #ffffff;
}

/* -----------------------------------------------------------------------------
 * 7. 글쓰기 / 수정 폼 스타일 (board/write.php)
 * -------------------------------------------------------------------------- */
.board-write-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  font-family: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
}

.board-write-header {
  border-bottom: 2px solid #0052cc;
  padding-bottom: 16px;
  margin-bottom: 30px;
}

.board-write-header h1 {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
  letter-spacing: -0.5px;
}

.board-write-header p {
  font-size: 16px;
  line-height: 1.65;
  color: #64748b;
  margin: 6px 0 0 0;
}

.board-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 36px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.adm-form-group {
  margin-bottom: 24px;
}

.adm-form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
}

.adm-input,
.adm-select,
.adm-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #0f172a;
  box-sizing: border-box;
  outline: none;
  transition: all .2s ease;
}

.adm-input:focus,
.adm-select:focus,
.adm-textarea:focus {
  border-color: #0052cc;
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.12);
}

.adm-dropzone {
  border: 2px dashed #93c5fd;
  background: #f8fafc;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: all .2s ease;
}

.adm-dropzone:hover,
.adm-dropzone.dragover {
  background: #eff6ff;
  border-color: #0052cc;
}

.adm-dropzone-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  color: #0052cc;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e0f2fe;
  border-radius: 50%;
}

.adm-dropzone-icon svg {
  width: 24px;
  height: 24px;
}

.adm-dropzone-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}

.adm-dropzone-title span {
  color: #0052cc;
  text-decoration: underline;
}

.adm-dropzone-desc {
  font-size: 12px;
  color: #64748b;
}

.adm-file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.adm-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
  color: #1e293b;
}

.adm-file-item.marked-delete {
  text-decoration: line-through;
  opacity: 0.5;
  background: #fee2e2;
}

.adm-file-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.adm-file-thumb {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #cbd5e1;
  cursor: pointer;
}

.adm-file-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  flex-shrink: 0;
}

.adm-file-badge.existing {
  background: #e0e7ff;
  color: #3730a3;
}

.adm-file-badge.new {
  background: #dcfce7;
  color: #166534;
}

.adm-file-btn-del {
  background: #fee2e2;
  color: #ef4444;
  border: none;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}

.adm-file-btn-del:hover {
  background: #ef4444;
  color: #ffffff;
}

.note-editor.note-frame {
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important;
  overflow: hidden;
}

/* ==============================================================================
 * [서브페이지 공통 표준 타이포그래피 시스템 - 기준: 설립목적 /pages/about/purpose]
 * ============================================================================== */
.sub-content-area {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  color: #334155;
  font-size: 18px;
  line-height: 1.85;
  word-break: keep-all;
}

/* 대제목 (H2) */
.sub-content-area h2,
.sub-content-title-group h2,
.sub-content-area .section-title {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #0b2a5b !important;
  letter-spacing: -0.02em !important;
  line-height: 1.4 !important;
}

/* 중제목 (H3) */
.sub-content-area h3,
.sub-content-area .block-title {
  font-size: 21px !important;
  font-weight: 800 !important;
  color: #0b2a5b !important;
  letter-spacing: -0.015em !important;
  line-height: 1.45 !important;
}

/* 소제목 / 카드 헤더 (H4) */
.sub-content-area h4,
.sub-content-area .card-title {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0b2a5b !important;
  line-height: 1.45 !important;
}

/* 본문 문단 (P) - 설립목적 기준 */
.sub-content-area p {
  font-size: 18px;
  line-height: 1.85;
  color: #334155;
  margin: 0 0 20px 0;
  word-break: keep-all;
}

/* 핵심 인트로 배너 리드문 */
.sub-content-area .intro-lead,
.sub-content-area .greeting-intro-banner p {
  font-size: 21.5px !important;
  font-weight: 600 !important;
  line-height: 1.65 !important;
  color: #1e293b !important;
}

/* 본문 목록(UL, OL) 텍스트 */
.sub-content-area ul,
.sub-content-area ol {
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
}

.sub-content-area li {
  margin-bottom: 6px;
}

/* 표 / 테이블 텍스트 */
.sub-content-area table th {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0b2a5b !important;
}

.sub-content-area table td {
  font-size: 15.5px !important;
  line-height: 1.7 !important;
  color: #334155 !important;
}

/* ==========================================================================
   박스 및 카드 내 글씨 크기 표준화 (기준: graduation.php 1. 학위 취득 방법)
   - 뱃지 / 스텝 라벨: 14px 800
   - 소제목 / 카드 헤더(H4): 18px 800
   - 본문 / 리스트 / 설명: 15.5px line-height 1.75
   - 각주 및 유의사항(※, 작은 텍스트): 14px line-height 1.6
   ========================================================================== */

/* 카드 / 박스 내부 소제목 (H4) */
.sub-content-area [class*="-card"] h4,
.sub-content-area [class*="-box"] h4,
.sub-content-area [class*="-grid"]>div h4,
.sub-content-area section[style*="border-radius"] h4,
.sub-content-area div[style*="border-radius"] h4 {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0b2a5b !important;
  line-height: 1.45 !important;
  margin: 0 0 10px 0 !important;
}

/* 카드 / 박스 내부 본문 문단 (P) */
.sub-content-area [class*="-card"] p,
.sub-content-area [class*="-box"] p,
.sub-content-area [class*="-grid"]>div p,
.sub-content-area section[style*="border-radius"] p:not(.intro-lead),
.sub-content-area div[style*="border-radius"] p {
  font-size: 15.5px !important;
  line-height: 1.75 !important;
  color: #475569 !important;
}

/* 카드 / 박스 내부 리스트 (UL, OL, LI) */
.sub-content-area [class*="-card"] ul,
.sub-content-area [class*="-box"] ul,
.sub-content-area [class*="-grid"]>div ul,
.sub-content-area section[style*="border-radius"] ul,
.sub-content-area div[style*="border-radius"] ul,
.sub-content-area [class*="-card"] ol,
.sub-content-area [class*="-box"] ol,
.sub-content-area [class*="-grid"]>div ol,
.sub-content-area section[style*="border-radius"] ol,
.sub-content-area div[style*="border-radius"] ol {
  font-size: 15.5px !important;
  line-height: 1.75 !important;
  color: #475569 !important;
}

.sub-content-area [class*="-card"] li,
.sub-content-area [class*="-box"] li,
.sub-content-area [class*="-grid"]>div li,
.sub-content-area section[style*="border-radius"] li,
.sub-content-area div[style*="border-radius"] li {
  font-size: 15.5px !important;
  line-height: 1.75 !important;
  color: #475569 !important;
}

/* 카드 / 박스 내부 뱃지 및 스텝 태그 */
.sub-content-area [class*="-card"] .badge,
.sub-content-area [class*="-box"] .badge,
.sub-content-area [class*="-grid"]>div .badge,
.sub-content-area [class*="-card"] span[style*="border-radius"],
.sub-content-area [class*="-grid"]>div span[style*="border-radius"],
.sub-content-area [class*="-grid"]>div>div[style*="font-size:14px"],
.sub-content-area .step-label,
.sub-content-area .card-tag {
  font-size: 14px !important;
  font-weight: 800 !important;
}

/* 카드 / 박스 내부 각주 및 안내문구 (※, footnote, sub-desc) */
.sub-content-area [class*="-card"] .box-note,
.sub-content-area [class*="-box"] .box-note,
.sub-content-area [class*="-grid"]>div .box-note,
.sub-content-area [class*="-card"] .note,
.sub-content-area [class*="-box"] .note {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #64748b !important;
}

/* 반응형 모바일 폰트 크기 미세조정 */
@media (max-width: 768px) {
  .sub-content-area {
    font-size: 16.5px;
  }

  .sub-content-area p {
    font-size: 16.5px;
    line-height: 1.8;
  }

  .sub-content-area h2,
  .sub-content-title-group h2 {
    font-size: 22px !important;
  }

  .sub-content-area h3 {
    font-size: 19px !important;
  }

  .sub-content-area h4 {
    font-size: 17px !important;
  }

  .sub-content-area .intro-lead {
    font-size: 18px !important;
  }
}

/* ==============================================================================
 * 6. 연혁(History) 페이지 전용 스타일 (중앙대 대학원 레퍼런스 스타일)
 * ============================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display+SC:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&display=swap');

.history-section-wrap {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 10px 0 80px;
}

.history-tabs-wrap {
  margin: 10px 0 60px;
}

.history-tabs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.h-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  transition: all .2s ease;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.h-tab-btn:hover {
  border-color: #0053CF;
  color: #0053CF;
  background: #f8fafc;
}

.h-tab-btn.active {
  background: #0053CF;
  color: #ffffff;
  border-color: #0053CF;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 83, 207, 0.25);
}

.decade-block {
  margin-bottom: 70px;
}

.history-inner {
  position: relative;
  margin: 40px 0 0 0;
}

.history-inner:before {
  content: '';
  width: 1px;
  height: calc(100% - 30px);
  background: #D9D9D9;
  position: absolute;
  left: 210px;
  top: 20px;
  bottom: 0;
}

.history-box {
  display: flex;
  gap: 0;
  position: relative;
}

.history-box+.history-box {
  margin: 50px 0 0 0;
}

.history-box .history-year {
  width: 150px;
  position: relative;
  flex: none;
  margin: 0 81px 0 0;
}

.history-box .history-year p.txt-year {
  font-family: 'Playfair Display SC', 'Pretendard Variable', serif;
  font-weight: 700;
  color: #0053CF;
  text-align: right;
  margin: 0;
}

.history-box .history-year p.txt-year span.century-part {
  font-size: 64px;
  display: block;
  line-height: 80%;
  margin-bottom: 2px;
}

.history-box .history-year p.txt-year span.year-part {
  font-size: 36px;
  display: block;
  line-height: 100%;
}

.history-box .history-year .txt-desc {
  font-weight: 600;
  font-size: 15px;
  line-height: 130%;
  text-align: right;
  margin-top: 10px;
}

.history-box .history-year .txt-desc span {
  display: block;
}

.history-box .history-year .txt-desc .t1 {
  color: #0053CF;
}

.history-box .history-year .txt-desc .t2 {
  color: #003B84;
}

.history-box .history-year .txt-desc .t3 {
  color: #767676;
  font-weight: 500;
}

.history-box .history-desc {
  display: flex;
  gap: 22px 0;
  flex-direction: column;
  flex: 1;
  position: relative;
}

.history-box .history-desc .history-month {
  position: relative;
  display: flex;
  gap: 27px;
  align-items: flex-start;
}

.history-box .history-desc .history-month:before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #D9D9D9;
  position: absolute;
  left: -25px;
  top: 10px;
  z-index: 2;
}

.history-box.first .history-desc .history-month:first-child:before {
  top: 18px;
}

.history-box .history-desc .history-month .month-box {
  font-family: 'Playfair Display SC', 'Pretendard Variable', serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  color: #0053CF;
  min-width: 32px;
  flex: none;
}

.history-box .history-desc .history-month .txt-box {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: #475569;
  flex: 1;
}

.history-box .history-desc .history-month .txt-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.history-box .history-desc .history-month .txt-box ul li {
  margin: 0;
  padding: 0;
}

.history-box .history-desc .history-month .txt-box ul li+li {
  margin-top: 10px;
}

.history-box .history-desc .history-month .txt-box ul li p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #334155;
  word-break: keep-all;
}

.history-box .history-desc .history-month .txt-box ul li p strong {
  font-weight: 700;
  color: #0f172a;
}

.history-box:last-child .history-desc:after {
  content: "";
  position: absolute;
  left: -25px;
  bottom: -30px;
  width: 4px;
  background: #ffffff;
  height: 30px;
}

@media (max-width: 820px) {

  /* 1. 모바일 탭: 2열 그리드로 5개 탭이 한눈에 모두 보이도록 구성 (잘림 방지) */
  .history-tabs-wrap {
    margin: 10px 0 28px;
  }

  .history-tabs-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0;
  }

  .h-tab-btn {
    padding: 10px 12px;
    font-size: 14.5px;
    border-radius: 8px;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
  }

  .h-tab-btn.btn-tab-all {
    grid-column: 1 / -1;
  }

  /* 2. 타임라인 컨테이너 */
  .history-inner {
    margin: 20px 0 0 0;
    padding-left: 20px;
    position: relative;
  }

  .history-inner:before {
    content: '';
    width: 2px;
    height: calc(100% - 20px);
    background: #e2e8f0;
    position: absolute;
    left: 8px;
    top: 10px;
    bottom: 0;
  }

  /* 3. 연도 박스 */
  .history-box {
    flex-direction: column;
    gap: 12px;
    position: relative;
  }

  .history-box+.history-box {
    margin: 36px 0 0 0;
  }

  /* 연도 헤더 */
  .history-box .history-year {
    width: 100%;
    margin: 0;
    padding-left: 16px;
    position: relative;
  }

  .history-box .history-year:before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0053CF;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 1.5px #0053CF;
    position: absolute;
    left: -18px;
    top: 8px;
    z-index: 3;
  }

  .history-box .history-year p.txt-year {
    text-align: left;
    color: #0053CF;
    font-size: 24px !important;
    line-height: 1.2;
    margin: 0;
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    letter-spacing: -0.02em;
    font-family: 'Playfair Display SC', 'Pretendard Variable', serif;
  }

  .history-box .history-year p.txt-year span.century-part,
  .history-box .history-year p.txt-year span.year-part {
    display: inline !important;
    font-size: 24px !important;
    line-height: 1.2;
    margin: 0;
    padding: 0;
  }

  .history-box .history-year p.txt-year:after {
    content: '년';
    font-size: 15px;
    font-weight: 700;
    color: #334155;
    margin-left: 3px;
    font-family: 'Pretendard Variable', -apple-system, sans-serif;
  }

  /* 4. 세부 월별 내용 */
  .history-box .history-desc {
    width: 100%;
    padding-left: 16px;
    gap: 14px 0;
  }

  .history-box .history-desc .history-month {
    gap: 10px;
    padding-left: 0;
    align-items: flex-start;
  }

  .history-box .history-desc .history-month:before {
    display: none;
  }

  .history-box.first .history-desc .history-month:first-child:before {
    display: none;
  }

  .history-box:last-child .history-desc:after {
    display: none;
  }

  .history-box .history-desc .history-month .month-box {
    font-size: 15px;
    line-height: 22px;
    color: #0053CF;
    font-weight: 700;
    min-width: 28px;
    background: #eff6ff;
    border-radius: 4px;
    padding: 1px 6px;
    text-align: center;
    border: 1px solid #dbeafe;
    margin-top: 1px;
  }

  .history-box .history-desc .history-month .txt-box {
    flex: 1;
    width: 100%;
  }

  .history-box .history-desc .history-month .txt-box ul li p {
    font-size: 15.5px;
    line-height: 1.65;
    color: #334155;
    word-break: keep-all;
  }

  .history-box .history-desc .history-month .txt-box ul li p strong {
    color: #0053CF;
    font-weight: 700;
  }
}

/* ==============================================================================
 * 7. 전체 서브페이지 공통: 좌측 메뉴 박스 테두리 삭제 & 우측 내용 박스 테두리 삭제 (Borderless UI)
 * ============================================================================== */
.sub-layout-container,
.page-notice-borderless.sub-layout-container {
  background: #ffffff !important;
  padding-top: 56px;
}

.sub-lnb,
.page-notice-borderless .sub-lnb {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.sub-lnb .lnb-header,
.page-notice-borderless .sub-lnb .lnb-header {
  border-radius: 10px 10px 0 0 !important;
}

.sub-lnb .lnb-menu-list,
.page-notice-borderless .sub-lnb .lnb-menu-list {
  background: #ffffff !important;
  border: 1px solid #eef2f6 !important;
  border-top: none !important;
  border-radius: 0 0 10px 10px !important;
}

.sub-lnb .lnb-cs-box,
.page-notice-borderless .sub-lnb .lnb-cs-box {
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  margin-top: 16px !important;
}

.sub-content-area,
.page-notice-borderless .sub-content-area {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 0 40px 0 !important;
}

/* ==============================================================================
 * 좌측 서브 메뉴(LNB) 숨기기 / 펼치기 기능 스타일
 * ============================================================================== */
.sub-layout-wrap {
  position: relative;
  transition: all 0.25s ease;
}

/* LNB 숨김 상태 */
body.is-lnb-hidden .sub-lnb,
.sub-layout-wrap.is-lnb-hidden .sub-lnb {
  display: none !important;
}

body.is-lnb-hidden .sub-content-area,
.sub-layout-wrap.is-lnb-hidden .sub-content-area {
  flex: 1 1 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* LNB 헤더 내 토글 버튼 */
.lnb-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.lnb-header .lnb-header-text {
  flex: 1;
}

.btn-lnb-toggle {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-top: -2px;
}

.btn-lnb-toggle:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateX(-2px);
}

/* ==============================================================================
 * 서브페이지 공통 상단 타이틀 & 서브 타이틀 CSS (전체 서브페이지 적용)
 * ============================================================================== */

/* 컨텐츠 헤더 바 타이틀과 툴스 정렬 */
.sub-content-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
}

/* 서브페이지 타이틀 행 및 좌측 메뉴 열기 버튼 그룹 */
.sub-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

/* -----------------------------------------------------------------------------
 * 1. 서브페이지 메인 타이틀 (예: "인사말", "설립목적", "학사일정", "졸업안내" 등)
 *    클래스명: .sub-page-title (또는 .sub-content-title-group h2)
 * -------------------------------------------------------------------------- */
.sub-page-title,
.sub-content-title-group h2,
.sub-title-row h1,
.sub-title-row h2 {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif !important;
  font-size: 42px !important;
  font-weight: 800 !important;
  color: #0b2a5b !important;
  letter-spacing: -0.02em !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  word-break: keep-all !important;
}

/* -----------------------------------------------------------------------------
 * 2. 서브페이지 서브 타이틀 (메인 타이틀 하단 부제목 / 리드 설명문)
 *    클래스명: .sub-page-subtitle (또는 .sub-page-lead, .sub-content-title-group p)
 * -------------------------------------------------------------------------- */
.sub-page-subtitle,
.sub-page-lead,
.sub-content-title-group p {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #64748b !important;
  line-height: 1.65 !important;
  margin: 6px 0 0 0 !important;
  letter-spacing: -0.01em !important;
  word-break: keep-all !important;
}

/* 모바일 화면 (max-width: 768px) 타이틀 & 서브 타이틀 반응형 */
@media (max-width: 768px) {

  .sub-page-title,
  .sub-content-title-group h2,
  .sub-title-row h1,
  .sub-title-row h2 {
    font-size: 23px !important;
    line-height: 1.3 !important;
  }

  .sub-page-subtitle,
  .sub-page-lead,
  .sub-content-title-group p {
    font-size: 14.5px !important;
    line-height: 1.55 !important;
    margin-top: 4px !important;
  }
}

/* -----------------------------------------------------------------------------
 * 3. 서브페이지 상단 인트로 배너 / 안내 박스 표준화 (표준: 인사말 상단 박스 기준)
 *    메인 타이틀 & 서브 타이틀 바로 아래에 위치하는 핵심 메시지/안내 박스
 *    클래스명: .sub-intro-banner (또는 .greeting-intro-banner)
 * -------------------------------------------------------------------------- */
.sub-intro-banner,
.greeting-intro-banner {
  margin: 0 0 36px 0 !important;
  padding: 28px 34px !important;
  background: #f0f7ff !important;
  border: 1px solid #dbeafe !important;
  border-left: 4px solid #0053CF !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 6px rgba(0, 83, 207, 0.04) !important;
  word-break: keep-all !important;
}

/* 인트로 배너 내 리드 텍스트 (인사말 / 설립목적 / 오시는길 등) */
.sub-intro-banner .intro-lead,
.greeting-intro-banner .intro-lead {
  margin: 0 !important;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif !important;
  font-size: 21.5px !important;
  font-weight: 600 !important;
  line-height: 1.65 !important;
  color: #1e293b !important;
  letter-spacing: -0.015em !important;
  word-break: keep-all !important;
}

.sub-intro-banner .intro-lead .text-blue,
.greeting-intro-banner .intro-lead .text-blue {
  color: #0053CF !important;
  font-weight: 700 !important;
}

/* 인트로 배너 내 제목 (H3, H4) */
.sub-intro-banner h3,
.sub-intro-banner h4,
.greeting-intro-banner h3,
.greeting-intro-banner h4 {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0b2a5b !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.45 !important;
}

/* 인트로 배너 내 본문 설명문 및 목록 (P, UL, LI) */
.sub-intro-banner p:not(.intro-lead),
.sub-intro-banner ul,
.sub-intro-banner ol,
.greeting-intro-banner p:not(.intro-lead) {
  font-size: 15.5px !important;
  line-height: 1.75 !important;
  color: #334155 !important;
  margin: 0 !important;
}

.sub-intro-banner ul,
.sub-intro-banner ol {
  padding-left: 20px !important;
}

.sub-intro-banner li {
  margin-bottom: 6px !important;
}

.sub-intro-banner li:last-child {
  margin-bottom: 0 !important;
}

/* 변형 스타일: 경고 / 중요 (봉사활동 등) */
.sub-intro-banner.danger,
.sub-intro-banner.warning {
  background: #fef2f2 !important;
  border-color: #fecaca !important;
  border-left-color: #ef4444 !important;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.04) !important;
}

.sub-intro-banner.danger h3,
.sub-intro-banner.warning h3 {
  color: #991b1b !important;
}

.sub-intro-banner.danger p,
.sub-intro-banner.danger ul,
.sub-intro-banner.danger li,
.sub-intro-banner.warning p,
.sub-intro-banner.warning ul,
.sub-intro-banner.warning li {
  color: #b91c1c !important;
}

/* 변형 스타일: 주의 / 알림 (연락처 등) */
.sub-intro-banner.amber,
.sub-intro-banner.notice {
  background: #fffbeb !important;
  border-color: #fef3c7 !important;
  border-left-color: #f59e0b !important;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.04) !important;
}

.sub-intro-banner.amber h3,
.sub-intro-banner.notice h3 {
  color: #92400e !important;
}

.sub-intro-banner.amber p,
.sub-intro-banner.amber ul,
.sub-intro-banner.amber li,
.sub-intro-banner.notice p,
.sub-intro-banner.notice ul,
.sub-intro-banner.notice li {
  color: #92400e !important;
}

/* 모바일 화면 (max-width: 768px) 인트로 배너 반응형 */
@media (max-width: 768px) {

  .sub-intro-banner,
  .greeting-intro-banner {
    padding: 20px 22px !important;
    margin-bottom: 26px !important;
  }

  .sub-intro-banner .intro-lead,
  .greeting-intro-banner .intro-lead {
    font-size: 18px !important;
    line-height: 1.6 !important;
  }
}

/* 제목 좌측 '메뉴 열기' 버튼 (LNB 숨김 상태일 때만 노출) */
.btn-lnb-title-open {
  display: none;
  background: #0b2a5b;
  border: 1px solid #153e7e;
  color: #ffffff;
  border-radius: 6px;
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(11, 42, 91, 0.18);
}

.btn-lnb-title-open:hover {
  background: #0053CF;
  border-color: #0053CF;
  transform: translateX(-2px);
  transform: translateX(2px);
  box-shadow: 0 4px 10px rgba(0, 83, 207, 0.28);
}

.btn-lnb-title-open svg {
  flex-shrink: 0;
}

body.is-lnb-hidden .btn-lnb-title-open {
  display: inline-flex;
}

/* 모바일 화면에서는 버튼 숨김 (모바일은 이미 LNB가 숨겨지고 Sub nav 사용) */
@media (max-width: 1024px) {

  .btn-lnb-toggle,
  .btn-lnb-title-open {
    display: none !important;
  }
}

/* [3. 통합 게시판 스타일 (board.css)] */
@charset "UTF-8";
/**
 * ==============================================================================
 * 중앙대학교 교육대학원 통합 게시판 스타일시트 (board.css)
 * 적용 대상: board/list.php, board/view.php, board/write.php
 * 지원 스킨: normal(목록형), gallery(갤러리형), faq(FAQ형)
 * ==============================================================================
 */

/* -----------------------------------------------------------------------------
 * 1. 게시판 공통 컨테이너 및 헤더/카테고리/검색/버튼
 * -------------------------------------------------------------------------- */
.board-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  font-family: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
}

/* 관리자 일괄 선택 체크박스 */
.board-checkbox {
  width: 17px;
  height: 17px;
  cursor: pointer;
  accent-color: #0052cc;
  vertical-align: middle;
  border-radius: 4px;
}

.board-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.board-title-group h2 {
  font-size: 28px;
  font-weight: 800;
  color: #0b2a5b;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.board-title-group p {
  font-size: 16px;
  line-height: 1.65;
  color: #64748b;
  margin: 6px 0 0 0;
}

.board-cat-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.board-cat-tab {
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  text-decoration: none;
  transition: all .15s ease;
}

.board-cat-tab:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.board-cat-tab.active {
  background: #0052cc;
  color: #ffffff;
}

.badge-notice {
  background: #0052cc;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.badge-cat {
  background: #e0f2fe;
  color: #0284c7;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.badge-comment {
  color: #0052cc;
  font-weight: 700;
  font-size: 12px;
}

.board-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.board-btn-write {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: #0052cc;
  color: #ffffff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s ease;
}

.board-btn-write:hover {
  background: #0747a6;
  color: #ffffff;
}

.board-search-form {
  display: flex;
  gap: 8px;
}

.board-search-input {
  padding: 9px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  outline: none;
  min-width: 220px;
}

.board-search-input:focus {
  border-color: #0052cc;
}

.board-search-btn {
  padding: 9px 16px;
  background: #334155;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease;
}

.board-search-btn:hover {
  background: #1e293b;
}

/* -----------------------------------------------------------------------------
 * 2. 스킨: 목록형 스타일 (normal)
 * -------------------------------------------------------------------------- */
.board-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-top: 2px solid #0052cc;
}

.board-table th {
  background: #f8fafc;
  padding: 14px 12px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
}

.board-table td {
  padding: 14px 12px;
  font-size: 14px;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.board-table tr:hover td {
  background: #f8fafc;
}

.board-table tr.row-notice td {
  background: #f0f7ff;
}

.board-post-title {
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.board-post-title:hover {
  color: #0052cc;
}

/* -----------------------------------------------------------------------------
 * 3. 스킨: 갤러리형 스타일 (gallery)
 * -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.gallery-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all .2s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 82, 204, 0.12);
  border-color: #bfdbfe;
}

.gallery-thumb-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f1f5f9;
  position: relative;
  overflow: hidden;
}

.gallery-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.gallery-card:hover .gallery-thumb-img {
  transform: scale(1.05);
}

.gallery-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

.gallery-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gallery-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.gallery-meta {
  margin-top: auto;
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* -----------------------------------------------------------------------------
 * 4. 스킨: FAQ형 스타일 (faq)
 * -------------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all .15s ease;
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-question {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  background: #ffffff;
}

.faq-question-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.faq-q-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #eff6ff;
  color: #0052cc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
}

.faq-arrow {
  width: 20px;
  height: 20px;
  color: #94a3b8;
  transition: transform .2s ease;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: #0052cc;
}

.faq-answer {
  display: none;
  padding: 20px 24px 24px 64px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  font-size: 14px;
  line-height: 1.8;
  color: #334155;
}

.faq-item.active .faq-answer {
  display: block;
}

/* -----------------------------------------------------------------------------
 * 5. 모듈화된 페이지네이션 (Pagination)
 * -------------------------------------------------------------------------- */
.board-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 36px;
}

.board-page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all .15s ease;
  user-select: none;
}

.board-page-btn:hover:not(.disabled) {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}

.board-page-btn.active {
  background: #0052cc;
  border-color: #0052cc;
  color: #ffffff;
  cursor: default;
}

.board-page-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: #f8fafc;
  color: #94a3b8;
}

/* -----------------------------------------------------------------------------
 * 6. 상세 보기 스타일 (board/view.php)
 * -------------------------------------------------------------------------- */
.board-view-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  font-family: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
}

.board-view-header {
  border-bottom: 2px solid #0052cc;
  padding-bottom: 24px;
  margin-bottom: 28px;
}

.board-view-cat {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #0052cc;
  background: #eff6ff;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.board-view-title {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
}

.board-view-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}

.board-view-meta-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.board-view-files {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 32px;
}

.board-view-files-title {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.board-file-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  margin-right: 8px;
  margin-bottom: 8px;
  transition: all .15s ease;
}

.board-file-badge-link:hover {
  border-color: #0052cc;
  color: #0052cc;
  background: #f0f7ff;
}

.board-view-content {
  font-size: 16px;
  line-height: 1.8;
  color: #1e293b;
  min-height: 280px;
  word-break: break-all;
  padding: 10px 0 40px;
}

.board-view-content img {
  max-width: 100% !important;
  height: auto !important;
}

/* 댓글 영역 */
.comment-section {
  margin-top: 50px;
  padding-top: 36px;
  border-top: 1px solid #e2e8f0;
}

.comment-section h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 20px;
}

.comment-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 12px;
}

.comment-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.comment-author {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.comment-date {
  font-size: 12px;
  color: #94a3b8;
}

.comment-content {
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
  white-space: pre-wrap;
}

.comment-form {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 18px;
  margin-top: 24px;
}

/* 이전글 다음글 네비게이션 */
.board-prev-next {
  margin-top: 40px;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.prev-next-row {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  font-size: 14px;
}

.prev-next-row:first-child {
  border-bottom: 1px solid #f1f5f9;
}

.prev-next-label {
  width: 90px;
  font-weight: 700;
  color: #64748b;
  flex-shrink: 0;
}

.prev-next-link {
  color: #0f172a;
  text-decoration: none;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prev-next-link:hover {
  color: #0052cc;
}

.board-view-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
  flex-wrap: wrap;
  gap: 12px;
}

.board-action-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* 게시판 공통 액션 버튼 (신규 디자인) */
.board-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1.4;
  user-select: none;
  box-sizing: border-box;
}

.board-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.board-btn:hover svg {
  transform: scale(1.1);
}

/* 1. 목록 버튼 (기본형) */
.board-btn-default {
  background: #ffffff;
  color: #475569;
  border-color: #cbd5e1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.board-btn-default:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #94a3b8;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* 2. 수정 버튼 (보조형) */
.board-btn-secondary {
  background: #f1f5f9;
  color: #334155;
  border-color: #cbd5e1;
}

.board-btn-secondary:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #94a3b8;
}

/* 3. 삭제 버튼 (경고형) */
.board-btn-danger {
  background: #fff1f2;
  color: #e11d48;
  border-color: #fecdd3;
}

.board-btn-danger:hover {
  background: #e11d48;
  color: #ffffff;
  border-color: #e11d48;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

/* 4. 글쓰기 버튼 (주요 액션형 - 중앙대 블루) */
.board-btn-primary {
  background: #0052cc;
  color: #ffffff;
  border-color: #0052cc;
  box-shadow: 0 2px 6px rgba(0, 82, 204, 0.2);
}

.board-btn-primary:hover {
  background: #0747a6;
  border-color: #0747a6;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 82, 204, 0.35);
  transform: translateY(-1px);
}

/* 레거시 adm-btn-pill 호환 클래스 */
.adm-btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

.adm-btn-pill.default {
  background: #ffffff;
  color: #475569;
  border-color: #cbd5e1;
}

.adm-btn-pill.default:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.adm-btn-pill.secondary {
  background: #f1f5f9;
  color: #334155;
  border-color: #e2e8f0;
}

.adm-btn-pill.secondary:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.adm-btn-pill.red {
  background: #fff1f2;
  color: #e11d48;
  border-color: #fecdd3;
}

.adm-btn-pill.red:hover {
  background: #e11d48;
  color: #ffffff;
}

.adm-btn-pill.primary {
  background: #0052cc;
  color: #ffffff;
  border-color: #0052cc;
}

.adm-btn-pill.primary:hover {
  background: #0747a6;
  color: #ffffff;
}

/* -----------------------------------------------------------------------------
 * 7. 글쓰기 / 수정 폼 스타일 (board/write.php)
 * -------------------------------------------------------------------------- */
.board-write-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  font-family: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
}

.board-write-header {
  border-bottom: 2px solid #0052cc;
  padding-bottom: 16px;
  margin-bottom: 30px;
}

.board-write-header h1 {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
  letter-spacing: -0.5px;
}

.board-write-header p {
  font-size: 16px;
  line-height: 1.65;
  color: #64748b;
  margin: 6px 0 0 0;
}

.board-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 36px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.adm-form-group {
  margin-bottom: 24px;
}

.adm-form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
}

.adm-input,
.adm-select,
.adm-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #0f172a;
  box-sizing: border-box;
  outline: none;
  transition: all .2s ease;
}

.adm-input:focus,
.adm-select:focus,
.adm-textarea:focus {
  border-color: #0052cc;
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.12);
}

.adm-dropzone {
  border: 2px dashed #93c5fd;
  background: #f8fafc;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: all .2s ease;
}

.adm-dropzone:hover,
.adm-dropzone.dragover {
  background: #eff6ff;
  border-color: #0052cc;
}

.adm-dropzone-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  color: #0052cc;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e0f2fe;
  border-radius: 50%;
}

.adm-dropzone-icon svg {
  width: 24px;
  height: 24px;
}

.adm-dropzone-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}

.adm-dropzone-title span {
  color: #0052cc;
  text-decoration: underline;
}

.adm-dropzone-desc {
  font-size: 12px;
  color: #64748b;
}

.adm-file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.adm-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
  color: #1e293b;
}

.adm-file-item.marked-delete {
  text-decoration: line-through;
  opacity: 0.5;
  background: #fee2e2;
}

.adm-file-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.adm-file-thumb {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #cbd5e1;
  cursor: pointer;
}

.adm-file-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  flex-shrink: 0;
}

.adm-file-badge.existing {
  background: #e0e7ff;
  color: #3730a3;
}

.adm-file-badge.new {
  background: #dcfce7;
  color: #166534;
}

.adm-file-btn-del {
  background: #fee2e2;
  color: #ef4444;
  border: none;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}

.adm-file-btn-del:hover {
  background: #ef4444;
  color: #ffffff;
}

.note-editor.note-frame {
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important;
  overflow: hidden;
}