@charset "utf-8";

/* ================================
   Reset & Base
================================ */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; vertical-align: middle; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font: inherit; }
table { border-collapse: collapse; width: 100%; }

/* ================================
   Variables
================================ */
:root {
  --primary: #003876;        /* 백석 메인 네이비 */
  --primary-dark: #002251;
  --primary-light: #0a4a99;
  --secondary: #0066cc;      /* 스마트 블루 */
  --accent: #ffb800;         /* 포인트 골드 */
  --accent-2: #00c2a8;       /* 에너지 그린 */
  --text: #1a1a1a;
  --text-sub: #555;
  --text-mute: #888;
  --line: #e5e8ed;
  --bg-soft: #f5f7fa;
  --bg-cool: #eef3f9;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 40px rgba(0,56,118,0.15);
  --radius: 10px;
  --radius-lg: 18px;
  --container: 1280px;
}

/* ================================
   Layout
================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 80px 0; }
.section-tight { padding: 60px 0; }

.section-head { text-align: center; margin-bottom: 50px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
}
.section-head h2 strong { color: var(--secondary); }
.section-head p {
  margin-top: 14px;
  font-size: 17px;
  color: var(--text-sub);
}

/* ================================
   Top Utility Bar
================================ */
.top-bar {
  background: var(--primary-dark);
  color: #cfd8e6;
  font-size: 13px;
  height: 36px;
  display: flex;
  align-items: center;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: #cfd8e6; transition: color .2s; }
.top-bar a:hover { color: #fff; }
.top-bar .top-links { display: flex; gap: 22px; }
.top-bar .top-links a { position: relative; }
.top-bar .top-links a:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -11px; top: 50%;
  width: 1px; height: 11px;
  background: rgba(255,255,255,0.2);
  transform: translateY(-50%);
}
.top-bar .user-types span {
  margin-right: 14px;
  opacity: 0.7;
}

/* ================================
   Header
================================ */
.header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 84px;
}
.logo { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo .mark {
  width: 150px; height: 38px;
  background: url('../images/bscu-logo-50th.png') left center / contain no-repeat;
  flex-shrink: 0;
}
.logo .text {
  padding-left: 12px;
  border-left: 1px solid var(--line);
  line-height: 1.2;
  min-width: 0;
}
.logo .text .univ {
  font-size: 11px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}
.logo .text .univ { color: var(--text-mute); font-weight: 500; }
.logo .text .dept {
  font-size: 19px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.gnb { display: flex; gap: 4px; }
.gnb > li.gnb-wrap { position: relative; }
.gnb > li > a {
  display: block;
  padding: 0 22px;
  height: 84px;
  line-height: 84px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  position: relative;
  transition: color .2s;
}
.gnb > li > a:hover { color: var(--secondary); }
.gnb > li > a::after {
  content: '';
  position: absolute;
  left: 22px; right: 22px; bottom: 0;
  height: 3px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: transform .25s;
}
.gnb > li:hover > a::after,
.gnb > li.active > a::after { transform: scaleX(1); }
.gnb > li.active > a { color: var(--secondary); }

/* 드롭다운 — 각 메뉴 바로 아래에 떨어지는 컴팩트 형태 */
.gnb .submenu {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  background: #fff;
  border-top: 3px solid var(--secondary);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 16px 32px rgba(0,30,80,0.14);
  padding: 10px 0;
  /* hover 갭 안전: 위쪽 안전 영역 (보이지 않지만 마우스가 머무르면 hover 유지) */
  margin-top: 0;
  /* 보일 때까지 살짝 떨어진 상태 → 떠오르는 효과 */
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility 0s .18s;
  z-index: 90;
}
.gnb .submenu::before {
  /* hover 영역 확장 — a 끝~submenu 사이 8px 공백을 마우스로 채워줌 */
  content: '';
  position: absolute;
  left: 0; right: 0; top: -10px;
  height: 10px;
  background: transparent;
}
.gnb-wrap:hover .submenu,
.gnb-wrap:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity .18s ease, transform .18s ease, visibility 0s 0s;
}

/* 그리드/컨테이너 무력화 — 단일 컬럼 드롭다운 */
.submenu .container { padding: 0; max-width: none; }
.submenu .grid { display: block; gap: 0; }
.submenu .col h4 { display: none; }
.submenu .col ul {
  display: block;
}
.submenu .col ul li {
  margin: 0;
}
.submenu .col ul li a {
  display: block;
  padding: 11px 22px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-sub);
  white-space: nowrap;
  transition: all .15s;
}
.submenu .col ul li a:hover {
  background: var(--bg-soft);
  color: var(--secondary);
  font-weight: 700;
  padding-left: 28px;
}
.submenu .col ul li a:active { background: var(--bg-cool); }

