/* 默认移动端样式 (小于等于1024px) */
.mobile-body {
    display: block;
}

.pc-body {
    display: none;
}

/* PC端样式 (大于1024px) */
@media (min-width: 1025px) {
    .pc-body {
        display: block;
    }

    .mobile-body {
        display: none;
    }
}

.mobile-navbar {
    background-color: #017e68;
}

.m-nav-a {
    color: #fff;
    font-family: Microsoft YaHei, sans-serif;
    font-size: 24px;
}

.m-dropdown-menu {
    background-color: rgba(255, 255, 255, 0);
    border: none;
    text-align: center;
}

.nav-link-mobile {
    color: #fff;
    font-size: 18px;
    margin-right: 20px;
    text-align: center;
}

.navbar-toggler-white {
    filter: invert(1) brightness(200%);
}

.m-search {
    width: 100%;
}

/*适配移动端show页面图片*/
.img_vsb_content{width:80%;height:50%}


.mobile-search-input,
.mobile-search-input input {
    font-size: 30px;
    font-family: Microsoft YaHei, sans-serif;
    color: #017e68;
    line-height: 30px;
    height: 73px;
    width: 100%;
    border-radius: 10px;
    border: 1px solid #017e68;
}

.mobile-search-input {
    border: none;
}

.search-container {
    position: relative;
    display: inline-block;
    width: 96%;
}

.search-button {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 18px;
}

.search-button img {
    width: 40px;
    height: 40px;
}

.m-main {
    background-color: #efefef;
}

.swiper-container1 {
    width: 96%;
    /*height: 506px;*/
}

.swiper-pagination1 {
    height: 26px;
    width: 100%;
    margin-bottom: 65px;
}


.swiper-pagination-bullet {
    background-color: #fff;
    opacity: 1; /* 透明度 */
    width: 26px;
    height: 26px;
    border: none;
}

.swiper-pagination-bullet-active {
    background: #ff0000;
}

.m-section-title {
    width: 96%;
    height: 100px;
}

.swiper-slide {
    width: 100%;
    height: 100%;
    /*position: relative;*/
    /*overflow: hidden; !* 确保超出部分被隐藏 *!*/
}

.m-item {
    width: 100%;
}

.inner {
    width: 100%;
    padding-top: 75%;
    height: 0;
    position: relative;
}

.content {
    position: absolute;
    inset: 0;
}

.img-box {
    width: 100%;
    height: 100%;
    position: relative;
}

.img-box img {
    width: auto; /* 确保图片宽度自适应 */
    height: 100%; /* 让图片高度占满父元素 */
    object-fit: cover; /* 图片按比例缩放以填满容器，超出部分会被裁剪 */
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%); /* 水平居中图片 */
}

.img-box span {
    width: 100%; /* 使span宽度占满整个容器 */
    text-align: center; /* 居中显示 */
    position: absolute; /* 设置绝对定位 */
    bottom: 35px; /* 将span定位在底部 */
    left: 0; /* 将span的左边缘与容器左边缘对齐 */
    padding: 5px; /* 添加一些内边距使文字不紧贴图片边缘 */
    background-color: rgba(0, 0, 0, 0.5); /* 添加半透明背景色以便文字能够更好地显示在图片上 */
    font-weight: 700;
    height: 25px;
    font-size: 24px;
    color: #FFF;
    overflow: hidden; /* 隐藏溢出内容 */
    text-overflow: ellipsis; /* 文字超出时显示省略号 */
    white-space: nowrap; /* 防止文字换行 */
}


.m-section-title-left span {
    font-size: 36px;
    text-align: left;
    font-weight: 400;
    color: #353535;
    font-family: Microsoft YaHei, sans-serif;
    margin-left: 15px;
}

.m-section-title-right a {
    width: 60px;
    height: 12px;
    font-size: 16px;
    font-family: Arial, Microsoft YaHei, sans-serif;
    text-decoration: none;
    text-align: left;
    font-weight: 400;
    color: #017F69;
}

.m-list {
    background-color: #fff;
    width: 96%;
}

.m-list-li {
    line-height: 30px;
    padding-left: 18px;
    justify-content: space-between; /* 确保日期对齐在右侧 */
}

