/* ===========================================================
   단국대학교 의과대학 26학번 — 공통 스타일
   단국대 공식 컬러 (Dankook Navy) 기반
   =========================================================== */

:root {
  --navy: #00205b;        /* 단국 네이비 (메인) */
  --navy-dark: #001640;
  --blue: #0057b8;        /* 포인트 블루 */
  --blue-light: #e8f0fb;
  --gold: #c8a24b;        /* 포인트 골드 */
  --ink: #1d2433;
  --gray: #5b6473;
  --line: #e3e7ee;
  --bg: #f6f8fc;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 32, 91, 0.08);
  --shadow-sm: 0 4px 14px rgba(0, 32, 91, 0.06);
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic",
    "맑은 고딕", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 헤더 / 네비게이션 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--navy);
}
.brand .logo {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.brand .logo svg,
.brand .logo img { width: 46px; height: 46px; object-fit: contain; display: block; }
.brand .brand-text small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.5px;
}
.brand .brand-text strong { font-size: 16px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-menu a {
  display: block;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray);
  transition: all 0.15s ease;
}
.nav-menu a:hover { color: var(--navy); background: var(--blue-light); }
.nav-menu a.active { color: var(--navy); background: var(--blue-light); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.2s;
}

/* ---------- 히어로 ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(0, 87, 184, 0.35), transparent 60%),
    linear-gradient(135deg, var(--navy-dark), var(--navy) 55%, var(--blue));
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.12) 1px, transparent 0);
  background-size: 26px 26px;
  opacity: 0.5;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 96px 0 104px;
  text-align: center;
}
.hero .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -1px;
}
.hero h1 .accent { color: var(--gold); }
.hero p {
  margin: 20px auto 0;
  max-width: 620px;
  font-size: 17px;
  color: rgba(255,255,255,0.86);
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease;
}
.btn-primary { background: var(--white); color: var(--navy); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-solid { background: var(--navy); color: #fff; }
.btn-solid:hover { background: var(--blue); }

/* ---------- 페이지 섹션 공통 ---------- */
.page-head {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff;
  padding: 64px 0 56px;
  text-align: center;
}
.page-head .eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--gold);
}
.page-head h1 { font-size: 34px; margin-top: 8px; letter-spacing: -0.5px; }
.page-head p { color: rgba(255,255,255,0.8); margin-top: 10px; }

.section { padding: 72px 0; }
.section-title {
  text-align: center;
  margin-bottom: 44px;
}
.section-title .eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--blue);
}
.section-title h2 {
  font-size: 30px; margin-top: 6px; color: var(--navy); letter-spacing: -0.5px;
}
.section-title p { color: var(--gray); margin-top: 8px; }

/* ---------- 카드 그리드 (홈 바로가기) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cdd9ee; }
.card .ico {
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--blue-light); color: var(--navy);
  display: grid; place-items: center; font-size: 24px;
  margin-bottom: 16px;
}
.card h3 { font-size: 19px; color: var(--navy); }
.card p { color: var(--gray); font-size: 15px; margin-top: 6px; }
.card .more { display: inline-block; margin-top: 14px; color: var(--blue); font-weight: 700; font-size: 14px; }

/* ---------- 인사말 ---------- */
.greeting {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
}
.greeting .portrait {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-light), #fff);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.greeting blockquote {
  font-size: 18px;
  line-height: 1.9;
  color: var(--ink);
}
.greeting blockquote p + p { margin-top: 16px; }
.greeting .sign { margin-top: 24px; font-weight: 700; color: var(--navy); }
.greeting .sign small { display: block; font-weight: 500; color: var(--gray); }

/* ---------- 통계 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 20px; text-align: center; box-shadow: var(--shadow-sm);
}
.stat strong { display: block; font-size: 34px; color: var(--navy); font-weight: 800; }
.stat span { color: var(--gray); font-size: 14px; }

/* ---------- 공지 게시판 ---------- */
.notice-list { border-top: 2px solid var(--navy); }
.notice-item {
  display: grid;
  grid-template-columns: 90px 1fr 120px;
  gap: 16px;
  align-items: center;
  padding: 20px 12px;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
}
.notice-item:hover { background: var(--blue-light); }
.notice-item .tag {
  justify-self: start;
  font-size: 12px; font-weight: 700;
  padding: 4px 11px; border-radius: 999px;
  background: var(--navy); color: #fff;
}
.notice-item .tag.event { background: var(--gold); }
.notice-item .tag.acad { background: var(--blue); }
.notice-item .t-title { font-weight: 600; }
.notice-item .t-title small { display:block; color: var(--gray); font-weight: 400; font-size: 13px; margin-top: 2px; }
.notice-item .date { text-align: right; color: var(--gray); font-size: 14px; }

