/* 2026-09-16 移动端触控 & 分页体验修复。整份删除并去掉引用即可整体回退。 */

/* === A: 移动端触控修复（news.html .news-card / 首页 home-latest-news.js .news-card / index.html .biz-card） === */
.news-card,
.biz-card {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
}

.news-card img,
.biz-card img {
    -webkit-touch-callout: none;
    user-select: none;
    pointer-events: none;
    -webkit-user-drag: none;
}

/* === B1: 分页按钮位置固定（news.html #newsPager） ===
   实测 1440x900：「上一页」「下一页」按钮宽度均为 74px，见阶段3实测数值表。
   prev/next 绝对定位后脱离原 flex 流，中间页码按钮仍由 justify-content:center 居中；
   两侧各留 74px+间距 padding，防止页码与 prev/next 重叠。 */
.newsroom-pager {
    position: relative;
    padding-left: 84px;
    padding-right: 84px;
}
.newsroom-pager button[data-role="prev"] {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.newsroom-pager button[data-role="next"] {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* === B2: 鼠标点击后抑制焦点环，键盘 Tab/Enter 的 :focus-visible 不受影响 === */
.newsroom-pager button:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

/* === B3: 列表卡片标题/摘要预留固定行高，不隐藏不省略内容 ===
   实测：.news-card-title line-height=28px(2行=56px)；.news-card-summary line-height=23.8px(3行≈71.4px，取72px)。1440x900 桌面视口实测所得。 */
.news-card-title {
    min-height: 56px;
}
.news-card-summary {
    min-height: 72px;
}

/* === B3 补充：给 .newsroom-grid 本身按断点加高度下限，消除翻页时分页条上下跳动 ===
   卡片标题/摘要的 min-height 只是地板，摘要超过3行仍会把卡片、进而把 grid 撑高。
   遍历全部34页实测各断点 .newsroom-grid offsetHeight 最大值（1440x900 / 1024x900 / 390x844），
   取整后设为该断点下限，不额外加缓冲。三个断点对应 newsroom.css 里 .newsroom-grid 的三种 padding。 */
.newsroom-grid {
    min-height: 1341px; /* >1024px 断点实测最大值（page12），padding:28px */
}
@media (max-width:1024px) {
    .newsroom-grid {
        min-height: 1366px; /* ≤1024px 断点实测最大值（page12），padding:var(--hg-space-5) */
    }
}
/* ≤720px 移动端不设 min-height：最短页仅 1964px，3516px 下限会产生 ~1552px 空白，代价大于收益。 */
