﻿/* m/mcss/news_dtl.css — 资讯/详情（news_dtl.aspx、new_sales_dtl.aspx）
   新版设计：对齐 PC lib2025 基调，变量与通用组件定义见 m2026.css。 */

@font-face {
    font-family: SinaHomeFont;
    src: url(../fonts/SinaHomeFont.cd770296.ttf) format("truetype"),url(fonts/SinaHomeFont.b0cfc85c.woff) format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: block
}

@font-face {
    font-family: SinaHomeFont1;
    src: url(../fonts/SinaHomeFont.f52fa93b.ttf) format("truetype"),url(fonts/SinaHomeFont.5c3d9a6f.woff) format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: block
}

/* ---------- 页面骨架 ---------- */
address, cite, em, i, mark, u {
    font-style: normal;
}

.j_cmnt_mian {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.news-wrap {
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    padding: 12px 12px calc(var(--m-tabbar-h, 56px) + 40px + env(safe-area-inset-bottom));
    box-sizing: border-box;
}

/* ---------- 文章卡片 ---------- */
.news-article {
    background: var(--m-card-bg, #fff);
    border-radius: var(--m-radius, 12px);
    box-shadow: var(--m-shadow-card, 0 6px 18px rgba(37, 54, 84, .06));
    padding: 16px;
    box-sizing: border-box;
    overflow: hidden;
}

    .news-article h3 {
        margin: 0 0 10px;
        font-size: 20px;
        font-weight: 700;
        color: var(--m-text, #253654);
        line-height: 28px;
        word-wrap: break-word;
    }

/* 元信息行：来源 / 站点 / 时间 */
.news-article-p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    color: var(--m-text-4, #A4B1C7);
    font-size: 12px;
    line-height: 18px;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--m-line, #E5EAF3);
    overflow: hidden;
}

.sisi {
    display: inline-block;
    max-width: 100%;
}

.article_source {
    overflow: hidden;
    white-space: nowrap;
    max-width: 60%;
    text-overflow: ellipsis;
}

.fr {
    float: right;
}

/* ---------- 正文富文本 ---------- */
.news-text-con {
    overflow: hidden;
    color: var(--m-text, #253654);
    font-size: 15px;
    line-height: 1.8;
    word-wrap: break-word;
    word-break: break-all;
    text-align: justify;
    position: relative;
    z-index: 0;
    padding-top: 5px;
}

    .news-text-con p {
        margin: 0 0 12px;
    }

    .news-text-con img {
        max-width: 100%;
        width: auto !important;
        height: auto;
        border-radius: var(--m-radius-sm, 8px);
        display: inline-block;
    }

    .news-text-con a {
        color: var(--m-primary, #0184FE);
    }

/* ---------- 文中广告 ---------- */
.newAdv {
    position: relative;
    margin: 12px auto 0;
    border-radius: var(--m-radius-sm, 8px);
    overflow: hidden;
}

    .newAdv img {
        width: 100%;
        display: block;
        border-radius: var(--m-radius-sm, 8px);
    }

/* ---------- 标签区（保留兼容旧页面结构） ---------- */
.v-wrap .s_tag {
    position: relative;
    clear: both;
    margin: 16px 0 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--m-line, #E5EAF3);
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.s_tag .tag-area {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

    .s_tag .tag-area > li {
        float: left;
        margin: 0 8px 8px 0;
        background: var(--m-soft-hover, #E8F0FF);
        border-radius: var(--m-radius-pill, 999px);
        padding: 0 12px;
        height: 26px;
        line-height: 26px;
        font-size: 12px;
    }

    .s_tag .tag-area > li .tag-link,
    .s_tag .tag-area > li .topic-link {
        display: inline-block;
        color: var(--m-primary, #0184FE);
    }

/* ---------- 分享 / 点赞按钮组 ---------- */
.shareA {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 18px 0 12px;
}

.shareBtnA {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    height: 34px;
    padding: 0 14px 0 40px;
    border: 1px solid var(--m-line, #E5EAF3);
    border-radius: var(--m-radius-pill, 999px);
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 18px;
    box-sizing: border-box;
    font-size: 13px;
    color: var(--m-text-2, #505E77);
    transition: transform .15s, background-color .15s;
}

    .shareBtnA:active {
        transform: scale(0.96);
        background-color: var(--m-soft-blue, #F4F9FF);
    }

.wxShareBtn {
    background-image: url(../images/wechat.png);
}

.wxShareBtn2 {
    background-image: url(../images/wechat_moments.png);
}

.likeBtn {
    background-image: url(../images/like.png);
    font-weight: 600;
    color: var(--m-text, #253654);
}

.icon-zan {
    margin-top: 12px;
}

/* 免责声明 */
.article-disclaimer {
    color: var(--m-text-4, #A4B1C7);
    font-size: 12px;
    line-height: 18px;
    margin-top: 10px;
}

/* ---------- 相关资讯 ---------- */
.aboutnews {
    margin-top: 16px;
    background: var(--m-card-bg, #fff);
    border-radius: var(--m-radius, 12px);
    box-shadow: var(--m-shadow-card, 0 6px 18px rgba(37, 54, 84, .06));
    overflow: hidden;
}

    .aboutnews b.artitle {
        display: flex;
        align-items: center;
        font-weight: 600;
        color: var(--m-text, #253654);
        font-size: 16px;
        padding: 14px 16px 12px;
        border-bottom: 1px solid var(--m-line, #E5EAF3);
    }

        .aboutnews b.artitle:before {
            content: "";
            width: 4px;
            height: 16px;
            border-radius: 2px;
            background: var(--m-grad-primary, linear-gradient(135deg, #016FFD, #01A7FF));
            margin-right: 8px;
            flex: none;
        }

/* ---------- 资讯行：发丝分隔 ---------- */
.newsitem {
    margin: 0 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--m-line, #E5EAF3);
    overflow: hidden;
}

    .newsitem:last-of-type {
        border-bottom: none;
    }

    .newsitem:active {
        background: var(--m-soft-blue, #F4F9FF);
    }

.m0 {
    padding: 0;
    position: relative;
    overflow: hidden;
}

    .m0 img {
        float: right;
        width: 120px;
        height: 80px;
        object-fit: cover;
        margin-left: 12px;
        border-radius: var(--m-radius-sm, 8px);
        background: var(--m-soft-blue, #F4F9FF);
    }

    .m0 .title {
        overflow: hidden;
    }

.newsitem .title {
    font-size: 15px;
    line-height: 22px;
    font-weight: 600;
    color: var(--m-text, #253654);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.m0 .pubtime {
    padding-top: 8px;
}

.newsitem .pubtime {
    font-size: 12px;
    color: var(--m-text-4, #A4B1C7);
    line-height: 18px;
    overflow: hidden;
}

.ddate {
    float: right;
    margin-right: 4px;
    color: var(--m-text-4, #A4B1C7);
}

/* ---------- 底部操作栏（点赞 / 收藏 / 分享） ---------- */
.fl_words {
    position: fixed;
    width: 100%;
    left: 0;
    bottom: calc(var(--m-tabbar-h, 56px) + env(safe-area-inset-bottom));
    z-index: 10;
    pointer-events: none;
}

.fl_words_box,
.fl_words_input {
    box-sizing: border-box;
}

.fl_words_box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: -webkit-max-content;
    width: max-content;
    max-width: 100%;
    height: 42px;
    padding: 0 6px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(37, 54, 84, 0.06);
    border-radius: var(--m-radius-pill, 999px);
    box-shadow: var(--m-shadow-card, 0 6px 18px rgba(37, 54, 84, .06));
    pointer-events: auto;
}

.fl_words_input {
    height: 30px;
    padding: 0 10px;
    border: 1px solid var(--m-line, #E5EAF3);
    border-radius: var(--m-radius-sm, 8px);
    line-height: 30px;
    text-align: left;
    font-size: 14px;
    color: var(--m-text-4, #A4B1C7);
    flex: 1 1;
    cursor: pointer;
}

.fl_fun,
.fl_words_num {
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.fl_words_num {
    position: absolute;
    height: 16px;
    min-width: 16px;
    padding: 0 4px;
    background: var(--m-red, #FF3939);
    border-radius: var(--m-radius-pill, 999px);
    border: 2px solid #fff;
    font-size: 10px;
    font-style: normal;
    color: #fff;
    left: 26px;
    top: -6px;
    width: auto;
    justify-content: center;
    line-height: normal;
    box-sizing: content-box;
}

.fl_words_ic {
    font-size: 20px;
    position: relative;
    margin: 0;
    padding: 0 14px;
    cursor: pointer;
    line-height: 1;
    color: var(--m-text-2, #505E77);
    transition: transform .15s;
}

    .fl_words_ic:active {
        transform: scale(0.9);
    }

    .fl_words_ic:active,
    .fl_words_ic:hover,
    .fl_words_ic:visited {
        color: var(--m-primary, #0184FE);
    }

[class*=" icon_"],
[class^=icon_] {
    font-family: SinaHomeFont !important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: inherit;
}

.icon_com_b:before {
    content: "\e90e";
}

.icon_collect:before {
    content: "\e90a";
}

.icon_share2:before {
    content: "\e933";
}

.icon_praise:before {
    font-family: SinaHomeFont1 !important;
    content: "\E961";
}

/* ---------- 轻提示 ---------- */
#prompt {
    background: rgba(37, 54, 84, 0.9);
    border-radius: var(--m-radius-pill, 999px);
    position: fixed;
    z-index: 999;
    bottom: calc(var(--m-tabbar-h, 56px) + 80px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    max-width: 80%;
    height: 40px;
    padding: 0 18px;
    text-align: center;
    display: none;
    box-shadow: 0 8px 20px rgba(37, 54, 84, 0.2);
}

    #prompt svg {
        width: 16px;
        height: 16px;
        fill: var(--m-green, #5FBF31);
        vertical-align: middle;
    }

    #prompt span {
        color: #fff;
        font-size: 14px;
        vertical-align: middle;
        margin-left: 6px;
    }

/* ---------- 兜底 ---------- */
a {
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

a, input {
    outline: none;
}

ol, ul {
    list-style: none;
    outline: none;
}

.u-line-1 {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
