@charset "utf-8";

/* ══════════════════════════════════════
   DJT2026 — 뉴스 latest 스킨 (basic_bxslider)
   CSS variables: --djt-blue, --djt-ink 등은 head.php에 정의됨
   ══════════════════════════════════════ */

.djt-latest-news {
  font-family: 'Pretendard', -apple-system, 'Malgun Gothic', sans-serif;
  font-size: 14px;
  color: #374151;
  min-width: 0;
}

/* ── 헤더 ── */
.djt-latest-news .djt-latest-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 11px;
  border-bottom: 2px solid var(--djt-blue, #1D5FBF);
}
.djt-latest-news .djt-latest-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--djt-navy, #0B2A4A);
}
.djt-latest-news .djt-latest-more {
  font-size: 13px;
  color: var(--djt-blue, #1D5FBF);
  text-decoration: none;
  font-weight: 500;
}
.djt-latest-news .djt-latest-more:hover {
  color: var(--djt-navy, #0B2A4A);
}

/* ── 피처드 카드 (첫 번째 글) ── */
.djt-news-featured {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 2px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e8ed;
  text-decoration: none;
  color: inherit;
}
.djt-news-thumb {
  width: 130px;
  height: 87px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f2f5;
}
/* ← 썸네일 cover: 컨테이너 꽉 채우고 잘리지 않게 자연스럽게 */
.djt-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.djt-news-featured-body {
  flex: 1;
  min-width: 0;
}
.djt-news-featured-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  line-height: 1.45;
  margin: 0 0 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.djt-news-featured:hover .djt-news-featured-title {
  color: var(--djt-blue, #1D5FBF);
}
.djt-news-excerpt {
  font-size: 13px;
  color: #111827;
  line-height: 1.55;
  margin: 0 0 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.djt-news-meta {
  font-size: 11px;
  color: #9aa4b2;
}

/* ── 나머지 글 리스트 ── */
.djt-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.djt-news-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px dashed #e5e8ed;
}
.djt-news-list li:last-child {
  border-bottom: none;
}
.djt-news-list li a {
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: #374151;
}
.djt-news-list-title {
  display: block;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.djt-news-list li a:hover .djt-news-list-title {
  color: var(--djt-blue, #1D5FBF);
}
.djt-news-date {
  flex-shrink: 0;
  font-size: 11px;
  color: #9aa4b2;
}
