/* 内页顶栏/搜索：内容页 */
:root {
    --content-header-gradient: linear-gradient(
        180deg,
        rgba(5, 90, 133, 0.92) 0%,
        rgba(7, 105, 156, 0.78) 42%,
        rgba(7, 105, 156, 0.38) 72%,
        rgba(7, 105, 156, 0) 100%
    );
}

/* PC：顶栏叠在 list-hero 上层，渐变透明（与列表页一致） */
body.content-page {
    padding-top: 0 !important;
}
body.content-page .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: transparent;
    padding-top: 0;
    min-height: 1.3rem;
}
body.content-page .header:before {
    top: 0;
    height: 100%;
    background: var(--content-header-gradient);
    background-image: var(--content-header-gradient);
    background-size: 100% 100%;
}
body.content-page .header .wp,
body.content-page .header .wp1600 {
    position: relative;
    z-index: 2;
}
body.content-page .header .navbtn {
    position: absolute;
    top: 3px;
    right: 0;
    z-index: 10;
    width: 1.1rem;
    height: 1.04rem;
    line-height: 1.04rem;
}
body.content-page .big-nav {
    z-index: 9999;
}
body.content-page.navShow .header:before {
    height: 1.3rem;
    background: linear-gradient(120deg, #0a8ec4 0%, #07699c 52%, #055a85 100%);
    background-image: linear-gradient(120deg, #0a8ec4 0%, #07699c 52%, #055a85 100%);
}
body.content-page.navShow .header .navbtn {
    z-index: 10001;
}

/* list-hero 横幅（PC + 移动共用结构，移动样式见下方 @980px） */
body.content-page .list-hero {
    position: relative;
    z-index: 1;
}
body.content-page .list-chan-banner {
    width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}
body.content-page .list-chan-banner-inner {
    position: relative;
    overflow: hidden;
    line-height: 0;
    border-radius: 0;
}
body.content-page .list-chan-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 300px;
}
body.content-page .list-chan-banner-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
body.content-page .list-chan-banner-deco::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 105, 156, 0.35) 0%, rgba(7, 105, 156, 0.08) 38%, rgba(7, 105, 156, 0.02) 100%),
        linear-gradient(120deg, rgba(7, 105, 156, 0.28) 0%, rgba(7, 105, 156, 0.08) 42%, rgba(255, 255, 255, 0.04) 100%);
}

body.content-page .header .hdr-t,
body.list-page .header .hdr-t {
    font-size: .16rem;
}
body.content-page .nymain,
body.list-page .nymain {
    position: relative;
    z-index: 2;
}
body.content-page .detail img {
    height: auto !important;
}

