/* ============================================================
   news.css — 新闻动态：列表页 + 文章页
   复用 tokens.css 的设计令牌，不引入新的颜色与字体
   ============================================================ */

/* ================= 页头 ================= */
.page-head {
  position: relative;
  padding-block: var(--space-7) var(--space-6);
  border-bottom: 1px solid var(--color-line);
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  right: -8%; top: -40%;
  width: 46%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(181, 126, 31, 0.10), transparent 68%);
  pointer-events: none;
}
.page-head h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 900;
  line-height: 1.2;
  max-width: 18em;
  text-wrap: balance;
}
.page-head .lede {
  margin-top: var(--space-4);
  max-width: 38em;
  color: var(--color-muted);
  font-size: var(--fs-lg);
  line-height: 1.75;
}

/* 面包屑 */
.crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--color-muted);
  margin-bottom: var(--space-4);
}
.crumb a { text-decoration: none; border-bottom: 1px solid transparent; }
.crumb a:hover { color: var(--color-accent); border-bottom-color: var(--color-accent); }
.crumb .sep { opacity: 0.45; }

/* ================= 列表 ================= */
.news-list {
  display: grid;
  gap: var(--space-5);
  padding-block: var(--space-6) var(--space-7);
}
.news-item {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--space-5);
  align-items: center;
  text-decoration: none;
  padding: var(--space-4);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  transition: border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}
.news-item:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-2);
  transform: translateY(-3px);
}
.news-item figure {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface-dim);
}
.news-item figure img { width: 100%; height: 100%; object-fit: cover; }
.news-item .meta {
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  color: var(--color-accent);
  display: flex; align-items: center; gap: var(--space-3);
  margin-bottom: var(--space-2);
}
/* 最新一条标记：让「按时间倒序」的起点一眼可见 */
.news-item .new-badge {
  background: var(--color-accent);
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.12em;
  font-size: 11px;
  line-height: 1.4;
}
.news-item h2 {
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.35;
  transition: color var(--dur-fast) ease-out;
}
.news-item:hover h2 { color: var(--color-primary); }
.news-item p {
  margin-top: var(--space-3);
  color: var(--color-muted);
  font-size: var(--fs-sm);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-item .more {
  margin-top: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--color-accent);
  letter-spacing: 0.08em;
}

/* 无图卡：纯文字条目，与图文卡形成节奏差（媒体报道类常用） */
.news-item.no-figure { grid-template-columns: 1fr; padding: var(--space-5); }
.news-item.no-figure h2 { font-size: var(--fs-lg); }
.news-item.no-figure p { -webkit-line-clamp: 2; }

/* 置顶草稿位（动态内容未到位时占位，可随时删除） */
.news-empty {
  padding: var(--space-7) var(--space-4);
  text-align: center;
  color: var(--color-muted);
  border: 1px dashed var(--color-line-strong);
  border-radius: var(--radius-lg);
}

/* ================= 文章页 ================= */
.article-head {
  padding-block: var(--space-7) var(--space-5);
  border-bottom: 1px solid var(--color-line);
}
.article-head h1 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 900;
  line-height: 1.3;
  max-width: 20em;
  text-wrap: balance;   /* 避免长标题末行只剩一个字 */
}
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3);
  margin-top: var(--space-4);
  font-size: var(--fs-sm);
  color: var(--color-muted);
}
.article-meta .tag {
  color: var(--color-accent);
  letter-spacing: 0.2em;
  font-size: var(--fs-xs);
}
.article-meta .dot { opacity: 0.4; }

.article {
  max-width: 760px;
  margin-inline: auto;
  padding-block: var(--space-6) var(--space-7);
  font-size: 1.0625rem;
  line-height: 1.95;
  color: var(--color-ink);
}
.article > * + * { margin-top: 1.15em; }

.article .hook {
  font-size: 1.2rem;
  line-height: 1.85;
  color: var(--color-primary-deep);
  font-family: var(--font-display);
  font-weight: 600;
  padding-left: var(--space-4);
  border-left: 3px solid var(--color-accent);
}

.article h2 {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-top: 2.2em;
  padding-top: 0.2em;
  line-height: 1.4;
}
.article h2::before {
  content: "";
  display: block;
  width: 42px; height: 2px;
  background: var(--color-accent);
  margin-bottom: var(--space-3);
}
.article h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-top: 1.8em;
}

.article p { color: #2c3a29; }
.article strong { color: var(--color-primary-deep); font-weight: 700; }

.article blockquote {
  margin: 1.8em 0;
  padding: var(--space-4) var(--space-5);
  background: var(--color-surface-dim);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.85;
}
.article blockquote p { margin: 0; color: var(--color-primary-deep); }
.article blockquote a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.article blockquote a:hover { color: var(--color-primary); }

.article hr {
  border: 0;
  height: 1px;
  background: var(--color-line);
  margin: 2.4em auto;
  width: 60%;
}

.article figure { margin: 2em 0; }
.article figure img { border-radius: var(--radius-md); }
/* 竖构图：限宽居中，避免一张图占满整屏 */
.article figure.tall { max-width: 540px; margin-inline: auto; }
.article figcaption {
  margin-top: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--color-muted);
  text-align: center;
}

