/* ================================================
   JLS_textlist3 - 텍스트 리스트 스킨 (제목만)
   날짜(왼쪽) + 제목(오른쪽) 레이아웃
   ================================================ */

.JLS_textlist3 {
  width: 100%;
}

.JLS_textlist3 ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.JLS_textlist3 li {
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: stretch;
  min-height: 70px;
}

.JLS_textlist3 li:last-child {
  border-bottom: none;
}

.JLS_textlist3 li a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  padding: 20px 0;
  text-decoration: none;
  transition: background 0.2s;
  min-height: 70px;
  width: 100%;
  box-sizing: border-box;
}

.JLS_textlist3 li a:hover {
  background: #f8fafc;
  margin: 0 -20px;
  padding: 20px;
}

/* 날짜 박스 */
.JLS_textlist3 .date-box {
  flex: 0 0 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: center;
}

.JLS_textlist3 .date-box .year {
  display: block;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 2px;
  line-height: 1;
}

.JLS_textlist3 .date-box .day {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1;
}

/* 텍스트 박스 */
.JLS_textlist3 .text-box {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  align-self: center;
}

.JLS_textlist3 .subject {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: keep-all;
  width: 100%;
}

.JLS_textlist3 li a:hover .subject {
  color: #dc2626;
}

/* 빈 리스트 */
.JLS_textlist3 .empty_li {
  padding: 60px 20px;
  text-align: center;
  color: #94a3b8;
  font-size: 15px;
}

/* ================================================
   반응형 - 모바일
   ================================================ */
@media only all and (max-width: 767px) {
  .JLS_textlist3 li a {
    gap: 14px;
    padding: 16px 0;
  }

  .JLS_textlist3 li a:hover {
    margin: 0;
    padding: 16px 0;
    background: transparent;
  }

  .JLS_textlist3 .date-box {
    flex: 0 0 60px;
  }

  .JLS_textlist3 .date-box .year {
    font-size: 12px;
    margin-bottom: 1px;
  }

  .JLS_textlist3 .date-box .day {
    font-size: 18px;
  }

  .JLS_textlist3 .subject {
    font-size: 15px;
  }
}
