.snb-notice-bar {
  width: 100%;
  background-color: #222222;
  color: #ffffff;
}

.snb-notice-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
}

.snb-notice-label {
  font-size: 13px;
  font-weight: 600;
  background: #f5c542;
  color: #222222;
  padding: 2px 6px;
  border-radius: 3px;
}

.snb-notice-marquee {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.snb-notice-text {
  display: inline-block;
  will-change: transform;
  animation: snb-marquee 20s linear infinite;
}

.snb-notice-link {
  color: inherit;
  text-decoration: none;
}

.snb-notice-link:hover {
  text-decoration: underline;
}

@keyframes snb-marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.snb-notice-marquee:hover .snb-notice-text {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .snb-notice-text {
    animation: none;
  }
}

/* PC */
@media (min-width: 1024px) {
  .snb-notice-inner {
    padding: 10px 20px;
  }
  .snb-notice-text {
    font-size: 15px;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .snb-notice-inner {
    padding: 8px 16px;
  }
  .snb-notice-text {
    font-size: 14px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .snb-notice-inner {
    padding: 6px 10px;
    gap: 6px;
  }
  .snb-notice-label {
    font-size: 12px;
    padding: 1px 4px;
  }
  .snb-notice-text {
    font-size: 13px;
  }
}

/* 공지 목록 및 상세 카드 */
.snb-notice-list-wrap {
  max-width: 960px;
  margin: 0 auto;
  text-align: left;
}

.snb-notice-detail {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  background-color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.snb-notice-detail + .snb-notice-list {
  margin-top: 32px;
}

.snb-notice-detail-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.snb-notice-detail-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #0ea5e9;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.snb-notice-detail-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.4;
  color: #111827;
  word-break: break-word;
}

.snb-notice-detail-date {
  font-size: 14px;
  color: #6b7280;
}

.snb-notice-detail-body {
  font-size: 15px;
  line-height: 1.8;
  color: #1f2937;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.snb-notice-detail-actions {
  margin-top: 20px;
  text-align: right;
}

.snb-notice-back-link {
  display: inline-block;
  padding: 8px 18px;
  background-color: #111827;
  color: #ffffff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
}

.snb-notice-back-link:hover {
  background-color: #000000;
}

.snb-notice-card-empty {
  margin: 0;
  color: #94a3b8;
}

.snb-notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.snb-notice-item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background-color: #fff;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.snb-notice-item.is-active {
  border-color: #0ea5e9;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.2);
}

.snb-notice-index-link {
  flex: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  text-align: left;
  min-width: 0;
}

.snb-notice-index-number {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background-color: #111827;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

.snb-notice-index-title {
  flex: 1;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.snb-notice-index-date {
  font-size: 13px;
  color: #6b7280;
  margin-left: 12px;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .snb-notice-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .snb-notice-index-date {
    margin-left: 0;
  }

  .snb-notice-index-title {
    white-space: normal;
  }
}

.snb-notice-pagination {
  margin-top: 24px;
  text-align: center;
}

.snb-notice-pagination .page-numbers {
  display: inline-block;
  margin: 0 4px;
  padding: 4px 10px;
}

.snb-notice-pagination .current {
  background-color: #111827;
  color: #ffffff;
  border-radius: 999px;
}
/* 전체 공지 보기 버튼 */
.snb-notice-all-btn-wrap {
  margin-top: 24px;
  text-align: right;
}

.snb-notice-all-btn {
  display: inline-block;
  padding: 8px 16px;
  background-color: #222222;
  color: #ffffff;
  text-decoration: none;
  border-radius: 3px;
}

.snb-notice-all-btn:hover {
  background-color: #444444;
}