/* ---------- 캘린더 / 학사일정 ---------- */
.timeline { position: relative; margin-top: 10px; }
.timeline::before {
  content:""; position:absolute; left: 110px; top: 8px; bottom: 8px;
  width: 2px; background: var(--line);
}
.tl-item {
  display: grid; grid-template-columns: 96px 1fr; gap: 28px;
  padding: 14px 0; position: relative;
}
.tl-item .when { text-align: right; font-weight: 700; color: var(--navy); padding-top: 2px; }
.tl-item .when small { display:block; color: var(--gray); font-weight: 500; font-size: 13px; }
.tl-item .what {
  background: #fff; border:1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; box-shadow: var(--shadow-sm); position: relative;
}
.tl-item .what::before {
  content:""; position:absolute; left: -23px; top: 22px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--blue);
}
.tl-item .what h4 { color: var(--navy); font-size: 16px; }
.tl-item .what p { color: var(--gray); font-size: 14px; margin-top: 2px; }

.term-tabs { display:flex; gap:8px; justify-content:center; margin-bottom: 36px; flex-wrap: wrap; }
.term-tabs button {
  padding: 9px 20px; border-radius: 999px; border:1px solid var(--line);
  background:#fff; font-weight:700; color: var(--gray); cursor:pointer; transition: 0.15s;
}
.term-tabs button.active { background: var(--navy); color:#fff; border-color: var(--navy); }

/* ---------- 캘린더 (예쁜 달력) ---------- */
.cal-banner {
  max-width: 940px; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--blue-light), #eef5ff);
  border: 1px solid #d8e6fb; color: var(--navy);
  border-radius: 999px; padding: 11px 22px; text-align: center;
  font-size: 14px; font-weight: 500;
}
.cal-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 24px; box-shadow: var(--shadow);
  padding: 22px 22px 26px; max-width: 940px; margin: 0 auto;
}
.cal-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.cal-move { display: flex; align-items: center; gap: 8px; }
.cal-top h2 {
  font-size: 26px; min-width: 142px; text-align: center; letter-spacing: -0.5px;
  background: linear-gradient(120deg, var(--navy), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cal-nav {
  width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: var(--blue-light); color: var(--navy);
  font-size: 20px; cursor: pointer; transition: 0.15s; line-height: 1;
}
.cal-nav:hover { background: var(--navy); color: #fff; transform: translateY(-1px); }
.cal-today {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--gray); font-weight: 700; cursor: pointer; font-size: 13px;
}
.cal-today:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.cal-dow {
  display: grid; grid-template-columns: repeat(7, 1fr);
  text-align: center; font-weight: 700; font-size: 12.5px; color: var(--gray);
  padding-bottom: 10px;
}
.cal-dow .sun { color: #e2574c; }
.cal-dow .sat { color: var(--blue); }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.cal-cell {
  position: relative; min-height: 104px;
  border-radius: 14px; padding: 8px 8px 6px;
  border: 1px solid #eef1f6; background: #fcfdff;
  display: flex; flex-direction: column; gap: 5px;
  cursor: pointer; transition: 0.15s; overflow: hidden;
}
.cal-cell:hover { border-color: #b9cdf0; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.cal-cell.empty { background: transparent; border: 0; cursor: default; box-shadow: none; transform: none; }
.cal-cell .num {
  font-size: 14px; font-weight: 700; color: var(--ink);
  width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
}
.cal-cell.sun .num { color: #e2574c; }
.cal-cell.sat .num { color: var(--blue); }
.cal-cell.today { border-color: var(--navy); background: #f4f8ff; }
.cal-cell.today .num { background: var(--navy); color: #fff; }

.cal-cell .chips { display: flex; flex-direction: column; gap: 3px; }
.chip {
  font-size: 11.5px; font-weight: 600; line-height: 1.5;
  padding: 1px 8px; border-radius: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chip.more { background: #eef0f3; color: var(--gray); font-weight: 700; }
.cal-cell .dotrow { display: none; gap: 3px; flex-wrap: wrap; }

/* 분류별 색 (칩) */
.chip.acad { background: #e6edfb; color: #1d3a8a; }
.chip.exam { background: #fce8e6; color: #b5362b; }
.chip.event{ background: #fdf3da; color: #876312; }
.chip.todo { background: #e7e9f7; color: #2a2f7a; }
.chip.meet { background: #dcf4f7; color: #0c6b75; }
.chip.vac  { background: #e0f5ea; color: #1c7a4d; }
.chip.holi { background: #eef0f3; color: #5b6473; }
.chip.etc  { background: #eef0f3; color: #5b6473; }

/* 점 (모바일) */
.d { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.d.acad { background: var(--blue); }
.d.exam { background: #e2574c; }
.d.event { background: var(--gold); }
.d.todo { background: var(--navy); }
.d.meet { background: #14b8c4; }
.d.vac { background: #2bb673; }
.d.holi { background: #9aa3b2; }
.d.etc { background: #7a8699; }

.cal-legend {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin: 20px auto 0; max-width: 940px;
  font-size: 13px; color: var(--gray);
}
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }

/* 날짜 모달 */
.cal-modal {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(0, 22, 64, 0.5); backdrop-filter: blur(3px);
  display: none; place-items: center; padding: 20px;
}
.cal-modal.open { display: grid; }
.cal-modal-box {
  background: #fff; border-radius: 20px; width: 100%; max-width: 420px;
  padding: 26px 24px 22px; box-shadow: var(--shadow); position: relative;
  animation: popIn 0.18s ease;
}
@keyframes popIn { from { transform: scale(0.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.cal-modal-close {
  position: absolute; top: 14px; right: 16px; border: 0; background: none;
  font-size: 26px; line-height: 1; color: var(--gray); cursor: pointer;
}
.cal-modal-box h3 { color: var(--navy); font-size: 21px; margin-bottom: 16px; }
.cm-list { list-style: none; margin-bottom: 16px; }
.cm-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px;
}
.cm-list li.none { color: var(--gray); justify-content: center; border-style: dashed; }
.ev-tag { font-size: 12px; font-weight: 700; color: #fff; padding: 3px 10px; border-radius: 999px; flex: 0 0 auto; }
.ev-tag.acad { background: var(--blue); }
.ev-tag.exam { background: #e2574c; }
.ev-tag.event { background: var(--gold); }
.ev-tag.todo { background: var(--navy); }
.ev-tag.meet { background: #14b8c4; }
.ev-tag.vac { background: #2bb673; }
.ev-tag.holi { background: #9aa3b2; }
.ev-tag.etc { background: #7a8699; }
.ev-text { flex: 1; color: var(--ink); font-size: 14px; }
.ev-del { border: 0; background: none; cursor: pointer; font-size: 15px; opacity: 0.6; }
.ev-del:hover { opacity: 1; }
.cm-form { display: flex; gap: 8px; }
.cm-form input {
  flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 10px; font-size: 14px; outline: none;
}
.cm-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-light); }
.cm-form select { border: 1px solid var(--line); border-radius: 10px; padding: 0 8px; font-size: 13px; }
.cm-form .btn { padding: 10px 16px; }
.cm-hint { margin-top: 12px; font-size: 13px; color: var(--gray); text-align: center; }

@media (max-width: 620px) {
  .cal-card { padding: 16px 12px 18px; border-radius: 18px; }
  .cal-grid { gap: 4px; }
  .cal-cell { min-height: 56px; border-radius: 10px; padding: 5px 4px; align-items: center; }
  .cal-cell .num { font-size: 12px; width: 22px; height: 22px; }
  .cal-cell .chips { display: none; }
  .cal-cell .dotrow { display: flex; justify-content: center; }
}

/* ---------- 갤러리 ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.gallery-grid figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  background: #000;
  position: relative;
}
.gallery-grid img {
  width: 100%; height: 240px; object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s;
}
.gallery-grid figure:hover img { transform: scale(1.06); opacity: 0.92; }
.gallery-grid figcaption {
  position:absolute; left:0; right:0; bottom:0;
  padding: 28px 16px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color:#fff; font-size: 14px; font-weight: 600;
}

/* 라이트박스 */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.9);
  display: none; place-items: center;
  padding: 30px;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; }
.lightbox .close {
  position: absolute; top: 22px; right: 28px;
  color:#fff; font-size: 34px; cursor: pointer; line-height: 1;
}

/* ---------- 동기 명단 ---------- */
.member-tools {
  display:flex; gap:12px; justify-content:center; margin-bottom: 30px; flex-wrap: wrap;
}
.member-tools input {
  width: 280px; max-width: 100%;
  padding: 11px 16px; border:1px solid var(--line); border-radius: 10px;
  font-size: 15px; outline: none;
}
.member-tools input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-light); }
.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.member {
  background:#fff; border:1px solid var(--line); border-radius: 12px;
  padding: 20px 16px; text-align:center; box-shadow: var(--shadow-sm);
  transition: 0.15s;
}
.member:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.member .avatar {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color:#fff; display:grid; place-items:center; font-weight: 800; font-size: 20px;
}
.member strong { display:block; color: var(--navy); }
.member span { font-size: 13px; color: var(--gray); }
.empty-note { text-align:center; color: var(--gray); padding: 40px 0; }

/* ---------- 로그인 / 회원가입 ---------- */
.auth-wrap { max-width: 440px; margin: 0 auto; }
.auth-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px 30px 32px; margin-top: 8px;
}
.auth-tabs { display: flex; border-bottom: 1px solid var(--line); margin: 0 -30px 26px; }
.auth-tab {
  flex: 1; padding: 18px 0; background: none; border: 0; cursor: pointer;
  font-size: 16px; font-weight: 700; color: var(--gray);
  border-bottom: 3px solid transparent; transition: 0.15s;
}
.auth-tab.active { color: var(--navy); border-bottom-color: var(--navy); }
.auth-form label { display: block; font-weight: 600; font-size: 14px; margin: 16px 0 6px; color: var(--ink); }
.auth-form input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; font-size: 15px; outline: none;
}
.auth-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-light); }
.auth-form .btn { width: 100%; justify-content: center; margin-top: 22px; }
.auth-hint { font-size: 13px; color: var(--gray); margin-top: 14px; text-align: center; }
.auth-msg { display: none; margin-top: 18px; padding: 12px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.auth-msg.err { background: #fdecec; color: #c0392b; border: 1px solid #f5c6c6; }
.auth-msg.ok  { background: #eafaf0; color: #1e8a4c; border: 1px solid #bfe9cd; }
.logged-box {
  display: none; background: var(--blue-light); border: 1px solid #cfe0f7;
  border-radius: 10px; padding: 14px 16px; margin-bottom: 20px; font-size: 14px;
}
.logged-box a { color: var(--blue); font-weight: 700; }

/* ---------- 갤러리 인증/업로드 바 ---------- */
.gallery-authbar {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 18px; margin-bottom: 18px; font-size: 15px; box-shadow: var(--shadow-sm);
}
.gallery-authbar a { color: var(--blue); }
.btn-mini {
  margin-left: 10px; padding: 5px 12px; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; font-weight: 600; cursor: pointer; font-size: 13px;
}
.btn-mini:hover { background: var(--blue-light); border-color: #cfe0f7; }
.upload-box {
  display: none; background: #fff; border: 1px dashed #b9c7df; border-radius: 12px;
  padding: 20px; margin-bottom: 26px; box-shadow: var(--shadow-sm);
}
.upload-box h3 { color: var(--navy); font-size: 17px; margin-bottom: 14px; }
.upload-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.upload-row input[type="file"] { flex: 1; min-width: 200px; font-size: 14px; }
.upload-row input[type="text"] {
  flex: 1; min-width: 180px; padding: 10px 14px; border: 1px solid var(--line);
  border-radius: 10px; font-size: 14px; outline: none;
}
.upload-row input[type="text"]:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-light); }
.del-btn {
  background: rgba(0,0,0,0.45); border: 0; color: #fff; cursor: pointer;
  border-radius: 6px; padding: 2px 7px; font-size: 13px; margin-left: 8px;
}
.del-btn:hover { background: #c0392b; }

/* ---------- 푸터 ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 32px;
  margin-top: 20px;
}
.footer-top {
  display:flex; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand strong { color:#fff; font-size: 18px; }
.footer-brand p { font-size: 14px; margin-top: 8px; max-width: 360px; }
.footer-links { display:flex; gap: 40px; flex-wrap: wrap; }
.footer-links h5 { color:#fff; font-size: 14px; margin-bottom: 12px; }
.footer-links a { display:block; font-size: 14px; padding: 4px 0; transition: 0.15s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 22px; font-size: 13px;
  display:flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* ---------- 반응형 ---------- */
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 16px 18px; box-shadow: var(--shadow);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 13px 12px; border-radius: 8px; }
  .greeting { grid-template-columns: 1fr; gap: 28px; }
  .notice-item { grid-template-columns: 70px 1fr; }
  .notice-item .date { display: none; }
  .timeline::before { left: 78px; }
  .tl-item { grid-template-columns: 70px 1fr; gap: 22px; }
}