.m-list-square {
    width: 9px;
    height: 9px;
    background-color: #b1b1b1;
    margin-right: 13px;
}

.m-list-left {
    overflow: hidden;
    max-width: calc(100% - 110px); /* 确保留出足够空间给 .m-list-square 和 .m-news-date */
}

.m-list-title {
    color: #282828; /* 初始文字颜色 */
    font-size: 30px; /* 字体大小 */
    font-family: Microsoft YaHei, sans-serif;
    line-height: 71px; /* 行高72px-padding-bottom:2px */
    margin-bottom: 3px;
    font-weight: 400;
    text-decoration: none; /* 去除下划线 */
    flex-grow: 1; /* 自动填充剩余空间 */
    overflow: hidden; /* 隐藏溢出内容 */
    text-overflow: ellipsis; /* 文字超出时显示省略号 */
    white-space: nowrap; /* 防止文字换行 */
    width: calc(100% - 30px); /* 确保留出足够空间给 .m-list-square 和 .m-news-date */
}

.m-list-title:hover {
    border-bottom: 3px solid #fd0000; /* 底部边框 */
    margin-bottom: 0;
}


.m-news-date {
    width: 82px;
    font-size: 16px;
    font-family: Arial, Microsoft YaHei, sans-serif;
    margin-right: 22px;
    color: #8c8c8c;
    font-weight: 400;
    line-height: 72px;
}

.m-list-notice-li {
    padding-left: 21px;
    padding-right: 28px;
}

.m-list-notice {
    border-bottom: 1px dashed #cccccc;
}

.m-list-day {
    background-color: #017e68;
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    color: #FFFFFF;
    height: 29px;
}

.m-list-year-month {
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    color: #017F69;
    height: 29px;
    width: 60px;
    padding-top: 5px;
}

.m-list-right-notice {
    margin-left: 24px;
}

.m-list-title-notice {
    color: #282828;
    font-weight: 400;
    font-family: Microsoft YaHei, sans-serif;
    font-size: 30px;
    text-align: left;
    line-height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 设置行数 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal; /* 允许换行 */
    text-decoration: none;
}

.m-list-title-notice:hover {
    color: #fd3700;
}

.m-undergraduate-education-list-container {
    background-color: #fff;
    width: 96%;
}

.m-list-li-general {
    line-height: 30px;
    padding-left: 18px;
    justify-content: space-between; /* 确保日期对齐在右侧 */
}

.m-list-left-general {
    overflow: hidden;
    max-width: calc(100% - 75px);
}

.m-list-title-general {
    text-decoration: none; /* 去除下划线 */
    flex-grow: 1; /* 自动填充剩余空间 */
    overflow: hidden; /* 隐藏溢出内容 */
    text-overflow: ellipsis; /* 文字超出时显示省略号 */
    white-space: nowrap; /* 防止文字换行 */
    width: calc(100%); /* 确保留出足够空间给 */
    color: #282828; /* 初始文字颜色 */
    font-size: 30px; /* 字体大小 */
    font-family: Microsoft YaHei, sans-serif;
    line-height: 71px; /* 行高72px-padding-bottom:2px */
    margin-bottom: 3px;
    font-weight: 400;
}

.m-list-title-general:hover {
    border-bottom: 3px solid #fd0000; /* 底部边框 */
    margin-bottom: 0;
}

.m-list-date {
    color: #8c8c8c;
    font-weight: 400;
    font-family: Arial, Microsoft YaHei, sans-serif;
    font-size: 16px;
    text-align: center;
    line-height: 72px;
    padding: 0 17px;
}


.m-tab-li {
    width: 19.5%;
}

.m-tab-li1 {
    width: 22.5%;
}


.m-tab-btn {
    height: 62px;
    width: 100%;
    background-color: #dddcdc;
    border: none;
    font-weight: 400;
    color: #333333;
    font-family: Microsoft YaHei, sans-serif;
    font-size: 30px;
    line-height: 62px;
    overflow: hidden;
}

.m-tab-btn.active {
    background-color: #fd3700;
    color: #ffffff;
}

.carousel-text {
}

