@charset "utf-8";

/**
 * 自适应小屏：同一套 index.html，通过媒体查询覆盖桌面样式
 * ≤749px
 */

@media screen and (max-width: 749px) {
    html {
        -webkit-text-size-adjust: 100%;
    }
 .bottom-span{
     display: none;
 }
    /* —— 顶部：横条 + 抽屉 —— */
    .drawer-toggle{
        display: flex !important;
    }

    .drawer-toggle img{
        height: 24px;
    }

    .site-drawer {
        display: none !important;
        position: fixed;
        left: 0;
        right: 0;
        top: var(--drawer-top, 76px);
        bottom: 0;
        z-index: 500;
        overflow: hidden;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        background: #0d4a78;
    }

    .site-drawer__inner {
        height: 100%;
        overflow: auto;
        padding: 0 0 20px;
        -webkit-overflow-scrolling: touch;
    }




    .drawer-leaf {
        display: block;
        padding: 14px 16px;
        color: #fff !important;
        font-size: 15px;
        text-decoration: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .drawer-leaf:active {
        background: rgba(0, 0, 0, 0.08);
    }

    .drawer-group {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .drawer-group__toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 14px 16px;
        border: none;
        background: transparent;
        color: #fff;
        font-size: 15px;
        font-weight: 500;
        text-align: left;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .drawer-group__toggle:active {
        background: rgba(0, 0, 0, 0.06);
    }

    .drawer-group__arrow {
        display: inline-block;
        flex-shrink: 0;
        margin-left: 8px;
        color: rgba(255, 255, 255, 0.55);
        font-size: 22px;
        line-height: 1;
        font-weight: 300;
        transition: transform 0.2s ease;
    }

    .drawer-group__arrow::before {
        content: "\203a";
        display: block;
    }

    .drawer-group.is-open .drawer-group__arrow {
        transform: rotate(90deg);
    }

    .drawer-group__panel {
        padding: 0;
        background: rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .drawer-group:not(.is-open) .drawer-group__panel {
        display: none !important;
    }

    .drawer-sub {
        display: block;
        padding: 12px 16px 12px 24px;
        color: rgba(255, 255, 255, 0.9) !important;
        font-size: 14px;
        text-decoration: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .drawer-sub:last-child {
        border-bottom: none;
    }

    .drawer-sub:active {
        background: rgba(0, 0, 0, 0.1);
    }

    body.drawer-open .site-drawer {
        display: block !important;
    }

    body.drawer-open {
        overflow: hidden;
    }

    .top {
        min-width: 0 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 52px;
        position: sticky;
        top: 0;
        z-index: 400;
    }

    .topbg {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 75px;
        line-height: normal !important;
        padding: 8px 12px !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 8px;
        box-sizing: border-box;
    }

    .topbg__logos {
        display: contents;
    }

    .top .img1 {
        width:auto;
        height: 33px !important;
        flex-shrink: 0;
    }

    .top .img2 {
        display: none !important;
    }

    .top .menu {
        display: none !important;
    }

    .top .clr {
        display: none !important;
    }

    /* —— 大轮播 —— */
    .lunbo {
        min-width: 0 !important;
        width: 100% !important;
        height: 212px !important;
    }

    .lunbo img {
        min-width: 0 !important;
        width: 100% !important;
        height: 212px !important;
        max-height: 46vh;
        object-fit: cover;
    }

    .slide {
        height: 212px !important;
        max-height: none;
    }

    .slide .prev_btn,
    .slide .next_btn {
        display: none !important;
    }

    .slide .circle_btn {
        bottom: 8px;
    }

    /* —— Banner 主区 —— */
    .banner {
        min-width: 0 !important;
        width: 100%;
        padding: 12px 0 24px;
        background-size: contain;
    }

    .banner-box {
        width: 100% !important;
        max-width: 100%;
        padding: 0 12px;
        box-sizing: border-box;
    }

    .pic_box,
    .pic_box1,
    .pic_box2,
    .pic_box3 {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        margin-bottom: 25px !important;
    }

    .title-box {
        display: flex !important;
        align-items: center;
        flex-wrap: wrap;
        height: auto !important;
        min-height: 40px;
        margin-bottom: 10px !important;
        border: none;
    }

    .title-box .tit-fen {
        float: none !important;
    }

    .title-box .title {
        float: none !important;
        flex: 1;
        font-size: 18px;
    }

    .title-box .more {
        float: none !important;
    }

    .title-box .clr {
        display: none !important;
    }

    .pic-news {
        display: block !important;
    }

    /*
     KinSlideshow 会给 #KinSlideshow、#KSS_moveBox 写死 width/height（来自初始化时 $("img").width()）。
     若在图片未就绪时得到 0，会出现整块不可见；用 load 延后初始化为主，以下为兜底。
    */
    #KinSlideshow {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 180px !important;
        height: auto !important;
        margin-bottom: 10px;
    }

    /* #KSS_moveBox 宽度由 KinSlideshow 插件 + index.html 内 jQuery 同步；勿用 !important 顶掉内联 */
    #KinSlideshow #KSS_moveBox {
        min-height: 180px !important;
        box-sizing: border-box;
    }

    #KinSlideshow img,
    .KinSlideshow img {
        height: auto;
        max-height: 260px;
        object-fit: cover;
        vertical-align: top;
    }

    .news-list {
        float: none !important;
        width: 100% !important;
        height: auto !important;
        max-height: none;
    }

    .news-list a {
        display: block;
    }

    /* 社科动态列表：小屏只显示前 5 条 */
    .pic_box .news-list > a:nth-child(n + 6) {
        display: none !important;
    }

    .news-list li {
        display: flex !important;
        align-items: center;
        gap: 8px;
        height: auto !important;
        min-height: 44px;
        padding: 6px 0;
        line-height: 1.35 !important;
        border-bottom: 1px solid #f0f0f0;
    }

    .news-list li img {
        margin: 0 !important;
        flex-shrink: 0;
    }

    .news-list li .biaoti,
    .news-list li span.fl {
        flex: 1;
        min-width: 0;
        float: none !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .news-list li .time {
        float: none !important;
        flex-shrink: 0;
        font-size: 14px;
        color: #aaa;
    }

    /* —— 公告列表 —— */
    .pic-list1 li .time1 {
        width: 74px !important;
        flex-shrink: 0;
        height: auto !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 7px 4px !important;
    }

    .pic-list1 li {
        display: flex !important;
        align-items: stretch;
        height: auto !important;
        min-height: 64px;
        padding-bottom: 12px !important;
    }

    .pic-list1 li .title1 {
        float: none !important;
        width: auto !important;
        flex: 1;
        margin-left: 12px !important;
        display: flex;
        align-items: center;
        height: auto !important;
    }

    .time2 {
        font-size: 16px !important;
        font-weight: 700;
        height: auto !important;
        line-height: 1.2 !important;
    }

    .time3 {
        border-top-width: 0 !important;
        margin-top: 4px;
        font-size: 17px;
    }

    /* —— 社科管理 —— */
    .news-list1 li {
        display: flex !important;
        align-items: baseline;
        padding: 0 0 !important;
    }

    .news-list1 li .source {
        float: none !important;
        flex-shrink: 0;
    }

    .news-list1 li .biaoti {
        float: none !important;
        flex: 1;
        min-width: 120px;
        font-size: 16px;
white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .news-list1 li .time {
        float: none !important;
        width: 88px;
        text-align: right;
        font-size: 14px !important;
    }

    .news-list1 .clr {
        display: none !important;
    }

    /* —— 社科系统图链 —— */
    .img-list img {
        width: 100% !important;
        max-width: 100%;
        margin: 0 auto !important;
    }

    .img-list a {
        padding: 4px 0;
    }
    .img-list a:nth-child(n+2){
        margin-top: 8px;
    }
    /* —— 友情链接双列 —— */
    .link-list {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 0 10px;
    }

    .link-info {
        float: none !important;
        width: 100% !important;
        height: auto !important;
        padding: 10px 4px !important;
        box-sizing: border-box;
        border-bottom: 1px solid #f2f2f2;
    }

    .link-info:nth-child(n + 3) {
        margin-top: 0 !important;
    }

    /* —— 学者风范 —— */
    .news_list {
        margin-top: 16px;
    }

    .xzff-left .bd {
        overflow: hidden;
    }

    .picList li {
        width: 85vw !important;
        max-width: 320px;
        float: none !important;
        display: inline-block;
        vertical-align: top;
    }

    .picList li .imgs {
        width: 100% !important;
        max-width: 300px;
    }

    /* —— 内页：正文区 .main（news.html 等）—— */
    .main {
        width: 100% !important;
        max-width: 100%;
        margin: 12px auto 20px !important;
        padding: 0 12px;
        box-sizing: border-box;
        overflow: visible;
    }

    .all_left {
        float: none !important;
        width: 100% !important;
        margin: 0 0 14px;
    }

    .all_right {
        float: none !important;
        width: 100% !important;
        margin-top: 0 !important;
    }

    /* 新闻详情页 news.html：顶栏+栏目（参考移动端列表） */
    .page-news-detail .news-mo-head {
        display: block;
        width: calc(100% + 24px);
        max-width: none;
        margin-left: -12px;
        margin-right: -12px;
        margin-bottom: 0;
        box-sizing: border-box;
    }

    .page-news-detail .all_left {
        display: none !important;
    }

    .page-news-detail .right_tit {
        display: none !important;
    }

    .news-mo-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 48px;
        padding: 8px 10px;
        background: #036197;
        color: #fff;
        box-sizing: border-box;
    }

    .news-mo-back {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff !important;
        font-size: 28px;
        line-height: 1;
        text-decoration: none !important;
        font-weight: 300;
        margin-left: -4px;
    }

    .news-mo-bar__title {
        flex: 1;
        margin: 0;
        padding: 0 8px;
        font-size: 17px;
        font-weight: 600;
        text-align: center;
        color: #fff;
    }

    .news-mo-grid {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
        color: inherit;
        -webkit-tap-highlight-color: transparent;
        margin-top: -9px;
    }

    .news-mo-grid__ic {
        display: block;
        width: 7px;
        height: 7px;
        background: #fff;
        box-shadow: 11px 0 0 #fff, 0 11px 0 #fff, 11px 11px 0 #fff;
    }

    .page-news-detail .news-mo-cats {
        display: none !important;
        flex-direction: column;
        background: #fff;
        border-bottom: 1px solid #e8e8e8;
    }

    .page-news-detail .news-mo-head--cats-open .news-mo-cats {
        display: flex !important;
    }

    .news-mo-cats a {
        display: block;
        padding: 15px 18px;
        font-size: 16px;
        color: #333 !important;
        text-decoration: none !important;
        border-bottom: 1px solid #eee;
        -webkit-tap-highlight-color: transparent;
    }

    .news-mo-cats a:last-child {
        border-bottom: none;
    }

    .news-mo-cats a.is-active {
        background: #e3e9ed;
        color: #2c3e50 !important;
        font-weight: 500;
    }

    .news-mo-cats a:active {
        background: #f0f3f5;
    }

    .left_list {
        float: none !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .left_list strong {
        padding: 14px 16px !important;
        font-size: 17px !important;
        text-align: left !important;
    }

    .left_list ul li a {
        padding-left: 16px !important;
    }

    .right_tit {
        float: none !important;
        line-height: 1.45 !important;
        padding-bottom: 12px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        border-bottom: 1px solid #ccc;
    }

    .right_tit h2 {
        float: none !important;
        width: 100% !important;
        max-width: none;
        padding-left: 0 !important;
        font-size: 17px !important;
        font-weight: 600;
    }

    .right_tit span {
        float: none !important;
        padding-right: 0 !important;
        font-size: 12px !important;
        line-height: 1.55;
        color: #555;
        word-break: break-word;
    }

    .right_all {
        float: none !important;
        width: 100% !important;
        min-height: 0 !important;
        padding: 16px 12px !important;
        box-sizing: border-box;
    }

    .newstitle {
        font-size: 20px !important;
        line-height: 1.4 !important;
        padding: 0 2px;
    }

    .newssubtitle {
        line-height: 1.65 !important;
        font-size: 13px !important;
        padding: 10px 2px 14px;
    }

    .newsx {
        line-height: 1.75 !important;
        font-size: 15px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .newsx p {
        max-width: 100%;
    }

    .newsx img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* —— 页脚 —— */
    .bottom_box {
        min-width: 0 !important;
        width: 100% !important;
        height: auto !important;
        padding-bottom: 16px;
    }

    .bottom {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        padding: 16px 12px;
        box-sizing: border-box;
    }

    .bottom-left {
        float: none !important;
        width: 100% !important;
        top: 0 !important;
        text-align: center;
        font-size: 13px;
        line-height: 1.75;
    }

    .bottom-right {
        display: none;

    }
}