/**
 * 全站移动端样式（PC 版确定后统一维护）
 * 断点：980px / 640px / 480px，与 pc-show / m-show 一致
 */

 @media screen and (max-width: 980px) {
    body.home,
    body.content-page,
    body.list-page {
        overflow-x: hidden;
    }

    /* 移动顶栏主题色 */
    .headerm:after {
        display: block;
        background: #07699c;
    }

    /* 移动顶栏：搜索按钮定位（菜单按钮左侧） */
    .headerm {
        align-items: center;
    }

    .headerm .serbtnm {
        position: absolute;
        right: .92rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 6;
        font-size: .24rem;
        color: #fff;
        line-height: 1;
        padding: .08rem;
    }

    /* 侧滑菜单：强化一级/二级栏目区分 */
    .big-nav .scroll li h2 {
        font-size: .23rem;
        font-weight: 700;
        line-height: .58rem;
        letter-spacing: .01rem;
    }

    .big-nav .scroll li h2 a {
        color: #fff;
    }

    .big-nav .scroll li.on h2 {
        background: rgba(255, 255, 255, 0.1);
    }

    .big-nav .scroll li .list {
        padding: .02rem 0 .04rem;
        background: rgba(0, 0, 0, 0.18);
    }

    .big-nav .scroll li .list h3 {
        font-size: .2rem;
        font-weight: 400;
        line-height:.35rem;
        border-top: none;
        padding: .04rem 0 .04rem 12%;
        position: relative;
    }

    .big-nav .scroll li .list h3::before {
        content: '';
        position: absolute;
        left: 8%;
        top: 50%;
        transform: translateY(-50%);
        width: .05rem;
        height: .05rem;
        background: rgba(255, 255, 255, 0.55);
        border-radius: 50%;
    }

    .big-nav .scroll li .list h3 a {
        color: rgba(255, 255, 255, 0.82);
        opacity: 1;
    }

    .big-nav .scroll li .list h3 a::before {
        display: none;
    }

    /* 侧滑菜单：隐藏旧搜索块；快捷入口见 .big-nav-quick */
    .big-nav .btn-list1,
    .big-nav .btn-link,
    .big-nav .search,
    .big-nav .topser {
        display: none !important;
    }

    /* 快捷入口：仅移动端显示，样式与一级菜单一致 */
    .big-nav .scroll li.big-nav-quick {
        display: block;
        width: 100%;
        text-align: left;
        padding-top: 0;
        border-bottom: rgba(255, 255, 255, 0.13) solid 1px;
    }

    .big-nav .scroll li.big-nav-quick-start {
        margin-top: 0;
        border-top: none;
    }

    .big-nav .scroll li.big-nav-quick h2 {
        font-size: .23rem;
        font-weight: 700;
        line-height: .58rem;
        letter-spacing: .01rem;
        padding-left: 6%;
        position: relative;
    }

    .big-nav .scroll li.big-nav-quick h2 a {
        display: block;
        color: #fff;
    }

    /* 搜索弹层：右上角展开（非屏幕居中/底部） */
    body.home .layer,
    body.content-page .layer,
    body.list-page .layer {
        display: block;
        background: rgba(0, 0, 0, 0.35);
    }

    body.home .layer .serclose,
    body.content-page .layer .serclose,
    body.list-page .layer .serclose {
        position: fixed;
        top: .12rem;
        right: .12rem;
        width: .36rem;
        height: .36rem;
        line-height: .36rem;
        font-size: .22rem;
        color: #fff;
        z-index: 100001;
    }

    body.home .layer .search_box,
    body.content-page .layer .search_box,
    body.list-page .layer .search_box,
    body.search-page .layer .search_box {
        position: fixed;
        top: .55rem;
        right: .12rem;
        left: .12rem;
        width: auto;
        max-width: none;
        margin: 0;
        height: .44rem;
        line-height: .44rem;
        transform: translateY(-6px);
        opacity: 0;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
        border-radius: 4px;
        overflow: hidden;
    }

    body.home .layer.showdiv .search_box,
    body.content-page .layer.showdiv .search_box,
    body.list-page .layer.showdiv .search_box,
    body.search-page .layer.showdiv .search_box {
        transform: none;
        opacity: 1;
    }

    body.home .layer .search_box .inp,
    body.content-page .layer .search_box .inp,
    body.list-page .layer .search_box .inp,
    body.search-page .layer .search_box .inp {
        height: .44rem;
        line-height: .44rem;
        font-size: .15rem;
    }

    body.home .layer .search_box .sub,
    body.content-page .layer .search_box .sub,
    body.list-page .layer .search_box .sub,
    body.search-page .layer .search_box .sub {
        height: .44rem;
        line-height: .44rem;
        font-size: .15rem;
        width: .9rem;
        flex-shrink: 0;
    }

    /* ========== 首页 ========== */
    .homea:before,
    .homea:after,
    .homee:before,
    .homeg:before {
        display: none;
    }

    .homea {
        padding: .3rem 0 0 0;
    }

    /* 太工新闻移动端：图片通栏 + 标题/圆点压在图上 */
    .homea .aleft {
        width: 100%;
        padding: 0;
    }

    .homea .aleft .slide-news {
        width: 100% !important;
        max-width: 100%;
        margin: 0 !important;
        padding: 0;
        box-sizing: border-box;
        position: relative;
        overflow: hidden;
        border-radius: .06rem;
    }

    .homea .aleft .slide-newsPic,
    .homea .aleft .slide-newsPic .pic,
    .homea .aleft .slide-newsPic .pic .a {
        border-radius: .06rem;
        overflow: hidden;
    }

    .homea .aleft .news-carousel-item .slideTxts {
        border-radius: 0;
    }

    .homea .aleft .slide-newsPic {
        width: 100%;
        height: auto !important;
        aspect-ratio: 16 / 10;
    }

    .homea .aleft .slide-newsPic .swiper-wrapper,
    .homea .aleft .slide-newsPic .swiper-slide,
    .homea .aleft .slide-newsPic .news-carousel-item,
    .homea .aleft .slide-newsPic .pic {
        height: 100%;
        background: #0a3d5c;
    }

    .homea .aleft .slide-newsPic .pic .a {
        display: block !important;
        height: 100%;
        width: 100%;
        background: #0a3d5c !important;
        background-image: none !important;
        background-size: cover !important;
        transform: none !important;
    }

    .homea .aleft .slide-newsPic .pic .a img,
    .homea .aleft .slide-newsPic .pic .a img.none {
        display: block !important;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* 太工新闻：移动端用底部圆点切换，隐藏左右箭头 */
    .homea .aleft .slideTxt .ssbtn {
        display: none !important;
    }

    .homea .aleft .slide-news .slide-news-page {
        display: flex !important;
        justify-content: center;
        align-items: center;
        position: absolute;
        left: 0;
        right: 0;
        top: auto;
        bottom: .56rem;
        z-index: 7;
        margin: 0;
        padding: 0;
        line-height: 1;
        pointer-events: auto;
    }

    .homea .aleft .slide-news .slide-news-page .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 4px !important;
        opacity: 1;
        background: rgba(255, 255, 255, .45);
        border: 1px solid rgba(255, 255, 255, .9);
    }

    .homea .aleft .slide-news .slide-news-page .swiper-pagination-bullet-active {
        background: #f8a852;
        border-color: #f8a852;
    }

    .homea .aleft .slideTxt.pore {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 8;
        margin-top: 0;
        width: 100%;
    }

    .homea .aleft .slide-newsTxt-display,
    .homea .aleft .slideTxt .slideTxts {
        width: 100%;
        height: auto !important;
        min-height: .48rem;
        padding: .1rem .14rem;
        box-sizing: border-box;
        overflow: hidden;
        background: #07699c url(../images/ha1bg.jpg) no-repeat center;
        background-size: cover;
        border-radius: 0 0 .06rem .06rem;
    }

    .homea .aleft .slide-newsTxt-display h4 {
        margin: 0;
        width: 100%;
    }

    .homea .aleft .slide-newsTxt-display h4 a,
    .homea .aleft .slide-newsTxt-display h4 a.eclip {
        color: #fff;
        font-size: 16px;
        line-height: 1.5 !important;
        max-height: none;
        min-height: 0;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        display: block;
        width: 100%;
        -webkit-line-clamp: unset;
        line-clamp: unset;
        -webkit-box-orient: unset;
    }

    /* 移动端：大图轮播左右按钮与边缘保持间距（用 px，避免 rem 在移动根字号下过小） */
    .banner .sbtn a.prev {
        left: 14px !important;
    }

    .banner .sbtn a.next {
        right: 14px !important;
    }

    .homed .slideHd .ssbtn .prev {
        left: 14px !important;
    }

    .homed .slideHd .ssbtn .next {
        right: 14px !important;
    }

    .homed .xywh-carousel-box {
        /* 为轮播下方绝对定位标题预留空间（标题加宽后多为 1～2 行） */
        padding-bottom: 1.2rem;
        overflow: visible;
    }

    .homed .slideHd {
        overflow: visible;
        margin-bottom: 0;
    }

    .homed .slideHd .ssbtn a {
        top: 16vw !important;
    }

    .homed .slideHd .swiper-slide .txt {
        z-index: 2;
        padding: .08rem .04rem .02rem;
        box-sizing: border-box;
        background: #fff;
        /* 相对当前 slide 居中拉满屏宽 */
        left: calc(50% - 50vw) !important;
        right: auto !important;
        width: 100vw !important;
        max-width: none !important;
        margin: 0 !important;
        padding-left: .12rem;
        padding-right: .12rem;
    }

    .homed .slideHd .swiper-slide-active .txt {
        width: 100vw !important;
        max-width: none !important;
        margin: 0 !important;
    }

    .homed .slideHd .txt h4 {
        margin-bottom: .04rem;
        padding: 0;
        box-sizing: border-box;
    }

    .homed .slideHd .txt h4 a {
        display: -webkit-box !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal !important;
        word-break: break-word;
        font-size: 16px;
        line-height: 1.4;
        max-width: 100%;
    }

    .homec .xywh-sbtn .prev {
        left: 14px !important;
    }

    .homec .xywh-sbtn .next {
        right: 14px !important;
    }

    .homec-party .xywh-sbtn .prev {
        left: 14px !important;
    }

    .homec-party .xywh-sbtn .next {
        right: 14px !important;
    }

    /* 移动端：各版块轮播左右切换按钮统一黄色（党建思政除外，使用主题蓝） */
    .homed .slideHd .ssbtn a,
    .homec .xywh-sbtn a,
    .homef .icoSp .ssbtn a,
    .banner .sbtn a {
        background: #f8a852 !important;
        background-image: none !important;
        color: #fff !important;
        border-color: rgba(248, 168, 82, .95) !important;
    }

    .homec-party .xywh-sbtn a,
    .homec-party .slideHd .ssbtn a,
    .homec-party .xywh-sbtn-pc a {
        background: rgba(255, 255, 255, .55) !important;
        background-image: none !important;
        color: #07699c !important;
        border: none !important;
    }

    .homec-party .xywh-sbtn a:hover,
    .homec-party .slideHd .ssbtn a:hover,
    .homec-party .xywh-sbtn-pc a:hover {
        background: rgba(255, 255, 255, .78) !important;
        color: #07699c !important;
    }

    .homea .aright ul {
        display: flex;
        flex-direction: column;
        height: auto;
    }

    .homea .aright ul li {
        flex: none !important;
        align-items: center !important;
        -webkit-box-align: center;
        min-height: 1rem;
        padding: .12rem 0;
        box-sizing: border-box;
    }


    .homea .aright ul li .txt,
    .homea .aright ul li .txt.flex-v {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        padding-left: .12rem;
        padding-top: 0 !important;
        display: flex !important;
        flex-direction: column;
        justify-content: center !important;
        align-self: center;
        min-height: .72rem;
        height: auto !important;
    }

    .homea .aright ul li .txt h4 {
        flex: none;
        margin: 0 !important;
        min-height: 0;
    }

    /* 移动端：各版块栏目标题与文章标题不加粗，隐藏摘要 */
    .intit h3,
    .intit h3 span em,
    .intit h3 span em a,
    .homea .aleft .news-carousel-item .slideTxts h4,
    .homea .aleft .news-carousel-item .slideTxts h4 a,
    .homea .aleft .slide-newsTxt-display h4,
    .homea .aleft .slide-newsTxt-display h4 a,
    .homea .aright ul li .txt h4,
    .homea .aright ul li .txt h4 a,
    .homeb .aleft .jstd-list li h4,
    .homeb .aleft .jstd-list li h4 a,
    .homeb .djzz-feature-txt h4,
    .homeb .djzz-feature-txt h4 a,
    .homeb .jstd-list li h4,
    .homeb .jstd-list li h4 a,
    .homec .xywh-slide .xywh-txt h4,
    .homec .xywh-slide .xywh-txt h4 a,
    .homec-party .xywh-slide .xywh-txt h4,
    .homec-party .xywh-slide .xywh-txt h4 a,
    .homec-party .Ctrlyear .txt h4,
    .homec-party .Ctrlyear .txt h4 a,
    .homed .slideHd .txt h4,
    .homed .slideHd .txt h4 a,
    .homed .homed-list-mobile li h4,
    .homed .homed-list-mobile li h4 a,
    .homec-party .homec-party-list-mobile li h4,
    .homec-party .homec-party-list-mobile li h4 a,
    .homeg .jstd-feature-txt h4,
    .homeg .jstd-feature-txt h4 a,
    .homeg .jstd-list li h4,
    .homeg .jstd-list li h4 a {
        font-weight: normal !important;
    }

    .homeb .djzz-summary,
    .homeg .jstd-feature-txt p,
    .homec .xywh-slide .xywh-summary,
    .homec-party .xywh-slide .xywh-summary,
    .homec-party .Ctrlyear .txt p,
    .homed .slideHd .txt p {
        display: none !important;
    }

    .homeg .jstd-feature-txt {
        min-height: auto;
    }

    /* 首页标题：移动 16px，单行省略，背景条完整包裹（见上方 slide-newsTxt-display 规则） */
    .homea .aleft .news-carousel-item .slideTxts h4 a,
    .homea .aleft .news-carousel-item .slideTxts h4 a.eclip {
        color: #fff;
        font-size: 16px;
        line-height: 1.5 !important;
        max-height: none;
        min-height: 0;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        display: block;
        width: 100%;
        -webkit-line-clamp: unset;
        line-clamp: unset;
        -webkit-box-orient: unset;
    }

    .homea .aright ul li .txt h4 a {
        font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
        font-size: 16px;
        line-height: 1.5;
        font-weight: normal;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        min-height: 0;
        max-height: calc(1.5em * 2);
    }

    .homea .aright ul li .txt-meta {
        display: none;
    }

    .homeb .djzz-feature-txt h4,
    .homeb .djzz-feature-txt h4 a,
    .homeg .jstd-feature-txt h4,
    .homeg .jstd-feature-txt h4 a,
    .homec .xywh-slide .xywh-txt h4,
    .homec .xywh-slide .xywh-txt h4 a,
    .homec-party .xywh-slide .xywh-txt h4,
    .homec-party .xywh-slide .xywh-txt h4 a,
    .homec-party .xywh-txt h4,
    .homec-party .xywh-txt h4 a,
    .homed .slideHd .txt h4,
    .homed .slideHd .txt h4 a,
    .homeb .jstd-list li h4,
    .homeb .jstd-list li h4 a,
    .homeg .jstd-list li h4,
    .homeg .jstd-list li h4 a,
    .homec-party .Ctrlyear .txt h4,
    .homec-party .Ctrlyear .txt h4 a,
    .homed .Ctrlyear .txt h4,
    .homed .Ctrlyear .txt h4 a {
        font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
        font-size: 16px;
        line-height: 1.5;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        word-break: break-word;
        -webkit-line-clamp: unset;
        line-clamp: unset;
        display: block;
    }

    .homeb .aleft .jstd-list li h4 {
        flex: 1 1 auto;
        min-width: 0;
        margin: 0 !important;
        font-size: 16px;
        line-height: 1.5;
        font-weight: normal;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-self: center;
        min-height: .72rem;
    }

    .homeb .aleft .jstd-list li h4 a,
    .homeb .aleft .jstd-list li h4 a.l2 {
        display: -webkit-box !important;
        -webkit-box-orient: vertical;
        overflow: hidden;
        white-space: normal !important;
        text-overflow: ellipsis;
        word-break: break-word;
        font-size: 16px;
        line-height: 1.5;
        color: #333;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        min-height: 0;
        max-height: calc(1.5em * 2);
    }

    /* 太工新闻：移动端显示 10 条（6–10 为 news-item-mobile，PC 隐藏） */
    .homea .aright ul li.news-item-mobile {
        display: flex !important;
    }

    .homea .aright ul li:nth-child(n+11) {
        display: none !important;
    }

    /* 教学科研：移动端无头条，纯列表 10 条，日期在左（与通知公告相反） */
    .homeb .djzz-feature {
        display: none !important;
    }

    .homeb .jstd-list li.djzz-item-mobile {
        display: flex;
    }

    .homeb .jstd-list li:nth-child(n+11) {
        display: none !important;
    }

    .homeb .jstd-list li {
        flex: none !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        -webkit-box-align: center;
        min-height: 1rem;
        padding: .12rem 0;
        box-sizing: border-box;
    }

    .homeb .jstd-list li time {
        display: none !important;
    }

    .homeb .jstd-list li h4 {
        flex: 1 1 auto;
        min-width: 0;
        margin: 0 !important;
        font-weight: normal;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-self: center;
        min-height: .72rem;
    }

    .homeb .jstd-list li h4 a,
    .homeb .jstd-list li h4 a.l2 {
        font-size: 16px;
        line-height: 1.5;
        color: #333;
        display: -webkit-box !important;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        min-height: 0;
        max-height: calc(1.5em * 2);
        white-space: normal !important;
        word-break: break-word;
    }

    /* 通知公告 + 教学科研：移动端上下分块（先通知 5 条，再教学科研） */
    .homeb > .wp.flex {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0;
        align-items: stretch;
    }

    .homeb .aleft,
    .homeb .aright {
        width: 100% !important;
        flex: 0 0 auto !important;
        max-width: 100%;
    }

    .homeb .aleft {
        margin-bottom: .35rem;
    }

    .homeb .aright .intit {
        margin-top: .08rem;
    }

    /* 通知公告 / 教学科研 / 校园文化 / 竞赛天地 / 媒体太工：统一白底卡片 */
    .homeb .jstd-wrap,
    .homed .jstd-wrap,
    .homeg .jstd-wrap {
        background: #fff;
        border-radius: .06rem;
        box-shadow: 0 .04rem .2rem rgba(0, 66, 186, .08);
        overflow: hidden;
        padding: .06rem .18rem .1rem !important;
        box-sizing: border-box;
    }

    .homeb .jstd-list,
    .homeb .aleft .jstd-list,
    .homeb .aright .jstd-list,
    .homed .jstd-list,
    .homed .homed-list-mobile .jstd-list,
    .homeg .jstd-list,
    .homeg .aleft .jstd-list,
    .homeg .aright .jstd-list {
        margin: 0 !important;
        padding: 0 !important;
        list-style: none;
        border-top: none;
        background: transparent;
    }

    /* 竞赛天地 / 媒体太工：移动端头条标题在上、日期在下 */
    .homeg .jstd-feature-txt.flex-v {
        display: flex;
        flex-direction: column;
        padding: .12rem .14rem .06rem;
    }

    .homeb .djzz-feature-txt h4,
    .homeg .jstd-feature-txt h4 {
        margin: 0 0 .08rem;
        min-height: 0;
    }

    .homeb .djzz-feature-txt time,
    .homeg .jstd-feature-txt time {
        margin: 0;
    }

    .homeb .djzz-summary-wrap {
        display: none !important;
    }

    /* 通知公告：移动端 6 条 */
    .homeb .aleft .jstd-list {
        list-style: none;
        background: transparent;
    }

    .homeb .aleft .jstd-list li:nth-child(n+7) {
        display: none;
    }

    .homeb .aleft .jstd-list li:nth-child(6) {
        border-bottom: none;
    }


    .homec-party .Ctrlyear {
        width: calc(100% - 1rem);
        margin-left: auto;
        margin-right: auto;
    }

    .homed .slideHd .swiper-slide-active .txt {
        width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .homed .slideHd .txt time {
        font-size: .14rem;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    /* 校园文化：白底卡片列表，样式对齐通知公告 / 教学科研 */
    .homed .homed-list-mobile {
        margin: 0;
        position: relative;
        z-index: 0;
        clear: both;
    }

    .homed .homed-list-mobile li {
        display: flex;
        flex-wrap: nowrap !important;
        align-items: center !important;
        -webkit-box-align: center;
        justify-content: flex-start;
        gap: .02rem;
        min-height: 1rem;
        padding: .12rem 0;
        box-sizing: border-box;
        border-bottom: 1px dashed #e8e8e8;
        overflow: hidden;
    }

    

    .homed .homed-list-mobile li:nth-child(5) {
        border-bottom: none;
    }

    .homed .homed-list-mobile li h4 {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        max-width: none;
        margin: 0 !important;
        padding: 0;
        font-weight: normal;
        display: flex;
        flex-direction: column;
        justify-content: center !important;
        align-self: center;
        min-height: .72rem;
        overflow: hidden;
    }

    .homed .homed-list-mobile li h4 a,
    .homed .homed-list-mobile li h4 a.l2 {
        font-size: 16px;
        line-height: 1.5;
        color: #333;
        display: -webkit-box !important;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        min-height: 0;
        max-height: calc(1.5em * 2);
        white-space: normal !important;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .homed .homed-list-mobile li .news-date {
        flex: 0 0 auto;
        flex-shrink: 0;
        position: relative;
        z-index: 1;
    }

    /* 党建思政：左右边距与通知公告一致（.18rem） */
    .homec-party .homec-party-list-mobile {
        margin: .16rem 0 0;
    }

    .homec-party .homec-party-list-mobile ul {
        margin: 0;
        padding: .02rem .18rem .06rem;
        list-style: none;
        border-top: 1px dashed rgba(255, 255, 255, .28);
        box-sizing: border-box;
    }

    .homec-party .homec-party-list-mobile li {
        display: flex;
        flex-wrap: nowrap !important;
        align-items: center !important;
        -webkit-box-align: center;
        justify-content: flex-start;
        gap: .02rem;
        min-height: 1rem;
        padding: .12rem 0;
        box-sizing: border-box;
        border-bottom: 1px dashed rgba(255, 255, 255, .28);
        overflow: hidden;
    }

    .homec-party .homec-party-list-mobile li:nth-child(n+6) {
        display: none !important;
    }

    .homec-party .homec-party-list-mobile li:nth-child(5) {
        border-bottom: none;
    }

    .homec-party .homec-party-list-mobile li h4 {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        max-width: none;
        margin: 0 !important;
        padding: 0;
        font-weight: normal;
        display: flex;
        flex-direction: column;
        justify-content: center !important;
        align-self: center;
        min-height: .72rem;
        overflow: hidden;
    }

    .homec-party .homec-party-list-mobile li h4 a {
        font-size: 16px;
        line-height: 1.5;
        color: #fff;
        display: -webkit-box !important;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        min-height: 0;
        max-height: calc(1.5em * 2);
        white-space: normal !important;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    /* 标题在左、日期在右 → 收紧日期间距 */
    .homec-party .homec-party-list-mobile li .news-date {
        flex: 0 0 auto;
        flex-shrink: 0;
        position: relative;
        z-index: 1;
    }

    /* 竞赛天地 / 媒体太工：无头条，纯文字列表 6 条，边距与校园文化统一 */
    .homeg .jstd-feature {
        display: none !important;
    }

    .homeg .jstd-list {
        border-top: none;
        box-sizing: border-box;
    }

    .homeg .jstd-list li {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        -webkit-box-align: center;
        justify-content: flex-start;
        gap: .02rem;
        min-height: 1rem;
        padding: .12rem 0;
        box-sizing: border-box;
        border-bottom: 1px dashed #e8e8e8;
        overflow: hidden;
    }

    .homeg .jstd-list li:nth-child(n+4) {
        display: flex !important;
    }

    .homeg .jstd-list li:nth-child(n+7) {
        display: none !important;
    }

    .homeg .jstd-list li:nth-child(6) {
        border-bottom: none;
    }

    .homeg .jstd-list li time {
        display: none !important;
    }

    .homeg .jstd-list li h4 {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        max-width: none;
        margin: 0 !important;
        padding: 0;
        font-weight: normal;
        display: flex;
        flex-direction: column;
        justify-content: center !important;
        align-self: center;
        min-height: .72rem;
        overflow: hidden;
    }

    .homeg .jstd-list li h4 a,
    .homeg .jstd-list li h4 a.l2 {
        font-size: 16px;
        line-height: 1.5;
        color: #333;
        display: -webkit-box !important;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        min-height: 0;
        max-height: calc(1.5em * 2);
        white-space: normal !important;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .homeg .jstd-list li .news-date {
        flex: 0 0 auto;
        flex-shrink: 0;
        position: relative;
        z-index: 1;
    }

    /* 移动端全栏目日期：统一参照太工新闻日历样式 */
    .homea .aright ul li .news-date,
    .homeb .jstd-list li .news-date,
    .homeb .aleft .jstd-list li .news-date,
    .homed .homed-list-mobile li .news-date,
    .homec-party .homec-party-list-mobile li .news-date,
    .homeg .jstd-list li .news-date {
        width: .64rem;
        min-width: .64rem;
        height: auto;
        min-height: .64rem;
        flex-shrink: 0;
        align-self: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: linear-gradient(165deg, rgba(7, 105, 156, .1) 0%, rgba(7, 105, 156, .04) 100%);
        border: 1px solid rgba(7, 105, 156, .12);
        border-left: 1px solid rgba(7, 105, 156, .12);
        border-right: 1px solid rgba(7, 105, 156, .12);
        border-radius: .06rem;
        box-shadow: none;
        padding: .08rem .04rem;
        box-sizing: border-box;
        margin: 0;
        line-height: 1;
    }

    /* 日期在左（太工新闻/教学科研/校园文化/媒体太工）：右侧留缝 */
    .homea .aright ul li .news-date,
    .homeb .aright .jstd-list li .news-date,
    .homed .homed-list-mobile li .news-date,
    .homeg .aright .jstd-list li .news-date {
        margin-right: .1rem;
        margin-left: 0;
    }

    /* 日期在右（通知公告/党建/竞赛天地）：贴齐右缘 */
    .homeb .aleft .jstd-list li .news-date,
    .homec-party .homec-party-list-mobile li .news-date,
    .homeg .aleft .jstd-list li .news-date {
        margin-right: 0;
        margin-left: .1rem;
    }

    .homea .aright ul li .news-date-day,
    .homeb .jstd-list li .news-date-day,
    .homeb .aleft .jstd-list li .news-date-day,
    .homed .homed-list-mobile li .news-date-day,
    .homec-party .homec-party-list-mobile li .news-date-day,
    .homeg .jstd-list li .news-date-day {
        font-size: .28rem;
        font-weight: 700;
        line-height: 1;
        color: #07699c;
        font-variant-numeric: tabular-nums;
        letter-spacing: -.01em;
    }

    .homea .aright ul li .news-date-day::after,
    .homeb .jstd-list li .news-date-day::after,
    .homeb .aleft .jstd-list li .news-date-day::after,
    .homed .homed-list-mobile li .news-date-day::after,
    .homec-party .homec-party-list-mobile li .news-date-day::after,
    .homeg .jstd-list li .news-date-day::after {
        content: "";
        display: block;
        width: .18rem;
        height: 2px;
        margin: .05rem auto .04rem;
        background: linear-gradient(90deg, transparent, rgba(7, 105, 156, .55), transparent);
        border-radius: 1px;
        font-size: 0;
    }

    .homea .aright ul li .news-date-ym,
    .homeb .jstd-list li .news-date-ym,
    .homeb .aleft .jstd-list li .news-date-ym,
    .homed .homed-list-mobile li .news-date-ym,
    .homec-party .homec-party-list-mobile li .news-date-ym,
    .homeg .jstd-list li .news-date-ym {
        font-size: .12rem;
        font-weight: 500;
        line-height: 1;
        color: rgba(7, 105, 156, .72);
        margin-top: 0;
        font-variant-numeric: tabular-nums;
        letter-spacing: .02em;
    }

    .homea .aright ul li .news-date-ym::after,
    .homeb .jstd-list li .news-date-ym::after,
    .homeb .aleft .jstd-list li .news-date-ym::after,
    .homed .homed-list-mobile li .news-date-ym::after,
    .homec-party .homec-party-list-mobile li .news-date-ym::after,
    .homeg .jstd-list li .news-date-ym::after {
        content: "月";
        margin-left: .01rem;
        font-size: .1rem;
        font-weight: 400;
        color: rgba(7, 105, 156, .55);
    }

    /* 党建思政列表日期：适配深色背景 */
    .homec-party .homec-party-list-mobile li .news-date {
        background: rgba(255, 255, 255, .12);
        border-color: rgba(255, 216, 102, .45);
    }

    .homec-party .homec-party-list-mobile li .news-date-day {
        color: #ffd866;
    }

    .homec-party .homec-party-list-mobile li .news-date-day::after {
        background: linear-gradient(90deg, transparent, rgba(255, 216, 102, .7), transparent);
    }

    .homec-party .homec-party-list-mobile li .news-date-ym {
        color: rgba(255, 255, 255, .78);
    }

    .homec-party .homec-party-list-mobile li .news-date-ym::after {
        color: rgba(255, 255, 255, .55);
    }

    /* 移动端区块顺序：数据太工移至媒体太工（homeg）下方 */
    #main-content-region.body_b {
        display: flex;
        flex-direction: column;
    }

    #main-content-region.body_b .homeg {
        order: 2;
    }

    #main-content-region.body_b .homef {
        order: 3;
    }

    #main-content-region.body_b .footer.ind {
        order: 4;
    }

    /* 专题聚焦已下线 */
    .homee {
        display: none !important;
    }

    /* 数据太工 */
    .homeb,
    .homed,
    .homeg {
        background: url(../images/tzbg.png) #e5ebfd no-repeat center;
        background-size: auto 90%;
    }

    /* 竞赛天地 / 媒体太工：标题前后留白统一（避免区块 padding-top 叠加导致竞赛天地偏高） */
    .homeg {
        padding-top: 0;
        padding-bottom: .4rem;
    }

    .homeg .aleft {
        margin-bottom: .28rem !important;
    }

    .homeg .aleft .intit,
    .homeg .aright .intit,
    .homeg > .wp > .aleft > .intit,
    .homeg > .wp > .aright > .intit {
        justify-content: center !important;
        align-items: center;
        margin: 0 0 .2rem !important;
        min-height: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .homef {
        padding: .2rem 0 .28rem;
    }

    .homef .intit {
        margin-bottom: .15rem;
    }

    .homef .slide-data {
        padding-top: 0;
    }

    .homef .data-pagination {
        padding-top: .1rem;
    }

    .homef .data-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 5px !important;
    }

    .homef .slide-data .swiper-slide .sico .txt {
        transform: scale(.94);
        opacity: .78;
    }

    .homef .slide-data .swiper-slide.data-item-current .sico .txt {
        transform: scale(1.08);
    }

    .homef .swiper-pagination-bullets {
        padding-top: .1rem;
    }

    .homef .sico .ico {
        width: 1rem;
        height: 1rem;
    }

    .homef .sico .txt span,
    .homef .sico .txt p {
        font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
        font-weight: normal;
    }

    .homef .sico .txt span em {
        font-size: .26rem;
    }

    .homef .sico .txt p {
        font-size: .14rem;
        line-height: 1.45;
        margin: .04rem 0 0;
    }

    .homef .swiper-pagination-bullets .swiper-pagination-bullet {
        font-size: .2rem;
    }

    /* 栏目标题：以太工新闻 intit 为准，各版块统一 */
    body.home .intit h3 span em,
    body.home .intit h3 span em a {
        font-size: .32rem;
        font-weight: normal;
    }

    body.home .intit h3 span:after {
        font-size: .25rem;
    }

    body.home .intit h3 i {
        width: .54rem;
        height: .54rem;
        font-size: .28rem;
        line-height: .5rem;
    }

    body.home .intit h3 i:after {
        width: .5rem;
        height: .5rem;
    }

    /* 首页页脚：移动端左半二维码、右半地址电话，下方认证图标居中一行 */
    body.home .footer.ind .foot-inner {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: .14rem;
    }

    body.home .footer.ind .foot-left {
        order: 1;
        width: 100%;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0;
        text-align: left;
    }

    body.home .footer.ind .foot-ewm {
        width: 40%;
        flex: 0 0 40%;
        max-width: 40%;
        justify-content: center;
        gap: .1rem;
        margin: 0;
        padding: 0 .06rem;
        box-sizing: border-box;
    }

    body.home .footer.ind .foot-ewm li {
        flex: 1;
        min-width: 0;
        text-align: center;
    }

    body.home .footer.ind .foot-ewm img {
        max-width: .7rem;
        margin: 0 auto;
    }

    body.home .footer.ind .foot-ewm p {
        font-size: .12rem;
        margin-top: .04rem;
    }

    body.home .footer.ind .foot-dz {
        width: 60%;
        flex: 0 0 60%;
        max-width: 60%;
        margin: 0;
        padding: 0 .06rem;
        box-sizing: border-box;
        align-self: center;
    }

    body.home .footer.ind .foot-dz p {
        font-size: .13rem;
        line-height: 1.45;
        padding: .02rem 0 .06rem .2rem;
    }

    body.home .footer.ind .foot-dz p:before {
        left: 0;
        font-size: .13rem;
    }

    body.home .footer.ind .foot-right {
        order: 2;
        width: 100%;
        text-align: center;
    }

    body.home .footer.ind .foot-right ul.foot-cert {
        justify-content: center;
        width: 100%;
        margin: 0 auto;
        padding: .04rem 0 0;
        gap: .14rem;
    }

    body.home .footer.ind .foot-right ul.foot-cert img {
        height: .36rem;
    }

    /* 页脚版权区 */
    .footer.ind .foot-copy .wp {
        padding-left: 12px;
        padding-right: 12px;
        box-sizing: border-box;
    }

    /* 太工新闻列表：左右边距与通知公告一致 */
    .homea .aright {
        padding-left: .18rem !important;
        padding-right: .18rem !important;
        box-sizing: border-box;
    }

    /* 各栏目列表项：统一为太工新闻的行高与标题垂直居中 */
    .homea .aright ul li,
    .homeb .jstd-list li,
    .homeb .aleft .jstd-list li,
    .homeb .aright .jstd-list li,
    .homed .homed-list-mobile li,
    .homec-party .homec-party-list-mobile li,
    .homeg .jstd-list li,
    .homeg .aleft .jstd-list li,
    .homeg .aright .jstd-list li {
        align-items: center !important;
        -webkit-box-align: center;
        min-height: 1rem !important;
        padding-top: .12rem !important;
        padding-bottom: .12rem !important;
        box-sizing: border-box;
    }

    .homea .aright ul li .txt,
    .homea .aright ul li .txt.flex-v,
    .homeb .jstd-list li h4,
    .homeb .aleft .jstd-list li h4,
    .homeb .aright .jstd-list li h4,
    .homed .homed-list-mobile li h4,
    .homec-party .homec-party-list-mobile li h4,
    .homeg .jstd-list li h4,
    .homeg .aleft .jstd-list li h4,
    .homeg .aright .jstd-list li h4 {
        display: flex !important;
        flex-direction: column;
        justify-content: center !important;
        align-self: center;
        min-height: .72rem !important;
        height: auto !important;
        margin: 0 !important;
    }

    .homea .aright ul li .txt h4 a,
    .homeb .jstd-list li h4 a,
    .homeb .jstd-list li h4 a.l2,
    .homed .homed-list-mobile li h4 a,
    .homed .homed-list-mobile li h4 a.l2,
    .homec-party .homec-party-list-mobile li h4 a,
    .homeg .jstd-list li h4 a,
    .homeg .jstd-list li h4 a.l2 {
        line-height: 1.5 !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        min-height: 0 !important;
        max-height: calc(1.5em * 2) !important;
    }

    .homea .aright ul li .news-date,
    .homeb .jstd-list li .news-date,
    .homeb .aleft .jstd-list li .news-date,
    .homeb .aright .jstd-list li .news-date,
    .homed .homed-list-mobile li .news-date,
    .homec-party .homec-party-list-mobile li .news-date,
    .homeg .jstd-list li .news-date {
        align-self: center !important;
    }

    /* ========== 内页（列表 + 内容） ========== */
    body.content-page .nymain.details > .wp.zi3,
    body.list-page .list-wrap {
        box-sizing: border-box;
    }
}

@media screen and (max-width: 640px) {
    .homea .aright ul li,
    .homeb .jstd-list li,
    .homeb .aleft .jstd-list li,
    .homeg .jstd-list li,
    .homed .homed-list-mobile li,
    .homec-party .homec-party-list-mobile li {
        min-height: 1rem !important;
    }

    .homea .aright ul li .news-date,
    .homeb .jstd-list li .news-date,
    .homeb .aleft .jstd-list li .news-date,
    .homed .homed-list-mobile li .news-date,
    .homec-party .homec-party-list-mobile li .news-date,
    .homeg .jstd-list li .news-date {
        width: .6rem;
        min-width: .6rem;
        min-height: .6rem;
        padding: .06rem .03rem;
    }

    .homea .aright ul li .news-date-day,
    .homeb .jstd-list li .news-date-day,
    .homeb .aleft .jstd-list li .news-date-day,
    .homed .homed-list-mobile li .news-date-day,
    .homec-party .homec-party-list-mobile li .news-date-day,
    .homeg .jstd-list li .news-date-day {
        font-size: .26rem;
    }

    .homea .aright ul li .news-date-day::after,
    .homeb .jstd-list li .news-date-day::after,
    .homeb .aleft .jstd-list li .news-date-day::after,
    .homed .homed-list-mobile li .news-date-day::after,
    .homec-party .homec-party-list-mobile li .news-date-day::after,
    .homeg .jstd-list li .news-date-day::after {
        width: .16rem;
        margin: .04rem auto .03rem;
    }

    .homea .aright ul li .news-date-ym,
    .homeb .jstd-list li .news-date-ym,
    .homeb .aleft .jstd-list li .news-date-ym,
    .homed .homed-list-mobile li .news-date-ym,
    .homec-party .homec-party-list-mobile li .news-date-ym,
    .homeg .jstd-list li .news-date-ym {
        font-size: .11rem;
    }

    .homea .aright ul li .news-date-ym::after,
    .homeb .jstd-list li .news-date-ym::after,
    .homeb .aleft .jstd-list li .news-date-ym::after,
    .homed .homed-list-mobile li .news-date-ym::after,
    .homec-party .homec-party-list-mobile li .news-date-ym::after,
    .homeg .jstd-list li .news-date-ym::after {
        font-size: .1rem;
    }

    body.home .intit h3 span em,
    body.home .intit h3 span em a {
        font-size: .28rem;
    }

    body.home .intit h3 span:after {
        font-size: .22rem;
    }

    body.home .intit h3 i {
        width: .5rem;
        height: .5rem;
        font-size: .26rem;
        line-height: .46rem;
    }

    body.home .intit h3 i:after {
        width: .46rem;
        height: .46rem;
    }

    body.content-page .detail .detailwen .detailtitle h3 {
        font-size: 18px !important;
        line-height: 1.45 !important;
    }

    body.content-page .detail .detailwen .detailcon,
    body.content-page .detail .detailwen .detailcon p {
        font-size: 16px !important;
        line-height: 1.75 !important;
        font-family: 'TitFangSong', '仿宋', FangSong, STFangsong, serif !important;
    }

    body.content-page .detail .detailwen .detailcon p {
        margin: 0 !important;
    }
}

@media screen and (max-width: 480px) {
    .homea {
        /* padding: .3rem 0; */
    }

    .homea .aleft .slide-newsPic .pic {
        height: 100%;
    }

    .homea .aleft .slide-news .slide-news-page {
        top: auto;
    }

    .homea .aright ul li .news-date,
    .homeb .jstd-list li .news-date,
    .homeb .aleft .jstd-list li .news-date,
    .homed .homed-list-mobile li .news-date,
    .homec-party .homec-party-list-mobile li .news-date,
    .homeg .jstd-list li .news-date {
        width: .56rem;
        min-width: .56rem;
        min-height: .56rem;
        padding: .05rem .02rem;
    }

    .homea .aright ul li .news-date-day,
    .homeb .jstd-list li .news-date-day,
    .homeb .aleft .jstd-list li .news-date-day,
    .homed .homed-list-mobile li .news-date-day,
    .homec-party .homec-party-list-mobile li .news-date-day,
    .homeg .jstd-list li .news-date-day {
        font-size: .24rem;
    }

    .homea .aright ul li .news-date-ym,
    .homeb .jstd-list li .news-date-ym,
    .homeb .aleft .jstd-list li .news-date-ym,
    .homed .homed-list-mobile li .news-date-ym,
    .homec-party .homec-party-list-mobile li .news-date-ym,
    .homeg .jstd-list li .news-date-ym {
        font-size: .11rem;
    }

    .homef .sico .txt span em {
        font-size: .24rem;
    }

    body.home .intit h3 span em,
    body.home .intit h3 span em a {
        font-size: .26rem;
    }

    body.home .intit h3 span:after {
        font-size: .2rem;
    }

    body.home .intit h3 i {
        width: .46rem;
        height: .46rem;
        font-size: .24rem;
        line-height: .42rem;
    }

    body.home .intit h3 i:after {
        width: .42rem;
        height: .42rem;
    }
}