/* legacy 셀렉터 호환 — 위에서 이미 정의됨 */
.submenu .col ul a {
  font-size: 14.5px;
  color: var(--text-sub);
  transition: color .2s;
}
.submenu .col ul a:hover { color: var(--secondary); font-weight: 600; }

.header-actions { display: flex; gap: 10px; align-items: center; }
.btn-search, .btn-menu {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all .2s;
}
.btn-search:hover, .btn-menu:hover { background: var(--primary); color: #fff; }
.btn-menu { display: none; }

/* ================================
   Buttons
================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: all .25s;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-accent {
  background: var(--accent);
  color: var(--primary-dark);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,184,0,0.4);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-ghost {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--primary); }

/* ================================
   Hero (Main Page)
================================ */
.hero {
  position: relative;
  min-height: 620px;
  background:
    linear-gradient(135deg, rgba(0,56,118,0.92) 0%, rgba(0,102,204,0.85) 100%),
    url('https://images.unsplash.com/photo-1516192518150-0d8fee5425e3?w=1600') center/cover;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* 슬라이드쇼 컨테이너 — JS가 동적으로 .hero 안에 삽입 */
.hero-slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
  /* GPU 합성 강제 — 서브픽셀 떨림 방지 */
  transform: translateZ(0) scale(1.04);
  transform-origin: center center;
  backface-visibility: hidden;
  /* 연속 애니메이션 (재시작 없음) — 숨김 슬라이드는 일시정지로 성능 확보 */
  animation-duration: 26s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-play-state: paused;
}
/* will-change는 현재 보이는(active) 슬라이드에만 — 영구 레이어 낭비 방지 */
.hero-slide.active { opacity: 1; animation-play-state: running; will-change: transform; }
/* 히어로가 화면 밖이거나 탭이 백그라운드면 모든 슬라이드 애니메이션 정지 (CPU/GPU 절약) */
.hero.hero-paused .hero-slide { animation-play-state: paused !important; }

/* Ken Burns 4종 — 슬라이드 인덱스별 순환 (active 토글과 무관하게 이름만 부여) */
.hero-slide.kb-1 { animation-name: kbZoomIn; }
.hero-slide.kb-2 { animation-name: kbZoomOut; }
.hero-slide.kb-3 { animation-name: kbPanR; }
.hero-slide.kb-4 { animation-name: kbPanL; }

/* translateZ(0)를 키프레임에 포함해 합성 레이어 유지 → 떨림 제거 */
@keyframes kbZoomIn  { from { transform: translateZ(0) scale(1.02); }                  to { transform: translateZ(0) scale(1.16); } }
@keyframes kbZoomOut { from { transform: translateZ(0) scale(1.16); }                  to { transform: translateZ(0) scale(1.02); } }
@keyframes kbPanR    { from { transform: translateZ(0) scale(1.12) translate(-2.5%, 0); } to { transform: translateZ(0) scale(1.12) translate(2.5%, 0); } }
@keyframes kbPanL    { from { transform: translateZ(0) scale(1.12) translate(2.5%, 0); }  to { transform: translateZ(0) scale(1.12) translate(-2.5%, 0); } }

/* 오버레이 — JS가 설정한 그라데이션 */
.hero-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* 모션 줄이기 옵션 사용자 존중 */
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none !important; transform: none !important; transition: opacity 0.4s linear; }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,184,0,0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,194,168,0.15) 0%, transparent 40%);
}
.hero .grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 56px;
  align-items: center;
  padding: 80px 20px;
}
.hero-inner { max-width: none; padding: 0; }
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 24px;
}
.hero .eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.hero h1 {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}
.hero h1 .highlight {
  background: linear-gradient(120deg, var(--accent), #ffe066);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 19px;
  line-height: 1.65;
  color: rgba(255,255,255,0.9);
  margin-bottom: 38px;
  max-width: 560px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  z-index: 2;
}
.hero-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 22px 26px;
  text-align: left;
  transition: transform .2s, background .2s, border-color .2s;
  position: relative;
  overflow: hidden;
}
.hero-stat::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--accent);
  opacity: 0.85;
}
.hero-stat:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}
.hero-stat .num {
  display: block;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}
