.news-hero {
  min-height: 560px;
  height: 560px;
}

.news-list-wrap {
  background: #f4f7fb;
  padding: 28px 0 44px;
}

.news-list-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* 多分类列表由模板输出，仅当前 tab 显示 */
.news-list-grid[data-news-panel] {
  display: none;
}

.news-list-grid[data-news-panel].is-visible {
  display: grid;
}

.news-card {
  background: #fff;
  border: 1px solid #ecf0f6;
  padding: 22px 22px 18px;
  min-height: 320px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 6px;
  overflow: hidden;
}

.news-card-date {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: #b2b8c6;
  font-size: 12px;
}

.news-card-date strong {
  font-size: 28px;
  line-height: 1;
  color: #2b3346;
  font-weight: 700;
}

.news-card-title {
  color: #1f2738;
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}

.news-card-thumb {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border: 1px solid #eef2f7;
  background: #f7f8fb;
  display: block;
  transition: transform 0.6s ease;
  transform: scale(1);
}

.news-card:hover .news-card-thumb {
  transform: scale(1.05);
}

.news-empty {
  grid-column: 1 / -1;
  min-height: 180px;
  background: #fff;
  border: 1px solid #ecf0f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a94a6;
  font-size: 14px;
}

.news-pagination {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.news-page-btn {
  min-width: 46px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #f0f2f7;
  background: #fff;
  color: #222c3d;
  border-radius: 0;
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.news-page-btn.nav-btn {
  min-width: 98px;
}

.news-page-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

a.news-page-btn:hover:not(.active) {
  border-color: #d5dbea;
  color: #1f3d9a;
}

.news-pagination > span.news-page-btn {
  cursor: default;
  opacity: 0.55;
  pointer-events: none;
}

.news-page-btn:disabled,
button.news-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
