/* ==========================================================================
   newsread.css — 新闻详情页专用样式
   加载方：Views/Home/NewsRead.cshtml（Layout=null 独立页）
   关联 CSS：public-core.css（地基，通过 <link> 直接加载）
   含导航栏、文章排版、响应式字号、侧栏等完整布局。
   消费的变量：--logo1, --navFontsize, --footerBorder 等（见 public-core.css §4.1）
   ========================================================================== */
        html {
            scroll-behavior: smooth;
        }

        #topBtn {
            display: none;

            padding: 0;
            position: fixed;
            bottom: 5vh;
            right: 4vw;
            z-index: 1;
            background-color: transparent;
            border: none;
            outline: none;
            cursor: pointer;
        }

        /* NAV */
        .bannerCon {
            /* 最上层 */
            height: var(--logo1);
            position: relative;
            border-bottom: 1px solid #877150;
        }

        .logo1 {
            position: absolute;
            left: 2vw;
            height: var(--logo1);
            width: auto;
        }

        .bannerLink {
            /* Link的Container,bannerCon的son */
            position: absolute;
            right: 0;
            top: 0;
            height: inherit;
            text-align: right;
            padding-right: 3%;
        }

        .bannerLink li {
            float: left;
            margin-right: var(--navRight);
            padding-top: var(--navTop);
            padding-bottom: 3.5vh;
        }

        .bannerLink a {
            font-family: 'smile-core', 'smile';
            font-size: var(--navFontsize);
            text-decoration: none;
            color: black;
            white-space: nowrap;
            word-break: keep-all;
            writing-mode: horizontal-tb;
        }

        .lineL {
            height: inherit;
            border-left: 1px solid #877150;
        }

        .lineR {
            margin-right: 60px;
            height: inherit;
            border-right: 1px solid #877150;
        }

        #section08 {
            /* EMAIL */
            height: 30vh;
            width: 100%;
            background-color: white;
            position: relative;
            margin-top: 5vh;
        }

        #section08m {
            /* EMAIL */
            height: 80vh;
            width: 100%;
            background-color: black;
            color: white;
            position: relative;
            border-top: 1px solid #ededed;
        }

        /* 08邮箱填写 */
        .fuzhu {
            height: 12vh;
            width: auto;
            position: absolute;
            top: 30%;
            transform: translateY(-50%);
            right: 10%;
        }

        .dui {
            height: 2vh;
            width: auto;
            vertical-align: middle;
        }

        .enter02 {
            /* 去色 */
            filter: grayscale(100%);

            /* 去button默认样式 */
            box-shadow: none;
            background-color: transparent;
            border: none;

            float: right;
            line-height: 4vh;
            /* position: absolute;
                top: 35%;
                right: 0;
                transform: translateY(-50%); */
        }

        .enter02 img {
            width: 1.5vw;
            height: auto;
        }

        .emailContainerM {
            position: relative;
            height: 100%;
            width: 100%;
        }

        .emailPosition h1 {
            text-align: center;
            font-family: var(--fontLight);
        }

        .emailPosition h1 {
            font-size: 2rem;
            letter-spacing: 0.1em;
            margin-bottom: 5vh;
        }

        .emailPosition p {
            text-align: justify;
            color: #939393;
            margin-top: 3vh;
            font-weight: 200;
            font-size: 1.2rem;
            line-height: 1.8em;
        }

        .emailPosition {
            height: auto;
            width: 80%;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        #section08m button {
            display: flex;
            background-color: transparent;
            color: white;
            font-family: var(--fontLight);
            font-size: 1rem;
            margin: 5vh auto;
            box-shadow: none;
            border: 1px solid white;
            padding: 0.5vh 2vw 0.5vh 2vw;
        }

        .guanzhu {
            width: 8vw;
            height: auto;
            margin-right: 3vw;
        }

        .logoContainerM {
            height: 100%;
            width: auto;
            display: flex;
            justify-content: center;
            align-items: flex-end;
        }

        .logoContainerM a {
            margin-bottom: 5vh;
        }

        .email {
            position: relative;
            width: 17vw;
            margin-top: 5vh;
            margin-bottom: 1.3vh;
            border-bottom: 1.5px solid black;
        }

        .email input {
            height: var(--inputHeight);
            width: auto;
            margin-bottom: 0.5vh;
            padding: 0.5em 0 0.5em 0.1em;

            background-color: transparent;
            border: none;
            outline: none;
            font-size: 1rem;
            letter-spacing: 0.05em;
        }

        #section08m .email input::placeholder {
            padding-left: 2vw;
            color: white;
            font-size: 1rem;
            font-family: 'dinLight';
        }

        #section08m .email input {
            margin-bottom: 0px;
        }

        .email input::placeholder {
            color: black;
            font-size: var(--emailHolder);
            font-family: 'dinLight';
        }

        .jieshou {
            line-height: 20px;
            vertical-align: middle;
            font-size: var(--jieshou);
        }

        /* footer */
        .footerPC {
            /* PC */
            height: 40vh;
            width: 100%;
            background-color: black;
            color: #939393;
            overflow: hidden;
        }

        .footerM {
            /* MOBILE */
            height: 100%;
            width: 100%;
            background-color: black;
            color: #939393;
            overflow: hidden;
            text-align: center;
            font-size: .6rem;
            line-height: 1.7em;
        }

        /* 09 FOOTER */

        .footerPC,
        .footerM a {
            text-decoration: none;
            color: #939393;
            font-size: .6rem;
            line-height: 1.7em;
        }

        .copyrightM {
            border-top: 1.5px solid #939393;
            padding: 5vh 0 5vh 0;
        }

        .footer {
            width: 100%;
            height: auto;
            position: relative;
            padding-top: 5vh;
        }

        .footerList {
            position: relative;
            border-left: var(--footerBorder);
            height: 100%;
            /* padding-left: 3%;
                padding-top: 12vh; */
        }

        .copyright {
            position: relative;
            height: 100%;
        }

        .copyright p {
            position: absolute;
            top: 55%;
            transform: translateY(-50%);
        }

        .copyright p>br {
            font-size: var(--footerFontsize);
            line-height: 1.5em;
        }

        .copyright-container {
            border-top: var(--footerBorder);
            height: 35vh;
        }

        .copyright-container p {
            position: absolute;
            top: 55%;
            transform: translateY(-50%);
        }

        .copyright-container a,
        .copyright-container p {
            color: #939393;
            text-decoration: none;
            font-family: 'Szaipa Noto Sans SC', 'Szaipa Noto Sans SC GB', sans-serif;
            font-display: swap;
            font-weight: 300;
            font-size: 1rem;
            line-height: var(--footerLineheight);
        }
    
        .topList {
            height: inherit;
            list-style: none;
            float: right;
            margin: 0px;
        }

        .search {
            float: left;
            font-size: 1rem;
            height: var(--navFontsize);
            width: var(--searchWidth);
            padding-left: 0.5em;
            text-decoration: none;
            color: black;
            background-color: transparent;
            border-radius: 0.5vw;
        }

        .search::placeholder {
            color: #939393;
            font-family: 'Szaipa Noto Sans SC', 'Szaipa Noto Sans SC GB', sans-serif;
            font-display: swap;
            font-weight: 200;
            font-size: 0.8rem;
        }

        .sousuo {
            background-color: transparent;
            border: none;
            outline: none;
            cursor: pointer;

            position: absolute;
            right: 0;
            top: var(--navTop);
            transform: translateY(10%);
        }

        .sousuo img {
            height: var(--navFontsize);
        }

        /* 修改后的共享部份 */

        header {
            text-align: center;
            font-size: 1.7rem;
            padding: 0 2vw;
            margin: 5vh auto;
            max-width: 20em;
            line-height: 1.5em;
        }

        #bread {
            display: flex;
            align-items: center;
            gap: 0.65em;
            margin: 3vh 0 5vh 0;
            position: relative;
        }

        #bread * {
            font-size: 1rem;
            font-family: 'Szaipa Noto Sans SC', 'Szaipa Noto Sans SC GB', sans-serif;
            font-weight: 300;
        }

        #bread a {
            text-decoration: none;
            color: black;
        }

        .article-breadcrumb [aria-current="page"] {
            color: #606266;
            line-height: 1rem;
        }

        .time {
            color: #939393;
            position: absolute;
            right: 0;

            font-family: 'dinLight';
        }

        .article {
            position: relative;
            padding: 5vh 5% 15vh 5%;
            border-right: 1px solid black;
            float: left;
        }

        .article h1 {
            text-align: center;
            font-size: 1.5rem;
            font-family: 'Szaipa Noto Sans SC', 'Szaipa Noto Sans SC GB', sans-serif;
            font-display: swap;
            font-weight: 400;
            letter-spacing: .1em;
            margin-top: 2em;
            line-height: 0;
        }

        .article img {
            width: 45% !important;
            object-fit: contain;
            margin: 3vh auto !important;
            display:block;
        }

        .article p {
            text-align: justify;
            font-size: 1.1rem;
            font-family: 'Szaipa Noto Sans SC', 'Szaipa Noto Sans SC GB', sans-serif;
            font-display: swap;
            font-weight: 300;
            line-height: 1.8em;
        }

        .zhushi {
            text-align: center;
            margin-top: -2vh;
            font-size: 1rem;
            color: #939393;
        }

        /* 子类 */

        .content {
            float: left;
            padding: 6vh 3% 0 3%;
            width: 29%;
            box-sizing: border-box;
        }

        .content ul {
            list-style: none;
            box-sizing: border-box;
            padding: 0;
            margin: 0;
        }

        .content li {
            margin-bottom: 3vh;
        }

        .content a {
            text-decoration: none;
        }

        .contentSon {
            position: relative;
            padding: 5% 10% 5% 5%;
            transform: translateX(2%);
            color: #ededed;
            z-index: 2;

            background-position: center center;
            background-size: cover;
            background-repeat: no-repeat;
        }

        .contentSon:hover {
            background-size: 200% auto;
        }

        .contentSon::before {
            content: "";
            display: block;

            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;

            width: 100%;
            height: 100%;
            background-position: center center;
            background-size: cover;
            background-color: #00000095;
        }

        .contentSon h3 {
            font-size: 0.8rem;
            letter-spacing: 0.05em;
        }

        .contentSon h1 {
            font-family: 'Szaipa Noto Sans SC', 'Szaipa Noto Sans SC GB', sans-serif;
            font-display: swap;
            font-weight: 400;
            font-size: 1.3rem;
        }

        .contentSon h4 {
            margin-top: 5em;
            font-size: 0.7rem;
            letter-spacing: 0.05em;
            text-decoration: underline;
        }

