@charset "utf-8";

/* 새글 스킨 (latest) : 공지사항 한 줄
   ------------------------------------------------------------------
   히어로 아래 얇은 띠 안에서 한 줄씩 세로로 넘어갑니다.
   띠 자체의 배경 · 라벨 · 전체보기 버튼은 main_html/main_notice.html 에 있습니다.
   색과 글자 크기는 css/layout.css 의 :root 값을 그대로 씁니다. */

/* 한 줄의 높이는 감싸는 .nt_roll 과 같아야 합니다.
   높이가 어긋나면 넘어갈 때 윗줄이 걸쳐 보입니다. (지금 2.6rem) */
.nt_list li,
.nt_list li a {
  display: flex;
  align-items: center;
  height: 2.6rem;
}

.nt_list li a {
  justify-content: space-between;
  gap: 2.4rem;
  width: 100%;
  transition: color 0.25s;
}

/* 제목 : 길면 말줄임.
   min-width:0 이 없으면 flex 칸이 글자만큼 늘어나 줄임표가 듣지 않습니다. */
.nt_list .nt_tit {
  flex: 1 1 auto;
  min-width: 0;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  font-size: 1.6rem;
  color: var(--text-color);
  transition: color 0.25s;
}

.nt_list li a:hover .nt_tit {
  color: var(--strong-color);
}

/* 새 글 표시 : 글자 배지 대신 작은 골드 점 */
.nt_list .nt_new {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 0.6rem;
  vertical-align: middle;
  background: var(--point-color);
  border-radius: 50%;
}

/* 댓글 수 */
.nt_list .nt_cmt {
  margin-left: 0.6rem;
  font-style: normal;
  font-size: 1.5rem;
  color: var(--point-dark);
}

/* 비밀글 자물쇠 */
.nt_list .nt_tit .icon {
  width: 1.4rem;
  height: 1.4rem;
  margin-right: 0.4rem;
  vertical-align: -2px;
  stroke: var(--text-color-sub);
  stroke-width: 1.4;
}

/* 날짜 : 자릿수가 바뀌어도 흔들리지 않게 고정폭 숫자 */
.nt_list .nt_date {
  flex: 0 0 auto;

  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--text-color-sub);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.nt_list .nt_empty {
  font-size: 1.6rem;
  color: var(--text-color-sub);
}

@media (max-width: 768px) {
  .nt_list li,
  .nt_list li a {
    height: 2.4rem;
  }

  .nt_list .nt_tit {
    font-size: 1.5rem;
  }

  /* 좁은 화면에서는 날짜를 빼고 제목에 폭을 다 준다 */
  .nt_list .nt_date {
    display: none;
  }
}
