/* ===== 新闻资讯页（06-新闻资讯.psd 还原） 依赖 style.css 的变量与公共组件 ===== */

/* ---- 页头横幅（设计稿 y 92-492 → 400px 高，images/news/hero.webp 为官方 02.jpg 原尺寸） ---- */
.page-hero {
  position: relative; height: 400px;
  background: url('../images/news/hero.webp') center / 100% 100% no-repeat;
}
/* 首屏渐变遮罩：左缘压暗、约 52% 处消失（同产业布局页参数，渲染采样反推） */
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(10, 14, 10, .50) 0%, rgba(10, 14, 10, .30) 26%, rgba(10, 14, 10, 0) 52%);
}
/* PSD 标题 x=250：本页 hero 用 1420 容器（非共享 1320） */
.hero-inner {
  position: relative; z-index: 1;
  width: 1420px; max-width: 92%; margin: 0 auto;
  padding-top: 104px;
}
.nh-label { font-size: 13px; line-height: 19px; letter-spacing: 2px; color: #e0d5c2; }
.hero-inner h1 {
  margin-top: 19px;
  font-family: var(--serif); font-weight: 700;
  font-size: 58px; line-height: 1.4; letter-spacing: 4px; color: #fff;
}
.nh-sub { margin-top: 23px; font-size: 14px; line-height: 1.5; letter-spacing: 2px; color: #f4efe6; }

/* ---- 新闻列表（设计稿 y 492-2490：tab 596 下划线，卡片 638 起，页脚前留白 708px） ---- */
.news-list { background: var(--cream); padding: 61px 0 708px; }

/* tab：激活棕字（PSD #795939）+ 米金下划线（采样 #AD8963），间距 35px */
.news-tabs { display: flex; gap: 35px; }
.news-list .tab { color: #706a62; padding-bottom: 16px; }
.news-list .tab.is-active { color: #795939; }

/* 网格：卡宽 420（1320 容器 3 列），列距 31、行距 49（PSD bbox 实测） */
.news-grid {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 49px 31px;
}
.news-card { display: flex; flex-direction: column; }
.card-pic { overflow: hidden; aspect-ratio: 419 / 259; }
.card-pic img { width: 100%; height: 100%; object-fit: fill; transition: transform .5s ease; }
.news-card:hover .card-pic img { transform: scale(1.045); }

/* 卡片文字直接排在米色底上，无侧边距（PSD 标签/标题 x=750 与卡左缘齐平） */
.card-body { display: flex; flex-direction: column; flex: 1; padding: 21px 0 0; }
.card-meta { display: flex; align-items: baseline; justify-content: space-between; }
.card-label { color: #795939; font-size: 12px; line-height: 18px; letter-spacing: 1px; }
/* 日期为数据库 post_date 字段（PSD 卡片未绘制，按需求补充展示） */
.card-date { font-size: 12px; color: #a4a09a; letter-spacing: .5px; }
.card-title {
  margin-top: 13px; min-height: 68px;
  font-size: 20px; line-height: 34px; font-weight: 600; color: var(--ink);
}
.card-title a:hover { color: var(--red); }
.card-excerpt {
  margin-top: 14px;
  font-size: 14px; line-height: 27px; color: #766653;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
/* 阅读全文行下方细分隔线（PSD y1185 实测 #E2DACF），本页无上边线、无圆圈箭头 */
.card-foot {
  margin-top: auto; padding: 27px 0 26px;
  border-top: 0; /* 首页样式带来的上边框在本页不适用 */
  border-bottom: 1px solid #e2dacf;
  display: flex; align-items: center; justify-content: space-between;
}
.card-foot a { font-size: 13px; color: #795939; letter-spacing: 1px; }
.card-foot a:hover { color: var(--red); }
/* 阅读全文按钮与首页一致：26px 描边圆钮 + 13px 箭头，整卡 hover 红底白箭头 */
.card-foot .go {
  position: relative;
  width: 26px; height: 26px;
  border: 1px solid rgba(120, 92, 66, .45); border-radius: 50%;
  transition: all .25s;
}
.card-foot .go::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 13px; height: 13px;
  background-color: var(--accent);
  -webkit-mask: url('../icons/ArrowUpRight_驼棕.svg') center / 18px no-repeat;
  mask: url('../icons/ArrowUpRight_驼棕.svg') center / 18px no-repeat;
  transition: background-color .25s;
}
.news-card:hover .go { background: var(--red); border-color: var(--red); }
.news-card:hover .go::before { background-color: #fff; }
.news-empty { grid-column: 1 / -1; padding: 60px 0; text-align: center; color: #706a62; }

/* 响应式：主体由 footer.php 公共脚本锁定 1200px 布局整体 zoom 仅缩放，不再重排 */