.carousel-text-span {
    text-align: center;
    background-color: #dddcdc;
    color: #2b2b2b;
    width: 100%;
}

.carousel-text-span:hover {
    background-color: #fd3700;
    color: #ffffff;
}

a {
    text-decoration: none;
    color: #2b2b2b;
}

.m-teacher-bg {
    background-color: #fff;
    width: 96%;
}

.m-teacher-accordion {
    width: 96%;
}

.m-teacher-accordion-btn {
    border: none;
    background-repeat: no-repeat;
    background-size: cover; /* 使背景图片覆盖整个元素，并保持图片的宽高比，可能会裁剪图片 */
    background-position: center; /* 将背景图片居中显示 */
    width: 100%;
    /*min-height: 130px; !* 设置最小高度为130px *!*/
    display: flex; /* 使用Flexbox布局 */
    align-items: center; /* 垂直居中内容 */
    justify-content: center; /* 水平居中内容 */
    color: #ffffff;
    font-weight: 700;
    font-family: Microsoft YaHei, sans-serif;
    font-size: 48px;
    text-align: left;
    line-height: 148px;
    letter-spacing: 5px;
}

.m-teacher-accordion-btn1 {
    background-image: url("../img/m-teacher1.png");
}

.m-teacher-accordion-btn2 {
    background-image: url("../img/m-teacher2.png");
}

.m-teacher-accordion-btn3 {
    background-image: url("../img/m-teacher3.png");
}

.accordion-body-teacher {
    background-color: #fff;
}

.accordion-item-teacher {
    background-color: rgba(255, 255, 255, 0);
    border: none;
}

.m-tab-li-teacher {
    width: auto;
}

.m-tab-btn-teacher {
    height: 62px;
    width: auto;
    border: none;
    font-weight: bold;
    color: #626262;
    background-color: rgba(255, 255, 255, 0);
    font-family: Microsoft YaHei, sans-serif;
    font-size: 18px;
    line-height: 62px;
    margin: 0 16px;
    overflow: hidden;
}

.m-tab-btn-teacher:hover {
    color: #f00;
    border-bottom: 7px solid #f00;
}

.carousel-control-next, .carousel-control-prev {
    width: 5%;
}

.m-alumni-center-list-container {
    background-color: #fff;
    width: 96%;
    background-image: url("../img/m-alumni-center-bg.png");
    background-repeat: no-repeat; /* 确保背景图片不重复 */
    background-size: cover; /* 使背景图片覆盖整个元素，并保持图片的宽高比，可能会裁剪图片 */
}

.m-footer {
    background-color: #028971;
    padding: 20px;
}

.footer1 {
    background: none;
}

.footer1-a {
    color: #ffffff;
    font-weight: 400;
    font-family: Microsoft YaHei, sans-serif;
    font-size: 18px;
    text-align: center;
    line-height: 30px;
}


@media screen and (max-width: 768px) {
    .m-nav-a {
        font-size: 18px;
    }

    .mobile-search-input,
    .mobile-search-input input {
        font-size: 20px;
        line-height: 20px;
        height: 50px;
    }

    .search-button img {
        width: 25px;
        height: 25px;
    }

    .swiper-container1 {
        /*height: 334px;*/
    }

    .swiper-pagination1 {
        height: 18px;
        width: 100%;
        margin-bottom: 43px;
    }

    .swiper-pagination-bullet {
        width: 18px;
        height: 18px;
    }

    .img-box span {
        bottom: 20px;
        font-size: 16px;
    }

    .m-section-title {
        height: 60px;
    }

    .m-section-title-left span {
        font-size: 24px;
    }

    .m-section-title-left img {
        width: auto;
        height: 24px;
    }

    .m-list-title {
        font-size: 15px;
        line-height: 48px;
    }

    .m-list-title:hover {

    }

    .m-news-date {
        line-height: 48px;
    }

    .m-list-title-notice {
        font-size: 15px;
        line-height: 36px;
    }

    .m-list-li-general {
        font-size: 15px;
        line-height: 20px;
    }

    .m-list-title-general {
        font-size: 15px;
        line-height: 48px;
    }

    .m-list-date {
        line-height: 48px;
    }

    .m-tab-btn {
        height: 42px;
        font-size: 15px;
        line-height: 41px;
    }

    .m-teacher-accordion-btn {
        height: 96px;
        font-size: 32px;
        line-height: 96px;
    }

    .m-footer {
        padding: 10px;
    }

    .footer1-a {
        font-size: 12px;
        line-height: 20px;
    }
}

