/* ==========================================================================
   新闻动态 —— 版式对齐 news.html
   只在新闻栏目页引入，不影响其它页面。
   封面 banner 与子导航条已抽到 subpage.css（六张子页共用），
   这里只剩本页的栏目筛选按钮和卡片。
   数值按 1920 视口的设计稿实测：
     头条卡片      padding 100px 0、卡片底色 #fafafa、图 47% / 文 53%
                  文栏 padding 60px 120px、标题 30px/1.68、正文 22px/1.8
                  红药丸按钮 196x60 radius 60 padding 0 40
     列表卡片      列表 padding-bottom 100px、卡间距 40px
                  卡片 padding 50px 40px 底色 #fafafa、图 380x251
                  文栏 padding 0 70px、标题 24px/1.68、右下「了解更多」18px #999
                  四边 .line 红框 hover 描边动画
   容器沿用本站 .o_container（83.33%），与设计稿 1600px 版心等价。
   ========================================================================== */

/* ---------- 1. 子导航里的栏目筛选按钮（外框见 subpage.css） ---------- */
/* 复用 .quickbar.bl_subnav 的吸顶、右侧面包屑与红块选中态，
   只是本页的页签是可筛选的 .tab 按钮而不是锚点。
   style.css 里 .tab 是圆角描边样式，这里覆写回实心方块 */
/* .bl_tabs（栏目页签）已挪到 blocks.css —— 下载页/产品页不加载本文件，
   留在这里会让那些页面的页签没有样式。 */

/* ---------- 2. 头条卡片 ---------- */
.bl_feature { padding: 100px 0; }
/* 设计稿这层是轮播轨道，本页只有一条头条，直接放卡片 */
.bl_feature_card {
  position: relative; display: flex; align-items: stretch;
  background: #fafafa; overflow: hidden;
}
.bl_feature_card figure { width: 45%; flex: none; margin: 0; overflow: hidden; }
.bl_feature_card figure img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s var(--ease);
}
.bl_feature_card:hover figure img { transform: scale(1.03); }

/* 设计稿文栏是 53% + padding 60px 120px，那是给两三行摘要用的；
   这页正文是文案包里的整段核心新闻（约 270 字），照搬会让卡片竖成一块，
   所以文栏放宽到 55%、左右内边距收到 60px，图栏相应 45% */
