/* ============================================================
   资讯列表 / 资讯详情样式
   ============================================================ */

/* ============ 列表 ============ */
.news-list-page { display: flex; flex-direction: column; gap: 12px; }
.news-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 236px;
  gap: 20px;
  align-items: center;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  position: relative;
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.news-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--orange), var(--orange-2));
  opacity: 0;
  transition: opacity 0.18s;
}
.news-row:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--orange-line); }
.news-row:hover::before { opacity: 1; }
.nr-date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  font-family: var(--mono);
  border-right: 1px dashed var(--line-2);
  padding-right: 10px;
  transition: color 0.18s;
}
.nr-date b { font-size: 19px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.nr-date span { font-size: 11px; color: #9aaaba; letter-spacing: 0.08em; }
.news-row:hover .nr-date b { color: var(--orange); }
.nr-body { min-width: 0; }
.nr-body h2 { font-size: 18.5px; font-weight: 700; line-height: 1.5; margin: 4px 0 5px; transition: color 0.16s; }
.news-row:hover .nr-body h2 { color: var(--orange); }
.news-row .news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.nr-cat { color: var(--orange); font-weight: 600; }
.nr-src { color: var(--blue); }
.news-row.no-cover { grid-template-columns: 74px minmax(0, 1fr); }
.nr-cover { width: 236px; }
.nr-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-sm); transition: transform 0.3s; }
.news-row:hover .nr-cover img { transform: scale(1.03); }

/* 分页 */
.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 34px;
  font-family: var(--mono);
  font-size: 13px;
}
.pager a,
.pager span {
  min-width: 38px;
  text-align: center;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: var(--card);
  color: var(--ink-soft);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.pager a:hover { border-color: var(--orange); color: var(--orange); }
.pager span.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager span.disabled { opacity: 0.45; }
.pager .pager-info { border: none; background: none; color: #9aaaba; font-size: 12px; padding: 8px 4px; }

/* ============ 文章详情 ============ */
.news-article { padding: 26px 0 0; }
.article-head { max-width: 860px; margin: 0 auto; padding: 14px 0 6px; }
.article-kicker { font-family: var(--mono); font-size: 12px; color: var(--orange); font-weight: 600; margin-bottom: 12px; letter-spacing: 0.06em; }
.article-head h1 { font-size: 33px; line-height: 1.42; font-weight: 800; }
.article-summary {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 3px solid var(--orange);
  color: var(--ink-soft);
  font-size: 15.5px;
}
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.article-tags span {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--blue);
  background: rgba(31, 95, 208, 0.07);
  border-radius: 999px;
  padding: 2px 10px;
}
.article-cover { width: 100%; max-width: 860px; margin: 22px auto 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-content { max-width: 860px; margin: 24px auto 0; font-size: 16px; }
.article-content h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 34px 0 13px;
  padding-left: 13px;
  border-left: 4px solid var(--orange);
  line-height: 1.4;
}
.article-content h3 { font-size: 17.5px; font-weight: 700; margin: 22px 0 9px; }
.article-content p { margin-bottom: 15px; color: var(--ink-2); }
.article-content p.lead { font-size: 17px; font-weight: 500; color: var(--ink); }
.article-content ul, .article-content ol { padding-left: 24px; margin: 10px 0 16px; }
.article-content li { margin: 6px 0; color: var(--ink-2); }
.article-content a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.article-content code {
  font-family: var(--mono);
  font-size: 13.5px;
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--bg-soft);
  color: var(--ink-2);
  white-space: nowrap;
}
.article-content img { margin: 18px 0; border-radius: var(--radius-sm); }
.article-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14.5px; }
.article-content th, .article-content td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.article-content th { background: var(--bg-soft); font-weight: 700; }
.article-content .fact-box {
  margin: 24px 0;
  padding: 18px 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(31, 95, 208, 0.24);
  background: rgba(31, 95, 208, 0.04);
}
.article-content .fact-box h3 {
  margin-top: 0;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.08em;
}
.article-content .fact-box ul { padding-left: 20px; }
.article-content .fact-box li { font-size: 13.5px; color: var(--ink-soft); }
.article-content .editor-note {
  margin-top: 28px;
  padding-top: 13px;
  border-top: 1px dashed var(--line-2);
  font-size: 12.5px;
  color: #93a3b5;
}
.article-foot { max-width: 860px; margin: 38px auto 0; }
.af-nav { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }
.af-nav a { font-size: 14px; color: var(--blue); transition: color 0.15s; }
.af-nav a:hover { color: var(--orange); }
.af-hot {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
}
.af-hot h3 { font-size: 15px; font-weight: 700; margin-bottom: 9px; padding-bottom: 8px; border-bottom: 2px solid transparent; border-image: linear-gradient(90deg, var(--orange), var(--orange-2)) 1; }
.af-hot ul { list-style: none; }
.af-hot li { padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.af-hot li:last-child { border-bottom: none; }
.af-hot a { color: var(--ink-2); transition: color 0.15s; }
.af-hot a:hover { color: var(--orange); }
.af-cta {
  margin-top: 20px;
  padding: 15px 18px;
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--bg-soft);
  font-size: 14px;
}
.af-cta a { color: var(--orange); font-weight: 600; }
.af-cta a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .news-row, .news-row.no-cover { grid-template-columns: 60px minmax(0, 1fr); }
  .nr-cover { display: none; }
  .nr-body h2 { font-size: 16.5px; }
}
@media (max-width: 640px) {
  .news-row { grid-template-columns: 1fr; gap: 8px; padding: 16px; }
  .nr-date { flex-direction: row; align-items: baseline; gap: 6px; border-right: none; border-bottom: 1px dashed var(--line-2); padding: 0 0 6px; }
  .nr-date b { font-size: 15px; }
  .article-head h1 { font-size: 25px; }
  .article-content { font-size: 15.5px; }
  .article-content h2 { font-size: 19.5px; }
}
