/* ============================================================
   news-all.html —— 全部文章归档页（左图右文列表式，一行两条）
   1204 重做。原页面四处问题：
   1) 列表容器 max-width 只有 1200px，而顶部横幅 .bannerImg 是 position:fixed 整屏，
      深色横幅从列表两侧透出来，看着像没做完；
   2) .na-filter 是浅蓝主题、没绑定脚本，点了没反应；
   3) 卡片底色 #F7F7F7 + hover 整块红渐变，和一个归档列表的信息密度不匹配；
   4) 卡里同时有「大号日号 + 年月」和一行完整日期，信息重复。
   这里：整宽白底盖住横幅、筛选做成红标胶囊并配脚本、卡片改成左图右文、日期收成一行。

   注意：原站 all.css 的卡片选择器有 5~7 层（.subNews .subNewsSack .subNewsUl
   .subNewList .subNewListSack ...），这里用同层级前缀写，靠加载顺序覆盖，
   避免到处堆 !important。
   ============================================================ */

/* ---- 外壳：整宽白底（不设 max-width，否则宽屏上横幅又会从两侧透出来） ---- */
.na-wrap{
  width:100% !important;
  max-width:none !important;
  margin:0 auto;
  padding:0 max(40px, calc((100% - 1760px) / 2)) 88px;
  background:#fff;
  position:relative;
  z-index:1;
}

