/* ============================================================
 * 공지사항 신규 디자인
 * - 모던한 카드 리스트 (1줄 가로형)
 * - 사이트 기본 배경은 건들지 않음
 * ============================================================ */

.nt2-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  box-sizing: border-box;
}

/* ─── Hero ──────────────────────────────────────────────── */
.nt2-hero {
  padding: 80px 0 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nt2-eyebrow {
  display: inline-block;
  color: #00B8FC;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.nt2-hero-title {
  color: #ffffff;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin: 0 0 16px;
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

.nt2-hero-desc {
  color: #a8acb3;
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
}

/* ─── Section ────────────────────────────────────────────── */
.nt2-section {
  padding: 60px 0 100px;
}

/* ─── Card List (1열 가로형) ─────────────────────────────── */
.nt2-card-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ─── Card (가로 1줄) ────────────────────────────────────── */
.nt2-card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
  background: #131418;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  overflow: hidden;
  min-height: 0;
}

.nt2-card::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, #00B8FC, #6E45FF);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.nt2-card:hover {
  transform: translateX(2px);
  border-color: rgba(0, 184, 252, 0.45);
  background: #181a20;
}

.nt2-card:hover::before {
  opacity: 1;
}

.nt2-card.is-pinned {
  background: linear-gradient(90deg, #131e2e 0%, #131418 60%);
  border-color: rgba(0, 184, 252, 0.3);
}

/* ─── Card Body (좌측 콘텐츠) ────────────────────────────── */
.nt2-card-body {
  flex: 1;
  min-width: 0;
}

/* ─── Card Side (우측: 날짜 + 화살표) ────────────────────── */
.nt2-card-side {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

/* ─── Card Meta (tags) ──────────────────────────────────── */
.nt2-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  min-height: 0;
}

.nt2-card-meta:empty {
  display: none;
}

.nt2-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}

.nt2-tag-pin {
  background: rgba(0, 184, 252, 0.12);
  color: #00B8FC;
  border: 1px solid rgba(0, 184, 252, 0.3);
}

.nt2-tag-cat {
  background: rgba(255, 255, 255, 0.06);
  color: #c8ccd4;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nt2-tag-new {
  background: linear-gradient(135deg, #ff5e5e, #ff8a3d);
  color: #ffffff;
  font-weight: 700;
}

/* ─── Card Title / Desc ─────────────────────────────────── */
.nt2-card-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  letter-spacing: -0.3px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: keep-all;
}

.nt2-card-desc {
  color: #888c95;
  font-size: 13px;
  line-height: 1.55;
  margin: 6px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: keep-all;
}

.nt2-card-date {
  color: #8e9099;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nt2-card-arrow {
  color: #6b6f78;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nt2-card:hover .nt2-card-arrow {
  background: #00B8FC;
  color: #000;
  transform: translateX(2px);
}

/* ─── Pager (PC) ────────────────────────────────────────── */
.nt2-pager {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

.nt2-pager .programPage {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: 0;
  text-align: center;
}

.nt2-pager .programPage a,
.nt2-pager .programPage strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #c8ccd4;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  line-height: 1;
  box-sizing: border-box;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nt2-pager .programPage a:hover {
  background: rgba(0, 184, 252, 0.08);
  border-color: rgba(0, 184, 252, 0.4);
  color: #ffffff;
}

.nt2-pager .programPage a.active,
.nt2-pager .programPage strong {
  background: #00B8FC;
  border-color: #00B8FC;
  color: #000;
  font-weight: 700;
}

.nt2-pager .programPage a.page_prev,
.nt2-pager .programPage a.page_next,
.nt2-pager .programPage a.page_first,
.nt2-pager .programPage a.page_last {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 13px;
}

.nt2-pager .programPage a.page_prev:hover,
.nt2-pager .programPage a.page_next:hover,
.nt2-pager .programPage a.page_first:hover,
.nt2-pager .programPage a.page_last:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.nt2-pager .programPage img {
  display: inline-block;
  vertical-align: middle;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* ─── More Button (Mobile) ──────────────────────────────── */
.nt2-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

.nt2-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  font-family: inherit;
}

.nt2-more-btn:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #000;
}

.nt2-more-btn:active {
  transform: scale(0.98);
}

/* ─── Empty ─────────────────────────────────────────────── */
.nt2-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
  color: #6b6f78;
  text-align: center;
}

.nt2-empty svg {
  margin-bottom: 18px;
  opacity: 0.6;
}

.nt2-empty p {
  font-size: 16px;
  margin: 0;
}

/* ─── PC/Mobile 분리 ─────────────────────────────────────── */
/* 기본: PC = 페이지네이션 표시, 모바일 더보기 숨김 */
.nt2-more-wrap {
  display: none;
}

.nt2-pager {
  display: flex;
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nt2-hero-title {
    font-size: 44px;
  }
}

@media (max-width: 768px) {
  .nt2-inner {
    padding: 0 20px;
  }

  .nt2-hero {
    padding: 50px 0 36px;
  }

  .nt2-hero-title {
    font-size: 34px;
  }

  .nt2-hero-desc {
    font-size: 15px;
  }

  .nt2-section {
    padding: 40px 0 70px;
  }

  .nt2-card-grid {
    gap: 10px;
  }

  /* 모바일: 카드 안 좌우 배치 → 위아래로 적층 */
  .nt2-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 18px;
    border-radius: 12px;
  }

  .nt2-card-title {
    font-size: 16px;
  }

  .nt2-card-desc {
    font-size: 13px;
  }

  .nt2-card-side {
    width: 100%;
    justify-content: space-between;
  }

  .nt2-more-wrap {
    margin-top: 36px;
  }

  .nt2-more-btn {
    padding: 12px 28px;
    font-size: 13px;
  }

  /* 모바일: 페이지네이션 숨기고 더 보기만 표시 */
  .nt2-pager {
    display: none;
  }
  .nt2-more-wrap {
    display: flex;
  }
}
