/* 站点自定义样式（分页等，原站 CSS 未覆盖） */

.pager {
    clear: both;
    margin: 28px 0 12px;
    text-align: center;
    font-size: 0;
}

.pager .pg {
    display: inline-block;
    min-width: 34px;
    height: 34px;
    line-height: 34px;
    margin: 0 4px;
    padding: 0 12px;
    font-size: 14px;
    color: #333;
    border: 1px solid #e3e3e3;
    background: #fff;
    text-align: center;
    vertical-align: middle;
    box-sizing: border-box;
}

.pager a.pg:hover {
    color: #005bac;
    border-color: #005bac;
}

.pager .pg.cur {
    color: #fff;
    background: #005bac;
    border-color: #005bac;
    cursor: default;
}

.pager .pg.disabled {
    color: #c8c8c8;
    border-color: #eee;
    cursor: not-allowed;
}

.pager .ellipsis {
    display: inline-block;
    min-width: 18px;
    font-size: 14px;
    color: #999;
    vertical-align: middle;
}

.pager .total {
    display: inline-block;
    margin-left: 10px;
    font-size: 13px;
    color: #999;
    vertical-align: middle;
}

/* 「加载更多」状态（基础样式沿用原站 .lgetMore / .lgload） */
/* 加载中由 .lgload 去掉蓝底 + load.gif 表达，这里只改光标 */
.lgetMore.loading {
    cursor: wait;
}

/* ------------------------------------------------------------------
   正文 figure / figcaption
   浏览器默认 figure 有 margin:1em 40px，而源站 CSS 没有 reset 它。
   正文宽 700px，图片因此只剩 620px，比文字两侧各窄 40px。
   编辑部的新版内容（编辑后台）大量使用 <figure class="image">，
   这里对齐正文宽度，并给图注一个 PC 可读的字号
   （源站 .image figcaption 用的是 .16rem，PC 上只有 2.56px）。
   ------------------------------------------------------------------ */
.articleWrap figure {
    margin: 16px 0;
}

.articleWrap figcaption {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.6;
    color: #888;
    text-align: center;
}

/* 移动端专用「搜索」按钮：和 Logo 同一行。PC 端侧栏已有搜索框，这里不显示 */
.navSearchBtn {
    display: none;
}

/* =============================================================================
   列表项「整块可点」
   -----------------------------------------------------------------------------
   原站只有标题文字是链接，摘要 / 时间 / 留白都点不动。实测 366×160 的列表项里
   只有 8/25 的采样点能触发跳转——手机上尤其明显，看着是一整块，点下去没反应。

   做法：把标题链接的伪元素铺满整个条目。不改 DOM、不动 SEO（href 仍是标题链接），
   悬停/右键"在新标签打开"都还作用在同一个 <a> 上。

   代价：条目内文字无法再被鼠标选中复制（伪元素盖住了）。新闻列表可接受。
   ============================================================================= */
/* 不限父容器：频道列表、专题详情面板（.ztList）里都是同一种 .indexNewItem，
   按 .conBox .indexNewList 限定会漏掉专题面板内的条目 */
.indexNewItem,
.specailListp .specailItem {
    position: relative;
}

.indexNewItem .newCon .title::after,
.specailListp .specailItem .specailCon .title::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

/* 条目内的分类标签原本是 href="javascript:;" 的死链，被覆盖层盖住正好统一进详情；
   但如果哪天它变成真链接，这里保证它仍然优先响应 */
.indexNewItem .newCon .handle .tip {
    position: relative;
    z-index: 2;
}

/* =============================================================================
   正文视频：固定 16:9 画幅（对齐原站 r_article.js）
   -----------------------------------------------------------------------------
   原站 r_article.js 对每个 .video 强制设置：
       width  = 正文宽度（700）
       height = width * 5/9  ≈ 389
   再交给 QiniuPlayer（video.js）接管，按 letterbox 显示。
   效果：不管视频本身是横版还是竖版，都装进 16:9 的框里；竖版两边留黑边。

   我们原先直接输出裸 <video>，竖版视频（720×1280）会按原始比例撑成 700×1244，
   一屏都放不下，和原站观感完全不同。这里补上 16:9 约束。
   ============================================================================= */
.articleWrap figure.video {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 20px 0;
    background: #000;
    overflow: hidden;
}

/* 只作用于「播放器还没接管」时的裸 video */
.articleWrap figure.video > video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;   /* 竖版居中留黑边，横版正好铺满 */
    background: #000;
}

