/* =====================
   基础样式（桌面优先）
===================== */



html,
body {
    margin: 0;
    padding: 0;
    font-family: "Microsoft YaHei", sans-serif;
    font-size: 16px;
    color: #333333;
    background-color: #ffffff;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 防止水平滚动 */
body {
    overflow-x: hidden;
}

/* 加载状态优化 */
html:not(.js-loaded) .page-wrapper {
    opacity: 0;
}

html.js-loaded .page-wrapper {
    opacity: 1;
    transition: opacity 0.3s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    display: block;
    border: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
li {
    margin: 0;
    padding: 0;
    list-style: none;
}

button,
input {
    font-family: inherit;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.page-wrapper {
    min-width: 320px;
}

.container {
    width: 1400px;
    max-width: 100%;
    margin: 0 auto;
}

/* ======= 顶部区域 ======= */

.site-header {
    background-color: #ffffff;
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.top-bar {
    background-color: #ab1625;
    color: #ffffff;
    font-size: 14px;
}

.top-bar .container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -ms-flex-align: center;
    align-items: center;
    height: 44px;
}

.top-actions {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}

.top-actions>*:not(:last-child) {
    margin-right: 48px;
}

.top-home {
    font-size: 15px;
    color: #ffffff;
    position: relative;
    padding-right: 16px;
}

.top-home::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 14px;
    background-color: rgba(255, 255, 255);
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.search-form {
    position: relative;
    width: 220px;
    height: 28px;
}

.search-form input {
    width: 100%;
    height: 100%;
    border: none;
    background-color: #ededed;
    color: #999999;
    padding: 0 40px 0 10px;
    font-size: 14px;
}

.search-form input:focus {
    outline: none;
}

.search-form button {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    border: none;
    background: url("ss.png") no-repeat center/contain;
    cursor: pointer;
}

.search-form button:focus {
    outline: none;
}



.main-header .container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-align: center;
    align-items: center;
    padding: 20px 0;
}



.main-nav {
    position: relative;
}

.main-nav ul {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.main-nav li {
    margin-left: 56px;
}

.main-nav a {
    display: block;
    padding: 14px 0;
    font-size: 20px;
    color: #333333;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 8px;
    width: 100%;
    height: 3px;
    background-color: #ab1625;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.main-nav a:hover,
.main-nav a:focus {
    color: #ab1625;
}

.main-nav a:hover::after,
.main-nav a:focus::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid #ab1625;
    background-color: transparent;
    cursor: pointer;
    position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
    display: block;
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #ab1625;
    left: 50%;
    transform: translateX(-50%);
    content: "";
}

.nav-toggle-bar {
    top: 50%;
    margin-top: -1px;
}

.nav-toggle-bar::before {
    top: -8px;
}

.nav-toggle-bar::after {
    top: 8px;
}

/* ======= 横幅轮播 ======= */

.hero-banner {
    position: relative;
    overflow: hidden;
}

.banner-slider {
    position: relative;
}

.slider-track {
    position: relative;
    overflow: hidden;
    height: 650px;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.banner-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-caption {
    position: absolute;
    top: 26%;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1400px;
    width: 100%;
    box-sizing: border-box;
    color: #ffffff;
}



.banner-subtitle {
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 0 0 54px;
    position: relative;
    padding-bottom: 30px;
}

.banner-subtitle::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 10px;
    background-color: #ab1625;
}

.banner-title {
    font-size: 50px;
    margin: 0;
    line-height: 1.3;
    font-weight: normal;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background-color: rgba(171, 22, 37, 0.75);
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 2;
}

.slider-arrow:hover {
    background-color: #ab1625;
}

.slider-arrow-prev {
    left: 40px;
}

.slider-arrow-next {
    right: 40px;
}


.slider-pagination-wrapper {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;

    pointer-events: none;
}

.slider-pagination {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -ms-flex-align: center;
    align-items: center;
    pointer-events: auto;
    z-index: 3;
}

.slider-dot {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    margin-right: 8px;
    cursor: pointer;
    background: none;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.65);
    opacity: .7;
}

.slider-dot:last-child {
    margin-right: 0;
}

.slider-dot.is-active {
    background-color: #ab1625;
    border-color: #ab1625;
    color: #ffffff;
    opacity: 1;
}

/* ======= 新闻消息 ======= */

.news-section {
    padding: 40px 0 64px;
}


.section-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 30px;
}


.section-title-wrap {
    position: relative;
}

.section-title-bg {
    position: relative;
    padding: 4px 70px 0;
    text-align: center;
}

.section-title-bg::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 294px;
    height: 90px;
    transform: translateX(-50%);
    background: url("jz.png") no-repeat center/contain;
    pointer-events: none;
}

