/* Global Responsive Adjustments */
@media screen and (max-width: 1200px) {
    body .header, 
    body .nav, 
    body .box_ct, 
    body .szdw, 
    body .section-xs .content-container, 
    body .yqlj, 
    body .footer, 
    body .list_bg, 
    body .beijing {
        width: 95%;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Top Banner 全宽 */
    body .banner {
        width: 100%;
        max-width: 100%;
        margin-top: 0;
    }
}

@media screen and (max-width: 992px) {
    /* Header - 极致空间利用，防止遮挡 */
    body .header {
        height: auto;
        padding: 5px 0;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between;
        align-items: center;
    }
    body .header .logo {
        flex: 1 1 auto;
        min-width: 0;
    }
    body .header .logo a {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
    }
    body .header .logo a img {
        height: 28px;
        flex-shrink: 0;
    }
    body .header .logo a img[style*="margin-left: 20px"] {
        margin-left: 5px !important;
    }
    body .header .logo a span {
        font-size: 10px; /* 极小字号确保不重叠 */
        margin-left: 3px;
        white-space: nowrap;
    }

    body .header .search {
        flex: 0 0 100px;
        margin: 0;
    }
    body .header .search .search1 form {
        width: 100px;
    }
    body .header .search .search1 form .input_01 {
        width: 70px;
        height: 24px;
        font-size: 10px;
    }

    .header .search .tb_lj { display: none; }

    /* Nav */
    body .nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    body .nav .nLi h3 a {
        padding: 6px 8px;
        font-size: 12px;
    }
    body .nav .nLi .sub { display: none !important; }

    /* Sidebar */
    .list_bg .list_left_1 { width: 100%; float: none; }
}

@media screen and (max-width: 768px) {
    /* Box Flex Layout */
    body .box_ct { flex-direction: column; }
    
    /* 新闻板块 */
    body .picFocus, body .cop_tp, body .cop_tp .banner { height: 220px; }
    body .picFocus .bd, body .picFocus .bd ul, body .picFocus .bd li, body .picFocus .bd img { height: 220px; }
    body .picFocus .bd img { object-fit: cover; }

    /* 学术动态调整：2列紧凑布局 */
    body .section-xs .content__body {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px 4%;
    }
    body .section-xs .content__item {
        flex: 0 0 48%;
    }
    body .section-xs .content__item-img {
        height: 100px; /* 进一步缩小图片 */
    }
    body .section-xs .content__item-text {
        padding: 5px;
    }
    body .section-xs .content__item-title {
        font-size: 13px;
        line-height: 1.2;
    }

    /* 对外服务板块 (xxyd) - 彻底纠正变形 */
    body .box_ct .box_lt .xxyd {
        width: 100%;
        height: auto;
        min-height: 350px;
        overflow: visible;
    }
    body .box_ct .box_lt .xxyd ul {
        position: relative;
        width: 100%;
        height: auto;
        overflow: visible;
    }
    body .box_ct .box_lt .xxyd li {
        width: 100% !important;
        position: relative;
        display: block;
        height: auto;
        padding-bottom: 40px;
    }
    body .box_ct .box_lt .xxyd li .f1 {
        width: 100%;
        height: auto;
        padding: 10px;
        line-height: 1.4;
    }
    body .box_ct .box_lt .xxyd li .f2 {
        position: relative;
        width: 90%;
        max-width: 280px;
        height: 150px;
        margin: 10px auto;
    }
    body .box_ct .box_lt .xxyd li .f2 img {
        object-fit: cover; /* 保证图片不变形 */
        border-radius: 4px;
    }
    body .box_ct .box_lt .xxyd .zyqh {
        bottom: 0;
        z-index: 100;
    }

    /* 友情链接 - 多列布局 */
    body .yqlj .tb {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    body .yqlj .tb li {
        flex: 0 0 40%;
        margin: 0;
        text-align: center;
    }
    body .yqlj .tb li a img {
        height: 40px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 480px) {
    /* 极窄屏 */
    body .header .logo a span { display: none; } /* 极窄屏隐藏长标题文字 */
}

/* Fix global image overflow */
body img {
    max-width: 100%;
    height: auto;
}
