@charset "utf-8";

/* 移动端导航头部：PC 隐藏，≤768px 在下方媒体查询中显示 */
.main-nav-head {
    display: none;
}

@media screen and (max-width: 768px) {
    .w1650 {
        width: auto;
        max-width: none;
        padding-left: 0.21rem;
        padding-right: 0.21rem;
    }

    /* ========== 顶栏 ========== */
    .header-bar {
        min-height: 0.63rem;
        padding-top: 0.16rem;
        padding-bottom: 0.16rem;
        gap: 0.08rem;
        background: var(--color-primary);
        justify-content: space-between;
    }

    .header-bar-brand img {
        height: 0.47rem;
    }

    .header-bar-search {
        display: none;
    }

    .header-bar-menu {
        display: inline-flex;
        width: 0.26rem;
        height: 0.26rem;
    }

    .header-bar-menu img {
        width: 0.33rem;
    }

    .main-nav {
        position: fixed;
        inset: 0;
        left: 0;
        top: 0;
        width: 100vw;
        max-width: none;
        height: 100vh;
        height: 100dvh;
        flex: none;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        background: var(--color-primary);
        z-index: 1100;
        margin: 0;
        padding: 0;
        transform: translate3d(100%, 0, 0);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        pointer-events: none;
    }

    body.mobile-nav-open .main-nav {
        transform: translate3d(0, 0, 0);
        pointer-events: auto;
    }

    .main-nav-head {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-shrink: 0;
        padding: 0.2rem 0.21rem;
        background: var(--color-primary);
    }

    .main-nav-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 0.44rem;
        height: 0.44rem;
        border: 0.01rem solid rgba(255, 255, 255, 0.35);
        border-radius: 50%;
        background: transparent;
        color: #fff;
        font-size: 0.26rem;
        line-height: 1;
        cursor: pointer;
    }

    .main-nav-close:active {
        background: rgba(255, 255, 255, 0.12);
    }

    .main-nav-list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        flex: 1;
        gap: 0;
        width: 100%;
        padding: 0 0 0.32rem;
        margin: 0;
    }

    .main-nav-item {
        border-bottom: none;
    }

    .main-nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #fff;
        padding: 0.18rem 0.21rem;
        font-size: 0.19rem;
        line-height: 1.4;
        white-space: normal;
    }

    .main-nav-item.has-sub > .main-nav-link::after {
        content: "";
        flex-shrink: 0;
        width: 0.08rem;
        height: 0.08rem;
        margin-left: 0.14rem;
        border-right: 0.02rem solid rgba(255, 255, 255, 0.85);
        border-bottom: 0.02rem solid rgba(255, 255, 255, 0.85);
        transform: rotate(45deg);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .main-nav-item.main-nav-item--open > .main-nav-link {
        background: rgba(255, 255, 255, 0.1);
        font-weight: 700;
    }

    .main-nav-item.main-nav-item--open > .main-nav-link::after {
        transform: rotate(-135deg);
    }

    .main-nav-sub {
        position: static;
        left: auto;
        top: auto;
        visibility: visible;
        opacity: 1;
        transform: none;
        min-width: 0;
        box-shadow: none;
        border-top: none;
        background: rgba(0, 0, 0, 0.1);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .main-nav-item:hover .main-nav-sub,
    .main-nav-item:focus-within .main-nav-sub,
    .main-nav-item.main-nav-item--open .main-nav-sub {
        visibility: visible;
        opacity: 1;
        transform: none;
    }

    .main-nav-sub a {
        display: block;
        padding: 0.14rem 0.21rem 0.14rem 0.38rem;
        text-align: left;
        color: rgba(255, 255, 255, 0.88);
        font-size: 0.17rem;
        line-height: 1.45;
    }

    .main-nav-sub a::before {
        content: "";
        display: inline-block;
        width: 0.05rem;
        height: 0.05rem;
        margin-right: 0.1rem;
        margin-left: -0.15rem;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.45);
        vertical-align: middle;
    }

    .main-nav-sub a:active {
        color: #fff;
        background: rgba(255, 255, 255, 0.06);
    }

    /* ========== 轮播 ========== */
    .hero .hero-swiper {
        height: 2.53rem;
    }

    .hero-pagination-bar {
        right: 0.21rem;
        bottom: 0.12rem;
        gap: 0.08rem;
    }

    .hero-swiper-pagination .swiper-pagination-bullet {
        font-size: 0.14rem;
        min-width: 0.12rem;
    }

    .hero-swiper-pagination .swiper-pagination-bullet-active {
        font-size: 0.18rem;
        padding-right: 0.21rem;
    }

    .hero-swiper-pagination .swiper-pagination-bullet-active::after {
        width: 0.21rem;
    }

    .hero-pagination-next img {
        height: 0.18rem;
    }

    .home-main {
        background: #fff url("../image/bannerbg.png") left calc(100% + 0rem) no-repeat;
        padding: 0.26rem 0 0.79rem;
        background-size: contain;
    }

    /* ========== 区块标题 ========== */
    .section-head {
        margin-bottom: 0.13rem;
    }

    .section-head-title {
        gap: 0.07rem;
    }

    .section-head-text,
    .home-news .section-head-text {
        font-size: 0.23rem;
    }

    .section-head-icon,
    .home-news .section-head-icon {
        width: 0.22rem;
        height: 0.22rem;
    }

    .section-head-more img {
        height: 0.21rem;
    }

    /* ========== 学工动态 ========== */
    .home-news {
        width: 100%;
        background: #fff;
        padding-top: 0.21rem;
        padding-bottom: 0.21rem;
    }

    .home-news-body {
        flex-direction: column;
        gap: 0.16rem;
    }

    .home-news-slider {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .news-swiper {
        height: 2.42rem;
        --swiper-pagination-bullet-size: 0.07rem;
        --swiper-pagination-bullet-width: 0.07rem;
        --swiper-pagination-bullet-height: 0.07rem;
    }

    .news-slide-footer {
        padding: 0.07rem 0.09rem;
    }

    .news-slide-caption {
        padding-bottom: 0.21rem;
        padding-top: 0.07rem;
        font-size: 0.18rem;
        gap: 0.05rem;
    }

    .news-slide-date {
        font-size: 0.17rem;
    }

    .news-slide-title {
        font-size: 0.18rem;
    }

    .news-swiper-pagination {
        right: 0.11rem !important;
        bottom: 0.08rem !important;
        gap: 0.03rem;
    }

    .news-swiper-pagination .swiper-pagination-bullet {
        width: 0.07rem;
        height: 0.07rem;
    }

    .home-news-list-item:nth-child(n+6) {
        display: none;
    }

    .home-news-list-item {
        flex: none;
        gap: 0.04rem;
        padding: 0.13rem 0;
        margin: 0;
        border-radius: 0;
    }

    .home-news-list-item:hover {
        background: transparent;
    }

    .home-news-list-item:hover .home-news-list-title {
        transform: none;
    }

    .home-news-list-title {
        font-size: 0.18rem;
        line-height: 1.5;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .home-news-list-date {
        font-size: 0.16rem;
    }

    /* ========== 思政教育 / 学生发展 ========== */
    .home-columns {
        width: 100%;
        padding: 0;
        background: none;
        background-image: none;
    }

    .home-columns > .w1650 {
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
    }

    .home-columns-inner {
        flex-direction: column;
        gap: 0;
    }

    .home-column {
        width: 100%;
        max-width: 100%;
        border-bottom-width: 0.04rem;
    }

    .home-column.home-ideology {
        background: #f8f8f8;
        padding: 0.4rem 0.21rem;
        border: none;
    }

    .home-column.home-develop {
        background: transparent;
        padding: 0.4rem 0.21rem;
        border: none;
    }

    .home-ideology .section-head,
    .home-develop .section-head {
        margin-bottom: 0.11rem;
        padding-bottom: 0.08rem;
    }

    .home-ideology .section-head-title::after,
    .home-develop .section-head-title::after {
        height: 0.03rem;
        bottom: -0.09rem;
    }

    .ideology-date {
        width: 0.68rem;
        height: 0.55rem;
    }

    .ideology-day {
        font-size: 0.2rem;
    }

    .ideology-ym {
        font-size: 0.16rem;
    }

    .ideology-content {
        height: 0.55rem;
        padding-bottom: 0.09rem;
    }

    .ideology-title {
        font-size: 0.18rem;
    }

    .ideology-list-item:hover .ideology-title {
        transform: none;
    }

    .develop-list-item:nth-child(n+6) {
        display: none;
    }

    .develop-list-item {
        padding: 0.17rem 0 0;
        margin: 0;
        border-radius: 0;
    }

    .develop-list-item:hover {
        background: transparent;
    }

    .develop-list-item:hover .develop-title {
        transform: none;
    }

    .develop-head {
        gap: 0.05rem;
    }

    .develop-bullet {
        width: 0.05rem;
        height: 0.05rem;
        margin-top: 0.08rem;
    }

    .develop-title {
        font-size: 0.18rem;
        line-height: 1.45;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .develop-date {
        font-size: 0.16rem;
    }

    .develop-meta {
        gap: 0.07rem;
        margin-top: 0.04rem;
        padding-left: 0.12rem;
    }

    /* ========== 页脚 ========== */
    .site-footer-inner {
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0.24rem 0 0.21rem;
        text-align: center;
    }

    .site-footer-links,
    .site-footer-qrcodes {
        display: none;
    }

    .site-footer-right {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .site-footer-info {
        text-align: center;
        white-space: normal;
        font-size: 0.16rem;
        line-height: 1.75;
    }

    .site-footer-info p + p {
        margin-top: 0.03rem;
    }

    /* ========== 统一身份认证 ========== */
    .auth-float {
        display: none !important;
    }

    .auth-mobile {
        display: block;
        width: 100%;
        background: transparent;
        padding: 0.21rem 0;
    }

    .auth-mobile-card {
        display: flex;
        align-items: center;
        gap: 0.05rem;
        padding: 0.12rem 0.13rem 0.12rem 0.08rem;
        border-radius: 0.08rem;
        background: var(--color-primary);
        box-shadow: 0 0.04rem 0.13rem rgba(142, 21, 55, 0.2);
        color: #fff;
    }

    .auth-mobile-pic {
        flex: 0 0 1.15rem;
        width: 1.15rem;
    }

    .auth-mobile-pic img {
        display: block;
        width: 100%;
        height: auto;
    }

    .auth-mobile-content {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.09rem;
        padding-right: 0.04rem;
        text-align: center;
    }

    .auth-mobile-title {
        width: 100%;
        font-size: 0.2rem;
        font-weight: 700;
        line-height: 1.35;
        color: #fff;
        white-space: nowrap;
    }

    .auth-mobile-btn {
        display: block;
        padding: 0.07rem 0.2rem;
        border-radius: 999px;
        background: linear-gradient(180deg, #fff 0%, #f8ecef 100%);
        color: #333;
        font-size: 0.16rem;
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
        box-shadow: 0 0.01rem 0.04rem rgba(0, 0, 0, 0.06);
    }

    /* ========== 搜索弹层 ========== */
    .search-overlay {
        padding-top: 18vh;
    }

    .search-overlay-close {
        top: 0.16rem;
        right: 0.16rem;
        width: 0.32rem;
        height: 0.32rem;
        font-size: 0.21rem;
    }

    .search-overlay-inner {
        width: 90%;
    }

    .search-overlay-input {
        font-size: 0.18rem;
    }

    .search-overlay-submit {
        font-size: 0.16rem;
        padding: 0.05rem 0.16rem;
    }


    /* ========== 新闻网列表页 .n_container ========== */
    .n_container > .w15{
        padding: 0 0.16rem;
        width: 100%;
        max-width: 100%;

    overflow: hidden;
    }

    .n_left {
        flex: none;
        width: 100%;
        display: none;
    }

    .n_left .con h1 {
        margin-top: -0.16rem;
        font-size: 0.2rem;
        padding: 0.18rem 0.14rem;
    }

    .n_right {
        padding: 0 0 0.32rem;
    }

    .n_right .mianbao {
        font-size: 0.12rem;
        padding: 0.1rem 0 0.12rem;
        margin-bottom: 0.18rem;
        display: none;
    }

    .n_titu{
        margin-top: 0.3rem;
    }
    .n_titu ul{
        padding: 0;
    }
    .n_titu a.clearfix {
        flex-direction: row;
        align-items: center;
        gap: 0.1rem;
        padding: 0.12rem 0.06rem;
    }

    .n_titu .text {
        flex-direction: row;
        align-items: center;
    }

    .n_titu h5.line1 {
        font-size: 0.18rem;
        white-space: nowrap;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .n_titu .text > i{
        font-size: 0.15rem;
    }
    .show01 h5{
        height: auto;
    }
    .show01 .show01-ul {
        justify-content: center;
        gap: 0.1rem 0.12rem;
        padding-bottom: 0.18rem;
    }

    .show01 .show01-ul li div {
        font-size: 0.18rem;
        padding: 0.07rem 0.12rem;
    }

    .show01 .show01-ul li div img {
        width: 0.18rem;
        height: 0.18rem;
    }
    .show02 p{
        font-size: 0.18rem !important;
    }

    #nav_slide {
        display: block;
        background: #8e1537;
        line-height: 50px;
        position: relative;
        z-index: 2
    }

    #nav_slide #bnt_back {
        position: absolute;
        left: 0.16rem;
        top: -2px
    }

    #nav_slide #bnt_back img {
        height: 20px;
        vertical-align: middle
    }

    #nav_slide .n_title {
        height: 50px
    }

    #nav_slide h1 {
        font-size: 16px;
        color: #fff;
        text-align: center
    }

    #bnt_sub_nav {
        position: absolute;
        right: 0.16rem;
        top: 14.5px;
        cursor: pointer
    }

    #bnt_sub_nav img {
        display: block;
        height: 20px;
        transition: transform 0.3s ease;
    }

    #bnt_sub_nav.on img {
        -webkit-transform: rotate(-180deg);
        transform: rotate(-180deg)
    }

    #sub_nav_content {
        background: #f2f2f2;
        z-index: 9;
        width: 100%;
        box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2);
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        visibility: hidden;
        transition: max-height 0.38s ease, opacity 0.28s ease, visibility 0.28s ease;
    }

    #sub_nav_content.is-open {
        max-height: min(85vh, 5.6rem);
        opacity: 1;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        visibility: visible;
    }

    #sub_nav_content ul {
        background: #FFFFFF
    }

    #sub_nav_content ul li {
        background: none;
        box-shadow: none;
        border-bottom: 1px solid #dedede;
        padding: 0 15px
    }

    #sub_nav_content ul li a {
        display: block;
        font-size: 16px;
        padding: 0;
        color: #333;
        width: 100%;
    }

    #sub_nav_content ul li.on>a {
        color: #8e1537;
    }
    .list_box_tc{
        margin-top: 0.4rem;
    }
    .piclist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.34rem 0.3rem;
    }

    .piclist-card {
        max-width: 2.4rem;
    }

    .piclist-card-caption {
        font-size: 0.16rem;
        padding: 0.08rem 0.1rem;
    }
}