/* ==============================
   공지사항 페이지 전용
============================== */
.notice-page {
  max-width: 1200px;
  margin: 14px auto 40px;
  padding: 0 20px 40px;
}
.breadcrumb {
  font-size: 13px;
  color: #6a6a70;
  margin-bottom: 16px;
}
.breadcrumb a { color: #8c00d4; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { margin: 0 6px; color: #a0a0a6; }

/* 공지사항 테이블 (목록 페이지) */
.notice-section {
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,.03);
}
.notice-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #eef0f4;
  background: linear-gradient(135deg,#faf5ff,#ffffff);
}
.notice-section-head h1 {
  font-size: 20px;
  font-weight: 800;
  color: #2e1f4a;
  letter-spacing: -.3px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.notice-section-head h1::before {
  content: "📢";
  font-size: 22px;
}
.notice-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.notice-table caption { display: none; }
.notice-table thead th {
  background: #faf5ff;
  color: #4a3870;
  font-size: 13px;
  font-weight: 700;
  padding: 14px 12px;
  border-bottom: 1px solid #eef0f4;
  text-align: center;
}
.notice-table tbody td {
  padding: 14px 12px;
  border-bottom: 1px solid #f3f3f7;
  font-size: 14px;
  text-align: center;
  color: #555;
}
.notice-table tbody tr:last-child td { border-bottom: 0; }
.notice-table tbody tr { transition: background .12s; }
.notice-table tbody tr:hover { background: #faf5ff; }
.notice-table col.col-num { width: 90px; }
.notice-table col.col-title { width: auto; }
.notice-table col.col-author { width: 130px; }
.notice-table col.col-date { width: 130px; }
.notice-table .td-title {
  text-align: left;
  padding-left: 20px;
}
.notice-table .td-title a {
  color: #2e1f4a;
  font-weight: 600;
  font-size: 14.5px;
  transition: color .12s;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.notice-table .td-title a:hover { color: #8c00d4; }
.notice-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg,#8c00d4,#b039ff);
  box-shadow: 0 2px 6px rgba(140,0,212,.25);
  letter-spacing: .3px;
}
.notice-badge.update {
  background: linear-gradient(135deg,#0a8a4a,#3eaf6e);
  box-shadow: 0 2px 6px rgba(10,138,74,.25);
}
.notice-date {
  color: #6a6a70;
  font-size: 13px;
}

/* 페이지네이션 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 22px 0 18px;
  background: #fafbfd;
  border-top: 1px solid #eef0f4;
}
.pagination a,
.pagination strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #e4e1ec;
  background: #fff;
  color: #555;
  font-size: 13px;
  font-weight: 700;
  transition: all .12s;
}
.pagination a:hover {
  border-color: #8c00d4;
  color: #8c00d4;
}
.pagination strong {
  background: linear-gradient(135deg,#8c00d4,#b039ff);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 6px rgba(140,0,212,.25);
}
.pagination .pg-disabled {
  opacity: .4;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 700px) {
  .notice-section-head { padding: 14px 16px; }
  .notice-section-head h1 { font-size: 18px; }
  .notice-table col.col-author { display: none; }
  .notice-table thead th.th-author { display: none; }
  .notice-table tbody td.td-author { display: none; }
  .notice-table col.col-num { width: 72px; }
  .notice-table col.col-date { width: 90px; }
  .notice-table thead th { font-size: 12px; padding: 12px 8px; }
  .notice-table tbody td { padding: 12px 8px; font-size: 13px; }
  .notice-table .td-title { padding-left: 12px; }
  .notice-table .td-title a { font-size: 13.5px; }
  .notice-badge { font-size: 10px; padding: 3px 8px; }
  }

.notice-article {
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 14px;
  padding: 30px 30px 34px;
  margin: 16px auto 0;
  max-width: 820px;
}
.notice-article header {
  padding-bottom: 20px;
  border-bottom: 1px solid #eef0f4;
  margin-bottom: 24px;
}
.notice-article h1 {
  font-size: 24px;
  font-weight: 800;
  color: #2e1f4a;
  line-height: 1.35;
  margin-bottom: 10px;
  letter-spacing: -.5px;
}
.notice-article .meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #6a6a70;
}
.notice-article .meta .notice-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  background: #8c00d4;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.notice-article .meta .notice-tag.update { background: #0a8a4a; }

.notice-article .content {
  font-size: 15px;
  line-height: 1.75;
  color: #333;
}
.notice-article .content h2 {
  font-size: 17px;
  font-weight: 800;
  color: #2e1f4a;
  margin: 28px 0 12px;
}
.notice-article .content p { margin: 0 0 14px; }
.notice-article .content ul {
  list-style: disc;
  padding-left: 22px;
  margin: 0 0 16px;
}
.notice-article .content ul li { margin-bottom: 6px; }
.notice-article .content a {
  color: #8c00d4;
  font-weight: 600;
  text-decoration: underline;
}

.notice-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #eef0f4;
  font-size: 14px;
}
.notice-nav a {
  color: #8c00d4;
  font-weight: 600;
}
.notice-nav a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .notice-page { margin: 20px auto; padding: 0 14px 30px; }
  .notice-article { padding: 22px 18px 26px; border-radius: 12px; }
  .notice-article h1 { font-size: 20px; }
  .notice-article .content { font-size: 14.5px; }
  .notice-nav { flex-direction: column; gap: 8px; }
}