.section-title {
    font-size: 36px;
    color: #ab1625;
    margin: 0;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
}

.section-subline {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.section-bar {
    display: inline-block;
    width: 15px;
    height: 3px;
    background-color: #ab1625;
    margin-right: 12px;
}

.section-subtitle {
    font-size: 18px;
    color: #999999;
}

.section-more {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    color: #ab1625;
    transition: opacity 0.3s ease;
}

.section-more img {
    margin-right: -10px;
    margin-top: -10px;
}

.section-more:hover {
    opacity: 0.8;
}

.news-layout {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
}


.news-feature,
.news-list {
    width: 50%;
}

.news-feature {
    position: relative;
}

.news-feature-slider {
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.news-slider-track {
    position: relative;
}

.news-slide {
    margin: 0;
    display: none;
}

.news-slide img {
    width: 100%;
    height: 414px;
    object-fit: cover;
}

.news-slide.is-active {
    display: block;
}

.news-slide figcaption {
    background-color: #ab1625;
    color: #ffffff;
    padding: 21px 24px;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5;
}

.news-slider-pagination {
    position: absolute;
    right: 24px;
    bottom: 28px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    pointer-events: auto;
}

.news-slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    margin-left: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.news-slider-dot:first-child {
    margin-left: 0;
}

.news-slider-dot.is-active {
    background-color: #fff000;
}

.news-list {
    width: 50%;
    box-shadow: 6px -6px 12px rgba(0, 0, 0, 0.08), 0 10px 18px rgba(0, 0, 0, 0.08);
    padding: 19px 30px;
    box-sizing: border-box;
    padding-bottom: 0;
}

.news-highlight {
    border-bottom: 1px solid #d1d1d1;
    padding-bottom: 20px;
}

.news-highlight h3 {
    margin: 0 0 20px;
    font-size: 20px;
    line-height: 1.5;
}

.news-highlight h3 a {
    color: #333;
}

.news-highlight p {
    margin: 0;
    color: #999;
    line-height: 1.7;
}

.news-items li {
    padding: 10px 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    padding-left: 18px;
}

.news-items li:last-child {
    border-bottom: none;
}

.news-items li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #d1d0d0;
    transform: translateY(-50%);
}

.news-items a {
    color: #333333;
    max-width: 80%;
    transition: color 0.3s ease;
    font-size: 18px;
}

.news-items a:hover {
    color: #ab1625;
}

.news-items time {
    color: #666;
    font-size: 18px;
    margin-left: auto;
}

/* ======= 通知区块 ======= */

.notice-section {
    background: url("tzbj.png") no-repeat center/cover;
    padding: 40px 0 64px;
}


.notice-columns {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.notice-column {
    width: 32%;
}

.notice-column+.notice-column {
    margin-left: 40px;
}

.notice-title {
    margin-bottom: 30px;
    text-align: center;
}

.notice-wrapper {
    background-color: rgb(255, 255, 255);
    box-shadow: 0 0px 10px rgba(171, 22, 37, 0.15);
    padding: 3px 24px;
    box-sizing: border-box;
}

.notice-list {
    padding-top: 3px;
}

.notice-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.notice-list li {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e3e3e3;
}

.notice-list li:last-child {
    border-bottom: none;
}

.notice-date {
    /* width: 43px; */
    height: 55px;
    text-align: center;
    margin-right: 18px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: space-between;
    color: #ab1625;
    border: 1px solid #f8eae2;
}

.notice-date .day {
    font-size: 26px;
    font-weight: bold;
    line-height: 1;
    padding: 5px 5px 0;
}

.notice-date .month {
    font-size: 12px;
    letter-spacing: 1px;
    background-color: #f8eae2;
}

.notice-list a {
    color: #333333;
    font-size: 18px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.notice-list a:hover {
    color: #ab1625;
}

.notice-list-simple ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.notice-list-simple li {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-align: center;
    align-items: center;
    padding: 17px 0;
    border-bottom: 1px solid rgba(171, 22, 37, 0.15);
    position: relative;
    padding-left: 18px;
}

.notice-list-simple li:last-child {
    border-bottom: none;
}

.notice-list-simple li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #d1d0d0;
    transform: translateY(-50%);
}

.notice-column:nth-child(3) .notice-list-simple li::before {
    display: none;
}

.notice-column:nth-child(3) .notice-list-simple li {
    padding-left: 10px;
}

.notice-list-simple a {
    color: #333333;
    font-size: 18px;
    max-width: 75%;
    transition: color 0.3s ease;
}

.notice-list-simple a:hover {
    color: #ab1625;
}

.notice-list-simple time {
    color: #666666;
    font-size: 18px;
    margin-left: auto;
}

/* ======= 教工风采 ======= */

.teacher-style {
    position: relative;
    padding: 64px 0 26px;
    overflow: hidden;
}

.teacher-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url("fcbj.png") no-repeat top;
    pointer-events: none;
}

.teacher-style .container {
    position: relative;
    z-index: 1;
}

/* 教工风采标题白色样式 */
.teacher-style .section-title {
    color: #ffffff;
}

.teacher-style .section-bar {
    background-color: #ffffff;
}

.teacher-style .section-subtitle {
    color: #ffffff;
}

.teacher-style .section-more {
    color: #ffffff;
}

/* 教工风采标题居中 */
.teacher-style .section-header {
    justify-content: center;
    position: relative;
}

.teacher-style .section-more {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* 教工风采图片廊样式 */
.teacher-gallery {
    position: relative;
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.gallery-container {
    width: 1400px;
    max-width: calc(100vw - 200px);
    max-width: -webkit-calc(100vw - 200px);
    max-width: -moz-calc(100vw - 200px);
    overflow: hidden;
    margin: 0;
}

.gallery-track {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    transition: transform 0.5s ease;
    width: auto;
    min-width: 100%;
    margin-left: -20px;
    transform: translateX(0);
}

.teacher-item {
    flex: 0 0 auto;
    width: 450px;
    background-color: #ffffff;
    border: 12px solid #ffffff;
    overflow: hidden;
    margin-left: 23px;
    display: block;
    opacity: 1;
    visibility: visible;
}






.teacher-item figure {
    margin: 0;
}

.teacher-item img {
    width: 100%;
    height: 288px;
    object-fit: cover;
    display: block;
}

.teacher-item figcaption {
    padding: 20px;
    text-align: center;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.teacher-item h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #333333;
    line-height: 1.4;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.teacher-item time {
    font-size: 16px;
    color: #999999;
    display: inline-block;
    padding: 6px 22px;
    border: 1px solid #e0e0e0;
    margin-top: 8px;
}

.gallery-arrow {
    position: absolute;
    width: 42px;
    height: 42px;
    border: none;
    background: url("yjt.png") no-repeat center/contain;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 38%;
    transform: translateY(-50%);
}

.gallery-prev {
    left: -62px;
    transform: translateY(-50%) scaleX(-1);
}

.gallery-next {
    right: -62px;
}

.gallery-arrow:hover {
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev:hover {
    transform: translateY(-50%) scaleX(-1) scale(1.1);
}

.teacher-slider {
    position: relative;
    margin-top: 32px;
    padding: 0 80px;
}

.carousel-track {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
}

.teacher-card {
    width: 360px;
    margin: 0 20px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    transform: scale(0.88);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    background-color: #ffffff;
}

.teacher-card figure {
    margin: 0;
}

.teacher-card figcaption {
    padding: 18px 20px 22px;
}

.teacher-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
}

.teacher-card time {
    font-size: 14px;
    color: #999999;
}

.teacher-card.is-center {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #ab1625;
    background-color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 2;
}

.carousel-arrow:hover {
    background-color: #ab1625;
    color: #ffffff;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-dots {
    margin-top: 26px;
    text-align: center;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #ab1625;
    background: transparent;
    margin: 0 6px;
    cursor: pointer;
    opacity: 0.6;
}

.carousel-dot.is-active {
    background-color: #ab1625;
    opacity: 1;
}


/* ========== 底部 ========== */
.w1440 {
    width: 1400px;
    margin: 0 auto;
}

@media screen and (max-width: 1600px) {
    .w1440 {
        width: 80%;
    }
}

@media screen and (max-width: 1200px) {
    .w1440 {
        width: 90%;
    }
}

footer {
    width: 100%;
    overflow: hidden;
    padding: 43px 0;
    position: relative;
    background: url(footer.png) no-repeat;
    background-size: 100% 100%;
}

.brand-logo,
.brand-name {
    width: auto;
}

.brand-logo {
    margin-right: 25px;
}

.fnt_14 {
    color: #fff;
    opacity: .7;
}

footer svg {
    margin: 0 !important;
}

footer .w1440 {
    overflow: initial;
    z-index: 2;
    position: relative;
}

footer .btm_top {

    margin-bottom: 40px;
}

footer .btm_top .b_imgage {

    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 40px;
}



footer .b_up .select-style h2 {

    letter-spacing: 0px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    cursor: pointer;
    font-size: 22px;
}

footer .b_up .select-style h2.active .icon {

    transform: rotate(90deg);
}

footer .b_up .select-style h2 .icon {
    margin-left: 20px !important;
    width: 16px;
    height: 16px;
    transition: all 0.4s;
}

footer .b_up {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 90px;
}

footer .b_up .select-style {

    padding: 0 60px;
    position: relative;
}

footer .b_up .select-style ul {

    display: flex;
    align-items: center;
    position: absolute;
    bottom: -45px;
    width: 500px;
}

footer .b_up .select-style ul li {

    color: #f5abb2;
    margin-right: 35px;
    transition: all 0.4s;
}

footer .b_up .select-style ul li:hover {
    color: #ffffff;
}

footer .b_up .select-style:nth-child(1) {
    border-right: 1px solid rgb(255, 255, 255, 0.4);

}

footer .btm_bottom .fo_cm img {
    height: 17px;
    /* width: 20px; */
    object-fit: contain;
}

footer .btm_bottom .fo_cm .p_min {

    display: flex;
    align-items: center;
}

footer .btm_bottom .fo_cm {

    display: flex;
    align-items: center;
}

footer .btm_bottom .fo_cm p {

    color: #fff;
    /* opacity: 0.6; */
    line-height: 1;
}

footer .btm_bottom .btm_l {

    display: flex;
    align-items: center;
    justify-content: center;
}

footer .btm_bottom .fo_cm .p1 {
    margin-right: 8px;

}

footer .btm_bottom .fo_cm .p2 {

    margin-right: 20px;
}

footer .btm_bottom .btm_l .dz {
    margin-right: 60px;
}

footer .btm_bottom .btm_l p a {

    color: #fff;
    transition: all 0.4s;
}

footer .btm_bottom .btm_r p a {

    color: #fff;
    transition: all 0.4s;
}


footer .btm_r {

    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
}

footer .btm_r p {
    margin: 0 15px;

}



/* =====================
   响应式（移动优先补充）
===================== */

@media (max-width: 1480px) {
    .main-nav li {
        margin-left: 22px;
    }

    .teacher-card {
        width: 320px;
    }
}

@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }

    .main-nav ul {
        -ms-flex-pack: start;
        justify-content: flex-start;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .main-nav li {
        margin-left: 20px;
    }

    .main-nav a {
        font-size: 18px;
        padding: 12px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .banner-title {
        font-size: 42px;
    }

    .banner-subtitle {
        font-size: 26px;
    }

    .notice-grid {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .notice-card {
        width: calc(50% - 12px);
        margin-bottom: 24px;
    }

    .notice-card:last-child {
        margin-bottom: 0;
    }

    .teacher-slider {
        padding: 0 60px;
    }

    .teacher-card {
        width: 300px;
        margin: 0 16px;
    }

    /* 教工风采图片廊响应式 */
    .teacher-gallery {
        padding: 0 60px;
    }

    .gallery-container {
        width: 100%;
        max-width: calc(100vw - 120px);
        max-width: -webkit-calc(100vw - 120px);
        max-width: -moz-calc(100vw - 120px);
    }

    .gallery-prev {
        left: 10px;
    }

    .gallery-next {
        right: 10px;
    }

    .gallery-track {
        margin-left: -15px;
    }

    .teacher-item {
        width: 360px;
        margin-left: 30px;
    }

    .teacher-item img {
        height: 240px;
    }

    .teacher-item figcaption {
        padding: 16px;
    }

    .teacher-item h3 {
        font-size: 16px;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 16px;
    }

    .top-bar .container {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        height: auto;
        padding: 8px 16px;
    }

    .top-actions {
        width: 100%;
        justify-content: space-between;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .top-actions>*:not(:last-child) {
        margin-right: 24px;
    }

    .search-form {
        margin-top: 8px;
        width: 200px;
    }

    .main-header .container {
        padding: 12px 16px;
    }

    .logo img {
        height: 70px;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav ul {
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #ffffff;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        width: 280px;
        display: none;
        -ms-flex-direction: column;
        flex-direction: column;
        padding: 16px 0;
        z-index: 1000;
        border-radius: 8px;
        margin-top: 8px;
    }

    .main-nav ul.is-open {
        display: -ms-flexbox;
        display: flex;
    }

    .main-nav li {
        margin: 0;
    }

    .main-nav a {
        padding: 12px 24px;
        font-size: 16px;
        border-bottom: 1px solid #f0f0f0;
    }

    .main-nav li:last-child a {
        border-bottom: none;
    }

    .slider-track {
        height: 480px;
    }

    .banner-caption {
        top: 30%;
        left: 50%;
        transform: translateX(-50%);
        padding: 0 20px;
        max-width: 100%;
        text-align: center;
    }

    .banner-title {
        font-size: 38px;
        line-height: 1.2;
    }

    .banner-subtitle {
        font-size: 22px;
        margin-bottom: 40px;
    }

    .banner-subtitle::after {
        width: 60px;
        height: 8px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .slider-arrow-prev {
        left: 20px;
    }

    .slider-arrow-next {
        right: 20px;
    }

    .news-layout {
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 24px;
    }

    .news-feature,
    .news-list {
        width: 100%;
    }

    .news-list {
        margin-top: 0;
        padding: 24px;
    }

    .news-highlight h3 {
        font-size: 18px;
    }

    .news-items a {
        font-size: 16px;
    }

    .news-items time {
        font-size: 16px;
    }

    .notice-columns {
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 24px;
    }

    .notice-column {
        width: 100%;
        margin-left: 0;
    }

    .notice-column+.notice-column {
        margin-left: 0;
        margin-top: 0;
    }

    .notice-wrapper {
        padding: 16px 20px;
    }

    .notice-list a {
        font-size: 16px;
    }

    .notice-list-simple a {
        font-size: 16px;
    }

    .notice-list-simple time {
        font-size: 16px;
    }

    .teacher-slider {
        padding: 0 40px;
    }

    .teacher-card {
        width: 280px;
    }

    /* 教工风采图片廊响应式 */
    .teacher-gallery {
        padding: 0 40px;
    }

    .gallery-container {
        width: 100%;
        max-width: calc(100vw - 80px);
        max-width: -webkit-calc(100vw - 80px);
        max-width: -moz-calc(100vw - 80px);
    }

    .gallery-prev {
        left: -5px;
    }

    .gallery-next {
        right: -5px;
    }

    .gallery-track {
        margin-left: -10px;
    }

    .teacher-item {
        width: 280px;
        margin-left: 20px;
    }

    .teacher-item img {
        height: 200px;
    }

    .teacher-item figcaption {
        padding: 14px;
    }

    .teacher-item h3 {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .teacher-item time {
        font-size: 14px;
        padding: 6px 12px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .top-bar {
        font-size: 13px;
    }

    .top-bar .container {
        padding: 6px 15px;
        justify-content: center;
    }



    .search-form {
        width: 180px;
        margin-top: 0;
    }

    /* 主头部优化 - 水平布局 */
    .main-header .container {
        padding: 10px 15px;
        -ms-flex-direction: row;
        flex-direction: row;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -ms-flex-align: center;
        align-items: center;
        gap: 0;
    }

    .logo {
        -ms-flex-align-self: auto;
        align-self: auto;
    }

    .logo img {
        height: 50px;
    }

    .main-nav {
        width: auto;
    }

    /* 优化的汉堡菜单按钮 */
    .nav-toggle {
        -ms-flex-align-self: auto;
        align-self: auto;
        width: 40px;
        height: 40px;
        position: relative;
        border: 1px solid #ab1625;
        background: transparent;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    .nav-toggle:hover {
        background-color: #ab1625;
    }

    .nav-toggle:hover .nav-toggle-bar,
    .nav-toggle:hover .nav-toggle-bar::before,
    .nav-toggle:hover .nav-toggle-bar::after {
        background-color: #ffffff;
    }

    /* 右侧弹出式菜单 */
    .main-nav ul {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        padding: 80px 0 30px;
        margin-top: 0;
        border-radius: 0;
        z-index: 9999;
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    .main-nav ul.is-open {
        right: 0;
    }

    .main-nav li {
        margin: 0;
    }

    .main-nav a {
        font-size: 16px;
        padding: 15px 30px;
        border-bottom: 1px solid #f0f0f0;
        color: #333;
        transition: all 0.3s ease;
    }

    .main-nav a:hover {
        background-color: #f8f8f8;
        color: #ab1625;
    }

    .main-nav li:last-child a {
        border-bottom: none;
    }

    /* 菜单遮罩 */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-overlay.is-active {
        opacity: 1;
        visibility: visible;
    }

    /* 轮播横幅移动端优化 */
    .slider-track {
        height: 320px;
    }

    .banner-caption {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        padding: 20px;
        background: linear-gradient(180deg, rgba(171, 22, 37, 0.9), rgba(171, 22, 37, 0.7));
        text-align: center;
    }

    .banner-title {
        font-size: 28px;
        line-height: 1.3;
    }

    .banner-subtitle {
        font-size: 18px;
        margin-bottom: 25px;
    }

    .banner-subtitle::after {
        width: 50px;
        height: 6px;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
    }

    .slider-arrow-prev {
        left: 15px;
    }

    .slider-arrow-next {
        right: 15px;
    }

    .slider-pagination {
        padding: 0 15px;
    }

    /* 内容区域移动端优化 */
    .news-section,
    .notice-section,
    .teacher-style {
        padding: 30px 0 40px;
    }

    /* 标题区域优化 - 隐藏查看更多，标题居中 */
    .section-header {
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-align: center;
        align-items: center;
        text-align: center;
        gap: 0;
        position: relative;
    }

    .section-more {
        display: none;
        /* 移动端隐藏查看更多按钮 */
    }

    .section-title-bg {
        padding-top: 20px;
    }

    /* 标题可点击效果 */
    .section-title-wrap {
        cursor: pointer;
        transition: transform 0.2s ease;
    }

    .section-title-wrap:hover {
        transform: scale(1.02);
    }

    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 13px;
    }

    /* 新闻轮播移动端优化 */
    .news-slide img {
        height: 280px;
    }

    .news-slide figcaption {
        padding: 16px 20px;
        padding-right: 60px;
        font-size: 16px;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .news-slider-pagination {
        bottom: 18px;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
    }

    .section-more {
        margin-top: 16px;
    }

    .teacher-slider {
        padding: 0 20px;
    }

    .carousel-arrow {
        display: none;
    }

    .carousel-track {
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .carousel-track::-webkit-scrollbar {
        display: none;
    }

    .teacher-card {
        min-width: 260px;
        margin: 0 12px;
        transform: scale(1);
    }

    .teacher-card.is-center {
        transform: scale(1.02);
    }

    /* 教工风采图片廊移动端优化 */
    .teacher-gallery {
        padding: 0 15px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .gallery-container {
        width: 100%;
        max-width: 100%;
        order: 0;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .gallery-arrow {
        position: relative;
        top: auto;
        transform: none;
        width: 36px;
        height: 36px;
        margin: 0 8px;
        flex-shrink: 0;
    }

    .gallery-prev {
        left: auto;
        order: -1;
        transform: scaleX(-1);
    }

    .gallery-next {
        right: auto;
        order: 1;
    }

    .gallery-prev:hover {
        transform: scaleX(-1) scale(1.1);
    }

    .gallery-track {
        overflow: visible;
        -webkit-overflow-scrolling: auto;
        scrollbar-width: auto;
        -ms-overflow-style: auto;
        justify-content: flex-start;
        margin-left: -15px;
        padding: 0;
        scroll-snap-type: none;
        display: flex;
        align-items: center;
        transition: transform 0.5s ease;
        width: auto;
        position: relative;
    }

    .gallery-track::-webkit-scrollbar {
        display: none;
    }

    /* 移动端显示所有图片，但通过transform控制显示 */
    .teacher-item {
        min-width: 280px;
        width: 280px;
        flex-shrink: 0;
        margin-left: 15px;
        scroll-snap-align: center;
        display: block;
        position: relative;
        opacity: 1;
        visibility: visible;
        background-color: #ffffff;
        border: 8px solid #ffffff;
        overflow: hidden;
    }

    .teacher-item img {
        height: 180px;
        width: 100%;
        object-fit: cover;
        display: block;
    }

    .teacher-item figcaption {
        padding: 16px;
        background-color: #ffffff;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .teacher-item h3 {
        font-size: 16px;
        margin-bottom: 6px;
        line-height: 1.3;
        color: #333333;
        text-align: center;
    }

    .teacher-item time {
        font-size: 13px;
        padding: 6px 10px;
        margin-top: 8px;
        display: inline-block;
        border: 1px solid #e0e0e0;
        border-radius: 4px;
        color: #999999;
        background-color: transparent;
    }

    .gallery-next:hover {
        transform: scale(1.1);
    }

    /* 底部版权 */
    footer .btm_bottom .btm_l .dz {
        margin-right: 0;
    }

    footer .btm_bottom {

        padding-top: 0;
    }

    footer .btm_bottom .fo_cm {

        margin-right: 0;

        align-items: baseline;
        margin-bottom: 20px;
    }

    footer .btm_bottom .fo_cm p {
        margin-right: 10px;
        width: auto;
        text-align: center;
        line-height: 1;
        margin-right: 0;
        margin-bottom: 10px;
    }

    footer .btm_bottom .fo_cm p:last-child {
        margin-bottom: 0;
    }

    footer .btm_bottom .fo_cm .p3 {
        width: 100%;

    }

    footer .btm_bottom .fo_cm .p1 {

        margin-right: 10px;
    }

    footer .btm_bottom .fo_cm .p2 {
        margin-right: 0;

    }

    footer {

        padding: 40px 0 40px;
    }

    footer .btm_top {

        margin-bottom: 0px;

    }

    footer .b_up {

        margin-bottom: 0px;
    }

    footer .b_up .select-style {

        padding: 0 10px;
    }

    footer .b_up .select-style ul {

        display: flex !important;
        position: unset;
        justify-content: center;
        width: 100%;
    }

    footer .b_up {

        flex-wrap: wrap;
    }

    footer .b_up .select-style {
        margin-bottom: 10px;
        width: 100%;

        margin-bottom: 20px;

    }

    footer .b_up .select-style h2 {
        margin-bottom: 10px;
        justify-content: center;
    }

    footer .b_up .select-style:nth-child(1) {

        border-right: 0px solid rgb(255, 255, 255, 0.4);
    }

    footer .b_up .select-style ul li {

        margin: 0 15px;
    }

    footer .btm_bottom {
        margin-top: 0px;
        padding-bottom: 0px;
        padding-top: 0;
    }

    footer .btm_bottom .btm_l {
        flex-wrap: wrap;
        margin-top: 0px;
        /* padding-bottom: 15px; */
        padding-bottom: 0;
    }

    footer .btm_bottom .btm_l .d0 {

        flex-wrap: wrap;
        margin-top: 0px;
    }

    footer .btm_bottom .btm_r {
        flex-wrap: wrap;
        margin-top: 0;
    }

    footer .btm_top .b_imgage {

        margin-bottom: 20px;
    }

    footer .b_up .select-style h2 .icon {
        display: none;
    }


    footer .btm_bottom .fo_cm .p_min {

        flex-wrap: wrap;
        justify-content: center;
        display: unset;
    }

    footer .btm_r p {
        line-height: 1;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 12px;
    }

    .top-bar {
        font-size: 12px;
    }

    .top-bar .container {
        padding: 5px 12px;
    }

    .search-form {
        width: 160px;
        height: 24px;
    }

    .search-form input {
        font-size: 12px;
        padding: 0 30px 0 8px;
    }

    .search-form button {
        width: 16px;
        height: 16px;
        right: 8px;
    }

    .main-header .container {
        padding: 8px 12px;
    }

    .logo img {
        height: 50px;
    }

    .nav-toggle {
        width: 36px;
        height: 36px;
    }

    .main-nav a {
        font-size: 14px;
        padding: 8px 16px;
    }

    /* 轮播横幅超小屏幕优化 */
    .slider-track {
        height: 240px;
    }

    .banner-caption {
        padding: 15px;
    }

    .banner-title {
        font-size: 22px;
    }

    .banner-subtitle {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .banner-subtitle::after {
        width: 40px;
        height: 5px;
    }

    .slider-arrow {
        width: 32px;
        height: 32px;
    }

    .slider-arrow-prev {
        left: 10px;
    }

    .slider-arrow-next {
        right: 10px;
    }

    .slider-dot {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    /* 内容区域超小屏幕优化 */
    .news-section,
    .notice-section,
    .teacher-style {
        padding: 25px 0 35px;
    }

    .section-title {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .section-subtitle {
        font-size: 13px;
    }

    .section-bar {
        width: 12px;
        height: 2px;
    }

    .news-list {
        padding: 20px;
    }

    .news-highlight h3 {
        font-size: 16px;
    }

    .news-highlight p {
        font-size: 14px;
        line-height: 1.6;
    }

    .news-items a {
        font-size: 14px;
    }

    .news-items time {
        font-size: 14px;
    }

    .notice-wrapper {
        padding: 12px 16px;
    }

    .notice-list a {
        font-size: 14px;
    }

    .notice-list-simple a {
        font-size: 14px;
        max-width: 70%;
    }

    .notice-list-simple time {
        font-size: 14px;
    }

    .notice-date {
        width: 38px;
        height: 48px;
        margin-right: 14px;
    }

    .notice-date .day {
        font-size: 22px;
        padding: 4px 4px 0;
    }

    .notice-date .month {
        font-size: 10px;
    }

    /* 教工风采超小屏幕优化 */
    .teacher-gallery {
        padding: 0 15px;
    }

    .gallery-arrow {
        width: 36px;
        height: 36px;
        margin: 8px 3px;
    }

    .teacher-item {
        min-width: 200px;
        width: 200px;
        margin-left: 12px;
    }

    .teacher-item img {
        height: 140px;
    }

    .teacher-item figcaption {
        padding: 10px;
    }

    .teacher-item h3 {
        font-size: 13px;
        margin-bottom: 3px;
    }

    .teacher-item time {
        font-size: 11px;
        padding: 3px 6px;
        margin-top: 4px;
    }


}


/* 为导航菜单添加悬浮动效 */
.main-nav li a {
    position: relative;
    transition: color 0.3s ease, transform 0.2s ease;
}

.main-nav li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ab1625;
    transition: width 0.3s ease;
}

.main-nav li a:hover {
    color: #ab1625;
    transform: translateY(-2px);
}

.main-nav li a:hover::after {
    width: 100%;
}



/* 覆盖slide-in类动画 */
.banner-caption.slide-in {
    animation: slideInUp 0.8s ease-out forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px) translateX(-50%);
    }

    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
}



.teacher-item img {
    transition: transform 0.5s ease, box-shadow 0.5s ease, filter 0.3s ease;
}

/* 悬浮交互效果 */
.teacher-item img:hover {
    transform: scale(1.05) !important;
    filter: brightness(1.1);
}



/* 页面加载动画 */


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 为各个section添加入场动画 */
.news-section,
.notice-section,
.teacher-style {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.news-section.animate-in,
.notice-section.animate-in,
.teacher-style.animate-in {
    opacity: 1;
    transform: translateY(0);
}