@media screen and (max-width: 576px) {
    /*.m-nav-a {*/
    /*    font-size: 18px; !* 18px * 2/3 *!*/
    /*}*/

    /*.mobile-search-input,*/
    /*.mobile-search-input input {*/
    /*    font-size: 13.33px; !* 20px * 2/3 *!*/
    /*    line-height: 13.33px; !* 20px * 2/3 *!*/
    /*    height: 33.33px; !* 50px * 2/3 *!*/
    /*}*/

    /*.search-button img {*/
    /*    width: 16.67px; !* 25px * 2/3 *!*/
    /*    height: 16.67px; !* 25px * 2/3 *!*/
    /*}*/

    /*.swiper-container1 {*/
    /*    !*height: 222.67px;*! !* 334px * 2/3 *!*/
    /*}*/

    /*.swiper-pagination1 {*/
    /*    height: 12px; !* 18px * 2/3 *!*/
    /*    width: 100%;*/
    /*    margin-bottom: 28.67px; !* 43px * 2/3 *!*/
    /*}*/

    /*.swiper-pagination-bullet {*/
    /*    width: 12px; !* 18px * 2/3 *!*/
    /*    height: 12px; !* 18px * 2/3 *!*/
    /*}*/

    /*.img-box span {*/
    /*    bottom: 13.33px; !* 20px * 2/3 *!*/
    /*    font-size: 10.67px; !* 16px * 2/3 *!*/
    /*}*/

    /*.m-section-title {*/
    /*    height: 40px; !* 60px * 2/3 *!*/
    /*}*/

    /*.m-section-title-left span {*/
    /*    font-size: 16px; !* 24px * 2/3 *!*/
    /*}*/

    /*.m-section-title-left img {*/
    /*    width: auto;*/
    /*    height: 16px; !* 24px * 2/3 *!*/
    /*}*/

    /*.m-list-title {*/
    /*    font-size: 13.33px; !* 20px * 2/3 *!*/
    /*    line-height: 32px; !* 48px * 2/3 *!*/
    /*}*/

    /*.m-list-title:hover {*/
    /*    !* 你可以在这里添加hover效果 *!*/
    /*}*/

    /*.m-news-date {*/
    /*    line-height: 32px; !* 48px * 2/3 *!*/
    /*}*/

    /*.m-list-title-notice {*/
    /*    font-size: 13.33px; !* 20px * 2/3 *!*/
    /*    line-height: 24px; !* 36px * 2/3 *!*/
    /*}*/

    /*.m-list-li-general {*/
    /*    font-size: 13.33px; !* 20px * 2/3 *!*/
    /*    line-height: 13.33px; !* 20px * 2/3 *!*/
    /*}*/

    /*.m-list-title-general {*/
    /*    font-size: 13.33px; !* 20px * 2/3 *!*/
    /*    line-height: 32px; !* 48px * 2/3 *!*/
    /*}*/

    /*.m-list-date {*/
    /*    line-height: 32px; !* 48px * 2/3 *!*/
    /*}*/

    /*.m-tab-btn {*/
    /*    height: 28px; !* 42px * 2/3 *!*/
    /*    font-size: 14px; !* 20px * 2/3 *!*/
    /*    line-height: 25px; !* 41px * 2/3 *!*/
    /*}*/

    /*.m-teacher-accordion-btn {*/
    /*    height: 64px; !* 96px * 2/3 *!*/
    /*    font-size: 21.33px; !* 32px * 2/3 *!*/
    /*    line-height: 64px; !* 96px * 2/3 *!*/
    /*}*/

    /*.m-footer {*/
    /*    padding: 6.67px; !* 10px * 2/3 *!*/
    /*}*/

    /*.footer1-a {*/
    /*    font-size: 8px; !* 12px * 2/3 *!*/
    /*    line-height: 13.33px; !* 20px * 2/3 *!*/
    /*}*/
}