@media (max-width: 79.9375em) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        margin: 0;
        overflow-x: hidden;
    }

    body > nav {
        width: 100%;
        padding: 0;
    }

    .bannerCon {
        display: flex;
        align-items: center;
        box-sizing: border-box;
        width: 100%;
        min-height: 4rem;
        padding: 0 0.625rem;
    }

    .bannerCon > a {
        flex: 0 0 3.375rem;
    }

    .logo1 {
        position: static;
        width: 3rem;
        height: auto;
    }

    .bannerCon > div:not(.bannerLink) {
        display: none;
    }

    .bannerLink {
        position: static;
        flex: 1 1 auto;
        width: auto;
        height: auto;
        padding: 0;
    }

    .topList {
        display: flex;
        align-items: center;
        justify-content: space-between;
        float: none;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .bannerLink li {
        float: none;
        margin: 0;
        padding: 1.25rem 0.1875rem;
        white-space: nowrap;
        word-break: keep-all;
        writing-mode: horizontal-tb;
    }

    .bannerLink a {
        font-size: clamp(0.6875rem, 3.4vw, 0.9375rem);
        line-height: 1.5rem;
        white-space: nowrap;
    }
}

@media (min-width: 62em) and (max-width: 79.9375em) {
    html {
        /* 覆盖 legacy 992–1279 的 12px 根字号，并与两侧断点连续。 */
        font-size: 100%;
    }

    .bannerLink a {
        font-size: clamp(0.9375rem, calc(3.125vw - 1rem), 1.5rem);
    }
}

