@charset "utf-8";

/* ========== 新闻中心 / 政务公开 移动端适配（合并版） ==========
   说明：同名 class 以新闻中心样式为主；政务公开独有的模块（政府信息公开、
   政策解读、图片链接、左右两栏纵向堆叠、子导航分类）追加在后。 ========== */

@media screen and (max-width: 768px) {
    /* 防止横向滚动 */
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }

    /* 主容器 */
    .part {
        width: 100% !important;
        padding: 10px 12px !important;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    .part table {
        width: 100% !important;
        max-width: 100% !important;
        table-layout: fixed;
    }
    .part td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }

    /* 表格布局改为纵向 */
    .part > table {
        width: 100% !important;
    }
    .part > table > tbody > tr {
        display: block;
    }
    .part > table > tbody > tr > td {
        display: block;
        width: 100% !important;
    }

    /* 左侧导航 */
    .p_ejl {
        width: 100% !important;
        background: none !important;
        border-right: none !important;
        margin-bottom: 16px;
        min-height: auto !important;
        padding-bottom: 0 !important;
    }
    .p_eltlbk {
        width: 100% !important;
        height: 45px !important;
    }
    .p_eltl {
        line-height: 45px !important;
        padding-left: 15px !important;
        padding-right: 40px !important;
        background-color: #3466ab !important;
        /*background: url(../images/p_31_1.png) 90px 6px no-repeat;*/
        position: relative;
        cursor: pointer;
        user-select: none;
    }
    .p_eltl::after {
        content: "";
        position: absolute;
        right: 20px;
        top: 49%;
        width: 10px;
        height: 10px;
        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;
        transform: translateY(-70%) rotate(45deg);
        transition: transform 0.3s;
    }
    .p_eltl.nav-open::after {
        transform: translateY(-30%) rotate(-135deg);
    }
    .leftnav1 {
        width: 100% !important;
        display: none;
        flex-wrap: wrap;
        gap: 6px;
        padding: 8px 0;
        overflow: hidden;
    }
    .leftnav1.nav-show {
        display: flex;
    }
    .leftnav1 h3 {
        flex: 0 0 calc(33.333% - 4px);
    }
    .leftnav1 a {
        padding-left: 10px !important;
        min-height: 40px !important;
        line-height: 40px !important;
        font-size: 14px !important;
        background: #f0f4fa !important;
        color: #3466ab !important;
        border-bottom: none !important;
        border-radius: 4px;
        text-align: center;
    }
    .leftnav1 a:hover {
        background: #3466ab !important;
        color: #fff !important;
    }

    /* ----- 政务公开独有：子导航分类标题（机关简介/信息公开/年度重点工作） ----- */
    .leftnav1 h3.leftss {
        display: block !important;
        flex: 0 0 100% !important;
        margin: 4px 0 0 !important;
    }
    .leftnav1 h3.leftss a {
        padding-left: 12px !important;
        min-height: 38px !important;
        line-height: 38px !important;
        font-size: 15px !important;
        background: #3466ab !important;
        color: #fff !important;
        border-bottom: none !important;
        border-radius: 4px;
        text-align: left;
    }
    .leftnav1 .wxf_navigation {
        display: block !important;
        flex: 0 0 100%;
        margin-bottom: 4px;
    }
    .leftnav1 .wxf_navigation li {
        float: none;
    }
    .leftnav1 .wxf_navigation li a {
        padding-left: 24px !important;
        min-height: 36px !important;
        line-height: 36px !important;
        font-size: 14px !important;
        background: #f0f4fa !important;
        color: #3466ab !important;
        border: 0 !important;
        border-radius: 4px;
        text-align: left;
    }
    .leftnav1 .wxf_navigation li a:hover {
        background: #5686ca !important;
        color: #fff !important;
    }

    /* 右侧主内容区 */
    .p_ejr {
        width: 100% !important;
    }
    .g_xw_pdy {
        width: 100% !important;
    }
    .g_xw_pdytpqh {
        width: 100% !important;
        height: auto !important;
        margin-bottom: 16px;
    }

    /* ----- 图片轮播（Swiper）：移动端上下排布 -----
       轮播自身的宽度/高度跟随页面内「轮播样式」的移动优先规则，这里只做结构适配 */
    .wxf_pics_wrapper {
        border: none !important;
        overflow: hidden;
    }
    .wxf_pics_right {
        width: 100% !important;
        float: none !important;
        border-left: none !important;
        border-top: 6px solid #EDEDED;
        padding: 10px 10px 12px !important;
        box-sizing: border-box;
        height: auto !important;
    }
    .wxf_pics_right .span1,
    .wxf_pics_right .span2,
    .wxf_pics_right .span3 {
        width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box;
    }
    .wxf_pics_right .span1 {
        font-size: 17px !important;
        line-height: 1.5 !important;
    }
    .wxf_pics_right .span2 {
        font-size: 14px !important;
        line-height: 1.7 !important;
        padding-top: 14px !important;
    }
    .wxf_pics_right .span3 {
        font-size: 14px !important;
    }
    .wxf_pics_right ol {
        position: static !important;
        top: 0 !important;
        width: auto !important;
        height: auto !important;
        margin: 12px 0 0 !important;
        padding: 0 !important;
        list-style: none;
        display: flex;
        align-items: center;
    }
    .wxf_pics_right ol li {
        float: none !important;
        width: 8px !important;
        height: 8px !important;
        margin: 0 6px 0 0 !important;
        padding: 0 !important;
        border-radius: 50%;
        background: #d5d5dd;
        list-style: none;
    }
    .wxf_pics_right ol li.seleted {
        width: 18px !important;
        border-radius: 4px;
        background: #CC3300;
    }

    /* 工作动态 + 新闻发布 两栏改上下 */
    .g_xw_dtfb {
        width: 100% !important;
        height: auto !important;
    }
    .g_xw_dt {
        float: none !important;
        width: 100% !important;
        margin-bottom: 15px;
    }
    .g_xw_fb {
        float: none !important;
        width: 100% !important;
        margin-right: 0 !important;
    }
    /* 政务公开独有：左右两栏纵向堆叠 */
    .g_zwxx_wai {
        float: none !important;
        width: 100% !important;
        margin-bottom: 16px;
    }
    .g_zwxxgk_r {
        float: none !important;
        width: 100% !important;
    }

    /* Tab切换标题：移动端横向滚动不换行 */
    .g_xw_gzdt {
        min-height: auto !important;
        margin-bottom: 10px;
    }
    .g_xw_gzdtbt {
        /*height: auto !important;*/
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
    .g_xw_gzdtbt a {
        height: 39px !important;
        line-height: 39px !important;
        font-size: 16px !important;
        float: none !important;
        /*padding: 0 10px !important;*/
        flex-shrink: 0;
        white-space: nowrap;
    }
    .g_xw_gzdtlb {
        min-height: auto !important;
        padding: 8px 5px !important;
    }
    .g_xw_gzdtlb li {
        padding-bottom: 8px !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-left: 12px !important;
    }
    .g_xw_gzdtlb li a {
        font-size: 16px !important;
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .g_xw_gzdtlb li span {
        font-size: 14px !important;
        float: none;
        flex-shrink: 0;
        white-space: nowrap;
    }

    /* 新闻发布 / 媒体报道 列表 */
    .g_mtbd {
        min-height: auto !important;
    }
    .g_mtbdbt {
        height: 36px !important;
        line-height: 38px !important;
        display: flex;
    }
    .g_mtbdbt a {
        font-size: 18px !important;
        float: none !important;
    }
    .g_mtbdlb {
        line-height: normal !important;
    }
    .g_mtbdlb li {
        line-height: 1.6 !important;
        padding-bottom: 8px !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .g_mtbdlb li a {
        font-size: 16px !important;
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .g_mtbdlb li span {
        font-size: 14px !important;
        float: none;
        flex-shrink: 0;
        white-space: nowrap;
        margin-left: 8px;
    }
    .g_xw_fbli {
        padding: 8px !important;
        margin-bottom: 16px !important;
    }

    /* 图片要闻：兼容DY_scroll插件，保持float+margin-left动画 */
    .g_tpxwdx {
        margin-top: 15px;
    }
    .g_tpxwxb {
        padding-top: 8px !important;
        display: flex;
        align-items: center;
    }
    .g_tpxwxbt {
        display: flex !important;
        align-items: flex-start;
        justify-content: center;
        width: 24px !important;
        padding: 0 !important;
        cursor: pointer;
    }
    .g_tpxwxbt img {
        width: 16px;
        height: auto;
    }
    .g_tpxwxbc {
        flex: 1;
        width: auto !important;
        margin: 0 !important;
        overflow: hidden;
    }
    .zy_12xgtplbli {
        width: 100% !important;
    }
    .tpxw-scroll {
        width: 100% !important;
        overflow: hidden !important;
    }
    .tpxw-list {
        width: auto !important;
        height: auto !important;
        left: 0 !important;
    }
    .tpxw-list ul {
        width: 9999px !important;
        float: none !important;
    }
    .tpxw-list li {
        width: 150px !important;
        height: auto !important;
        float: left !important;
        margin: 0 5px !important;
    }
    .zytptp {
        width: 150px !important;
        height: 95px !important;
        overflow: hidden;
    }
    .zytptp img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }
    .zytpwz {
        width: 150px !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        overflow: hidden;
    }

    /* ----- 政务公开独有：政府信息公开模块 ----- */
    .g_zwxxgkli {
        width: 100% !important;
        margin-bottom: 12px;
    }
    .g_zwxxgklibt {
        font-size: 18px !important;
        height: 38px !important;
        line-height: 38px !important;
        background-size: 100%;
    }
    .g_zwxxgklm {
        display: flex;
        justify-content: space-between;
        height: auto;
    }
    .g_zwxxgklm a {
        font-size: 15px !important;
        float: none !important;
        background-size: 100%;
        background-position: bottom;
        width: 149px;
        height: 35px;
        display: flex;
        align-items: center;
    }

    /* ----- 政务公开独有：图片链接自适应 ----- */
    .g_xjdxzstp {
        text-align: center !important;
        width: 100% !important;
        height: auto !important;
    }
    .g_xjdxzstp img {
        width: 100% !important;
        height: auto !important;
        max-width: 400px;
    }

    /* ----- 政务公开独有：政策解读列表 ----- */
    .g_zcjdw {
        width: 100% !important;
        min-height: auto !important;
        height: auto !important;
        margin-top: 16px;
        background-size: 100% 100% !important;
        background-repeat: no-repeat !important;
        padding: 12px 12px 12px 0;
        box-sizing: border-box;
    }
    .g_zcjdwbt {
        height: 36px !important;
        line-height: 36px !important;
        margin-bottom: 8px !important;
        background-size: auto 18px !important;
        /*background: url(../images/w_22_32.jpg) no-repeat 8px center;*/
        padding-left: 45px !important;
    }
    .g_zcjdwbt a {
        font-size: 18px !important;
        display: inline-block;
    }
    .g_zcjdlbnr {
        width: 100% !important;
        min-height: auto !important;
        height: auto !important;
    }
    .g_zcjdlbnr li {
        height: auto !important;
        min-height: auto !important;
        line-height: 1.6 !important;
        padding: 8px 0 !important;
        padding-left: 18px !important;
        background-position: left 16px !important;
        background-repeat: no-repeat !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-right: 0 !important;
    }
    .g_zcjdlbnr li a {
        font-size: 16px !important;
        float: none !important;
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin-right: 8px;
    }
    .g_zcjdlbnr li span {
        font-size: 14px !important;
        float: none !important;
        flex-shrink: 0;
        white-space: nowrap;
        margin-left: 8px;
        margin-right: 0 !important;
    }

    /* 清除浮动辅助类 */
    .c {
        display: none;
    }
}
