/* ============================================
   StoLift Korea - 뉴스 페이지 전용 스타일
   ============================================ */

/* Hero */
.news-hero {
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-2) 100%);
  padding: 120px 0 64px;
}

.news-hero-content {
  max-width: 600px;
}

.news-hero .page-hero-title {
  margin: 14px 0 10px;
}

/* Filter Bar */
.news-filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 0;
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-100);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.filter-btn:hover {
  background: var(--yellow-light);
  color: var(--black);
}

.filter-btn.active {
  background: var(--black);
  color: var(--white);
}

/* News List Section */
.news-list-section {
  background: var(--white);
}

/* Featured News */
.news-featured {
  margin-bottom: 40px;
}

.news-featured-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition);
}

.news-featured-card:hover {
  border-color: var(--yellow);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.news-featured-img {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.news-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.news-featured-card:hover .news-featured-img img {
  transform: scale(1.04);
}

.news-featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

.news-featured-new {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--black);
  color: var(--yellow);
  font-size: 0.7rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.08em;
}

.news-featured-body {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-date-line {
  font-size: 0.8rem;
  color: var(--gray-400);
  font-weight: 500;
  margin-bottom: 10px;
}

.news-featured-title {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--black);
  margin-bottom: 14px;
}

.news-featured-excerpt {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 20px;
}

.news-read-more-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--yellow-dark);
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-article-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.news-article-card:hover {
  border-color: var(--yellow);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.news-article-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--cream);
}

.news-article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.news-article-card:hover .news-article-img img {
  transform: scale(1.06);
}

.news-article-img-placeholder {
  background: var(--cream-2);
}

.news-placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-placeholder-img img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.news-tag-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

.news-article-body {
  padding: 20px 22px 22px;
}

.news-article-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--black);
  margin: 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-article-excerpt {
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 10px;
}

.news-article-card .read-more {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--yellow-dark);
  margin-top: 6px;
}

.news-date {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .news-featured-card {
    grid-template-columns: 1fr;
  }

  .news-featured-img {
    min-height: 200px;
    max-height: 260px;
  }

  .news-featured-body {
    padding: 24px;
  }

  .news-featured-title {
    font-size: 1.15rem;
  }
}

@media (max-width: 560px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .filter-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
}
