.news-container {
  min-height: 60vh;
}

.news-categories {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 4px;
  flex-wrap: wrap;
}

.cat-tab {
  padding: 6px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.cat-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.cat-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-card {
  display: block;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-body);
  transition: all 0.2s;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

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

.news-card-body {
  padding: 16px 20px;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.news-category-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.news-date {
  font-size: 12px;
  color: var(--text-muted);
}

.news-card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.news-card-summary {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* detail page */
.news-detail {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.detail-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.detail-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.detail-summary {
  font-size: 14px;
  color: var(--primary);
  padding: 12px 16px;
  background: var(--primary-light);
  border-left: 3px solid var(--primary);
  border-radius: 0 6px 6px 0;
  margin-bottom: 24px;
  line-height: 1.6;
}

.detail-content {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-body);
}

.detail-content p {
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .news-container { padding: 12px; }
  .news-card-body { padding: 12px 14px; }
  .news-card-title { font-size: 15px; }
  .detail-title { font-size: 19px; }
  .detail-content { font-size: 14px; }
  .news-detail { padding: 16px; }
}
