/*
  新闻列表 / 文章详情
  ──────────────────
  数据来自后台「文章管理」（la_article / la_article_cate）。

  /news.html            列表（?cate=<分类id> 筛选、?page=N 翻页）
  /news/<id>.html       详情

  页面外壳复用行业页模板（news-page.html，同一套页头/页脚/面包屑），
  这里只补列表与正文的排版。
*/

/* ── 分类 chips ── */
#top .news-chips {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

#top .news-chips .news-chip {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid #e3e3e3;
  border-radius: 999px;
  font-size: 13px;
  color: #444;
  text-decoration: none;
  transition: all .15s;
}

#top .news-chips .news-chip:hover {
  border-color: #a81010;
  color: #a81010;
}

#top .news-chips .news-chip.is-on {
  background: #a81010;
  border-color: #a81010;
  color: #fff;
}

/* ── 列表 ── */
#top .news-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

#top .news-card {
  margin: 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow .15s, transform .15s;
}

#top .news-card:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
  transform: translateY(-2px);
}

#top .news-card-link {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  text-decoration: none !important;
  color: inherit;
}

#top .news-card-thumb {
  display: block;
  width: 100%;
  height: 210px;
  background: #f7f7f7;
  overflow: hidden;
}

#top .news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#top .news-card-body {
  display: block;
  padding: 16px 18px 18px;
}

#top .news-card-cate {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #a81010;
}

#top .news-card-title {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  color: #1c1c1c;
  margin-bottom: 8px;
}

#top .news-card:hover .news-card-title {
  color: #a81010;
}

#top .news-card-desc {
  display: block;
  font-size: 13.5px;
  line-height: 1.7;
  color: #666;
  margin-bottom: 10px;
}

#top .news-card-meta {
  display: block;
  font-size: 12px;
  color: #9a9a9a;
}

#top .news-empty {
  padding: 40px 0;
  color: #888;
}

/* ── 分页 ── */
#top .news-pager {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 30px 0 0;
}

#top .news-pager .news-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #e3e3e3;
  border-radius: 3px;
  font-size: 13px;
  color: #444;
  text-decoration: none;
}

#top .news-pager .news-page.is-on {
  background: #a81010;
  border-color: #a81010;
  color: #fff;
}

/* ── 详情 ── */
#top .news-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 12.5px;
  color: #8b8b8b;
}

#top .news-article-meta a {
  color: #a81010;
  text-decoration: none;
}

#top .news-article-cover {
  margin: 0 0 24px;
}

#top .news-article-cover img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

#top .news-content {
  font-size: 15.5px;
  line-height: 1.85;
  color: #333;
}

#top .news-content p {
  margin: 0 0 1.1em;
}

#top .news-content h2,
#top .news-content h3 {
  margin: 1.6em 0 .7em;
  line-height: 1.4;
  color: #1c1c1c;
}

#top .news-content img {
  max-width: 100%;
  height: auto;
}

#top .news-content a {
  color: #a81010;
}

#top .news-content ul,
#top .news-content ol {
  margin: 0 0 1.1em 1.4em;
}

#top .news-back {
  margin: 34px 0 0;
  padding-top: 18px;
  border-top: 1px solid #eee;
}

#top .news-back a {
  color: #a81010;
  text-decoration: none;
  font-size: 14px;
}

@media (max-width: 900px) {
  #top .news-list {
    grid-template-columns: 1fr;
  }
}
