/* ============ 页面 Banner ============ */
.page-banner {
  background: linear-gradient(135deg, #1a3a5c 0%, #2c5f8d 100%);
  color: #fff;
  padding: 50px 0;
  text-align: center;
}
.page-banner h1 { font-size: 28px; margin-bottom: 8px; }
.page-banner p { color: #c8ddf0; font-size: 14px; }

/* ============ 面包屑 ============ */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid #eef2f7;
  padding: 12px 0;
  font-size: 13px;
  color: #7a8fa6;
}
.breadcrumb a { color: #5a6f85; }
.breadcrumb a:hover { color: #1a73e8; }
.breadcrumb span { margin: 0 8px; color: #c5d2e0; }

/* ============ 新闻主体 ============ */
.news-main { padding: 50px 0 60px; background: #f7f9fc; }

/* 置顶头条 */
.news-featured {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-bottom: 40px;
  transition: all 0.3s;
}
.news-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(26,115,232,0.12);
}
.news-featured a {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.featured-img { height: 320px; overflow: hidden; }
.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.news-featured:hover .featured-img img { transform: scale(1.05); }
.featured-body { padding: 40px; }
.featured-tag {
  display: inline-block;
  background: #ff6b35;
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.featured-body h2 {
  font-size: 22px;
  color: #1a3a5c;
  margin-bottom: 14px;
  line-height: 1.4;
}
.featured-body p {
  font-size: 14px;
  color: #5a6f85;
  line-height: 1.8;
  margin-bottom: 18px;
}
.featured-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: #a0b0c2;
}

/* 新闻网格 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.3s;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(26,115,232,0.15);
}
.news-img { height: 180px; overflow: hidden; }
.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.news-card:hover .news-img img { transform: scale(1.06); }
.news-body { padding: 18px; }
.news-body h3 {
  font-size: 16px;
  color: #1a3a5c;
  margin-bottom: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-desc {
  font-size: 13px;
  color: #7a8fa6;
  margin-bottom: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #a0b0c2;
  padding-top: 12px;
  border-top: 1px dashed #e8eef5;
}
.news-meta .read-more { color: #1a73e8; }

/* 分页 */
.pagination { text-align: center; margin-top: 40px; }
.pagination a, .pagination span {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 4px;
  border: 1px solid #e8eef5;
  border-radius: 6px;
  font-size: 14px;
  color: #5a6f85;
  background: #fff;
  transition: all 0.2s;
}
.pagination a:hover, .pagination .current {
  background: #1a73e8;
  color: #fff;
  border-color: #1a73e8;
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: #a0b0c2;
  font-size: 15px;
  background: #fff;
  border-radius: 14px;
}
/* ============ 分页（修复版） ============ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 50px;
  padding: 30px 0 10px;
  border-top: 1px solid #eef2f7;
}
.pagination a,
.pagination span {
  display: inline-block;
  min-width: 40px;
  height: 40px;
  line-height: 38px;
  padding: 0 14px;
  text-align: center;
  border: 1px solid #e0e8f0;
  border-radius: 8px;
  font-size: 14px;
  color: #5a6f85;
  background: #fff;
  transition: all 0.25s;
  text-decoration: none;
}
.pagination a:hover {
  background: #e8f0fe;
  color: #1a73e8;
  border-color: #1a73e8;
  transform: translateY(-2px);
}
.pagination .current {
  background: #1a73e8;
  color: #fff;
  border-color: #1a73e8;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(26,115,232,0.25);
}
.pagination .disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.pagination .page-prev,
.pagination .page-next {
  padding: 0 18px;
  font-weight: 500;
}
@media (max-width: 640px) {
  .pagination { gap: 6px; margin-top: 30px; padding-top: 20px; }
  .pagination a,
  .pagination span {
    min-width: 34px;
    height: 34px;
    line-height: 32px;
    padding: 0 10px;
    font-size: 13px;
    border-radius: 6px;
  }
}
/* 响应式 */
@media (max-width: 768px) {
  .news-featured a { grid-template-columns: 1fr; }
  .featured-img { height: 220px; }
  .featured-body { padding: 24px; }
  .news-grid { grid-template-columns: 1fr; }
}
