/* 공지사항 상세 — 시안이 없어 사이트 스타일에 맞춰 만든 페이지
   · 맨 위 「공지사항」 제목 위치 · 크기는 목록(notice.html)과 같다(.sec-title, 위 95px)
   · 글 제목 36/48 · 날짜 16 #666 은 카드 상세 팝업(card-modal.css)과 같다
   · 줄은 목록과 같은 1px #e4e8f0, 「공지」 표시는 카드 태그(#eaf2ff 바탕 · 파랑 글자) 모양
   · 「목록」 버튼은 헤더 「앱 다운로드」와 같은 #202936, hover 는 사이트 파랑 */

.ntv
{
  padding: 95px 0 170px;
}

/* ── 글 머리 ── */
.ntv-article
{
  margin-top: 73px;
  border-top: 2px solid #000;
}
.ntv-head
{
  padding: 40px 20px 36px;
  border-bottom: 1px solid #e4e8f0;
}
.ntv-head__label
{
  display: inline-block;
  padding: 0 10px;
  border-radius: 4px;
  background: #eaf2ff;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  line-height: 26px;
}
.ntv-head__title
{
  margin-top: 14px;
  font-size: 36px;
  font-weight: 700;
  line-height: 48px;
}
.ntv-head__date
{
  margin-top: 10px;
  font-size: 16px;
  line-height: 19px;
  color: #666;
}

/* ── 본문: 읽기 좋은 폭 900 가운데, 사진은 원본 폭(760)을 넘기지 않는다 ── */
.ntv-body
{
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 0 80px;
}
.ntv-body__img
{
  width: 100%;
  max-width: 760px;
  height: auto;
  margin: 0 auto 48px;
  border-radius: 15px;
}
.ntv-body__text
{
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: -0.2px;
  color: #333;
}
.ntv-body__text p + p
{
  margin-top: 1em;
}

/* ── 이전글 · 다음글 ── */
.ntv-nav
{
  border-top: 1px solid #e4e8f0;
}
.ntv-nav__row
{
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  padding: 0 20px;
  border-bottom: 1px solid #e4e8f0;
}
.ntv-nav__label
{
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: #000;
}
.ntv-nav__title
{
  min-width: 0;
  overflow: hidden;
  font-size: 17px;
  line-height: 26px;
  color: #333;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ntv-nav__title a
{
  transition: color .2s;
}
.ntv-nav__title a:hover, .ntv-nav__title a:focus-visible
{
  color: var(--blue);
}
.ntv-nav__date
{
  font-size: 15px;
  line-height: 18px;
  color: #666;
}
.ntv-nav__row.is-empty .ntv-nav__title
{
  color: #999;
}

/* ── 목록 버튼 ── */
.ntv-actions
{
  display: flex;
  justify-content: center;
  margin-top: 60px;
}
.ntv-list-btn
{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 56px;
  border-radius: 6px;
  background: #202936;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  transition: background-color .25s ease;
}
.ntv-list-btn:hover, .ntv-list-btn:focus-visible
{
  background: var(--blue);
  outline: none;
}

/* ── 좁은 화면 ── */
@media (max-width: 760px)
{
  .ntv
  {
    padding: 56px 0 96px;
  }
  .ntv-article
  {
    margin-top: 40px;
  }
  .ntv-head
  {
    padding: 28px 4px 24px;
  }
  .ntv-head__title
  {
    font-size: 24px;
    line-height: 1.4;
  }
  .ntv-head__date
  {
    font-size: 14px;
  }
  .ntv-body
  {
    padding: 32px 0 48px;
  }
  .ntv-body__img
  {
    margin-bottom: 28px;
  }
  .ntv-body__text
  {
    font-size: 16px;
    line-height: 1.75;
  }
  .ntv-nav__row
  {
    grid-template-columns: 56px 1fr;
    gap: 12px;
    padding: 14px 4px;
  }
  .ntv-nav__label
  {
    font-size: 14px;
  }
  .ntv-nav__title
  {
    font-size: 15px;
  }
  .ntv-nav__date
  {
    display: none;
  }
  .ntv-actions
  {
    margin-top: 40px;
  }
}
