/* ================================================
   JLS_textlist2 - 텍스트 리스트 스킨
   날짜(왼쪽) + 제목/설명(오른쪽) 레이아웃
   ================================================ */

.JLS_textlist2 {
  width: 100%;
}

.JLS_textlist2 ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.JLS_textlist2 li {
  border-bottom: 1px solid #e2e8f0;
}

.JLS_textlist2 li:last-child {
  border-bottom: none;
}

.JLS_textlist2 li a {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  padding: 24px 0;
  text-decoration: none;
  transition: background 0.2s;
}

.JLS_textlist2 li a:hover {
  background: #f8fafc;
  margin: 0 -20px;
  padding: 24px 20px;
}

/* 날짜 박스 */
.JLS_textlist2 .date-box {
  flex: 0 0 80px;
  text-align: center;
}

.JLS_textlist2 .date-box .year {
  display: block;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 2px;
}

.JLS_textlist2 .date-box .day {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1;
}

/* 텍스트 박스 */
.JLS_textlist2 .text-box {
  flex: 1;
  min-width: 0;
}

.JLS_textlist2 .subject {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: keep-all;
}

.JLS_textlist2 li a:hover .subject {
  color: #dc2626;
}

.JLS_textlist2 .content {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 빈 리스트 */
.JLS_textlist2 .empty_li {
  padding: 60px 20px;
  text-align: center;
  color: #94a3b8;
  font-size: 15px;
}

/* ================================================
   반응형 - 모바일
   ================================================ */
@media only all and (max-width: 767px) {
  .JLS_textlist2 li a {
    flex-direction: column;
    gap: 12px;
    padding: 20px 0;
  }

  .JLS_textlist2 li a:hover {
    margin: 0;
    padding: 20px 0;
    background: transparent;
  }

  .JLS_textlist2 .date-box {
    flex: none;
    display: flex;
    align-items: baseline;
    gap: 6px;
    text-align: left;
  }

  .JLS_textlist2 .date-box .year {
    font-size: 14px;
    margin-bottom: 0;
  }

  .JLS_textlist2 .date-box .day {
    font-size: 20px;
  }

  .JLS_textlist2 .subject {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .JLS_textlist2 .content {
    font-size: 13px;
  }
}