/* 统一图标风格（与首页 intit 圆环样式一致，缩至 25px） */
body.content-page .tit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    font-size: 14px;
    color: #07699c;
    position: relative;
    vertical-align: middle;
    flex-shrink: 0;
    margin-right: 6px;
    font-style: normal;
}
body.content-page .tit-icon::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1px dashed #07699c;
    box-sizing: border-box;
    pointer-events: none;
}
body.content-page .posi {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
body.content-page .posi .tit-icon {
    margin-right: 8px;
}
body.content-page .detail .detailwen .detailtitle .detailinfo .time {
    display: flex;
    align-items: center;
    color: #07699c;
}
body.content-page .detail .detailwen .detailtitle .detailinfo .sharelist .share {
    height: auto;
    min-height: 28px;
    align-items: center;
    display: flex;
    position: relative;
    z-index: 20;
    overflow: visible;
}
body.content-page .detail .detailwen .detailtitle .detailinfo .sharelist,
body.content-page .detail .detailwen .detailtitle .detailinfo .sharelist .sharehide,
body.content-page .detail .detailwen .detailtitle .detailinfo .sharelist .sharehide .social-share {
    overflow: visible;
}
body.content-page .detail .detailjian .hotnewsTitle {
    display: flex;
    align-items: center;
}
body.content-page .detail .detailjian .hotnewsTitle .tit-icon {
    margin-right: 10px;
}

/* 分享至：沿用 share.css 目标站样式，仅保证二维码弹层不被裁剪 */
body.content-page .detail .detailwen .detailtitle .detailinfo .sharelist .sharehide .social-share {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    overflow: visible;
}
body.content-page .detail .detailwen .detailtitle .detailinfo .sharelist .sharehide .social-share a {
    overflow: visible !important;
}
body.content-page .detail .detailwen .detailtitle .detailinfo .sharelist .sharehide .social-share .icon-wechat {
    overflow: visible !important;
    z-index: 30;
}
body.content-page .detail .detailwen .detailtitle .detailinfo .sharelist .sharehide .social-share .icon-wechat .wechat-qrcode {
    z-index: 100;
}

/* 文章标题 */
body.content-page .detail .detailwen .detailtitle h3 {
    color: #07699c !important;
}

/* 内容页：返回顶部（圆形按钮 + 向上箭头，PC/移动一致） */
body.content-page:not(.list-page) .totop {
    width: .4rem;
    height: .4rem;
    background: #07699c;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    right: .2rem;
    bottom: 20%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s, visibility 0.8s, background 0.3s;
    z-index: 9998;
    cursor: pointer;
    border-radius: 50%;
}
body.content-page:not(.list-page) .totop.active {
    opacity: 1;
    visibility: visible;
}
body.content-page:not(.list-page) .totop:hover {
    background: #055a85;
}
body.content-page:not(.list-page) .totop img {
    display: none;
}
body.content-page:not(.list-page) .totop .totop-arrow {
    display: block;
    width: .12rem;
    height: .12rem;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(-45deg);
    margin-top: .04rem;
    flex-shrink: 0;
    box-sizing: border-box;
}

/* 正文排版 */
body.content-page .detail .detailwen .detailcon {
    font-size: 20px;
    line-height: 38px;
    font-family: '仿宋', FangSong, STFangsong !important;
}
body.content-page .detail .detailwen .detailcon p {
    font-size: 20px !important;
    line-height: 38px !important;
    text-indent: 2em;
    font-family: '仿宋', FangSong, STFangsong !important;
    margin: 0 !important;
}
body.content-page .detail .detailwen .detailcon p.vsbcontent_img,
body.content-page .detail .detailwen .detailcon p[style*="text-align: right"] {
    text-indent: 0;
}
body.content-page .detail .detailwen .detailcon p img,
body.content-page .detail .detailwen .detailcon .img_vsb_content {
    display: block;
    max-width: 800px !important;
    width: 100% !important;
    height: auto !important;
    margin: 26px auto;
}

/* 搜索弹层（首页 + 内容页 + 列表页） */
body.home .layer,
body.content-page .layer,
body.list-page .layer {
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
}
body.home .layer.showdiv,
body.content-page .layer.showdiv,
body.list-page .layer.showdiv {
    opacity: 1;
    visibility: visible;
}
body.home .layer .serclose,
body.content-page .layer .serclose,
body.list-page .layer .serclose {
    font-size: .4rem;
    position: absolute;
    right: .5rem;
    top: .5rem;
    width: .8rem;
    height: .8rem;
    text-align: center;
    line-height: .8rem;
    cursor: pointer;
    color: #ccc;
}
body.home .layer .search_box,
body.content-page .layer .search_box,
body.list-page .layer .search_box {
    height: .45rem;
    line-height: .45rem;
    max-width: 5.5rem;
    display: flex;
    transform: translateY(-0.5rem);
    opacity: 0;
    margin-top: -1rem;
    width: 90%;
}
body.home .layer.showdiv .search_box,
body.content-page .layer.showdiv .search_box,
body.list-page .layer.showdiv .search_box {
    transform: none;
    transition: all 0.5s ease-out;
    opacity: 1;
}
body.home .layer .search_box .form,
body.content-page .layer .search_box .form,
body.list-page .layer .search_box .form {
    display: flex !important;
    width: 100%;
}
body.home .layer .search_box .inp,
body.content-page .layer .search_box .inp,
body.list-page .layer .search_box .inp {
    background: #fff;
    flex: 1;
    padding: 0 .13rem;
    appearance: none;
    border-radius: 0;
    border: 0;
    height: .45rem;
    line-height: .45rem;
    font-size: .16rem;
}
body.home .layer .search_box .sub,
body.content-page .layer .search_box .sub,
body.list-page .layer .search_box .sub {
    background: #07699c;
    color: #fff;
    width: 1.2rem;
    text-align: center;
    font-size: .18rem;
    cursor: pointer;
    appearance: none;
    border-radius: 0;
    border: 0;
    height: .45rem;
    line-height: .45rem;
}
@media screen and (max-width: 640px) {
    body.home .layer .search_box,
    body.content-page .layer .search_box,
    body.list-page .layer .search_box {
        height: .55rem;
        line-height: .55rem;
    }
    body.home .layer .search_box .inp,
    body.home .layer .search_box .sub,
    body.content-page .layer .search_box .inp,
    body.content-page .layer .search_box .sub,
    body.list-page .layer .search_box .inp,
    body.list-page .layer .search_box .sub {
        height: .55rem;
        line-height: .55rem;
    }
    body.home .layer .serclose,
    body.content-page .layer .serclose,
    body.list-page .layer .serclose {
        right: .3rem;
        top: .3rem;
        width: .4rem;
        height: .4rem;
        line-height: .4rem;
    }
}

/* 正文 + 侧栏布局 */
body.content-page .detail {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* padding: .3rem 0; */
}
body.content-page .detail .detailwen {
    width: 70%;
    /* margin-bottom: 50px; */
    flex-shrink: 0;
}
body.content-page .detail .detailjian {
    width: 25%;
    margin-top: .3rem;
    flex-shrink: 0;
}

/* 上一条 / 下一条 */
body.content-page .nyarc .arc-sibp {
    display: block;
    width: 100%;
    /* margin-top: .3rem; */
    padding-top: .25rem;
    border-top: 1px solid #e5e5e5;
}
body.content-page .nyarc .arc-sib {
    width: 100%;
    max-width: 100%;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}
body.content-page .nyarc .arc-sib div {
    padding: .06rem 0;
}
body.content-page .nyarc .arc-sib .arc-sib-label {
    font-weight: bold;
    color: #333;
}
body.content-page .nyarc .arc-sib a {
    color: #07699c;
}
body.content-page .nyarc .arc-sib a:hover {
    color: #07699c;
    text-decoration: underline;
}

/* 最新动态侧栏（悬停效果对标 news.dlut.edu.cn/xjnry） */
body.content-page .detail .detailjian .hotnewsTitle {
    font-size: 22px;
    color: #000;
    font-weight: bold;
}
body.content-page .detail .detailjian .hotnewsList {
    list-style: none;
    width: calc(100% - 24px);
    margin: 0 0 0 24px;
    padding: 30px 0 50px;
    border-left: 1px solid #e5e5e5;
}
body.content-page .detail .detailjian .hotnewsList li {
    list-style: none;
    cursor: pointer;
}
body.content-page .detail .detailjian .hotnewsList li .date {
    font-size: 14px;
    color: #07699c;
    background: url(../images/hotnewsbg.png) no-repeat left top;
    background-size: 100% 100%;
    width: 106px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    padding-left: 10px;
    margin-left: 15px;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
}
body.content-page .detail .detailjian .hotnewsList li:hover .date {
    font-size: 14px;
    color: #fff;
    background: url(../images/hotnewsbg_on.png) no-repeat left top;
    background-size: 100% 100%;
}
body.content-page .detail .detailjian .hotnewsList li .date::before {
    content: "";
    position: absolute;
    left: -23.5px;
    top: 50%;
    width: 14px;
    height: 14px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 100%;
    margin-top: -10px;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
}
body.content-page .detail .detailjian .hotnewsList li:hover .date::before {
    border: 2px solid #07699c;
}
body.content-page .detail .detailjian .hotnewsList li .title {
    font-size: 16px;
    color: #222;
    line-height: 26px;
    margin: 0 15px 30px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 52px;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
}
body.content-page .detail .detailjian .hotnewsList li .title a {
    color: #222;
    transition: color 0.3s;
    -webkit-transition: color 0.3s;
}
body.content-page .detail .detailjian .hotnewsList li:hover .title a {
    color: #07699c;
}

@media only screen and (max-width: 1366px) {
    body.content-page .detail .detailjian .hotnewsTitle {
        font-size: 18px;
    }
    body.content-page .detail .detailjian .hotnewsList {
        width: 100%;
        padding: 0 0 50px;
    }
    body.content-page .detail .detailjian .hotnewsList li .date {
        font-size: 12px;
        height: 28px;
        line-height: 28px;
        margin-bottom: 10px;
    }
    body.content-page .detail .detailjian .hotnewsList li .title {
        font-size: 14px;
        line-height: 32px;
        height: 64px;
        margin: 0 15px 20px;
    }
}

@media screen and (max-width: 980px) {
    body.content-page {
        padding-top: 0 !important;
    }
    body.list-page {
        padding-top: 0;
    }
    /* 移动顶栏叠在 list-hero 上方（与列表页一致） */
    body.content-page .headerm {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 99;
        background: transparent;
        justify-content: flex-start;
        align-items: center;
        padding-left: 10px;
        padding-right: 4%;
    }
    body.content-page .headerm:before {
        top: 0;
        height: 100%;
        background: linear-gradient(
            180deg,
            rgba(5, 90, 133, 0.92) 0%,
            rgba(7, 105, 156, 0.78) 42%,
            rgba(7, 105, 156, 0.38) 72%,
            rgba(7, 105, 156, 0) 100%
        );
        background-image: linear-gradient(
            180deg,
            rgba(5, 90, 133, 0.92) 0%,
            rgba(7, 105, 156, 0.78) 42%,
            rgba(7, 105, 156, 0.38) 72%,
            rgba(7, 105, 156, 0) 100%
        );
        background-size: 100% 100%;
    }
    body.content-page .headerm .logo {
        position: relative;
        z-index: 2;
        flex: 0 1 auto;
        margin-right: auto;
        display: flex;
        align-items: center;
    }
    body.content-page .headerm .logo img {
        display: block;
        height: .5rem;
        width: auto;
    }
    body.content-page.navShow .headerm:before {
        background: #07699c;
        background-image: none;
    }
    body.content-page.navShow .headerm {
        z-index: 100;
    }
    body.content-page .headerm .navbtnm {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        z-index: 10;
    }
    /* 移动版：菜单在顶栏下方，关闭按钮保持可点击 */
    body.content-page .big-nav {
        z-index: 98;
    }
    /* 移动版 list-hero：覆盖 PC 横幅高度比例 */
    body.content-page .list-chan-banner img {
        min-height: 0;
        aspect-ratio: 750 / 280;
    }
    body.content-page .nymain.details {
        padding: 0 0 32px;
        background: #f7f9fb;
    }
    body.content-page .nymain.details > .wp.zi3 {
        max-width: none;
        width: 100% !important;
        box-sizing: border-box;
        padding: 0 12px 20px;
        margin: 0;
        background: #fff;
        background-image: none;
    }
    body.content-page .nymain.details .detail {
        padding: 0;
        display: flex;
    }
    body.content-page .nymain.details .wp .wp {
        padding: 0;
    }
    body.content-page .position > div {
        position: relative;
        text-align: left;
        font-size: 15px;
        line-height: 1.7;
        color: #888;
        border-bottom: 1px solid #e5e5e5;
        padding: 10px 0;
    }
    body.content-page .position span,
    body.content-page .position a {
        font-size: inherit;
        color: #888;
        margin: 0 4px 0 0;
        vertical-align: middle;
    }
    body.content-page .position a:hover {
        color: #07699c;
    }
    body.content-page .detail .detailwen .detailtitle h3 {
        margin-top: 24px;
        padding-bottom: 16px;
    }
    body.content-page .detail .detailwen .detailtitle .detailinfo {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 10px;
        width: 100%;
    }
    body.content-page .detail .detailwen .detailtitle .detailinfo .time {
        width: 100%;
        justify-content: flex-start;
    }
    body.content-page .detail .detailwen .detailtitle .detailinfo .sharelist {
        justify-content: flex-start !important;
        width: 100%;
    }
    body.content-page .detail .detailwen .detailtitle .detailinfo .sharelist .share {
        padding-left: 0;
        justify-content: flex-start;
    }
    body.content-page .detail {
        flex-direction: column;
    }
    body.content-page .detail .detailwen {
        width: 100%;
    }
    /* 移动端隐藏最新动态侧栏 */
    body.content-page .detail .detailjian {
        display: none !important;
    }
    body.content-page .nyarc .arc-sibp {
        margin-top: 24px;
        padding-top: 16px;
        border-top: 1px solid #e5e5e5;
    }
    body.content-page .nyarc .arc-sib {
        display: block;
        font-size: 15px;
        line-height: 1.65;
    }
    body.content-page .nyarc .arc-sib div {
        padding: 10px 0;
    }
    body.content-page .nyarc .arc-sib div + div {
        border-top: 1px dashed #e8e8e8;
    }
    body.content-page .nyarc .arc-sib .arc-sib-label {
        display: block;
        font-size: 14px;
        color: #666;
        margin-bottom: 4px;
    }
    body.content-page .nyarc .arc-sib a {
        display: block;
        color: #07699c;
        line-height: 1.5;
    }
    body.content-page .detail .detailwen .detailcon {
        font-size: 16px;
        line-height: 1.75;
    }
    body.content-page .detail .detailwen .detailcon p {
        font-size: 16px !important;
        line-height: 1.75 !important;
        margin: 0 !important;
    }
    body.content-page .detail .detailwen .detailcon p img {
        max-width: 100% !important;
    }

    /* 移动版内容页页脚：仅保留版权区，隐藏 foot-main */
    body.content-page:not(.list-page) .footer.ind .foot-main {
        display: none !important;
    }
}

/* 480px：保留分享（ny.css 默认会隐藏） */
@media screen and (max-width: 480px) {
    body.content-page .detail .detailwen .detailtitle .detailinfo .sharelist .share {
        display: flex !important;
    }
}
