@charset "utf-8";

.notice { width: 100%; box-sizing: border-box; }
.notice ul { list-style: none; padding: 0; margin: 0; }
.notice li { border-bottom: 0.5px solid #ccc; }

.notice li .notice_link {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 21px 0;
  text-decoration: none;
  color: inherit;
}

/* 날짜 박스 */
.notice 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;
}
.notice li .date_box .day {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #e8303a;
  line-height: 1.1;
  transition: color 0.2s;
}
.notice li .date_box .month {
  display: block;
  font-size: 16px;
  color: #999;
  transition: color 0.2s;
}

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

.notice 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; 
}

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

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

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

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