/* ==========================================================================
   [NOTICE PAGE MAIN CONTAINER & HEADER]
   공통 header CSS 방해 없이 본문 레이아웃만 제어
   ========================================================================== */
.notice-page-container {
  max-width: 1200px;
  margin: 120px auto 0; /* 기존 공통 헤더 높이에 맞춘 상단 여백 */
  padding: 20px 20px 100px;
  box-sizing: border-box;
}

.page-header {
  margin-bottom: 36px;
  padding-top: 10px;
}

/* 메인페이지 OFFICIAL CHANNELS 스타일과 동일하게 맞춘 제목 */
.page-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.2;
}

/* 메인페이지의 빨간색/핑크색 선 스타일 적용 */
.page-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1.4rem;
  background-color: #ff2a6d;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255, 42, 109, 0.6);
}

.page-subtitle {
  color: #8e95a5;
  margin-top: 10px;
  font-size: 0.95rem;
  padding-left: 16px;
}

/* ==========================================================================
   [NOTICE BOARD / TABLE LIST]
   ========================================================================== */
.notice-list-wrapper {
  background-color: #12141d;
  border: 1px solid #232736;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.notice-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.notice-table th,
.notice-table td {
  padding: 18px 20px;
  border-bottom: 1px solid #232736;
}

.notice-table th {
  background-color: #1a1d2b;
  color: #8e95a5;
  font-size: 0.85rem;
  font-weight: 700;
}

.notice-row {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.notice-row:hover {
  background-color: #1a1d2b;
}

.notice-row.important {
  background-color: rgba(255, 42, 109, 0.04);
}

/* 뱃지 스타일 */
.badge-category {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-category.notice {
  background-color: rgba(255, 42, 109, 0.15);
  color: #ff2a6d;
  border: 1px solid rgba(255, 42, 109, 0.4);
}

.badge-category.update {
  background-color: rgba(0, 229, 255, 0.15);
  color: #00e5ff;
  border: 1px solid rgba(0, 229, 255, 0.4);
}

.badge-category.event {
  background-color: rgba(255, 183, 3, 0.15);
  color: #ffb703;
  border: 1px solid rgba(255, 183, 3, 0.4);
}

.notice-title-cell {
  color: #ffffff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.badge-important {
  background-color: #ff2a6d;
  color: #ffffff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 800;
  flex-shrink: 0;
}

/* 공지사항 상세 보기 토글 영역 */
.notice-detail-row {
  display: none;
  background-color: #0d0f17;
}

.notice-detail-row.active {
  display: table-row;
}

.notice-detail-content {
  padding: 28px 24px;
  color: #d1d5db;
  line-height: 1.8;
  font-size: 0.95rem;
  border-bottom: 1px solid #232736;
}

/* ==========================================================================
   [RESPONSIVE DESIGN]
   ========================================================================== */
@media (max-width: 768px) {
  .notice-page-container {
    margin-top: 90px;
  }

  .notice-table th:nth-child(3),
  .notice-table td:nth-child(3),
  .notice-table th:nth-child(4),
  .notice-table td:nth-child(4) {
    display: none;
  }
}