/* ============================================================
   普天科创公共服务平台 — 新闻列表页样式
   ============================================================ */

/* 页面头部 */
.page-header {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 48px 0 40px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.gold-line {
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #c9a84c, #f0d68a);
}

/* 分类筛选按钮 */
.category-btn {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}
.category-btn:hover {
  background: #f1f5f9;
  color: #0f1f3d;
}
.category-btn.active {
  background: #0f1f3d;
  color: #ffffff;
  border-color: #0f1f3d;
}

/* 新闻卡片 */
.news-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.news-card-img-wrap {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #0f1f3d, #1e40af);
}
.news-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-card-img-wrap img {
  transform: scale(1.05);
}
.news-card-img-wrap .category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255,255,255,0.92);
  color: #0f1f3d;
  backdrop-filter: blur(8px);
}
.news-card-body {
  padding: 20px 24px 24px;
}
.news-card-date {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 8px;
}
.news-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.news-card:hover .news-card-title {
  color: #1e40af;
}
.news-card-summary {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  font-size: 12px;
  color: #94a3b8;
}

/* 顶部导航 active 状态 */
.nav-link.active {
  color: #0f1f3d !important;
  font-weight: 600;
}