/* 播放器接管后（figure > .video-js > video.vjs-tech）必须再约束一次：
   播放器在窄屏（vjs-sm）会把 video 撑成竖版原始比例（366×651），
   父容器 overflow 一裁，视频上下就被切掉了。这里强制填满 16:9 容器。 */
.articleWrap figure.video .video-js video.vjs-tech,
.articleWrap figure.video .video-js .vjs-tech {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    top: 0 !important;
    left: 0 !important;
}

/* ------------------------------------------------------------------
   SEO 隐藏标题：页面需要 h1 但不显示（财1线、404 等）
   ------------------------------------------------------------------ */
.seo-h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ------------------------------------------------------------------
   财1线（7×24 快讯）页面：列表区占满 700px，去掉框线
   ------------------------------------------------------------------ */
.live-page .conBox {
    width: 700px !important;
}
.live-page .conBox .hourNewBox {
    border: none !important;
}

/* ------------------------------------------------------------------
   快讯详情页
   ------------------------------------------------------------------ */
.spider-page .spiderContent {
    font-size: 16px;
    line-height: 30px;
    color: #232323;
    letter-spacing: 0;
    text-align: justify;
    white-space: pre-wrap;
    margin-top: 15px;
}
.spider-page .similarList {
    flex-direction: column;
    gap: 18px;
}
.spider-page .similaritem .similartitle {
    font-size: 16px;
    color: #121212;
    line-height: 24px;
    text-align: justify;
    margin: 8px 0 4px;
    font-weight: normal;
}
.spider-page .similaritem .similartitle:hover {
    color: #005bac;
    font-weight: 700;
}
.spider-page .similaritem .similarcontent {
    font-size: 14px;
    color: #888888;
    line-height: 24px;
    text-align: justify;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}
.spider-page .similaritem .time {
    font-size: 12px;
    color: #a8a8a8;
    display: flex;
    align-items: center;
    margin-top: 8px;
}
.spider-page .similaritem .time .ico {
    width: 14px;
    height: 14px;
    position: relative;
    padding-right: 5px;
}

/* 财1线重点快讯：详情页标题与正文标红，颜色与原站 #F05050 一致 */
.spider-page .articleTitle.tred,
.spider-page .articleWrap.tred,
.spider-page .articleWrap.tred p {
    color: #f05050;
}

/* ------------------------------------------------------------------
   公司页（/gongsi.html?id=）
   ------------------------------------------------------------------ */
.companyTitle {
    font-size: 22px;
    font-weight: 700;
    color: #121212;
    line-height: 1.4;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

/* ------------------------------------------------------------------
   APP 下载页（/down.html）
   ------------------------------------------------------------------ */
.downPage {
    width: 1000px;
    max-width: 100%;
    margin: 40px auto 60px;
    padding: 0 10px;
    box-sizing: border-box;
}

.downCard {
    background: linear-gradient(135deg, #eef1ff 0%, #f8faff 100%);
    border-radius: 12px;
    padding: 50px;
    box-sizing: border-box;
}

.downTxt {
    width: 600px;
}

.downTxt h1 {
    font-size: 32px;
    line-height: 1.3;
    color: #004284;
    margin-bottom: 20px;
}

.downDesc {
    font-size: 15px;
    line-height: 1.9;
    color: #444;
    text-align: justify;
}

.downBtns {
    margin-top: 32px;
}

.downBtn {
    display: inline-block;
    height: 44px;
    line-height: 44px;
    padding: 0 26px;
    margin: 0 12px 10px 0;
    border-radius: 22px;
    font-size: 15px;
    color: #fff;
    text-align: center;
    transition: opacity .2s;
}

.downBtn:hover {
    color: #fff;
    opacity: .88;
}

.downBtn.ios {
    background: #005bac;
}

.downBtn.android {
    background: #0d9e57;
}

.downBtn.harmony {
    background: #6561fa;
}

.downTip {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.8;
    color: #888;
}

.downQr {
    width: 200px;
    text-align: center;
    margin-top: 8px;
}

.downQr img {
    display: block;
    width: 180px;
    height: 180px;
    margin: 0 auto;
}

.downQr p {
    margin-top: 12px;
    font-size: 14px;
    color: #666;
}

.downMeta {
    margin-top: 28px;
    text-align: center;
    font-size: 13px;
    line-height: 2;
    color: #888;
}

.downMeta a {
    color: #888;
}

.downMeta a:hover {
    color: #005bac;
}

@media (max-width: 1024px) {
    .downCard {
        padding: 30px 24px;
    }

    .downTxt,
    .downQr {
        float: none !important;
        width: 100%;
    }

    .downTxt h1 {
        font-size: 24px;
    }

    .downQr {
        margin-top: 30px;
    }
}
