/* 新闻中心移动端专属排版（2026-11-17）
   ----------------------------------------------------------------
   全站通用的容器左右留白、正文字号、图片上限已移到 mobile.css；
   本文件只处理新闻列表与新闻详情的特殊结构：

   - 详情页标题是内联 style="font-size:30px"，390 屏一行只放 11 字，折三行把正文推到首屏外
   - 详情页配图内联 .tupian2 img 是 422×300，媒体查询只改了宽，高度锁死导致比例被压扁
   - 列表页横幅下方还有一个「新闻中心」标题块（#sec01），与横幅重复
   - 列表卡片 .newList 原为桌面横向 flex，日期栏 130px、缩略图 165px

   引用范围：channels/9.html、en/channels/40.html、contents/9/*.html
   改内容请同步提升引用处 ?v= 版本号
   ---------------------------------------------------------------- */

@media (max-width: 767px) {

  /* ---------- 1. 容器去重 ---------- */
  /* .page-content 的 26px 与 #sec02 的 20px 是两层叠加，左右由 mobile.css 统一收窄，
     这里只补顶部间距（原 10px，详情页标题离固定导航只剩 4px）。 */
  article .page-content {
    padding-top: 16px;
  }
  article #sec02 {
    padding-left: 0;
    padding-right: 0;
  }

  /* ---------- 2. 详情页标题 ---------- */
  #sec02 [style*="font-size: 30px"] {
    font-size: 22px !important;
    line-height: 1.45 !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    text-align: left !important;
    margin-bottom: 12px !important;
  }
  /* 作者/时间行跟随左对齐（内联 text-align: center） */
  #sec02 [style^="text-align: center"] {
    text-align: left !important;
    font-size: 12px !important;
    color: #8b95a1 !important;
  }

  /* ---------- 3. 详情页正文 ---------- */
  #sec02 .field {
    font-size: 16px;
  }
  #sec02 .field p {
    color: #333;
  }

  /* ---------- 4. 详情页配图 ---------- */
  /* 用 block 而不是 flex：HTML 里两张图之间有 &nbsp;，作为匿名 flex item
     会独占一行，两图之间凭空多出 40px 空白；font-size:0 让该空白不占高度。 */
  #sec02 .tupian2 {
    display: block !important;
    width: 100% !important;
    margin: 8px 0 20px !important;
    font-size: 0 !important;
    line-height: 0 !important;
  }
  #sec02 .tupian2 img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 6px;
    display: block;
    margin-bottom: 16px;
  }
  #sec02 .tupian2 img:last-child {
    margin-bottom: 0;
  }

  /* ---------- 5. 列表页 ---------- */
  /* 横幅里已有「新闻中心」，下方 #sec01 是同名标题 + 红线的重复块。
     只有列表页存在 #sec01（详情页没有），不会误伤正文。 */
  #sec01 {
    display: none;
  }
  article #sec02 .inner {
    padding-top: 12px;      /* 原 41.6px，首条新闻被推得太低 */
    padding-left: 0;
    padding-right: 0;
  }

  #sec02 .newList {
    padding: 16px 0 18px;
    border-top-color: #ececec;
  }
  #sec02 .newList:first-child {
    border-top: 0;
    padding-top: 4px;
  }
  #sec02 .newTime {
    font-size: 12px;
    color: #9a9a9a;
    letter-spacing: 0.02em;
  }
  #sec02 .newTitleLink {
    font-size: 17px;
    line-height: 1.45;
    font-weight: 600;
    color: #1a1a1a;
  }
  #sec02 .newMs {
    font-size: 14px;
    line-height: 1.7;
    color: #8a8a8a;
    margin-top: 6px;
    max-height: calc(1.7em * 2);
  }
  #sec02 .newPicBox {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin-top: 12px;
    border-radius: 6px;
    overflow: hidden;
  }
  #sec02 .newPicBox img {
    border-radius: 6px;
  }
}