.hero-stat .label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  margin: 0;
  flex: 1;
  text-align: right;
  letter-spacing: -0.01em;
}

/* ================================
   Quick Links (Main)
================================ */
.quick-links {
  background: var(--bg-soft);
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.quick-links .grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.quick-link {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  transition: all .25s;
  border: 1px solid transparent;
}
.quick-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}
.quick-link .icon {
  width: 48px; height: 48px;
  margin: 0 auto 10px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.quick-link .label {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}

/* ================================
   Feature Cards (4대 특징)
================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: all .3s;
  overflow: hidden;
  border: 1px solid var(--line);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card .num {
  position: absolute;
  right: 24px; top: 24px;
  font-size: 70px;
  font-weight: 900;
  color: var(--bg-cool);
  letter-spacing: -0.05em;
  line-height: 1;
}
.feature-card .icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
}
.feature-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.feature-card p {
  font-size: 14.5px;
  color: var(--text-sub);
  line-height: 1.65;
}

/* ================================
   Tabbed Info Section
================================ */
.info-section { background: var(--bg-soft); }
.info-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.tab {
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  background: #fff;
  color: var(--text-sub);
  border: 1.5px solid var(--line);
  transition: all .2s;
}
.tab.active, .tab:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .35s; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.list-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.list-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  transition: all .25s;
}
.list-card:hover {
  border-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.list-card .badge {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--bg-cool);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
}
.list-card:hover .badge { background: var(--primary); color: #fff; }
.list-card .text strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.list-card .text span {
  font-size: 13.5px;
  color: var(--text-mute);
}

/* ================================
   News Section
================================ */
.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}
.news-main {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.news-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
}
.news-tab {
  flex: 1;
  padding: 18px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-mute);
  background: #fafbfc;
  border-right: 1px solid var(--line);
  transition: all .2s;
}
.news-tab:last-child { border-right: none; }
.news-tab.active {
  background: #fff;
  color: var(--primary);
  position: relative;
}
.news-tab.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  background: var(--secondary);
}
.news-list { padding: 10px 26px; }
.news-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
  transition: padding .2s;
}
.news-list li:last-child { border-bottom: none; }
.news-list li:hover { padding-left: 6px; }
.news-list .tag {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  background: var(--bg-cool);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 6px;
}
.news-list .tag.notice { background: var(--primary); color: #fff; }
.news-list .title {
  flex: 1;
  font-size: 15.5px;
  color: var(--text);
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.news-list li:hover .title { color: var(--secondary); }
.news-list .date { font-size: 13.5px; color: var(--text-mute); }

.news-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.aside-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 28px;
  color: #fff;
  overflow: hidden;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.aside-card.bg-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}
.aside-card.bg-accent {
  background: linear-gradient(135deg, #ff8800, var(--accent));
}
.aside-card.bg-green {
  background: linear-gradient(135deg, #008f7e, var(--accent-2));
}
.aside-card h4 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.aside-card p { font-size: 14px; opacity: 0.9; }
.aside-card .arrow {
  align-self: flex-end;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform .25s;
}
.aside-card:hover .arrow { transform: translateX(6px); }

/* ================================
   Professor Section
================================ */
.prof-band {
  background:
    linear-gradient(135deg, rgba(0,34,81,0.95), rgba(0,56,118,0.85)),
    url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1600') center/cover fixed;
  color: #fff;
}
.prof-band .section-head h2 { color: #fff; }
.prof-band .section-head h2 strong { color: var(--accent); }
.prof-band .section-head p { color: rgba(255,255,255,0.85); }

.prof-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.prof-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  text-align: center;
  transition: all .3s;
}
.prof-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-5px);
}
.prof-card .avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--accent), #ff8800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-dark);
  border: 3px solid rgba(255,255,255,0.3);
}
.prof-card .role {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.prof-card .name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.prof-card .field {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
  min-height: 42px;
}
.prof-card .contact {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

/* ================================
   Footer
================================ */
.footer {
  background: #1a2332;
  color: #b8c2d1;
  padding: 60px 0 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer .logo .mark {
  width: 150px; height: 38px;
  background-color: #fff;
  background-image: url('../images/bscu-logo-50th.png');
  background-position: center;
  background-size: 134px auto;          /* 흰 박스 안쪽 여백을 살짝만 */
  background-repeat: no-repeat;
  border-radius: 6px;
  padding: 0;                           /* width/height + background-size 로 제어 */
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.footer .logo .text { border-left-color: rgba(255,255,255,0.12); }
.footer .logo .text .univ { color: #8a96a8; }
.footer .logo .text .dept { color: #fff; }
.footer-info p {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.8;
}
.footer-info p strong { color: #fff; }
.footer-col h5 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 14px;
  color: #8a96a8;
  transition: color .2s;
}
.footer-col ul a:hover { color: #fff; }

.footer-bottom {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #8a96a8;
}
.footer-bottom .links { display: flex; gap: 22px; }
.footer-bottom .links a { transition: color .2s; }
.footer-bottom .links a:hover { color: #fff; }
.family-site {
  background: #2a3445;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 13.5px;
}

/* ================================
   Sub Page (학과소개 등)
================================ */
.page-banner {
  position: relative;
  height: 280px;
  background:
    linear-gradient(135deg, rgba(0,34,81,0.85), rgba(0,102,204,0.7)),
    url('https://images.unsplash.com/photo-1581094288338-2314dddb7ece?w=1600') center/cover;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-banner.no-grid::after { display: none; }
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 {
  font-size: 46px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.page-banner .breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}
.page-banner .breadcrumb i { font-size: 11px; }

.page-body { padding: 60px 0 100px; }
.page-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 50px;
  align-items: start;
}
.side-nav {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  position: sticky;
  top: 110px;
}
.side-nav .head {
  background: var(--primary);
  color: #fff;
  padding: 26px 24px;
}
.side-nav .head h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.side-nav .head .en {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 4px;
}
.side-nav ul li { border-bottom: 1px solid var(--line); }
.side-nav ul li:last-child { border-bottom: none; }
.side-nav ul a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  font-size: 15px;
  color: var(--text-sub);
  font-weight: 500;
  transition: all .2s;
}
.side-nav ul a:hover { background: var(--bg-soft); color: var(--primary); padding-left: 28px; }
.side-nav ul li.active a {
  background: var(--bg-cool);
  color: var(--primary);
  font-weight: 700;
  border-left: 3px solid var(--secondary);
}
.side-nav ul a::after {
  content: '›';
  color: var(--text-mute);
  font-size: 18px;
}
.side-nav ul li.active a::after { color: var(--secondary); }

.page-content .page-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  padding-bottom: 18px;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--primary);
  position: relative;
}
.page-content .page-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 80px;
  height: 2px;
  background: var(--accent);
}
.page-content h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  margin: 40px 0 18px;
  padding-left: 16px;
  border-left: 4px solid var(--secondary);
  letter-spacing: -0.02em;
}
.page-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 12px;
}
.page-content p {
  font-size: 15.5px;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 14px;
}
.page-content ul.bullet { margin: 14px 0; }
.page-content ul.bullet li {
  position: relative;
  padding-left: 22px;
  font-size: 15.5px;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 6px;
}
.page-content ul.bullet li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 8px;
  background: var(--secondary);
  border-radius: 50%;
}

.intro-hero {
  background: linear-gradient(135deg, var(--bg-cool), #fff);
  border-radius: var(--radius-lg);
  padding: 50px;
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.intro-hero::before {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,102,204,0.1), transparent 70%);
  border-radius: 50%;
}
.intro-hero .lead {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--secondary);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.intro-hero h2 {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin-bottom: 20px;
  position: relative;
}
.intro-hero p {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--text-sub);
  position: relative;
  max-width: 720px;
}

