/* JLS_totalnotice - 이미지 카드 슬라이드 스킨 */

/* 슬라이드 기본 */
.swiper-slide {
  height: auto;
  box-sizing: border-box;
}

/* 카드 아이템 */
.card-item {
  display: block;
  width: 100%;
  background: #fff;
  border-radius: 50px 10px 50px 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease; padding: 20px;
}

.card-item:hover {

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* 썸네일 이미지 영역 - 3:2.5 비율 */
.card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2.4;
  overflow: hidden;
  background: #f1f5f9;   border-radius: 30px 5px 30px 5px;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-item:hover .card-thumb img {
  transform: scale(1.05);
}

/* 텍스트 정보 영역 */
.card-info {
  padding: 16px 10px 20px;
  background: #fff; width: 100%; float: left
}

/* 라벨 - 이미지와 제목 사이 */
.JLS_totalnotice {
position: relative!important; width: 100%; float: left; padding: 0px!important;
}

.JLS_totalnotice  .label_css {
  display: inline-block;
  padding: 10px 15px!important;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #64748b; position: relative!important; margin-bottom: 10px;
}

.card-label .label.labelcolor1 {
  background: #3b82f6;
}

.card-label .label.labelcolor2 {
  background: #f59e0b;
}

.card-label .label.labelcolor-default {
  background: #64748b;
}

/* 제목 */
.card-title {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: keep-all; width: 100%; float: left
}

.card-item:hover .card-title {
  color: #3b82f6;
}

/* 날짜 */
.card-date {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 400;
}

/* 빈 리스트 메시지 */
.empty_li {
  text-align: center;
  padding: 60px 20px;
  color: #94a3b8;
  font-size: 15px;
}

/* 모바일 대응 */
@media only all and (max-width: 767px) {
  .card-thumb {
    aspect-ratio: 3 / 2.5;
  }

  .card-info {
    padding: 14px 16px 16px;
  }

  .card-label {
    margin-bottom: 8px;
  }

  .card-label .label {
    font-size: 11px;
    padding: 4px 12px;
  }

  .card-title {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .card-date {
    font-size: 12px;
  }
}