@media (max-width: 61.9375em) {
    html {
        /* 旧 responsive.css 会在窄屏把 1rem 放大到约 26px；只在新闻详情页恢复可读尺度。 */
        font-size: clamp(93.75%, 4.1vw, 100%);
    }

    .bannerCon {
        height: auto;
    }

    .article-spacer {
        display: none !important;
    }

    body > .article {
        box-sizing: border-box;
        float: none;
        clear: both;
        width: 100%;
        margin: 0;
        padding: 2rem 1.25rem 5rem !important;
        border-right: 0;
    }

    #bread {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.25rem 0.5rem;
        width: 100%;
        box-sizing: border-box;
        margin: 0 0 2rem;
        padding-top: 1.5rem;
    }

    #bread * {
        font-size: 0.8125rem;
        line-height: 1.4;
        white-space: nowrap;
    }

    #bread .time {
        position: absolute;
        top: 0;
        right: 0;
        font-size: 0.75rem;
    }

    .article > header {
        max-width: 18em;
        margin: 2rem auto 2.5rem;
        padding: 0;
        font-size: clamp(1.45rem, 6.4vw, 1.75rem);
        line-height: 1.45;
        letter-spacing: 0.02em;
        overflow-wrap: anywhere;
    }

    .article-body {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.75;
        overflow-wrap: anywhere;
    }

    .article .article-body :where(p, div, li, span, strong, em) {
        max-width: 100%;
        font-size: inherit !important;
        line-height: inherit !important;
    }

    .article .article-body :where(h1, h2, h3, h4) {
        height: auto !important;
        margin: 2rem 0 1rem;
        line-height: 1.45 !important;
        letter-spacing: 0.04em;
    }

    .article .article-body h1 {
        font-size: 1.35rem !important;
    }

    .article .article-body :where(h2, h3, h4) {
        font-size: 1.2rem !important;
    }

    .article .article-body img {
        display: block;
        width: auto !important;
        max-width: 100%;
        height: auto !important;
        margin: 1.5rem auto !important;
    }

    .article .article-body table {
        display: block;
        box-sizing: border-box;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
    }

    .article .article-body iframe {
        display: block;
        box-sizing: border-box;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin-inline: auto;
    }

    .article .article-body video {
        display: block;
        box-sizing: border-box;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        margin-inline: auto;
    }

    .article .article-body pre {
        box-sizing: border-box;
        max-width: 100%;
        overflow-x: auto;
        white-space: pre-wrap;
        overflow-wrap: anywhere;
        word-break: break-word;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
    }
}

/* 公众号视频不放到官网（文件大、费流量，旧站也不放视频）：同步时在视频原位置换成这一段提示，
   链到公众号原文观看。做成浅灰细框的居中小段，和正文区分开但不抢眼。 */
.article .article-body .wechat-video-note {
    margin: 1.5rem 0;
    padding: 0.9rem 1rem;
    border: 1px solid #e3e3e3;
    color: #777;
    font-size: 0.9rem !important;
    text-align: center;
}

.article .article-body .wechat-video-note a {
    color: #333;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}