.bl_feature_txt { width: 55%; padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.bl_feature_txt h2 {
  font-size: 30px; line-height: 1.68; font-weight: 400; color: var(--c-333);
  margin: 15px 0 25px;
}
.bl_feature_txt .bl_desc { font-size: 19px; line-height: 1.85; color: var(--c-666); }

/* 红药丸按钮：文字靠左、箭头靠右 */
.bl_pill {
  display: flex; align-items: center; justify-content: space-between;
  width: 196px; height: 60px; padding: 0 40px; margin-top: 60px;
  border-radius: 60px; background: var(--brand); color: #fff; font-size: 18px;
  transition: opacity .5s var(--ease);
}
.bl_pill svg { width: 18px; height: 18px; flex: none; stroke: #fff; transition: transform .5s var(--ease); }
.bl_pill:hover { opacity: .82; }
.bl_pill:hover svg { transform: translateX(7px); }

/* ---------- 3. 列表卡片 ---------- */
/* 设计稿那版列表上面压着头条区（.bl_feature 自带 padding 100px 0），所以原样式只留了
   下边距。本站列表页没有头条，列表直接顶在吸顶导航条下面，上边距得自己让出来。 */
.bl_list { padding: 64px 0 100px; }
/* 用 flex + gap 而不是 li+li 的相邻外边距：卡片被筛掉时 display:none，
   gap 不会为隐藏项留空，相邻兄弟选择器会（隐藏项仍算相邻兄弟）。
   间距 40px 是给 380x251 配图卡配的（卡高 350px，40px 的缝正好）；
   无图卡收成 84px 一条之后这个缝快赶上半个行高，整列看着是散开的色块，
   所以收到 18px。带图卡不受影响，它自己有大内边距和灰底。 */
.bl_items { display: flex; flex-direction: column; gap: 18px; }

/* 只有头条那条有正文（文案包里唯一一篇），它整卡可点；其余四条没有详情页，
   光标保持默认，免得看着像能点 */
.bl_card {
  position: relative; display: flex; align-items: center; cursor: default;
  padding: 50px 40px; background: #fafafa;
  transition: box-shadow .5s var(--ease);
}
.bl_card:hover { box-shadow: var(--sh-1); }
.bl_card--link { cursor: pointer; }
/* .bl_card_hit 已移到 blocks.css（产品页不加载 news.css） */

.bl_card figure { width: 380px; flex: none; margin: 0; overflow: hidden; aspect-ratio: 380 / 251; }
.bl_card figure img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s var(--ease);
}
.bl_card:hover figure img { transform: scale(1.04); }

/* 没配图时不显示图 —— 文章列表里绝大多数条目都没有配图（问题解答 22/22、
   公司动态 78/83），一张 lib-27 兜底风景图顶满整页没有意义。
   卡片是横向排的，少了 380px 的图之后文字区自己撑满，
   左右各 70px 原本是图和文字之间的留白，这时候用不上。 */
.bl_card--nofig .bl_card_txt { padding: 0; }
/* 无图的卡换一套紧凑尺寸。上面那张卡是照设计稿 380x251 的配图配的：
   上下 50px 内边距、标题 24px、标题下面再挂一行栏目标签，一张 200 多 px 高。
   图一去掉，卡里只剩一行十来字的标题，空白占了十之七八，一屏放不下四条。
   这里收成一行高的清单条：内边距减半，标题和栏目标签由上下两行并成左右一行，
   字号降到清单条的 19px。带图的卡不动，还是设计稿那套。 */
.bl_card--nofig { padding: 24px 40px; }
.bl_card--nofig .bl_card_txt { display: flex; align-items: center; gap: 18px; }
.bl_card--nofig .bl_card_txt h3 { font-size: 19px; }
/* inner.css 给 .bl_card_cat 的 margin-top: 20px 是给「标题下面另起一行」用的，
   并到一行之后要清掉，否则标签会被压低 20px 把整条撑高 */
.bl_card--nofig .bl_card_cat { margin-top: 0; }

.bl_card_txt { flex: 1 0 0; padding: 0 70px; }
.bl_card_txt h3 { font-size: 24px; line-height: 1.68; font-weight: 400; color: var(--c-333); transition: color .3s var(--ease); }
.bl_card:hover .bl_card_txt h3 { color: var(--brand); }
/* 文案包给了每条标题的栏目归属，设计稿卡片这一行原本是摘要 + 日期，本页只落栏目名 */
/* .bl_card_cat 的样式已挪到 inner.css —— 下载详情页不加载本文件，
   留在这里会让那边的栏目小标签没有样式。 */

.bl_look_more {
  flex: none; display: flex; align-items: center; gap: 8px;
  font-size: 18px; color: var(--c-999); white-space: nowrap;
  transition: color .3s var(--ease);
}
.bl_look_more svg { width: 14px; height: 14px; stroke: currentColor; transition: transform .5s var(--ease); }
.bl_card:hover .bl_look_more { color: var(--brand); }
.bl_card:hover .bl_look_more svg { transform: translateX(7px); }

/* 「更多」在分栏头部是独立链接、不在卡里，卡内那两条 :hover 规则够不着 */
a.bl_look_more:hover { color: var(--brand); }
a.bl_look_more:hover svg { transform: translateX(7px); }

/* ---------- 3b. 分栏目区块（最新公告 / 公司动态 / 客户新闻） ---------- */
/* 列表页去掉头条后按子栏目拆成三块，每块一条「栏目名 + 更多」的标题行 + 六条。
   标题行直接复用首页新闻区的 .idx_news_top（左标题右链接、发丝线占满下一行），
   它原本贴身跟着 .idx_news_body，这里跟的是 .bl_items，得自己补上下边距。 */
.bl_cat + .bl_cat { margin-top: 64px; }
.bl_cat .idx_news_top { margin-bottom: 34px; }

/* ---------- 3c. 分栏卡片网格（每栏 6 条，三列文字卡） ---------- */
/* 选择器一律多带一层 .bl_cat：文件下面几个窄屏块里有单类的 .bl_card /
   .bl_card_txt 覆写，不带这层会被它们按顺序压过去（同权重看先后）。 */
.bl_cat .bl_items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
/* 空态那句话在网格里会缩成一格，让它横跨整行 */
.bl_cat .bl_items .bl_empty { grid-column: 1 / -1; }
.bl_cat .bl_card {
  flex-direction: column; align-items: stretch;
  min-height: 176px; padding: 34px 32px;
}
.bl_cat .bl_card_txt { padding: 0; }
.bl_cat .bl_card_txt h3 { font-size: 19px; }
/* 摘要两行封顶 —— 标题长短不一时卡片高度还能对齐 */
.bl_cat .bl_card_ex {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; margin-top: 14px;
  font-size: 15px; line-height: 1.85; color: var(--c-666);
}
/* ---------- 3d. 单页子栏目的入口卡 ---------- */
/* 子栏目若是「单页」模型（modeid<=0，例如 在线客服），它没有 sd_content 条目，
   按列表渲染必然落空态。改成一张整块可点的入口，点进该栏目自己的单页。
   挂的 .bl_card 让它白拿四边红框和阴影那套 hover（min-height/34px 内边距也跟着来），
   这里只把 .bl_cat .bl_card 的竖排改回横排，再把文案和「进入」摆到两头。 */
.bl_cat .bl_entry {
  flex-direction: row; align-items: center; justify-content: space-between; gap: 28px;
}
.bl_cat .bl_entry_txt {
  min-width: 0; font-size: 17px; line-height: 1.9; color: var(--c-666);
}
.bl_cat .bl_entry_go {
  flex: none; display: flex; align-items: center; gap: 8px;
  font-size: 17px; color: var(--c-999); white-space: nowrap;
  transition: color .3s var(--ease);
}
.bl_cat .bl_entry_go svg { width: 16px; height: 16px; stroke: currentColor; transition: transform .5s var(--ease); }
.bl_cat .bl_entry:hover .bl_entry_go { color: var(--brand); }
.bl_cat .bl_entry:hover .bl_entry_go svg { transform: translateX(7px); }
/* 窄屏横排挤不下（文案 + 「进入」），退回竖排 */
@media (max-width: 760px) {
  .bl_cat .bl_entry { flex-direction: column; align-items: flex-start; gap: 18px; }
}

@media (max-width: 1200px) {
  .bl_cat .bl_items { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  /* 窄屏 .idx_news_top 转竖排后 align-items:stretch 会把「更多」拉成整块宽 ——
     字还在左边看着正常，但右边一大片空白都能点（实测 981px / 681px）。
     收回成按内容宽；1200 那条已经把网格降到两列，标题行从这儿开始就不够排了。 */
  .bl_cat .idx_news_top .bl_look_more { align-self: flex-start; }
}
@media (max-width: 900px) {
  .bl_cat .bl_items { grid-template-columns: 1fr; }
  .bl_cat .bl_card { min-height: 0; }
}

/* 四边红框 hover 描边：四条 1px 线自角上长出去 */
.bl_ln {
  position: absolute; z-index: 5; background: var(--brand);
  transition: width .5s var(--ease), height .5s var(--ease);
}
.bl_ln--l { left: 0;   top: 0;    width: 1px;  height: 0; }
.bl_ln--r { right: 0;  bottom: 0; width: 1px;  height: 0; }
.bl_ln--t { left: 0;   top: 0;    height: 1px; width: 0; }
.bl_ln--b { right: 0;  bottom: 0; height: 1px; width: 0; }
.bl_card:hover .bl_ln--l, .bl_card:hover .bl_ln--r { height: 100%; }
.bl_card:hover .bl_ln--t, .bl_card:hover .bl_ln--b { width: 100%; }

/* ---------- 4. 详情页（news-detail.html） ---------- */
/* 详情页骨架（面包屑靠右、正文栏宽、大标题块、图、按钮排、「更多内容」列表）
   已整块挪到 inner.css —— 产品详情页、下载详情页、单页都不加载本文件，
   留在这里会让那三处的正文完全没有版式。 */
/* 大标题下加一条发丝线（左起 200x3 红段），和产品详情页标题块同一个 .title_line。
   新闻详情的大标题居中，所以红线也跟着居中（::before 默认贴左），
   线本身跟 .bl_head--center 一个规格：上限 900px、整体居中，
   不跟着通栏的正文一起拉满。 */
.bl_art_head .title_line { max-width: 1200px; margin: 26px auto 0; }
.bl_art_head .title_line::before { margin: 0 auto; width: 300px; }

/* ---------- 5. 首页「新闻动态」区块（index.html 第二屏） ---------- */
/* 版式参考 cnbm.com.cn 首页「资讯·动态」：左一条大图头条（日期/标题/摘要压在图上），
   右一列带日期方块的条目。数值取自 cnbm 线上实测值（1920 视口 / 容器 1500px）：
     头条图 800×494、右列 660、两栏间距 40        → 53.33% : 44% : 40px
     列表条目 padding 21.6px 0（首条去上、末条去下）、行间发丝线 #eee
     日期方块 72×67 边框 1px #eee，上「月-日」20px 深色 / 下「年」15px 红
     条目标题 20px、摘要 14px #999 两行截断
     胶囊页签 padding 12px 30px / 15px / radius 100px / 未选中边框 #dedede / 间距 15
   头条位是空的，由 main.js 的 initIdxNews() 把第一条可见条目挪进去 */
.idx_news { padding: 88px 0; }
/* 标题靠左、页签靠右同处一行，通栏线独占下一行。
   线用 flex: 0 0 100% 强制换行，这样它拉的是整个容器的宽
   （挂在 .section_head 里的话，它的 100% 只是标题那一格的宽） */
.idx_news_top {
  display: flex; flex-wrap: wrap;
  align-items: flex-end; justify-content: space-between;
}
.idx_news_top .section_head { margin-bottom: 0; }
/* 用 baseline 而不是 flex-end 对齐：flex-end 对的是行盒底，48px 标题的行盒
   在字形下面还留着半行空隙，页签会被它带着往下坠。写成 padding 硬凑又得
   跟着字号改，交给浏览器按真实基线算更稳 */
.idx_news_top .bl_filters { justify-content: flex-end; gap: 40px; margin-top: 0; }
.idx_news_top .title_line { flex: 0 0 100%; margin-top: 22px; margin-bottom: 0; }

/* 页签只留文字，没有边框、底色和圆角；选中态换文字颜色 + 加粗，再放大一号。
   三个页签靠右排（.idx_news_top 是 flex-end），所以选中项变宽时右边缘不动、
   整排往左让位；切换时会有几像素的位移，是这套「选中放大」的必然结果 */
.idx_pills .tab {
  height: auto; padding: 0; border: 0; border-radius: 0; background: none;
  font-size: 22px; line-height: 1.6; font-weight: 400; color: var(--c-333);
}
.idx_pills .tab:hover { color: var(--brand); }
.idx_pills .tab.is_active {
  background: none; border: 0; color: var(--brand);
  font-size: 24px; font-weight: 700;
}

.idx_news_body { display: flex; align-items: stretch; gap: 40px; margin-top: 48px; }
/* 左格自己也是 flex 容器，好让里面的 .idx_item 被拉伸到与右列同高：
   800/494 只是它的「首选」高度，右列条目多、撑得更高时由拉伸接管，
   图是 object-fit: cover，拉高不会变形。不这么做的话 1280 一带
   右列会比头条图高出七八十像素，图下面空一截 */
.idx_feat { flex: 1 1 53.33%; min-width: 0; display: flex; }
/* 条目撑满右列高度，几条就均分几格；只剩一条时按内容高走并居中，
   不然那一行会被拉成和头条一样高（438px 的一行字） */
.idx_list { flex: 1 1 44%; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
/* 只剩一条可见时右列是空的，收掉让头条铺满 */
.idx_news_body.is_single .idx_list { display: none; }

.idx_item { min-width: 0; }
.idx_item_link { display: block; color: inherit; }

/* —— 头条态 —— */
/* 高度定在 .idx_item 上（宽度 × 800/494），图和文字都绝对定位铺进去。
   不能反过来让 figure 撑高度：figure 挂在 <a> 里，而 <a> 为了压字是 absolute 的，
   跟着一起脱了文档流，竖排（≤1100，这一格不再被拉伸）时整块会塌成 0 高 */
/* width: 100% 是必须的：两个子节点都是 absolute，内容宽算出来是 0，
   不写死宽度这一格在 flex 行里会缩成一条 */
.idx_feat .idx_item { position: relative; overflow: hidden; width: 100%; aspect-ratio: 800 / 494; }
.idx_feat .idx_item_fig { position: absolute; inset: 0; margin: 0; }
.idx_feat .idx_item_fig img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s var(--ease);
}
.idx_feat .idx_item:hover .idx_item_fig img { transform: scale(1.04); }
.idx_feat .idx_item_link {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 40px 36px;
}
/* 底部压暗，白字才压得住图 */
.idx_feat .idx_item_link::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .2) 15%, rgba(0, 0, 0, 0) 30%);
}
.idx_feat .idx_item_txt { position: relative; z-index: 1; margin-top: 0; }
/* 头条图上的日期不显示了。（这段注释原来写的是「和右列共用同一个节点」——
   那是头条位还靠 JS 从右列搬条目的年代；现在头条位由服务端渲染，DOM 上本来就是
   两份，这条只影响头条那一份。但因为选择器带 .idx_feat 前缀，去掉前缀会让右列
   的日期也一起没，所以留着。） */
