/**
 * 공지사항 (notice) — 목록·글보기 모던 UI
 */
body.sebu-notice-board #container {
  padding-top: 8px;
}

body.sebu-notice-board #bo_list .tbl_head01,
body.sebu-notice-board #bo_list .tbl_wrap,
body.sebu-notice-board #bo_v .profile_info,
body.sebu-notice-board #bo_v .bo_v_info,
body.sebu-notice-board #bo_v #bo_vc,
body.sebu-notice-board #bo_v .bo_v_btn,
body.sebu-notice-board .bo_fx:not(.sebu-notice-toolbar__actions) {
  display: none !important;
}

.sebu-notice-page,
.sebu-notice-view {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 4px 40px;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
}

/* —— 목록 히어로 —— */
.sebu-notice-hero {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0 0 22px;
  padding: 22px 24px;
  border: 1px solid var(--notice-line, rgba(15, 23, 42, 0.08));
  border-radius: var(--notice-radius, 20px);
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 55%, #f0f9ff 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 12px 40px rgba(2, 132, 199, 0.07);
}

.sebu-notice-hero__icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #fff;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.35);
}

.sebu-notice-hero__body {
  flex: 1 1 auto;
  min-width: 0;
}

.sebu-notice-hero__kicker {
  margin: 0 0 6px;
  color: #0369a1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sebu-notice-hero__title {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.sebu-notice-hero__desc {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
  word-break: keep-all;
}

.sebu-notice-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.sebu-notice-cats__link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sebu-notice-cats__link:hover {
  border-color: #bae6fd;
  color: #0369a1;
}

.sebu-notice-cats__link.is-active {
  border-color: transparent;
  background: #0f172a;
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

.sebu-notice-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  padding: 0 2px;
}

.sebu-notice-toolbar__count {
  margin: 0;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
}

.sebu-notice-toolbar__count strong {
  color: #0f172a;
  font-weight: 800;
}

.sebu-notice-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sebu-notice-toolbar__actions .btn {
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  background: #fff !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.sebu-notice-toolbar__write {
  border-radius: 999px !important;
  border-color: #0284c7 !important;
  background: #0284c7 !important;
  color: #fff !important;
}

.sebu-notice-chkall {
  margin: 0 0 12px;
}

.sebu-notice-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sebu-notice-card {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  border: 1px solid #e8edf2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.sebu-notice-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #38bdf8, #0284c7);
  opacity: 0.85;
}

.sebu-notice-card:hover,
.sebu-notice-card:focus-within {
  border-color: #bae6fd;
  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.1);
  transform: translateY(-2px);
}

.sebu-notice-card.is-current {
  border-color: #0284c7;
  box-shadow: 0 0 0 1px rgba(2, 132, 199, 0.2), 0 12px 32px rgba(2, 132, 199, 0.12);
}

