/* ============================================================
   공지사항 (2026-09-07)
   홈 상단의 한 줄 띠 + /notice/ 목록 화면에서 함께 쓴다.
   ============================================================ */

/* ---- 홈 상단 띠 ---- */
.notice-bar {
  max-width: 1060px;
  margin: 18px auto 0;
  padding: 0 24px;
}
.notice-bar a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border: 1px solid rgba(231, 201, 140, 0.3);
  border-radius: 14px;
  background: linear-gradient(100deg, rgba(231, 201, 140, 0.11), rgba(155, 122, 216, 0.08));
  color: #f0e9fa;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  transition: border-color 0.2s, transform 0.2s;
}
.notice-bar a:hover {
  border-color: rgba(231, 201, 140, 0.65);
  transform: translateY(-1px);
}
.notice-bar .tag {
  flex: 0 0 auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(231, 201, 140, 0.18);
  color: #e7c98c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.notice-bar .headline {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.notice-bar .more {
  flex: 0 0 auto;
  color: #b8abcf;
  font-size: 12.5px;
}
.notice-bar button {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #8d82a3;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}
.notice-bar button:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #e7c98c;
}

/* ---- 목록 화면 ---- */
.notice-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}
.notice-shell > small {
  color: #e7c98c;
  letter-spacing: 0.2em;
  font-size: 11px;
  font-weight: 700;
}
.notice-shell h1 {
  font-family: 'Gowun Batang', serif;
  font-size: clamp(28px, 6vw, 38px);
  margin: 12px 0 34px;
  color: #f5f0fb;
}
.notice-item {
  border: 1px solid rgba(214, 194, 240, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  padding: 24px 26px;
  margin-bottom: 14px;
}
.notice-item header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.notice-item .tag {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(231, 201, 140, 0.16);
  color: #e7c98c;
  font-size: 11px;
  font-weight: 700;
}
.notice-item time {
  color: #8d82a3;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}
.notice-item h2 {
  font-family: 'Gowun Batang', serif;
  font-size: 20px;
  line-height: 1.5;
  margin: 0 0 14px;
  color: #f5f0fb;
  text-wrap: balance;
}
.notice-item p {
  margin: 0 0 10px;
  color: #c4bad6;
  font-size: 14.5px;
  line-height: 1.85;
}
.notice-item .go {
  display: inline-block;
  margin-top: 8px;
  color: #e7c98c;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(231, 201, 140, 0.35);
}
.notice-item .go:hover {
  border-bottom-color: #e7c98c;
}
.notice-empty {
  color: #7f748f;
  text-align: center;
  padding: 40px 0;
}

@media (max-width: 700px) {
  .notice-bar { padding: 0 16px; }
  .notice-bar a { flex-wrap: wrap; gap: 8px 10px; font-size: 13px; }
  .notice-bar .headline { white-space: normal; flex: 1 1 100%; order: 3; }
  .notice-bar .more { display: none; }
  .notice-shell { padding: 28px 16px 64px; }
  .notice-item { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .notice-bar a { transition: none; }
}
.notice-bar a:focus-visible,
.notice-bar button:focus-visible {
  outline: 2px solid #e7c98c;
  outline-offset: 3px;
}