.idx_feat .idx_date { display: none; }
.idx_feat .idx_item_txt strong {
  display: block; font-size: 24px; line-height: 1.6; font-weight: 400; color: #fff;
}
.idx_feat .idx_item_txt em {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  margin-top: 10px; font-style: normal; font-size: 15px; line-height: 1.75;
  color: rgba(255, 255, 255, .82);
}

/* —— 头条轮播 ——
   后台标了多条「推荐」时这里叠着好几张，靠 .is_active 交叉淡入（跟第 3 节封面
   轮播同一套路）。只标一条时 .is_active 就落在第一张上，静态不动。

   叠放用「第一张留在文档流里、后面的绝对定位」：全绝对定位的话 .idx_feat 会塌成
   0 高（右列条数少时整块缩没，跟上面 .idx_item 那段注释里是同一个坑）。
   所有图都是 800/494 同比例，叠上去严丝合缝，不会串高。

   默认 opacity:0 是为了让没点亮的那几张真的不可见 —— 但服务端必须给第一张写上
   is_active，否则 main.js 跑到之前这一格是空的、刷新会闪白。
   这个默认值是跟模板里 <article class="idx_item{if i=1} is_active{/if}"> 配套的，
   改一边得改另一边。

   pointer-events 跟着 opacity 走：压在底下的那几张不能接鼠标，否则点到的是
   看不见的那张。 */