/* Tables */
.tbl {
  width: 100%;
  border-top: 2px solid var(--primary);
  margin: 20px 0 30px;
}
.tbl th, .tbl td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.tbl thead th {
  background: var(--bg-cool);
  color: var(--primary);
  font-weight: 700;
}
.tbl tbody th {
  background: var(--bg-soft);
  font-weight: 600;
  color: var(--text);
}
.tbl tbody tr:hover td { background: #fafbfc; }

/* ================================
   Responsive
================================ */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-links .grid { grid-template-columns: repeat(3, 1fr); }
  .prof-grid { grid-template-columns: repeat(3, 1fr); }
  .submenu .grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .list-cards { grid-template-columns: repeat(2, 1fr); }
  .page-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }

  /* Hero — 좁은 화면에서는 1단으로 (본문 위 / 통계 아래) */
  .hero .container { grid-template-columns: 1fr; gap: 36px; padding: 60px 20px; }
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-stat { padding: 18px 20px; }
  .hero-stat .num { font-size: 30px; }
}
@media (max-width: 1100px) {
  .logo .text .univ { display: none; }       /* 좁은 데스크톱에서 영문 라인 숨김 */
}
@media (max-width: 768px) {
  .top-bar .user-types { display: none; }
  .gnb { display: none; }
  .btn-menu { display: flex; }
  .header .container { height: 70px; }
  .logo .mark { width: 128px; height: 32px; }
  .footer .logo .mark { width: 128px; height: 32px; background-size: 112px auto; }
  .logo .text { padding-left: 10px; }
  .logo .text .univ { display: none; }
  .logo .text .dept { font-size: 17px; }
  .hero { min-height: 520px; }
  .hero .container { padding: 50px 20px; gap: 26px; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 16px; }
  .hero-stats { grid-template-columns: 1fr; gap: 10px; }
  .hero-stat { padding: 16px 18px; }
  .hero-stat .num { font-size: 26px; }
  .hero-stat .label { font-size: 13px; }
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 28px; }
  .features-grid { grid-template-columns: 1fr; }
  .list-cards { grid-template-columns: 1fr; }
  .prof-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-links .grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .page-banner { height: 200px; }
  .page-banner h1 { font-size: 32px; }
  .intro-hero { padding: 30px 24px; }
  .intro-hero h2 { font-size: 24px; }
  .page-content .page-title { font-size: 24px; }
}

/* Mobile menu */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  display: none;
}
.mobile-nav.open { display: block; }
.mobile-nav .panel {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 320px;
  max-width: 90vw;
  background: #fff;
  padding: 30px 24px;
  overflow-y: auto;
  animation: slideIn .3s;
}
@keyframes slideIn { from { transform: translateX(100%);} to { transform: translateX(0);} }
.mobile-nav .panel h3 { color: var(--primary); margin-bottom: 20px; font-size: 18px; }
.mobile-nav .panel ul li a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.mobile-nav .close-btn {
  position: absolute;
  right: 16px; top: 16px;
  width: 36px; height: 36px;
  font-size: 20px;
  color: var(--text);
}

/* Simple icon shape via mask (no external lib) */
.ico { width: 1em; height: 1em; display: inline-block; }
