@charset "utf-8";

/* 手机端专用：桌面默认隐藏移动顶栏与侧栏菜单 */
.m-header,
.m-nav {
    display: none;
}

@media screen and (max-width: 768px) {

    body {
        min-width: 0;
        font-size: 14px;
    }

    body.m-nav-open {
        overflow: hidden;
    }

    /* ---------- 移动顶栏 ---------- */
    .m-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
      
        z-index: 1000;
        height: 66px;
        padding: 0 12px 0 10px;
        background: #186b73;
    }

    .m-header__logo img {
        height: 36px;
        width: auto;
        display: block;
    }

    .m-header__toggle {
        width: 44px;
        height: 44px;
        padding: 0;
        border: none;
        background: transparent;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .m-header__toggle img {
        display: block;
        width: 36px;
        height: auto;
    }

    /* ---------- 侧滑导航（含二级） ---------- */
    .m-nav {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 999;
        pointer-events: none;
        visibility: hidden;
        transition: visibility .3s;
    }

    body.m-nav-open .m-nav {
        pointer-events: auto;
        visibility: visible;
    }

    .m-nav__mask {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        opacity: 0;
        transition: opacity .3s;
    }

    body.m-nav-open .m-nav__mask {
        opacity: 1;
    }

    .m-nav__panel {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: #186b73;
        color: #fff;
        transform: translateX(100%);
        transition: transform .3s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    body.m-nav-open .m-nav__panel {
        transform: translateX(0);
    }

    .m-nav__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        font-size: 15px;
    }

    .m-nav__close {
        width: 36px;
        height: 36px;
        border: none;
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
        font-size: 22px;
        line-height: 1;
        border-radius: 4px;
        cursor: pointer;
    }

    .m-nav__list {
        padding: 8px 0 24px;
    }

    .m-nav__item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .m-nav__row {
        display: flex;
        align-items: stretch;
        min-height: 48px;
    }

    .m-nav__link {
        flex: 1;
        display: flex;
        align-items: center;
        padding: 12px 16px;
        color: #fff;
        font-size: 16px;
    }

    .m-nav__subtoggle {
        width: 48px;
        flex-shrink: 0;
        border: none;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        background: transparent;
        cursor: pointer;
        position: relative;
    }

    .m-nav__subtoggle::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 8px;
        height: 8px;
        margin: -6px 0 0 -4px;
        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;
        transform: rotate(45deg);
        transition: transform .25s ease;
    }

    .m-nav__item.is-open > .m-nav__row .m-nav__subtoggle::after {
        transform: rotate(-135deg);
        margin-top: -2px;
    }

    .m-nav__sub {
        display: none;
        background: rgba(0, 0, 0, 0.15);
        padding: 4px 0 8px;
    }

    .m-nav__item.is-open > .m-nav__sub {
        display: block;
    }

    .m-nav__sub a {
        display: block;
        padding: 10px 16px 10px 28px;
        color: rgba(255, 255, 255, 0.92);
        font-size: 14px;
        line-height: 1.4;
    }

    .m-nav__sub a:active {
        background: rgba(255, 255, 255, 0.08);
    }

    /* 隐藏桌面顶栏与菜单 */
    .top,
    .menu_box {
        display: none !important;
    }

    /* ---------- 轮播 / 主视觉 ---------- */
    .lunbo {
        min-width: 0;
        width: 100%;
        height: auto;
        min-height: 0;
        background: #e7f0f1;
    }

    .lunbo-swiper {
        height: auto;
    }

    .lunbo-swiper .swiper-slide img {
        width: 100%;
        height: auto;
        min-height: 144px;
        object-fit: cover;
    }

    /* ---------- 内容区通用 ---------- */
    .banner {
        min-width: 0;
        width: 100%;
       padding:0;
        background: #e6ebe8;
        background-image: none;
    }

    .pic_box,
    .pic_box1 {
        width: 100%;
        flex-direction: column;
        margin: 0;
        height: auto;
        gap: 20px;
    }

    .pic_news,
    .pic_news1
    {
        width: 100%;
        height: auto;
      background:#fff;
       padding: 16px 12px 24px;
    }

    .pic_news {
        background: #e6ebe8;
    }
 .pic_news2 {
        width: 100%;
        height: auto;
     
       padding: 16px 12px 24px;
    }
    .tit1,
    .tit2,
    .pic_news2 > .tit3 {
        width: 100%;
        height: auto;
        min-height: 44px;
        padding: 10px 12px;
        margin: 0;
        border-bottom: 1px solid #e4e4e4;
    }

    .tit1 img,
    .tit2 img,
    .pic_news2 > .tit3 img {
        height: 28px;
        width: auto;
    }

    .tit1 a img,.more-tit{  height: 24px;}
    .tzgg_more img {
        height: 14px;
    }

    /* 学院快讯 */
    .xykx_box {
        width: 100%;
        flex-direction: column;
        padding: 0 12px 12px;
    }

    .xykx_imgs {
        width: 100%;
        display: flex;
        gap: 8px;
        margin-bottom: 12px;
    }

    .xykx_imgs a {
        flex: 1;
        border: none;
    }

    .xykx_imgs a:nth-child(3) {
        display: none;
    }

    .xykx_imgs a:nth-child(n+2) {
        margin-top: 0;
    }

    .xykx_imgs img {
        width: 100%;
        height: auto;
        min-height: 72px;
        object-fit: cover;
    }

    .xykx_list {
        width: 100%;
    }

    .xykx_list a:nth-child(n+2) {
        margin-top: 0;
    }

    .xykx_list li {
        padding: 10px 0;
        border-bottom: 1px dashed #e0e0e0;
        font-size: 16px;
    }

    .xykx_list li .title {
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin-right: 8px;
    }

    .xykx_list li .time {
        flex-shrink: 0;
        font-size: 14px;
        color: #888;
    }

    /* 通知公告 / 媒体列表 */
    .tit2 {
        border-bottom: 1px solid #e4e4e4;
    }

    .tzgg_list {
        padding: 0 12px;
    }

    .tzgg_list a {
        height: auto;
        padding: 12px 0;
    }

    .news_info {
        height: auto;
        align-items: flex-start;
    }

    .news_info_tit {
        width: calc(100% - 80px);
        font-size: 14px;
        line-height: 1.5;
    }

    .news_info_tit div:last-child {
        color: #888;
        font-size: 12px;
        margin-top: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* 教师 / 学生作品 */
    .tit5-img{height:66px;}
    .pic_box1 {
        margin-top: 20px;
background: #fff url(../imgs/jszpbg.png) top right;
        background-size: contain;
    }

    .news_list {
        width: 100%;
        float: none;
        margin-top: 12px;
        padding: 0 12px 12px;
    }

    .works-swiper .swiper-button-prev,
    .works-swiper .swiper-button-next {
        display: none;
    }

    .works-slide .tit3 {
        font-size: 12px;
        height: 32px;
        line-height: 32px;
    }

    /* 快捷入口 2×2 */
    .nav-cards {
        width: 100%;
        flex-wrap: wrap;
        gap: 8px;
        margin: 20px 0 0;
        padding: 0 15px 20px;
    }

    .nav-card {
        width: calc(50% - 4px);
        flex: none;
        height: 88px;
    }

    .nav-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
    }

    .nav-card__inner {
        gap: 10px;
    }

    .nav-card__icon {
        height: 32px;
        width: auto;
    }

    .nav-card__cn {
        font-size: 16px;
        letter-spacing: 1px;
    }

    .nav-card__en {
        font-size: 9px;
        letter-spacing: 0;
    }

    /* ---------- 页脚 ---------- */
    .bottom {
        min-width: 0;
        height: auto;
        padding: 20px 16px;
    }

    .bottom1 {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        height: auto;
    }

    .bottom1 > .logo,
    .bottom1 > .xian,
    .bottom1 .yqlj {
        display: none;
    }

    .bottom1 .lxfs {
        width: 100%;
        margin: 0;
        height: auto;
    }

    .lxfs .info-box {
        line-height: 1.8;
        margin-bottom: 6px;
      
    }

    .bottom2 {
        min-width: 0;
        height: auto;
        padding: 12px;
    }

    .bottom3 {
        width: 100%;
        font-size:15px;
        line-height: 1.6;
        text-align: center;
        justify-content: center;
height: 30px;
    }
  .bottom3 span{display:none;}
    /* ---------- 内页（news / newslist） ---------- */
    body.page-inner .lunbo {
        display: none;
    }

    .main {
        width: 100%;
        min-width: 0;
        flex-direction: column;
        margin: 0;
        padding: 20px 12px 20px;
        gap: 12px;
    }

    .all_left,
    .all_right {
        width: 100%;
    }

    .left_list {
        margin-bottom: 4px;
    }

    .left_list strong {
        font-size: 16px;
        height: 42px;
        line-height: 42px;
    }

    .left_list ul li {
        height: auto;
        min-height: 42px;
        line-height: 42px;
        text-indent: 16px;
        font-size: 14px;
    }

    .left_list ul li a.current {
        color: #186b73;
        font-weight: bold;
    }

    .right_tit {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 10px 0 12px;
        line-height: 1.4;
    }

    .right_tit h2 {
        font-size: 18px;
        padding: 0;
        width: 100%;
        text-align: left;
    }

    .right_tit h2:after {
        width: 48px;
        left: 0;
        bottom: -6px;
    }

    .right_tit span {
        padding: 10px 0 0;
        font-size: 12px;
        color: #888;
        line-height: 1.6;
        word-break: break-all;
    }

    .right_all {
        padding: 12px 10px 20px;
        min-height: auto;
    }

    .right_all .content {
        line-height: 1.75;
        font-size: 15px;
    }

    .right_all p {
        margin-bottom: 0.6em;
    }

    .right_all p,
    .right_all p span {
    
        line-height: 1.75 !important;
    
      
        word-break: break-word;
    }

    .right_all p[style*="text-align: right"] {
        text-align: right !important;
    }

    .right_all p[style*="text-align: right"] span {
        text-indent: 0 !important;
    }

    .newslist {
        width: 100%;
    }

    .newslist ul li {
        float: none;
        line-height: 1.5;
        padding: 14px 0;
        border-bottom: 1px dashed #dadada;
    }

    .newslist ul li a {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        font-size: 17px;
        color: #333;
        width: 100%;
    }

    .newslist ul li span {
        float: none;
        width: auto;
        text-align: right;
        font-size: 14px;
        color: #888;
        flex-shrink: 0;
    }
    .newsx img,.newsx video{max-width:100% !important;height:auto !important;}
    .newstitle {
      font-size: 20px !important;
    font-weight: bold;
    color: #333;
    line-height: 30px !important;


    }
    .newslist-tit{
          flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
 text-align: left !important; color:#000 !important;
    }
.mtsf-list{width:100% !important;}
 /* 图片列表 */
.pic-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.pic-item{
    display: block;
    min-width: 0;
    width: 100%;
    color: #333;
    overflow: hidden;
}
.pic-item:hover .pic-item__thumb{
    border-color: #186b73;
}
.pic-item__thumb{
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    border: 1px solid #ced3d4;
    background: #f8f9f8;
    overflow: hidden;
    box-sizing: border-box;
}
.pic-item__thumb img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 94%;
    max-height: 94%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.pic-item__title{
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
text-align: center;
}
}