.idx_feat { position: relative; }
.idx_feat .idx_item {
  opacity: 0; pointer-events: none;
  transition: opacity .6s var(--ease);
}
.idx_feat .idx_item + .idx_item { position: absolute; inset: 0; }
.idx_feat .idx_item.is_active { opacity: 1; pointer-events: auto; }

/* 圆点：跟封面轮播的 .pagination 一个样子（细长条，当前那条变宽变白），
   只是挪到右下角。.idx_feat .idx_item_link 的右/下内边距是 40/36，
   这里跟它对齐，圆点和标题的右边缘就落在同一条线上 */
.idx_feat_dots {
  position: absolute; right: 40px; bottom: 36px; z-index: 2;
  display: flex; gap: 10px;
}
.idx_feat_dots b {
  width: 26px; height: 2px; background: rgba(255, 255, 255, .45);
  cursor: pointer; transition: .3s var(--ease);
}
.idx_feat_dots b.is_active { background: #fff; width: 44px; }

/* —— 列表态：日期方块 + 标题摘要，行间发丝线 —— */
.idx_list .idx_item { flex: 1 1 auto; border-bottom: 1px solid var(--c-line); }
.idx_list .idx_item:last-child, .idx_list .idx_item:nth-child(5), .idx_list .idx_item:nth-child(10) { border-bottom: 0; }
/* 筛完只剩一两条时右列会空，那一行再撑满整格就被拉成 438px 高的一行字了；
   这里按「可见条数 < 3」交给内容高度（:only-child 不管用——被筛掉的条目是
   display:none，仍然算兄弟节点） */
.idx_news_body.is_thin .idx_list .idx_item { flex: 0 1 auto; }
.idx_list .idx_item_link { display: flex; align-items: center; padding: 21.6px 0; }
.idx_list .idx_item:first-child .idx_item_link, .idx_list .idx_item:nth-child(6) .idx_item_link, .idx_list .idx_item:nth-child(11) .idx_item_link { padding-top: 0; }
.idx_list .idx_item:nth-child(5) .idx_item_link, .idx_list .idx_item:nth-child(10) .idx_item_link, .idx_list .idx_item:last-child .idx_item_link { padding-bottom: 0; }
.idx_list .idx_item_fig { display: none; }   /* cnbm 右列条目不带图 */

.idx_date {
  flex: none; width: 72px; height: 67px; border: 1px solid var(--c-line);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.idx_date b { font-size: 20px; font-weight: 400; line-height: 1.25; color: var(--c-333); }
.idx_date i { font-style: normal; font-size: 15px; line-height: 1.3; color: var(--brand); }
.idx_item:hover .idx_date { border-color: var(--brand); background: var(--brand-soft); }

/* 只在列表态撑满剩余宽度；头条态里这层要按内容高走，否则 flex:1 会把它拉满整格，
   三行字全被顶到顶部，压在图上变成看不清的白字 */
.idx_list .idx_item_txt { flex: 1 1 auto; min-width: 0; padding-left: 10px; }
.idx_list .idx_item_txt strong {
  display: block; font-size: 20px; line-height: 1.8; font-weight: 400; color: var(--c-333);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .3s var(--ease);
}
.idx_item:hover .idx_item_txt strong { color: var(--brand); }
.idx_list .idx_item_txt em {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  font-style: normal; font-size: 14px; line-height: 1.7; color: var(--c-999);
}

/* ---------- 6. 窄屏 ---------- */
/* 1600 以下头条文栏收一档：53% + padding 60px 是配两三行摘要的，
   这页正文是整段核心新闻，不收会把 4:3 的图拉成竖版 */
@media (max-width: 1600px) {
  .bl_feature_txt { padding: 34px 30px; }
  .bl_feature_txt h2 { font-size: 26px; }
  .bl_feature_txt .bl_desc { font-size: 17px; }
  .bl_pill { margin-top: 34px; }
}
@media (max-width: 1400px) {
  .bl_card figure { width: 320px; }
  .bl_card_txt { padding: 0 40px; }
}
@media (max-width: 1200px) {
  .bl_feature { padding: 64px 0; }
  .bl_feature_txt h2 { font-size: 23px; }
  .bl_feature_txt .bl_desc { font-size: 16px; }
  .bl_pill { height: 54px; }
  .bl_card_txt h3 { font-size: 19px; }
  .bl_card .bl_look_more { font-size: 16px; }

  /* 头条改上下排。
     再窄下去 45% 的图栏会窄成竖版，不如让图占满宽 */
  .bl_feature_card { flex-direction: column; }
  .bl_feature_card figure { width: 100%; aspect-ratio: 16 / 9; }
  .bl_feature_txt { width: 100%; padding: 34px 30px 40px; }
  .bl_pill { margin-top: 34px; }
}
@media (max-width: 1100px) {
  /* 一行放不下标题和三个页签了，改回三段竖排、一律靠左 */
  .idx_news_top { flex-direction: column; align-items: stretch; }
  .idx_news_top .section_head { margin-bottom: 20px; }
  .idx_news_top .bl_filters { justify-content: flex-start; gap: 28px; }
  /* 竖排下 100% 的 flex-basis 指的是高度，会把这根 1px 线拉成一整屏 */
  .idx_news_top .title_line { flex: none; margin-top: 18px; }
}
@media (max-width: 900px) {
  /* 列表卡片改上下排，图占满宽 */
  .bl_card { flex-direction: column; align-items: stretch; padding: 0 0 26px; }
  .bl_card figure { width: 100%; aspect-ratio: 16 / 9; }
  .bl_card_txt { padding: 26px 26px 0; }
  .bl_card--nofig .bl_card_txt { padding: 26px 26px 0; }
  .bl_card .bl_look_more { display: none; }   /* 窄屏下同样收起「了解更多」 */
}
@media (max-width: 760px) {
  /* 与 subpage.css 里锚点页签的窄屏尺寸对齐 */
  .bl_feature { padding: 48px 0; }
  .bl_feature_txt { padding: 26px 22px 32px; }
  .bl_feature_txt h2 { font-size: 20px; margin: 0 0 16px; }
  .bl_feature_txt .bl_desc { font-size: 15px; }
  .bl_pill { width: 100%; height: 52px; padding: 0 26px; font-size: 16px; margin-top: 26px; }
  .bl_list { padding-bottom: 56px; }
  .bl_items { gap: 22px; }
  .bl_card_txt { padding: 20px 18px 0; }
  .bl_card--nofig .bl_card_txt { padding: 20px 18px 0; }
  .bl_card_txt h3 { font-size: 17px; }
}

/* ---------- 7. 首页区块的窄屏覆写 ---------- */
@media (max-width: 1400px) {
  /* 两栏在 1400 以下开始挤，条目摘要收成一行 */
  .idx_list .idx_item_txt em { -webkit-line-clamp: 1; }
  .idx_list .idx_item_txt strong { font-size: 18px; }
}
@media (max-width: 1100px) {
  /* 头条与右列改上下排，头条铺满宽 */
  .idx_news_body { flex-direction: column; gap: 34px; }
  .idx_feat,
  .idx_list { flex: 0 0 auto; }
  .idx_list .idx_item:first-child .idx_item_link { padding-top: 21.6px; }
  .idx_list .idx_item:last-child .idx_item_link { padding-bottom: 21.6px; }
}
@media (max-width: 760px) {
  .idx_news { padding: 56px 0; }
  .idx_news_body { margin-top: 32px; gap: 26px; }
  /* 定高的那层是 .idx_item（figure 是 absolute + inset:0，给它的 aspect-ratio 不起作用）；
     手机上 800/494 只剩 216px 高，三行白字就把图盖满了，放到 4:3 */
  .idx_feat .idx_item { aspect-ratio: 4 / 3; }
  .idx_feat .idx_item_link { padding: 0 22px 22px; }
  .idx_feat .idx_item_txt { margin-top: 8px; }
  .idx_feat .idx_item_txt strong { font-size: 18px; }
  .idx_feat .idx_item_txt em { font-size: 13px; }

  .idx_list .idx_item_link { padding: 16px 0; }
  .idx_date { width: 62px; height: 58px; }
  .idx_date b { font-size: 17px; }
  .idx_date i { font-size: 13px; }
  .idx_list .idx_item_txt strong { font-size: 16px; line-height: 1.6; }
  .idx_list .idx_item_txt em { font-size: 13px; }
  .idx_news_top .bl_filters { gap: 22px; }
  /* 22/24 三个页签在 320 宽的屏上要 264px + 两条 22px 间距，容器只剩 290px，
     收小留余量；选中态比未选中大一档的关系跟着保留 */
  .idx_pills .tab { font-size: 17px; }
  .idx_pills .tab.is_active { font-size: 19px; }
}