/* ---- 页头 ---- */
.na-hero{padding:34px 0 26px;border-bottom:1px solid #ececec}
.na-hero .crumb{font-size:12px;color:#a3a3a3;letter-spacing:.02em}
.na-hero .crumb a{color:#a3a3a3;text-decoration:none}
.na-hero .crumb a:hover{color:#E60012}
.na-hero .crumb span{margin:0 7px;color:#cfcfcf}
.na-hero .crumb em{font-style:normal;color:#3a3a3a}
.na-hero .page-eyebrow{
  margin:22px 0 0;font-size:12px;letter-spacing:.22em;color:#b0b0b0;
  font-family:"D-DIN",Arial,sans-serif;text-transform:uppercase;
}
.na-hero h1{
  margin:10px 0 0;font-size:clamp(28px,3.2vw,46px);line-height:1.2;font-weight:700;
  color:#141414;letter-spacing:.01em;
}
.na-hero .page-sub{margin:14px 0 0;font-size:14px;line-height:1.75;color:#8d8d8d;max-width:760px}
.na-hero .hero-line{display:block;width:44px;height:3px;background:#E60012;margin-top:20px}

/* ---- 筛选：红标胶囊 ---- */
.na-filters{
  display:flex;flex-wrap:wrap;gap:10px;
  padding:26px 0 24px;margin:0 0 6px;border-bottom:1px solid #ececec;
}
.na-filters .na-filter{
  -webkit-appearance:none;appearance:none;
  display:inline-flex;align-items:center;gap:7px;
  margin:0;padding:9px 15px;border:1px solid #e4e4e4;border-radius:999px;
  background:#fff;color:#4c4c4c;font-size:13px;line-height:1;
  font-family:inherit;cursor:pointer;
  transition:background .2s,border-color .2s,color .2s;
}
.na-filters .na-filter em{
  font-style:normal;margin:0;font-size:11px;color:#adadad;
  font-family:"D-DIN",Arial,sans-serif;transition:color .2s;
}
.na-filters .na-filter:hover{border-color:#c6c6c6;color:#141414}
.na-filters .na-filter.active{background:#E60012;border-color:#E60012;color:#fff}
.na-filters .na-filter.active em{color:rgba(255,255,255,.8)}

/* ---- 列表栅格：两列 ---- */
.subNews{padding:0;background:none}
.subNews .subNewsSack{padding:0}
.subNews .subNewsSack .subNewsUl,
.subNews .subNewsSack .subNewsUl.row{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:56px;row-gap:0;
  width:100% !important;margin:0 !important;padding:0 !important;
  list-style:none;
}
.subNews .subNewsSack .subNewsUl::before,
.subNews .subNewsSack .subNewsUl::after{display:none !important;content:none !important}

.subNews .subNewsSack .subNewsUl .subNewList{
  width:auto !important;max-width:none !important;
  float:none !important;margin:0 !important;padding:0 !important;
  height:auto !important;
}

/* ---- 单行卡片：左图右文 ---- */
.subNews .subNewsSack .subNewsUl .subNewList .subNewListSack{
  background:transparent;
  display:flex;align-items:flex-start;gap:22px;
  padding:22px 0;
  border-bottom:1px solid #efefef;
  transition:none;
}
/* 原来的「整块红渐变」hover 层，列表式里去掉 */
.subNews .subNewsSack .subNewsUl .subNewList .subNewListSack::after{display:none;content:none}
.subNews .subNewsSack .subNewsUl .subNewList .subNewListSack:hover{background:transparent}

/* 左图 */
.subNews .subNewsSack .subNewsUl .subNewList .subNewListSack .newImg{
  position:relative;
  flex:0 0 176px;width:176px;height:112px;
  margin-bottom:0;
  overflow:hidden;background:#f3f3f3;
  z-index:auto;
}
.subNews .subNewsSack .subNewsUl .subNewList .subNewListSack .newImg img{
  display:block;width:100%;height:100%;object-fit:cover;
  transition:transform .55s cubic-bezier(.22,.8,.24,1);
}
.subNews .subNewsSack .subNewsUl .subNewList .subNewListSack:hover .newImg img{transform:scale(1.05)}
.subNews .subNewsSack .subNewsUl .subNewList .subNewListSack .newImg .newImgTitle{
  position:absolute;left:0;top:auto;bottom:0;right:auto;
  background:rgba(0,0,0,.58);border-radius:0;padding:6px 8px;
}
.subNews .subNewsSack .subNewsUl .subNewList .subNewListSack .newImg .newImgTitle span{
  font-size:11px;line-height:1;color:#fff;font-weight:400;letter-spacing:.06em;
}

/* 右文 */
.subNews .subNewsSack .subNewsUl .subNewList .subNewListSack .newTimeText{
  display:block;flex:1 1 auto;min-width:0;
  padding:0;position:static;z-index:auto;
}
/* 大号「日号 + 年月」与右侧完整日期重复，去掉 */
.subNews .subNewsSack .subNewsUl .subNewList .subNewListSack .newTimeText .newTime{display:none}
.subNews .subNewsSack .subNewsUl .subNewList .subNewListSack .newTimeText .newTimePhone{
  display:block;margin:0 0 8px;padding:0;
}
.subNews .subNewsSack .subNewsUl .subNewList .subNewListSack .newTimeText .newTimePhone p{
  margin:0;font-size:12px;line-height:1;color:#a8a8a8;letter-spacing:.05em;
  font-family:"D-DIN",Arial,sans-serif;
}
.subNews .subNewsSack .subNewsUl .subNewList .subNewListSack .newText{
  padding:0;margin:0;width:auto;
}
.subNews .subNewsSack .subNewsUl .subNewList .subNewListSack .newText h2{
  margin:0;
  font-size:17px;line-height:1.56;font-weight:600;color:#191919;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden;transition:color .2s;
  white-space:normal;text-overflow:clip;
}
.subNews .subNewsSack .subNewsUl .subNewList .subNewListSack:hover .newText h2{color:#E60012}

/* ---- 底部返回 ---- */
.na-foot{text-align:center;margin-top:44px}
.na-foot a{color:#8a8a8a;font-size:13px;text-decoration:none;transition:color .2s}
.na-foot a:hover{color:#E60012}

#all-articles{scroll-margin-top:96px}

/* ---- 平板 / 手机 ---- */
@media (max-width:1100px){
  .na-wrap{padding:0 32px 72px}
  .subNews .subNewsSack .subNewsUl,
  .subNews .subNewsSack .subNewsUl.row{column-gap:36px}
  .subNews .subNewsSack .subNewsUl .subNewList .subNewListSack{gap:16px}
  .subNews .subNewsSack .subNewsUl .subNewList .subNewListSack .newImg{flex-basis:148px;width:148px;height:96px}
  .subNews .subNewsSack .subNewsUl .subNewList .subNewListSack .newText h2{font-size:16px}
}
@media (max-width:860px){
  .subNews .subNewsSack .subNewsUl,
  .subNews .subNewsSack .subNewsUl.row{grid-template-columns:minmax(0,1fr)}
  .na-hero{padding:26px 0 20px}
  .na-hero .page-sub{font-size:13px}
  .na-filters{padding:20px 0 18px;gap:8px}
  .na-filters .na-filter{padding:8px 12px;font-size:12px}
}
@media (max-width:600px){
  .na-wrap{padding:0 20px 56px}
  .subNews .subNewsSack .subNewsUl .subNewList .subNewListSack{gap:14px;padding:18px 0}
  .subNews .subNewsSack .subNewsUl .subNewList .subNewListSack .newImg{flex-basis:112px;width:112px;height:76px}
  .subNews .subNewsSack .subNewsUl .subNewList .subNewListSack .newTimeText .newTimePhone{margin-bottom:6px}
  .subNews .subNewsSack .subNewsUl .subNewList .subNewListSack .newText h2{font-size:14.5px;line-height:1.5}
  .subNews .subNewsSack .subNewsUl .subNewList .subNewListSack .newImg .newImgTitle span{font-size:10px;padding:5px 6px}
}

/* ---- 从 news.html 点「查看全部 565 篇文章」会带 #all-articles 锚点直接落位； ---- */
/* 固定页头 70px，不预留这段就会被压在标题上，看着像两行文字糊在一起。       */
#all-articles{scroll-margin-top:92px}

/* ---- 列表页页头常驻 ----
   带 #all-articles 进入时，懒加载图片撑高文档会让浏览器回头补滚动，
   ub-head.js 每次 y 变大就加 .up 把页头移出屏幕，标题残留在顶端更难看。
   这一页是长列表，页头常驻更合适，直接抵消 .up 的位移。 */
body.na-list .ub-head.up{transform:translateY(0)!important}
/* .94 的半透明白会把身后的大标题透成一圈灰影，这一页干脆实白 */
body.na-list .ub-head.bg{background-color:#fff}