/* 数据表 */
.article table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  margin: 1.6em 0;
}
.article caption {
  caption-side: top;
  text-align: left;
  font-size: var(--fs-sm);
  color: var(--color-muted);
  padding-bottom: var(--space-2);
}
.article th, .article td {
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--color-line);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}
.article th {
  width: 8.5em;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(236, 229, 211, 0.55);
  white-space: nowrap;
}

/* 文末联络卡 */
.article-cta {
  margin-top: var(--space-6);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--color-primary);
  color: var(--color-on-dark);
  display: grid;
  gap: var(--space-2);
}
.article-cta h3 {
  margin: 0;
  font-size: var(--fs-lg);
  color: var(--color-on-dark);
}
.article-cta p, .article-cta a {
  color: var(--color-on-dark-muted);
  font-size: var(--fs-sm);
  text-decoration: none;
  margin: 0;
}
.article-cta a:hover { color: var(--color-accent-soft); }
.article-cta .phone-link {
  display: inline-block;
  margin-top: var(--space-2);
  font-size: var(--fs-xl);
  font-family: var(--font-display-latin);
  color: var(--color-accent-soft);
  letter-spacing: 0.04em;
}

/* 上一篇 / 返回 */
.article-nav {
  max-width: 760px;
  margin: 0 auto var(--space-7);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-line);
  display: flex; justify-content: space-between; gap: var(--space-3);
  flex-wrap: wrap;
  font-size: var(--fs-sm);
}
.article-nav a { text-decoration: none; color: var(--color-muted); }
.article-nav a:hover { color: var(--color-accent); }

/* ================= 响应式 ================= */
@media (max-width: 860px) {
  .news-item { grid-template-columns: 1fr; gap: var(--space-4); }
  .news-item figure { aspect-ratio: 16 / 9; }
  .news-item h2 { font-size: var(--fs-lg); }
  .article { font-size: 1rem; line-height: 1.9; }
  .article .hook { font-size: 1.08rem; }
  .article table { font-size: var(--fs-xs); }
  .article th { width: 6.5em; white-space: normal; }
}

/* 列表卡片不做入场动画：内容可见性优先，避免快速滚动时停在透明态 */
.news-item.reveal { opacity: 1; transform: none; }

/* 卡片图取景偏下：风景类照片地平线在上方，偏下能看到更多田面 */
.news-item figure img { object-position: center 62%; }


/* ================= 新闻列表：三列卡片 ================= */
.news-head { padding: clamp(32px, 5vw, 56px) 0 0; }
.news-head-inner {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 28px; padding-bottom: clamp(28px, 4vw, 44px);
}
.news-head-copy { min-width: 0; }
.news-eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 14px; font-size: 12px; letter-spacing: .2em;
  color: var(--color-accent);
}
.news-eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--color-accent); }
.news-head h1 {
  margin: 0;
  font-family: "Noto Sans SC", system-ui, -apple-system, sans-serif;
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 900; line-height: 1.15; letter-spacing: .01em;
  color: var(--color-ink);
}
.news-lede {
  margin: 14px 0 0; max-width: 36em;
  font-size: 15px; line-height: 1.8; color: var(--color-muted);
}
.news-all {
  flex: none; display: inline-flex; align-items: center;
  background: var(--color-primary-deep); color: var(--color-on-dark);
  border-radius: 999px; padding: 12px 24px;
  font-size: 14px; letter-spacing: .06em; text-decoration: none;
  transition: background .25s ease, color .25s ease;
}
.news-all:hover { background: var(--color-accent); color: #fff; }

.news-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
  padding: 0 0 clamp(56px, 8vw, 96px);
}
.n-card {
  display: flex; flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: 12px; overflow: hidden;
  text-decoration: none;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.n-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(20, 42, 29, .10);
  border-color: transparent;
}
.n-card figure {
  margin: 0; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--color-surface-dim);
}
.n-card figure img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 60%;
  transition: transform .6s ease;
}
.n-card:hover figure img { transform: scale(1.04); }
.n-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.n-meta { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 12px; letter-spacing: .06em; }
.n-cat { color: var(--color-accent); font-weight: 700; }
.n-meta time { color: var(--color-muted); font-family: var(--font-display-latin); }
.n-body h2 {
  margin: 0 0 10px;
  font-family: "Noto Sans SC", system-ui, -apple-system, sans-serif;
  font-size: 19px; font-weight: 900; line-height: 1.45; letter-spacing: .01em;
  color: var(--color-ink);
}
.n-ex { margin: 0 0 20px; font-size: 14px; line-height: 1.75; color: var(--color-muted); }
.n-more {
  margin-top: auto; font-size: 13.5px; letter-spacing: .04em;
  color: var(--color-ink); transition: color .25s ease;
}
.n-more i { font-style: normal; margin-left: 4px; }
.n-card:hover .n-more { color: var(--color-accent); }

@media (max-width: 980px) {
  .news-cards { grid-template-columns: repeat(2, 1fr); }
  .news-head-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 620px) {
  .news-cards { grid-template-columns: 1fr; }
  .news-head h1 { font-size: 30px; }
  .n-body { padding: 18px 18px 20px; }
}
