/* 新闻列表补充样式 + 详情页样式
   只在 news.html 和 site/news/*.html 里引用，不并入 main.css。
   main.css 已在 2026-11 固定，避免每次改版都被覆盖。 */

/* ---------------- 列表页 ---------------- */
.news-event__title a { color: inherit; text-decoration: none; }
.news-event__title a:hover { color: var(--teal); }

/* 条目之间有配图时，靠间距把「上一条」和「图」分开，避免误读归属 */
.news-event { padding-bottom: 56px; }
.news-event:last-child { padding-bottom: 0; }

.news-event__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--font-head);
  font-size: var(--fs-3);
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), gap .25s var(--ease);
}
.news-event__more:hover { border-bottom-color: var(--teal); gap: 10px; }

.news-event__thumb {
  display: block;
  height: 220px;
  margin-bottom: 22px;
  overflow: hidden;
  border-radius: 4px;
}
.news-event__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.news-event__thumb:hover img { transform: scale(1.04); }

/* ---------------- 详情页 ---------------- */
/* main.css 里 .page-hero 是固定 320px，长标题会溢出，这里改成自适应 */
.page-hero--article {
  height: auto;
  min-height: 300px;
  display: flex;
  align-items: center;
  padding: 72px 0;
}
.page-hero--article .wrap { position: relative; z-index: 1; width: 100%; }
.page-hero--article h1 {
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 600;
  line-height: 1.42;
  color: #fff;
  margin: 0 0 6px;
  max-width: 940px;
}
.page-hero--article .crumb { margin-top: 22px; flex-wrap: wrap; color: rgba(255, 255, 255, .72); }
.page-hero--article .crumb a { color: rgba(255, 255, 255, .72); }
.page-hero--article .crumb a:hover { color: #fff; }
.page-hero--article .news-meta { color: rgba(255, 255, 255, .78); }
.page-hero--article .news-meta .cat { color: var(--mint); }
.page-hero--article .news-meta .dot { background: rgba(255, 255, 255, .4); }
.page-hero--article time { font-family: var(--font-head); letter-spacing: .04em; }

/* 列表页那条「条目只有 1 条时撑高度」的规则，不该套到详情页上 */
body.news-detail main { min-height: 0; }

.news-figure { margin: 36px 0 0; }
.news-figure img { width: 100%; height: auto; border-radius: 4px; display: block; }
.news-figure figcaption {
  margin-top: 10px;
  font-size: var(--fs-3);
  color: var(--muted);
  line-height: 1.7;
}

.news-article .prose ul { margin: 0 0 1.2em; padding-left: 1.4em; }
.news-article .prose li {
  font-size: var(--fs-2);
  line-height: 2;
  color: var(--body);
  margin-bottom: .3em;
  list-style: disc;
}

.news-article__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.news-nav {
  display: flex;
  gap: 24px;
  font-family: var(--font-head);
  font-size: var(--fs-3);
}
.news-nav a { color: var(--muted); text-decoration: none; transition: color .25s var(--ease); }
.news-nav a:hover { color: var(--teal); }

@media (max-width: 720px) {
  .page-hero--article { min-height: 240px; padding: 52px 0; }
  .news-event__thumb { height: 180px; }
  .news-article__foot { flex-direction: column; align-items: flex-start; }
  .news-nav { gap: 18px; }
}
