@charset "utf-8";

/* ══════════════════════════════════════════════════════════
   메인 최신글 (뉴스)  —  g5/skin/latest/news
   왼쪽 대표 이미지 + 오른쪽 목록
   ══════════════════════════════════════════════════════════ */

.lt-news {
  --lt-point: #002a71;
  --lt-rule: #dddddd;
  --lt-rule-top: #111111;
  --lt-date: #bbbbbb;

  display: flex;
  align-items: flex-start;
  gap: 7%;
}

/* ── 왼쪽 : 대표 글 ────────────────────────────────── */
.lt-news__feature {
  /* 46% 에서 50px 줄인다. 줄인 만큼은 오른쪽 목록(flex:1)이 그대로 가져간다. */
  flex: 0 0 calc(46% - 50px);
  max-width: calc(46% - 50px);
  display: block;
  color: #000;
  text-decoration: none;
}

.lt-news__thumb {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #f2f2f2;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .18);
}

.lt-news__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.lt-news__feature:hover .lt-news__thumb img {
  transform: scale(1.04);
}

/* 본문에 이미지가 없을 때 — 아이콘 + NO IMAGE */
.lt-news__noimg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  background: #f2f2f2;
  color: #c2c2c2;
}

.lt-news__noimg svg {
  width: 62px;
  height: 62px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lt-news__noimg circle {
  fill: currentColor;
  stroke: none;
}

.lt-news__noimg em {
  font-style: normal;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.lt-news__feature-tit {
  display: block;
  margin-top: 24px;
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1.45;

  /* 한 줄로 두고 넘치면 말줄임(...)
     두 줄까지 보이게 하려면 아래 세 줄을 지우고
     display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; 로 바꾼다 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.25s;
}

.lt-news__feature:hover .lt-news__feature-tit {
  color: var(--lt-point);
}

/* ── 오른쪽 : 목록 ─────────────────────────────────── */
.lt-news__list {
  flex: 1 1 auto;
  min-width: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--lt-rule-top);
}

.lt-news__list > li + li {
  border-top: 1px solid var(--lt-rule);
}

.lt-news__list > li > a {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  padding: 24px 4px 32px;
  color: #000;
  text-decoration: none;
}

.lt-news__date {
  flex: 0 0 auto;
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--lt-date);
  line-height: 1.2;
  /* 연도/월일 두 줄이라 줄간격을 좁혀 한 덩어리로 보이게 한다 */
  letter-spacing: 0.02em;
}

.lt-news__date em {
  display: block;
  font-style: normal;
}

.lt-news__tit {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1.4375rem;
  font-weight: 700;
  line-height: 1.5;

  /* 길면 한 줄 말줄임 */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.25s;
}

.lt-news__list > li > a:hover .lt-news__tit,
.lt-news__list > li > a:focus-visible .lt-news__tit {
  color: var(--lt-point);
}

/* ── 글이 없을 때 ──────────────────────────────────── */
.lt-news--empty {
  display: block;
}

.lt-news__empty {
  padding: 80px 0;
  border-top: 1px solid var(--lt-rule-top);
  border-bottom: 1px solid var(--lt-rule);
  text-align: center;
  color: #888;
}

/* ── 반응형 ────────────────────────────────────────── */
@media (max-width: 1280px) {
  .lt-news {
    gap: 54px;
  }

  .lt-news__list > li > a {
    gap: 30px;
    padding: 19px 4px 26px;
  }
}

/* 좁아지면 위아래로 쌓는다 */
@media (max-width: 1024px) {
  .lt-news {
    flex-direction: column;
    gap: 44px;
  }

  .lt-news__feature {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .lt-news__list {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .lt-news__thumb {
    border-radius: 12px;
  }

  .lt-news__noimg {
    gap: 6px;
  }

  .lt-news__noimg svg {
    width: 46px;
    height: 46px;
  }

  .lt-news__noimg em {
    font-size: 0.75rem;
  }

  .lt-news__feature-tit {
    margin-top: 14px;
    font-size: 1.25rem;
  }

  .lt-news__list > li > a {
    gap: 18px;
    padding: 18px 2px 24px;
  }

  .lt-news__date {
    font-size: 0.875rem;
  }

  .lt-news__tit {
    font-size: 1.125rem;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}