@media screen and (max-width: 1024px) {
    /* ========== 通用 ========== */
    body {
        background: #ffffff;
        color: #333;
    }

    /* 隐藏仅用于 PC 的元素（目前头部有 .pc） */
    .pc {
        display: none !important;
    }

    /* ========== 手机端头部导航 ========== */
    .mobile-header {
        position: fixed; /* 始终固定在顶部，避免 relative/fixed 来回切换造成跳动 */
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background: linear-gradient(90deg, rgba(58, 74, 157, 1), rgba(46, 182, 170, 1));
        backdrop-filter: blur(10px);
        transition: background 0.3s ease, box-shadow 0.3s ease;
        display: block;
    }

    .mobile-header.scrolled {
        /* 仅在滚动时增加阴影等效果，不再切换 position，保证过渡平滑 */
        background: linear-gradient(90deg, rgba(58, 74, 157, 1), rgba(46, 182, 170, 1));
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }


    .mobile-header-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.2rem 0.3rem;
        height: 0.88rem;
        background: url("../imgs/topbg.png") no-repeat center top;
        background-size: auto;
    }

    .mobile-logo {
        flex-shrink: 0;
    }

    .mobile-logo img {
        height: 0.5rem;
        width: auto;
    }

    .mobile-header-right {
        display: flex;
        align-items: center;
        gap: 0.2rem;
    }

    .mobile-menu-btn {
        display: flex;
        cursor: pointer;
    }

    .mobile-menu-btn img {
        width: 0.4rem;

    }

    /* 手机端导航菜单 */
    .mobile-nav {
        position: fixed;
        top: 0.88rem;
        left: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background: rgba(58, 74, 157, 1);
        backdrop-filter: blur(10px);
        transition: max-height 0.4s ease;
        z-index: 999;
    }

    .mobile-nav.active {
        min-height: 100vh;
        overflow-y: auto;
        display: block;
    }

    .mobile-nav-content {
        padding: 0.3rem 0;
    }

    .mobile-nav-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-nav-list > li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-nav-list > li > a,
    .mobile-nav-parent {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.24rem 0.3rem;
        color: #fff;
        text-decoration: none;
        font-size: 0.18rem;
        transition: background 0.3s ease;
    }

    .mobile-nav-list > li > a:active,
    .mobile-nav-parent:active {
        background: rgba(255, 255, 255, 0.1);
    }

    .mobile-nav-arrow {
        font-size: 0.12rem;
        transition: transform 0.3s ease;
        display: inline-block;
    }

    .mobile-nav-item-has-child.active .mobile-nav-arrow {
        transform: rotate(180deg);
    }

    .mobile-nav-child {
        list-style: none;
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        background: rgba(0, 0, 0, 0.3);
        transition: max-height 0.3s ease;
    }

    .mobile-nav-item-has-child.active .mobile-nav-child {
        max-height: 10rem;
    }

    .mobile-nav-child li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .mobile-nav-child a {
        display: block;
        padding: 0.2rem 0.3rem 0.2rem 0.6rem;
        color: rgba(255, 255, 255, 1);
        text-decoration: none;
        font-size: 0.16rem;
        transition: background 0.3s ease;
    }

    .mobile-nav-child a:active {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
    }

    /* 手机端导航内搜索框 */
    .mobile-nav-search {
        margin-top: 0.3rem;
        padding: 0 0.3rem 0;
    }

    .mobile-nav-search-input {
        width: 100%;
        height: 0.5rem;
        padding: 0 0.5rem 0 0.18rem;
        border-radius: 0.04rem;
        border: 1px solid rgba(255, 255, 255, 0.7);
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        font-size: 0.16rem;
        outline: none;
    }

    .mobile-nav-search-input::placeholder {
        color: rgba(255, 255, 255, 0.9);
    }

    .mobile-nav-search {
        position: relative;
    }

    .mobile-nav-search-btn {
        position: absolute;
        right: 0.42rem;
        top: 50%;
        transform: translateY(-50%);
        width: 0.3rem;
        height: 0.3rem;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.8);
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        color: #fff;
    }

    .mobile-nav-search-btn .iconfont {
        font-size: 0.16rem;
    }

    .mobile-nav-links {
        margin-top: 0.1rem;
        padding: 0.3rem;
        display: flex;
        flex-wrap: wrap;
        gap: 0.2rem;
    }

    .mobile-nav-link-item {
        flex: 0 0 calc(50% - 0.1rem);
        display: flex;
        align-items: center;
        gap: 0.08rem;
        padding: 0.15rem 0.2rem;
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        font-size: 0.14rem;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 0.04rem;
        transition: all 0.3s ease;
    }

    .mobile-nav-link-item:active {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.4);
    }

    .mobile-nav-link-item .iconfont {
        font-size: 0.16rem;
    }

    /* 菜单打开时禁止body滚动 */
    body.menu-open {
        overflow: hidden;
    }

    /* 手机端头部占位，避免内容被遮挡 */
    body {
        padding-top: 0.88rem;
    }

    .wp {
        width: 94%;
        max-width: 100%;
        margin: 0 auto;
    }

    /* ========== 顶部大图（轮播） ========== */
   .banner{
   margin-top: 0.88rem;

}
    .banner .slick-slide a {
        height: 23vh;
    }

    .banner .slick-slide a > img {
        height: 23vh;
    }

    .banner .slick-slide a::before {
        background: unset;
    }

    .banner .slick-slide a::after {
        background: unset;
    }

    .banner .slick-prev, .banner .slick-next {
        bottom: 0.24rem;
    }
  .banner .slick::after{display:none;}

    /* ========== 首页要闻（home_1_1） ========== */
    .home_1 {
        background: url(../imgs/home1.png) -9rem top no-repeat;
        background-size: auto;
    }

    .home1_1 {
        padding: 0.6rem 0 0.8rem;
    }

    .home1_1_box {
        flex-direction: column;
        gap: 0.3rem;
    }

    .home1_left,
    .home1_right {
        flex: 0 0 100%;
        width: 100%;
    }

    .news-slide-img {
        height: 2.6rem;
    }

    .news-slide-desc {
        -webkit-line-clamp: 2;
    }

    .news-item-title {
        -webkit-line-clamp: 2;
        height: auto;
    }

    /* ========== 动态区域（home1_2） ========== */
    .home1_2 {
        height: auto;
        margin-top: 0;
        padding: 0.6rem 0 1rem;
        background-size: cover;
    }

    .home1_2-slide-nav {
        display: none;
    }

    .home1_2_left {
        width: 100%;
    }

    .home1_2_news {
        flex-direction: column;
        gap: 0.4rem;
    }

    .home1_2_news_left,
    .home1_2_news_right {
        flex: none;
        width: 100%;
    }

    .home1_2-swiper {
        height: auto;
    }

    .home1_2-slide-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .home1_2-slide-img {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        height: 2.6rem;
        margin-bottom: 0.2rem;
    }

    .home1_2-slide-content {
        width: 100%;
        margin: 0;
        padding: 0.24rem 0.2rem 0.3rem;
        min-height: auto;
        height: auto;
    }

    .home1_2-slide-title {
        /* 移动端标题只显示一行，超过部分省略号 */
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        overflow: hidden;
    }

    .home1_2-slide-desc {
        /* 移动端描述只显示一行，超过部分省略号 */
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        overflow: hidden;
    }

    .home1_2-news-link::before {

    }

    /* ========== 科研区域（home_3） ========== */
    .home_3 {
        padding: 0.6rem 0;
        background: #fff url(../imgs/home3.png) center -1.5rem no-repeat;;

    }

    .home_3 .menu-dots {
        display: flex;
    }

    .home_3_container {
        flex-direction: column;
        gap: 0.4rem;
    }

    .home_3-left-main-title {
        font-size: 0.2rem;
        /* 移动端标题只显示一行，超过部分省略号 */
        /* 重置PC端的 -webkit-box 显示方式 */
        display: block !important;
        -webkit-line-clamp: unset !important;
        -webkit-box-orient: unset !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        width: 100%;
    }

    .home_3-left-info-list li img {
        margin-top: 0.06rem;
    }

    .home_3_left,
    .home_3_right_carousel {
        flex: 0 0 100%;
        width: 100%;
        background: unset;
    }

    .home_3_left .tit1 {
        width: 87%;
    }

    .home_3-left-swiper .swiper-slide {
        flex-direction: column;
        min-height: auto;
    }

    .home_3-left-content {
        padding: 1rem 0.2rem 0.3rem;
        width: 100%;
        height: auto;
        background: rgba(242, 249, 254, 0.5);
        box-sizing: border-box;
    }

    .home_3-left-info-list {
        margin: 0 0 0.2rem 0;
    }

    .home_3-left-btn {
        margin-top: 0;
    }

    .home_3-right-content {
        position: relative;
        right: 0;
        top: 0;
        width: 100%;
        height: 2.6rem;
        margin-top: 0.2rem;
        border-radius: 0.06rem;
    }

    .home_3-right-carousel-swiper {
        height: auto;
    }

    .home_3-carousel-banner {
        height: auto;
    }

    /* home_3 左侧切换按钮放到内容底部居中，避免在小屏跑出容器 */
    .home_3-left-nav {
        position: static;
        margin: 0.2rem auto 0;
        display: flex;
        justify-content: center;
    }

    /* ========== 人物区域（home_4） ========== */
    .home_4 {
        padding: 0;
        background: transparent url("../imgs/home4_mobile.png") center center no-repeat;
        background-size: cover;
        min-height: unset;
    }

    .home_4_container {
        padding: 0.8rem 0 0.5rem;
    }

    /* PC 端人物布局在手机端隐藏 */
    .home_4_content.pc {
        display: none;
    }

    /* 手机端人物轮播容器 */
    .home_4_content.mobile {
        margin-top: 0.2rem;
        display: flex;
    }

    .home_4_mobile-swiper {
        padding: 0.15rem 0 0.3rem;
        overflow: visible;
        width: 100%;
    }

    .home_4_mobile-swiper .swiper-wrapper {
        overflow: visible;
    }

    /* 移动端人物卡片：让 Swiper 自动计算，不设置固定宽度 */
    .home_4_mobile-swiper .swiper-slide {
        height: auto;
        box-sizing: border-box;
    }

    .home_4_mobile_card {
        background: #ffffff;
        border-radius: 0.06rem;
        overflow: hidden;
        margin: 0 0.1rem;
    }

    .home_4_mobile_img {
        width: 100%;
        height: 0;
        padding-top: 44%;
        position: relative;
        overflow: hidden;
    }

    .home_4_mobile_img img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .home_4_mobile_info {
        padding: 0.2rem 0.24rem 0.24rem;
    }

    .home_4_mobile_title {
        font-size: 0.16rem;
        color: #f3981c;
        margin-bottom: 0.08rem;
    }

    .home_4_mobile_name {
        font-size: 0.18rem;
        color: #333333;
        margin-bottom: 0.08rem;
        /* 移动端单行超出省略号 */
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .home_4_mobile_text {
        display: none;
    }

    /* ========== 媒体&印象绍理（home_5） ========== */
    .home_5 {
        padding: 0.3rem 0 0.1rem;
        background-size: contain;
    }

    .home_5_container {
        flex-direction: column;
        gap: 0.2rem;
        margin-bottom: 0.1rem;
    }

    .home_5_left,
    .home_5_right {
        flex: 0 0 100%;
        width: 100%;
        padding: 0.3rem 0 0;
    }

    .home_5_right_top {
        min-height: 2.5rem;
    }

    .home_5_right_left {
        width: 100%;
        padding-bottom: 0.8rem;
    }

    .home_5_video_container {
        flex: 1;
        width: 100%;
    }

    .home_5_video_player {
        min-height: 2.6rem;
    }

    .home5_logo {
        position: absolute;
        bottom: -0.6rem;
        left: 0;
        width: 2.4rem;
    }

    .home_5_bottom {
        width: 100%;
        margin-top: 0.2rem;
    }

    /* ========== 服务导航（home_6） ========== */
    .home_6 {
        padding: 0.5rem 0 0.3rem;
    }

    .home_6_container {
        padding: 0;
    }

    .home_6_line {
        display: none;
    }

    .home_6_nodes {
        gap: 0.3rem;
        padding: 0 0.9rem;
        align-items: center;
        flex-wrap: wrap;
    }

    .home_6_node {
        flex: unset;
        width: 33%;
    }

    /* home_6 节点标题改为普通文流，避免绝对定位在竖向堆叠时互相遮挡 */
    .home_6_node_text {
        position: static;
    }

    /* ========== 页脚（bottom） ========== */
    .bottom_top_bg {
        height: 2.4rem;
    }

    .bottom_bottom {
        padding-top: 0.3rem;
        background: linear-gradient(to right, #3976a4 0%, #359da9 100%);
    }

    .bottom_content {
        flex-direction: column;
        gap: 0.4rem;
    }

    .bottom_left,
    .bottom_center,
    .bottom_right {
        flex: 0 0 100%;
        width: 100%;
    }

    .bottom_link {
        font-size: 0.18rem;
    }

    .bottom_contact_item {
        font-size: 0.18rem;
    }

    .bottom_copyright {
        font-size: 0.16rem;
    }

    .bottom_qr_list {
        justify-content: flex-start;
    }
}


@media screen and (max-width: 1024px) {
    .inner .ejlm {
        display: block;
        margin: 0.4rem 0;
    }

    .ban .ejlm, .ban .yjlm {
        display: none;
    }

    .ban .yjlm h2 {
        font-size: 0.4rem;
    }

    .ejlm ul {
        display: none;
        background: #3a4a9d;
        padding: 0.3rem;
    }

    .sjlm {
        display: none
    }

    .ejlm ul li {
        width: 100%;
        line-height: 0.5rem;
        font-size: 0.18rem
    }

    .ejlm ul li.active a {
        color: #e6c390;

    }

    .ejlm li a {
        border: none;
        padding: 0;
        line-height: 0.5rem
    }

    .inner {
        padding: 0 0 0.4rem;
    }

    .lr-t {
        display: block !important;
    }

    .ban::before {
        height: 1.5rem;
        display: none;
    }

    .bs-l {
        width: 100%;
        margin-bottom: 0.3rem;
        position: relative;
    }

    .bs-l ul {
        display: flex;
        flex-wrap: wrap; /* justify-content: center; */
    }

    .bs-l ul li {
        width: 20%;
        text-align: center;
        height: .65rem;
        border-top: none;
    }

    .bs-r {
        width: 100%;
    }

    .xx4 > img {
        width: 100%;
    }

    .xxscrol {
        padding-right: 0.25rem;
    }

    .ndjj p {
        margin-bottom: 0.3rem;
    }

    .ndjj2 {
        margin: 0 0 0.3rem 0;
        padding: 0.4rem 0;
    }

    .ndjj1::after {
        bottom: 0;
    }

    .xrld-l {
        width: 100%;
    }

    .yxbm li h4 a {
        white-space: pre-wrap;
        width: calc(100% - 0.2rem);
    }

    .xdld1 h2 {
        height: auto;
        padding: .2rem 0
    }

    .list li {
        width: 100%;
        margin-bottom: 0.2rem;
    }
    .list li .kxdt-l {
        width: .9rem;
        height: .9rem;
    }
    .list li .kxdt-l p {
        font-size: 0.22rem;
    }
    .list li .kxdt-r {
        width: calc(100% - .9rem);
    }
.f_bg{display:none}
   /* 机构设置表格手机端自适应 - 保持3列布局 */
    .dept-table {
        width: 100%;
        margin: 0.2rem 0;
        display: flex;
        flex-wrap: wrap;
    }
    .dept-item {
        flex: 0 0 calc(33.333% - 0.067rem);
        border-right: 1px solid #d3d3d3;
        border-bottom: 1px solid #d3d3d3;
        padding:0.1rem 0.05rem;
        text-align: center;
        background-color: #fff;
        font-size: 0.15rem;
        color: #000;
        text-decoration: none;
       
    }
    /* 第一行添加上边框 */
    .dept-item:nth-of-type(1),
    .dept-item:nth-of-type(2),
    .dept-item:nth-of-type(3) {
        border-top: 1px solid #d3d3d3;
    }
    /* 第一列添加左边框 */
    .dept-item:nth-of-type(3n+1) {
        border-left: 1px solid #d3d3d3;
    }
    /* 最后一列保留右边框（作为外边框） */
    .dept-item:nth-of-type(3n) {
        border-right: 1px solid #d3d3d3;
    }
    /* 最后一行保留下边框（作为外边框） */
    .dept-item:last-of-type,
    .dept-item:nth-last-of-type(2),
    .dept-item:nth-last-of-type(3) {
        border-bottom: 1px solid #d3d3d3;
    }
    /* 手机端去掉背景色交替 */
    .dept-item:nth-of-type(6n+1),
    .dept-item:nth-of-type(6n+2),
    .dept-item:nth-of-type(6n+3) {
        background-color: #fff;
    }


}