.sebu-notice-card--alert::before {
  background: linear-gradient(180deg, #fb923c, #ea580c);
}

.sebu-notice-card--policy::before {
  background: linear-gradient(180deg, #94a3b8, #475569);
}

.sebu-notice-card--event::before {
  background: linear-gradient(180deg, #4ade80, #16a34a);
}

.sebu-notice-card--service::before {
  background: linear-gradient(180deg, #60a5fa, #2563eb);
}

.sebu-notice-card__chk {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding-left: 14px;
}

.sebu-notice-card__link {
  flex: 1 1 auto;
  min-width: 0;
  padding: 18px 12px 18px 20px;
  color: inherit;
  text-decoration: none;
}

.sebu-notice-card__chev {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding-right: 18px;
  color: #cbd5e1;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  transition: color 0.15s ease, transform 0.15s ease;
}

.sebu-notice-card:hover .sebu-notice-card__chev {
  color: #0284c7;
  transform: translateX(3px);
}

.sebu-notice-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.sebu-notice-card__cat {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 11px;
  font-weight: 800;
}

.sebu-notice-card--alert .sebu-notice-card__cat {
  background: #ffedd5;
  color: #c2410c;
}

.sebu-notice-card--policy .sebu-notice-card__cat {
  background: #f1f5f9;
  color: #334155;
}

.sebu-notice-card--event .sebu-notice-card__cat {
  background: #dcfce7;
  color: #166534;
}

.sebu-notice-card--service .sebu-notice-card__cat {
  background: #dbeafe;
  color: #1d4ed8;
}

.sebu-notice-card__cat--plain {
  background: #f1f5f9;
  color: #475569;
}

.sebu-notice-card__new {
  padding: 0 8px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 20px;
  letter-spacing: 0.03em;
}

.sebu-notice-card__date {
  margin-left: auto;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.sebu-notice-card__title {
  margin: 0;
  color: #0f172a;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.01em;
  word-break: keep-all;
}

.sebu-notice-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 10px 0 0;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
}

.sebu-notice-card__meta-pill {
  padding: 2px 8px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
}

.sebu-notice-empty {
  padding: 48px 24px;
  border: 1px dashed #cbd5e1;
  border-radius: 20px;
  background: #f8fafc;
  text-align: center;
}

.sebu-notice-empty__title {
  margin: 0 0 8px;
  color: #334155;
  font-size: 17px;
  font-weight: 800;
}

.sebu-notice-empty__desc {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}

.sebu-notice-paging {
  margin-top: 24px;
}

.sebu-notice-paging .pg_page,
.sebu-notice-paging .pg_current {
  border-radius: 10px !important;
}

.board-wrap--eottae-notice .board-header--notice,
.board-wrap--eottae-notice .tbl_head01,
.board-wrap--eottae-notice .tbl_wrap table {
  display: none !important;
}

/* —— 글보기 —— */
.sebu-notice-view__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.sebu-notice-view__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.sebu-notice-view__back:hover {
  border-color: #7dd3fc;
  color: #0284c7;
}

.sebu-notice-view__nav-actions .sebu-notice-view__admin {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sebu-notice-view__hero {
  margin-bottom: 20px;
  padding: 26px 26px 22px;
  border: 1px solid #e8edf2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.sebu-notice-view__hero--alert {
  background: linear-gradient(160deg, #fff7ed 0%, #fff 70%);
  border-color: #fed7aa;
}

.sebu-notice-view__hero--policy {
  background: linear-gradient(160deg, #f8fafc 0%, #fff 70%);
}

.sebu-notice-view__hero--event {
  background: linear-gradient(160deg, #f0fdf4 0%, #fff 70%);
  border-color: #bbf7d0;
}

.sebu-notice-view__hero--service {
  background: linear-gradient(160deg, #eff6ff 0%, #fff 70%);
  border-color: #bfdbfe;
}

.sebu-notice-view__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.sebu-notice-view__channel,
.sebu-notice-view__cat {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.sebu-notice-view__channel {
  background: #0f172a;
  color: #fff;
}

.sebu-notice-view__cat {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
}

.sebu-notice-view__title {
  margin: 0 0 16px;
  color: #0f172a;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  line-height: 1.33;
  letter-spacing: -0.025em;
  word-break: keep-all;
}

.sebu-notice-view__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sebu-notice-view__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
}

.sebu-notice-view__meta-label {
  color: #94a3b8;
  font-weight: 800;
}

.sebu-notice-view__article {
  padding: 28px 26px 32px;
  border: 1px solid #e8edf2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.sebu-notice-view__content {
  color: #1e293b;
  font-size: 16px;
  line-height: 1.78;
  word-break: keep-all;
}

.sebu-notice-view__content h3 {
  margin: 1.4em 0 0.5em;
  color: #0f172a;
  font-size: 1.15em;
  font-weight: 800;
}

.sebu-notice-view__content a {
  color: #0284c7;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sebu-notice-view__content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.sebu-notice-view__images {
  margin-bottom: 18px;
}

.sebu-notice-view__files,
.sebu-notice-view__links {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #f8fafc;
}

.sebu-notice-view__section-title {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
}

.sebu-notice-view__file-list,
.sebu-notice-view__link-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sebu-notice-view__file-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #0284c7;
  font-weight: 700;
  text-decoration: none;
}

.sebu-notice-view__file-link em {
  margin-left: auto;
  color: #94a3b8;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
}

.sebu-notice-view__link-list a {
  display: block;
  padding: 10px 0;
  color: #0284c7;
  font-weight: 700;
  text-decoration: none;
}

.sebu-notice-view__help {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(135deg, #f8fafc, #fff);
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
}

.sebu-notice-view__help strong {
  display: block;
  margin-bottom: 6px;
  color: #0f172a;
  font-size: 14px;
}

.sebu-notice-view__help p {
  margin: 0;
}

.sebu-notice-view__prevnext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.sebu-notice-view__prevnext-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sebu-notice-view__prevnext-item:hover {
  border-color: #7dd3fc;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.08);
}

.sebu-notice-view__prevnext-label {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sebu-notice-view__prevnext-subject {
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.sebu-notice-view__footer {
  margin-top: 24px;
  text-align: center;
}

.sebu-notice-view__list-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
  transition: background 0.15s ease, transform 0.15s ease;
}

.sebu-notice-view__list-btn:hover {
  background: #0284c7;
  transform: translateY(-1px);
}

.board-wrap--eottae-notice .related-posts-wrap.board-seo-related {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #f8fafc;
}

/* 검색 패널 */
.sebu-notice-search.board-search__panel {
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

@media (max-width: 768px) {
  .sebu-notice-hero {
    flex-direction: column;
    padding: 18px 18px 16px;
  }

  .sebu-notice-hero__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .sebu-notice-view__hero,
  .sebu-notice-view__article {
    padding-left: 18px;
    padding-right: 18px;
  }

  .sebu-notice-cats {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .sebu-notice-cats__link {
    flex: 0 0 auto;
  }

  .sebu-notice-card__date {
    margin-left: 0;
    width: 100%;
  }

  .sebu-notice-card__chev {
    display: none;
  }

  .sebu-notice-view__prevnext {
    grid-template-columns: 1fr;
  }
}
