/**
 * jsgrb 移动端响应式（max-width: 768px）
 * 桌面样式保持原样；仅窄屏覆盖 + 移动专用 DOM（.m-*）
 * 品牌红沿用站内：#D30202 / #C62422 / #D30000
 */

/* 移动专用结构：默认隐藏，窄屏再显示 */
.m-topbar,
.m-brand,
.m-nav-panel,
.m-col-title,
.m-col-title-img,
.m-more-link {
    display: none;
}

@media screen and (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
        max-width: 100%;
        background: #f7f5f4;
    }

    body.m-nav-open {
        overflow: hidden;
    }

    .container {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* ---------- 移动顶栏 ---------- */
    .m-topbar {
        display: flex;
        align-items: center;
        gap: 10px;
        position: sticky;
        top: 0;
        z-index: 10050;
        height: 52px;
        padding: 0 12px;
        padding-top: env(safe-area-inset-top, 0);
        background: #d30202;
        box-sizing: border-box;
    }

    .m-logo-text {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        line-height: 0;
        text-decoration: none;
    }

    .m-logo-img {
        display: block;
        height: 28px;
        width: auto;
        max-width: 132px;
        object-fit: contain;
    }

    .m-search {
        flex: 1 1 auto;
        min-width: 0;
        position: relative;
        height: 32px;
    }

    .m-search-input {
        width: 100%;
        height: 32px;
        border: none;
        border-radius: 16px;
        padding: 0 36px 0 14px;
        background: rgba(255, 255, 255, 0.28);
        color: #fff;
        font-size: 13px;
        box-sizing: border-box;
    }

    .m-search-input::placeholder {
        color: rgba(255, 255, 255, 0.85);
    }

    .m-search-input:focus {
        outline: none;
        background: rgba(255, 255, 255, 0.36);
    }

    .m-search-btn {
        position: absolute;
        right: 4px;
        top: 50%;
        transform: translateY(-50%);
        width: 28px;
        height: 28px;
        padding: 0;
        border: none;
        background: transparent;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .m-hamburger {
        flex: 0 0 auto;
        width: 36px;
        height: 36px;
        padding: 0;
        border: none;
        background: transparent;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
    }

    .m-hamburger span {
        display: block;
        width: 20px;
        height: 2px;
        background: #fff;
        border-radius: 1px;
    }

    /* ---------- 移动端品牌条（直接显示头图） ---------- */
    .m-brand {
        display: block;
        position: relative;
        overflow: hidden;
        background: transparent;
    }

    .m-brand-img {
        display: block;
        width: 100%;
        height: auto;
    }

    /* ---------- PC 大头 / 横导航：窄屏隐藏 ---------- */
    .index-header,
    .navbar_inner {
        display: none !important;
    }

    /* ---------- 红底菜单面板 ---------- */
    .m-nav-panel {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        top: calc(52px + env(safe-area-inset-top, 0px));
        bottom: 0;
        z-index: 10040;
        background: #d30202;
        padding: 8px 0 24px;
        box-sizing: border-box;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    }

    body.m-nav-open .m-nav-panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .m-nav-close {
        position: absolute;
        top: 10px;
        right: 14px;
        width: 40px;
        height: 40px;
        border: none;
        background: transparent;
        color: #fff;
        font-size: 32px;
        line-height: 1;
        cursor: pointer;
        z-index: 2;
    }

    .m-nav-list {
        list-style: none;
        margin: 28px 0 0;
        padding: 0 28px;
    }

    .m-nav-list li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    }

    .m-nav-list li a {
        display: block;
        padding: 18px 4px;
        color: #fff;
        font-size: 18px;
        font-weight: 600;
        letter-spacing: 1px;
        text-decoration: none;
    }

    .m-nav-list li.active a {
        color: #fdc282;
    }

    /* ---------- 首页主栏：单列卡片 ---------- */
    .main_container,
    .local-sub {
        width: 100% !important;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 12px 24px;
        box-sizing: border-box;
    }

    #view-home>.tip_img {
        display: none;
    }

    .max_title_inner,
    .part_1,
    .part_2_inner,
    .part_3_inner,
    .part_4_inner {
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* ---------- 文字栏目统一：红斜切标题 + 右「更多>>」+ 红点列表 ---------- */
    .max_title_inner {
        display: block;
        margin-top: 12px;
        padding: 14px 12px 10px;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(211, 0, 0, 0.1);
        background: #fff;
    }

    .max_title_inner .new_media {
        display: none !important;
    }

    /* 栏目标题条统一宽度（参照「头条」斜切标题尺寸，约占卡片宽 30%） */
    :root {
        --h5-col-title-width: 35%;
        --h5-col-title-min: 76px;
        --h5-col-title-max: 208px;
    }

    /* 红底斜切/平行四边形标题条 */
    .part_1_right_top .icon_part,
    .part_2_right_top .icon_part {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        position: relative;
        margin: 0;
        padding: 0 10px 0 12px;
        min-height: 28px;
        width: var(--h5-col-title-width) !important;
        min-width: var(--h5-col-title-min);
        max-width: var(--h5-col-title-max);
        flex: 0 0 var(--h5-col-title-width);
        height: auto !important;
        line-height: 28px !important;
        background: #d30202 !important;
        background-image: none !important;
        color: #fff;
        font-size: 17px;
        font-weight: 700;
        transform: skewX(-14deg);
        border-radius: 2px;
        overflow: hidden;
        box-sizing: border-box;
    }

    .part_1_right_top .icon_part::after,
    .part_2_right_top .icon_part::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 9px;
        height: 100%;
        background: rgba(255, 180, 160, 0.45);
        pointer-events: none;
    }

    .part_1_right_top .icon_part span,
    .part_2_right_top .icon_part span {
        display: block;
        width: 100% !important;
        max-width: 100%;
        padding: 0;
        color: #fff !important;
        font-size: 16px !important;
        font-weight: 700;
        line-height: 32px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: center;
        transform: skewX(14deg);
        position: relative;
        z-index: 1;

    }

    .max_title_inner .bigest_title {
        display: none;
    }

    .max_title_inner .max_line {
        display: none;
    }

    .max_title_inner>a.fr {
        display: none;
    }

    /* ---------- 学习进行时卡片布局 ---------- */
    .m-col-title-img {
        display: block;
        width: auto;
        max-width: 100%;
        height: auto;
        margin: 0 auto 12px;
    }

    .m-more-link {
        display: block;
        text-align: center;
        color: #d33000;
        font-size: 14px;
        margin-top: 12px;
        text-decoration: none;
    }

    .pc-more-link {
        display: none;
    }

    .small_title_inner {
        margin-top: 0;
        width: 100%;
    }

    .small_title_inner li {
        display: block;
        width: 100%;
        padding: 8px 0 !important;
        border-right: none !important;
        border-bottom: 1px dashed #e8e8e8;
        margin: 0;
        box-sizing: border-box;
    }

    .small_title_inner li:last-child {
        border-bottom: none;
    }

    .small_title_inner li:nth-of-type(2n) {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .small_title_inner li a,
    .part_2_right_list_small li a,
    .part_2_right_list_small1 li a,
    .part_1_right_list_small li a {
        display: flex;
        align-items: center;
        min-height: 22px;
        max-width: 100%;
    }

    .small_title,
    .small_title_1 {
        flex: 1 1 auto;
        min-width: 0;
        width: auto !important;
        max-width: none;
        margin-left: 10px;
        font-size: 15px;
        color: #333 !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .small_title_inner li a,
    .part_2_right_list_small li a,
    .part_2_right_list_small1 li a,
    .part_1_right_list_small li a {
        color: #333;
    }

    .small_title_inner li a:hover .small_title_1,
    .part_2_right_list_small li a:hover .small_title,
    .part_2_right_list_small1 li a:hover .small_title,
    .part_1_right_list_small li a:hover .small_title {
        color: #d30e00 !important;
    }

    .dot {
        flex: 0 0 auto;
        width: 8px;
        height: 8px;
        background: #d30202;
        border-radius: 50%;
    }

    /* 焦点图 + 头条：纵向堆叠 */
    .part_1 {
        display: flex;
        flex-direction: column;
        margin-top: 14px !important;
        padding: 12px;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(211, 0, 0, 0.1);
        background: #fff;
    }

    .part_1 .swiper_container_inner {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 0 14px !important;
    }

    .part_1 .swiper_container_inner .swiper-container,
    .part_1 .swiper_container_inner .swiper-wrapper,
    .part_1 .swiper_container_inner .swiper-slide {
        width: 100% !important;
        height: auto !important;
    }

    .part_1 .swiper_container_inner .swiper-slide {
        min-height: 200px;
    }

    .part_1 .swiper_container_inner .swiper-slide a img {
        width: 100%;
        height: auto;
        max-height: 220px;
        object-fit: cover;
        border-radius: 8px;
        display: block;
    }

    .part_1 .swiper_container_inner .swiper_bottom {
        border-radius: 0 0 8px 8px;
        height: auto;
        min-height: 40px;
        padding: 8px 56px 8px 10px;
        box-sizing: border-box;
    }

    .part_1 .swiper_container_inner .swiper_bottom p {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        line-height: 1.4;
        font-size: 14px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .part_1 .swiper_container_inner .swiper-pagination {
        bottom: 10px !important;
        right: 8px;
    }

    .part_1 .part_1_right {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        margin-left: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .part_1_right_list {
        display: block !important;
        flex: none !important;
        margin: 8px 0 0;
        padding: 0;
        list-style: none;
        height: auto !important;
    }

    .part_1_right_list li,
    .part_1_right_list>li {
        display: block !important;
        flex: none !important;
        height: auto !important;
        margin: 0 0 10px !important;
        padding: 0 !important;
        border: none !important;
        background: #f5f5f5;
        border-radius: 8px;
        box-sizing: border-box;
        list-style: none;
        overflow: hidden;
    }

    .part_1_right_list li:last-child {
        margin-bottom: 0 !important;
        border-bottom: none !important;
    }

    .part_1_right_list li.js-state {
        background: transparent;
        padding: 16px 0 !important;
        text-align: center;
    }

    .part_1_right_list li a {
        display: block;
        padding: 12px 14px;
        text-decoration: none;
        box-sizing: border-box;
    }

    .part_1_right_list .toutiao-head {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 8px;
    }

    .part_1_right_list li a p {
        width: 80%;
        max-width: 80%;
        flex: 0 0 80%;
        font-size: 14px;
        font-weight: bold !important;
        color: #1a1a1a;
        margin: 0 !important;
        /* line-height: 1.4; */
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .part_1_right_list .toutiao-more {
        flex: 0 0 auto;
        margin-left: auto;
        color: #d30202;
        font-size: 14px;
        white-space: nowrap;
        line-height: 1.4;
    }

    .part_1_right_list .toutiao-summary {
        display: block;
        color: #999;
        font-size: 12px;
        line-height: 1.4;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .part_1_right_list li:hover,
    .part_1_right_list li.hvr-grow-shadow:hover,
    .part_1_right_list li.hvr-grow-shadow:active,
    .part_1_right_list li.hvr-grow-shadow:focus {
        box-shadow: none;
        padding: 0 !important;
        transform: none;
    }

    /* 头条 H5 只保留 3 条大新闻 */
    .part_1_right_list_small {
        display: none !important;
    }

    .part_1_right_list li:nth-child(n+4) {
        display: none !important;
    }

    /* 双栏栏目 → 单列白卡片 */
    .part_all {
        margin-top: 0;
    }

    .part_2.margin_top_20,
    .part_2.margin_top_30 {
        margin-top: 12px !important;
    }

    .part_2.font_0>.inline_block,
    .part_2.font_0>.block {
        display: block !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-bottom: 14px;
        font-size: 14px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(211, 0, 0, 0.1);
        padding: 14px 12px 10px;
        box-sizing: border-box;
    }

    /* 理论实践 ↔ 观点时评，广告 13 跟随观点时评 */
    .h5-col-swap {
        display: flex;
        flex-direction: column;
    }

    .h5-col-swap>.part_2 {
        display: contents;
    }

    .h5-col-swap .js-h5-col-llzdz {
        order: 1;
    }

    .h5-col-swap .js-h5-col-gdsy {
        order: 2;
    }

    .h5-col-swap #ad-slot-13 {
        order: 3;
    }

    .h5-col-swap .js-h5-col-llsj {
        order: 4;
    }

    .h5-col-swap .js-h5-col-wqzx {
        order: 5;
    }

    .h5-col-swap #ad-slot-14 {
        order: 6;
    }

    /* 栏目标题行：左斜切标题 + 右更多 + 底部分隔线 */
    .part_1_right_top,
    .part_2_right_top {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 8px 12px;
        position: relative;
        text-align: left;
        padding: 0;
        margin: 0 0 2px;
    }

    .part_1_right_top .line,
    .part_2_right_top .line {
        display: block !important;
        order: 10;
        width: 100%;
        height: 1px;
        margin: 4px 0 0;
        margin-left: 0 !important;
        background: linear-gradient(90deg, #f0a090 0%, #f5cfc4 100%);
        opacity: 1;
        border-radius: 0;
    }

    .part_1_right_top>a.fr,
    .part_2_right_top>a.fr {
        float: none !important;
        display: inline-block;
        margin: 0 !important;
        padding: 0;
        text-align: right;
        font-size: 15x !important;
        color: #d33000 !important;
        white-space: nowrap;
        flex: 0 0 auto;
        margin-left: auto !important;
    }

    .part_2_right_top>a.fr.choose_vi_video {
        display: none;
    }

    .part_2.font_0>.inline_block .part_2_inner,
    .part_2.font_0>.inline_block .part_4_inner {
        box-shadow: none;
        border-radius: 0;
        background: transparent;
        width: 100% !important;
        height: auto !important;
        margin-top: 0 !important;
        padding-top: 0;
    }

    .part_2_right_list_small,
    .part_2_right_list_small1 {
        padding: 0 2px 4px;
    }

    .part_2_right_list_small li,
    .part_2_right_list_small1 li,
    .part_1_right_list_small li {
        margin-top: 0 !important;
        padding: 8px 0;
        border-bottom: 1px dashed #e8e8e8;
    }

    .part_2_right_list_small li:last-child,
    .part_2_right_list_small1 li:last-child,
    .part_1_right_list_small li:last-child {
        border-bottom: none;
    }

    .part_1_right_list li {
        margin-top: 0 !important;
    }

    /* 视界区块：H5 上下两排（图片 + 视频），更多默认进图片列表 */
    .part_2.font_0>.block {
        overflow: hidden;
        max-width: 100%;
        box-sizing: border-box;
    }

    .part_2.font_0>.block .part_2_right_top .choose_vi {
        display: none !important;
    }

    .part_2.font_0>.block .part_3_inner {
        box-shadow: none;
        background: transparent;
        width: 100% !important;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
        margin-top: 8px !important;
    }

    .h5-shijie-label {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 14px 0 8px;
        font-size: 16px;
        font-weight: 700;
        color: #d30202;
        line-height: 1.4;
    }

    .part_3_inner>.h5-shijie-label:first-child {
        margin-top: 0;
    }

    .h5-shijie-label::before {
        content: "";
        flex: 0 0 auto;
        width: 4px;
        height: 16px;
        background: #d30202;
        border-radius: 1px;
    }

    .part_2.font_0>.block .choose_vi_1,
    .part_2.font_0>.block .choose_vi_2 {
        display: block !important;
        height: auto !important;
        overflow: hidden;
    }

    /* 视界：H5 不用 PC 跑马灯，改为卡片内横滑 */
    .picMarquee-left {
        width: 100% !important;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .picMarquee-left .bd {
        padding: 8px 0 4px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        box-sizing: border-box;
    }

    .picMarquee-left .bd .tempWrap {
        width: auto !important;
        max-width: none !important;
    }

    .picMarquee-left .picList {
        display: flex !important;
        flex-wrap: nowrap;
        width: max-content !important;
        font-size: 0;
        overflow: visible;
    }

    .picMarquee-left .picList>li,
    .picMarquee-left .bd ul li {
        float: none !important;
        width: 220px !important;
        height: 140px !important;
        margin: 0 12px 0 0 !important;
        display: inline-block;
        vertical-align: top;
        box-sizing: border-box;
        overflow: hidden;
        border-radius: 8px;
    }

    .picMarquee-left .bd ul li .pic,
    .picMarquee-left .bd ul li .pic a {
        position: relative;
        display: block;
        width: 220px !important;
        height: 140px !important;
        overflow: hidden;
        border-radius: 8px;
    }

    .picMarquee-left .img_article_2 {
        width: 220px !important;
        height: 140px !important;
        max-width: 220px;
        max-height: 140px;
        border-radius: 8px;
        overflow: hidden;
        position: relative;
    }

    .picMarquee-left .img_article_2 img.img_show {
        width: 220px !important;
        height: 140px !important;
        max-width: none;
        max-height: none;
        object-fit: cover;
        border-radius: 8px;
        display: block;
    }

    .picMarquee-left .bd ul li .pic p {
        box-sizing: border-box;
        width: 100%;
        position: absolute;
        bottom: 0;
        left: 0;
        height: 28px;
        line-height: 28px;
        margin: 0;
        padding: 0 10px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 13px;
        background-color: rgba(0, 0, 0, 0.5);
        color: #fff;
        border-radius: 0 0 8px 8px;
    }

    .picMarquee-left .img_article_2 .video_click {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 36px;
        height: 36px;
        z-index: 2;
    }

    .img_article {
        width: 100%;
        height: auto;
        max-height: 180px;
        object-fit: cover;
    }

    .img_article_1,
    .img_article_1 img {
        width: 100% !important;
        height: auto !important;
        max-height: 200px;
        object-fit: cover;
    }

    .part_4_inner {
        height: auto !important;
    }

    .part_4_inner.is-loading {
        display: flex !important;
        align-items: center;
        justify-content: center;
        min-height: 160px;
        padding-top: 0 !important;
    }

    .part_4_inner .col-card-loading {
        min-height: 140px;
        border-radius: 8px;
    }

    .part_2_inner.is-loading .col-card-loading,
    .part_1_right.is-loading .col-card-loading,
    .max_title_inner.is-loading .col-card-loading,
    .part_3_inner.is-loading .col-card-loading,
    #friend-logos.is-loading .col-card-loading {
        min-height: 120px;
        background: transparent;
        box-shadow: none;
    }

    .part_1_right.is-loading .part_1_right_list {
        min-height: 120px;
    }

    .part_4_inner[style] {
        height: auto !important;
    }

    .epaper_inner {
        height: auto !important;
        max-height: none;
        padding: 0;
    }

    .epaper_inner img,
    #epaperimg {
        width: 100% !important;
        height: auto !important;
        max-width: 280px;
        margin: 0 auto;
        display: block;
    }

    /* 广告 / 友情链接：H5 只展示 11–14，隐藏 PC 广告位 6–10 */
    .js-ad-pc,
    #carousel {
        display: none !important;
    }

    .js-ad-h5 {
        display: block;
        width: 100%;
        font-size: 14px;
        margin: 12px 0;
        box-sizing: border-box;
    }

    .part_2.font_0>.js-ad-h5 {
        margin-left: 0 !important;
        margin-bottom: 14px;
    }

    .js-ad-slot img,
    .js-ad-h5 img {
        max-width: 100%;
        width: 100% !important;
        height: auto !important;
        border-radius: 8px;
        display: block;
    }

    .parent_link {
        text-align: center;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .parent_link li {
        width: calc(50% - 12px);
        max-width: calc(50% - 12px);
        margin: 8px 6px 0;
        height: 52px;
        min-height: 52px;
        padding: 6px;
        box-sizing: border-box;
        overflow: hidden;
        vertical-align: top;
    }

    .parent_link li a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .parent_link li a img,
    .parent_link li img,
    .parent_link li img.friend-logo-img {
        max-width: 100% !important;
        max-height: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }

    .link_other {
        padding: 10px 0 20px;
    }

    .link_other select {
        max-width: 100%;
        width: 100%;
    }

    .tip_img {
        width: 100%;
        margin: 20px 0 12px;
    }

    /* 浮窗广告仅 PC，H5 不展示 */
    .carousel-container {
        display: none !important;
    }

    /* 移动端隐藏贴边侧栏 / 悬浮 icon：分享、新媒体二维码、返回顶部 */
    .share-area,
    .detail-wrap .share-area,
    .new_media,
    .about-media,
    .max_title_inner .new_media,
    .detail-wrap .new_media,
    .detail-wrap .about-media,
    .go_top,
    img.go_top {
        display: none !important;
    }

    .footer {
        padding: 16px 12px;
        font-size: 12px;
        line-height: 1.7;
        margin-top: 20px;
        word-break: break-all;
    }

    /* ---------- 列表 / 详情 ---------- */
    body.page-list #view-sub.local-sub,
    #view-sub.local-sub {
        padding-left: 12px;
        padding-right: 12px;
        box-sizing: border-box;
    }

    .crumb {
        padding: 14px 0 8px !important;
        font-size: 13px;
    }

    .list_inner_show,
    .list_inner_show_1,
    .list-page.list_inner_show {
        width: 100% !important;
        max-width: 100%;
        padding: 12px 14px 16px !important;
        border-radius: 10px;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .list_inner_show li {
        margin-top: 0;
        padding: 16px 0;
        border-bottom: 1px dashed #e8e8e8;
    }

    .list_inner_show li:last-child {
        border-bottom: none;
    }

    .article_list_span {
        width: auto !important;
        max-width: calc(100% - 24px);
        font-size: 18px;
        padding-left: 8px;
        line-height: 1.5;
        vertical-align: middle;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: inline-block;
    }

    .time_span {
        float: none !important;
        display: block;
        margin-top: 4px;
        margin-left: 18px;
        font-size: 12px;
    }

    .list_inner_show li a {
        display: block;
    }

    .pager {
        padding: 16px 0 8px !important;
        font-size: 13px;
        line-height: 2;
    }

    .pager a,
    .pager span {
        margin: 3px 2px !important;
        padding: 6px 8px !important;
        min-width: 28px;
    }

    .detail-wrap {
        width: 100% !important;
        max-width: 100%;
        padding: 20px 16px 28px !important;
        border-radius: 10px;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .detail-wrap h1 {
        font-size: 20px !important;
        line-height: 1.45;
        margin: 8px 0 14px;
    }

    .detail-lead-title,
    .detail-subtitle {
        font-size: 14px !important;
    }

    .detail-meta {
        font-size: 12px !important;
        padding-bottom: 14px;
    }

    .cont_p {
        margin-top: 20px !important;
        font-size: 16px;
        max-width: 100%;
        overflow-x: hidden;
    }

    .cont_p p,
    .cont_p span {
        font-size: 16px !important;
        line-height: 1.8 !important;
        margin-bottom: 10px;
        max-width: 100%;
    }

    /* wangEditor 附件：避免移动端正文通用 span 样式覆盖附件内部布局 */
    .cont_p a.w-e-attachment {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        margin: 0 4px !important;
        padding: 2px 8px 2px 4px !important;
        border: 1px solid #dcdfe6 !important;
        border-radius: 4px !important;
        background: #f5f7fa !important;
        color: #303133 !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
        vertical-align: baseline;
        text-decoration: none !important;
        cursor: pointer;
        user-select: none;
        box-sizing: border-box;
        max-width: 95% !important;
        overflow: hidden !important;
    }

    .cont_p a.w-e-attachment>.w-e-attachment-badge {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        min-width: 32px !important;
        height: 18px !important;
        margin: 0 !important;
        padding: 0 4px !important;
        border-radius: 3px !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        letter-spacing: 0.02em !important;
        text-align: center !important;
        color: #fff !important;
        box-sizing: border-box;
    }

    .cont_p a.w-e-attachment>span:not(.w-e-attachment-badge) {
        display: inline-block !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: calc(100% - 52px) !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        margin: 0 !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
        color: #409eff !important;
        text-align: left !important;
    }

    /* 附件单独占一段时，取消正文段落的首行缩进和大行高 */
    .cont_p p:has(> a.w-e-attachment:only-child),
    .cont_p div:has(> a.w-e-attachment:only-child) {
        text-indent: 0 !important;
        line-height: 1.6 !important;
    }

    /* 正文 / 详情图：覆盖 CMS 内联宽高，避免撑破白卡片 */
    .cont_p img,
    .detail-wrap .cont_p img,
    .video-desc img,
    .detail-wrap>img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
        box-sizing: border-box;
    }

    .img-detail-stage .cont_p img,
    .img-detail-stage img {
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
        display: block;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    .cont_p video,
    .detail-wrap video {
        width: 100% !important;
        max-width: 100%;
        height: auto;
        display: block;
    }

    .gallery-grid {
        gap: 14px;
        padding: 12px 0 24px;
        justify-content: center;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .gallery-grid .card {
        width: 100% !important;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .gallery-grid .card .cover,
    .video_inner,
    .video_inner>img:not(.video_click),
    .gallery-grid .card .cover img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 160px;
        max-height: 220px;
        object-fit: cover;
        display: block;
        box-sizing: border-box;
    }

    .video_list li {
        width: 100%;
        display: block;
    }

    .list_inner_show .media-card-list li,
    .media-card-list.video_list li {
        width: 100%;
        padding: 0 0 12px;
        border-bottom: none;
    }

    .media-card-list .video_inner {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0;
        max-height: none;
        aspect-ratio: 16 / 10;
    }

    .media-card-list .video_inner .cover {
        width: 100% !important;
        height: 100% !important;
        min-height: 0;
        max-height: none;
        object-fit: cover;
    }

    .media-card-list .video_p {
        width: 100%;
        height: auto;
        line-height: 1.4;
        padding: 8px 12px;
    }

    .gallery-frame {
        flex-wrap: nowrap;
        gap: 4px;
        padding: 0;
        max-width: 100%;
    }

    .gallery-viewport {
        max-width: 100%;
        min-height: 180px;
    }

    .gallery-slide .gallery-img {
        max-width: 100%;
        max-height: 70vh;
        width: auto;
        height: auto;
    }

    .gallery-nav {
        width: 28px;
        height: 48px;
        font-size: 20px;
        line-height: 48px;
        flex-shrink: 0;
    }

    /* 视界「图片/视频」及资料中心 Tab：等宽均分，避免 249px 定宽撑破 */
    .choose_wrap {
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
        padding: 0 2px;
        white-space: normal;
    }

    .choose_inner,
    .choose_inner1 {
        display: flex !important;
        flex-wrap: nowrap;
        align-items: stretch;
        width: 100% !important;
        max-width: 100%;
        height: auto !important;
        min-height: 40px;
        box-sizing: border-box;
        overflow: hidden;
        white-space: normal;
    }

    .choose_inner li,
    .choose_inner li.active,
    .choose_inner1 li,
    .choose_inner1 li.active {
        flex: 1 1 0;
        width: auto !important;
        max-width: 100%;
        min-width: 0;
        height: auto !important;
        min-height: 40px;
        line-height: 40px !important;
        box-sizing: border-box;
        overflow: hidden;
    }

    .choose_inner li a,
    .choose_inner1 li a {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        font-size: 15px;
        padding: 0 8px;
        height: auto;
        line-height: 40px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: center;
    }

    .about-wrap img {
        max-width: 100%;
        height: auto;
        display: block;
    }
}

@media screen and (max-width: 768px) and (prefers-reduced-motion: reduce) {
    .m-nav-panel {
        transition: none;
    }
}

/* ---------- 站内专题 party100-topic（index.html renderSpecial） ---------- */
@media screen and (max-width: 768px) {
    .party100-topic-wrap,
    .detail-wrap.party100-topic-wrap {
        overflow-x: hidden;
        max-width: 100%;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .party100-topic {
        max-width: 100%;
        overflow-x: hidden;
    }

    .party100-topic img {
        max-width: 100%;
        height: auto;
    }

    .party100-topic-feature__image,
    .party100-topic-feature__image img {
        min-height: 180px;
        width: 100%;
        object-fit: cover;
    }

    .party100-topic-feature__list {
        min-height: 0;
        padding-bottom: 16px;
    }

    .party100-topic-feature__more {
        position: static;
        display: inline-block;
        min-height: 36px;
        line-height: 36px;
        padding: 0 4px;
    }

    .party100-topic-media__col {
        flex: 1 1 100%;
        width: 100%;
    }
}