@charset "utf-8";

.boards { width: 482px; box-sizing: border-box; }
.boards ul { list-style: none; padding: 0; margin: 0; }
.boards li { border-bottom: 0.5px solid #ccc; }
.boards li .notice_link {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 21px 0;
  text-decoration: none;
  color: inherit;
}

.boards li { display:flex; align-items:center; gap:20px; padding:16px 0; border-bottom:1px solid #e8e8e8; }
.boards li:first-child {border-top: 2px solid #999;}
.boards li .lt_date { font-size:16px; color:#aaa; flex-shrink:0; white-space:nowrap; margin-left:auto; }
.boards li .subject_wrap { flex:1; overflow:hidden; }
.boards li .subject_wrap a { font-size:17px; color:#222; text-decoration:none; display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* 날짜 박스 */
.boards li .date_box {
  width: 80px;
  height: 80px;
  background: #f1f1f1;
  border-radius: 6px;
  text-align: center;
  flex-shrink: 0;
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}
.boards li .date_box .day {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #e8303a;
  line-height: 1.1;
  transition: color 0.2s;
}
.boards li .date_box .month {
  display: block;
  font-size: 16px;
  color: #999;
  transition: color 0.2s;
}

/* 제목/미리보기 */
.boards li .content_area {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.boards li .post_title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
  transition: color 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block; 
}

.boards li .post_title strong {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.boards li .post_preview {
  font-size: 18px;
  color: #666;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block; 
}

/* hover */
.boards li .notice_link:hover .date_box { background: #e8303a; }
.boards li .notice_link:hover .date_box .day,
.boards li .notice_link:hover .date_box .month { color: #fff; }
.boards li .notice_link:hover .post_title { color: #e8303a; }
.boards li .notice_link:hover .arrow { color: #e8303a; }

.boards li.empty_li {
  padding: 40px 0;
  text-align: center;
  color: #999;
  font-size: 14px;
}