/* ========================================
   언론 속 심형래 - 카드 리스트형 (신규 디자인)
   참고 UI: 블로그/뉴스 피드형 2열 → 모바일 1열
   ======================================== */

/* 섹션 베이스 */
.news-section {
  background: var(--bg);
  padding: 100px 0;
}

/* 리스트 래퍼 */
.news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  max-width: 960px;
  margin: 40px auto 0;
}

/* 아이템(카드) */
.news-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid #eef1f4;
}

.news-thumb {
  width: 280px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f5f7;
  box-shadow: 0 2px 10px rgb(0 0 0 / 6%);
}
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.news-item:hover .news-thumb img {
  transform: scale(1.04);
}

.news-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}
.news-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef3ff;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
}

.news-title-link {
  text-decoration: none;
  color: var(--txt);
}
.news-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.2px;
  margin: 0 0 10px;
}

.news-desc {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 16px;
}

.news-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.news-author .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e9eef5;
}
.news-author .who {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.news-author .name {
  font-weight: 700;
  font-size: 0.95rem;
}
.news-author .role {
  color: var(--muted);
  font-size: 0.85rem;
}

/* 링크 버튼 */
.news-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.news-link:hover {
  color: var(--accent-dark);
}

/* 반응형 */
@media (width <= 1024px) {
  .news-list {
    gap: 40px;
  }
  .news-item {
    grid-template-columns: 240px 1fr;
  }
  .news-thumb {
    width: 240px;
    height: 180px;
  }
}

@media (width <= 768px) {
  .news-section {
    padding: 70px 0;
  }
  .news-list {
    gap: 32px;
  }
  .news-item {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 28px;
  }
  .news-thumb {
    width: 100%;
    height: 220px;
  }
  .news-title {
    font-size: 1.1rem;
  }
  .news-desc {
    font-size: 0.95rem;
  }
}

@media (width <= 480px) {
  .news-thumb {
    height: 180px;
  }
  .news-desc {
    font-size: 0.9rem;
  }
}

/* =====================================================
   현재 HTML 구조(.news-slider / .news-card ...)와의 호환
   - 슬라이더 래퍼를 일반 리스트 컨테이너로 전환
   - 카드 레이아웃을 좌썸네일/우본문 구조로 매핑
   ===================================================== */

/* 슬라이더 래퍼를 일반 컨테이너로 */
.news-slider {
  max-width: 960px;
  margin: 40px auto 0;
  overflow: visible;
}
.news-scroll,
.news-container {
  overflow: visible;
  padding: 0;
}
.news-track {
  display: block;
  gap: 0;
}
.slider-arrow {
  display: none;
}

/* 카드 = 리스트 아이템 형태로 매핑 */
.news-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid #eef1f4;
  background: transparent;
  box-shadow: none;
  border: 0;
}

.news-image {
  width: 280px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f5f7;
  box-shadow: 0 2px 10px rgb(0 0 0 / 6%);
}
.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}
.news-card:hover .news-image img {
  transform: scale(1.04);
}

.news-content {
  padding: 0;
  display: block;
}
.news-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.2px;
  margin: 0 0 10px;
}
.news-excerpt {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 16px;
}
.news-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid #eef1f4;
}
.news-source {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  background: #eef3ff;
  padding: 4px 10px;
  border-radius: 999px;
}
.news-date {
  font-size: 0.85rem;
  color: var(--muted);
}

@media (width <= 1024px) {
  .news-card {
    grid-template-columns: 240px 1fr;
    gap: 20px;
    padding-bottom: 32px;
  }
  .news-image {
    width: 240px;
    height: 180px;
  }
}

@media (width <= 768px) {
  .news-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .news-image {
    width: 100%;
    height: 220px;
  }
  .news-title {
    font-size: 1.1rem;
  }
}

@media (width <= 480px) {
  .news-image {
    height: 180px;
  }
}
