@charset "utf-8";

:root {
    --primary-blue: #005BAD;
    --accent-teal: #1695A0;
    --deep-blue: #0D60A9;
    --header-height: 90.9rem;
    --font-main: 'Noto Sans SC', 'Noto Sans SC', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --bjtu-blue: #003690;
    --bjtu-red: #b81a35;
    --bjtu-silver: #A1A1A1;
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-size: 1.4rem;
    font-family: var(--font-main);
    line-height: 1.6;
    color: #333;
    background: rgba(178, 179, 182, 0.3);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

ul,
li {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ==========================================================================
   Header 容器与背景 (Banner)
   ========================================================================== */
.wrap_header {
    width: 100%;
    height: var(--header-height);
    position: relative;
    overflow: hidden;
}

.header-bg-slider.flexslider {
    /* max-width: 192rem; */
    width: 100%;
    height: 100%;
    border: none;
    margin: 0 auto;
    z-index: 1;
    position: relative;
}

.header-bg-slider .slides{
    position: relative;
    left: -100%;
}
.header-bg-slider .slides,
.header-bg-slider .slides li{
    height: 100%;
    height: var(--header-height);
    overflow: hidden;
}

.header-bg-slider .slides li >img{
    width: 100%;
    height: 100%;
    position: absolute;
    transform: scale(1.15);
    transition: all 0s linear 1s;
}

.header-bg-slider .slides li {
    position: relative;
    /* transform: scale(1.15);
    transition: all 8s linear; */
    /* background: no-repeat center center / cover;
    background-size: 115% auto !important;
    transition: background-size 8s linear;
    animation: bgZoom 8s linear forwards; */
}
.wrap_header .header-bg-slider .flex-active-slide >img{
    /* transform: scale(1) !important; */
    /* background-size: 100% auto !important;
    transition: background-size 0s linear !important;
    animation-play-state: paused; */
    transform: scale(1);
    transition: all 6.7s linear 0.3s;
}

/* 兼容多轮播切换：非激活项重新播放动画 */
/* .header-bg-slider .slides li:not(.flex-active-slide) {
    animation-play-state: running;
} */

/* 轮播图文字内容 */
.banner_text_wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding-left: 10%;
    z-index: 10;
    pointer-events: none;
}

.banner_content {
    max-width: 800px;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.big_title {
    font-size: 60px;
    font-weight: bold;
    line-height: 1.1;
}

.small_title {
    font-size: 30px;
    margin: 1rem 0 2rem;
    font-weight: 300;
}

.main_desc {
    font-size: 12px;
    line-height: 1.8;
    max-width: 500px;
    opacity: 0.9;
}

/* 轮播左右箭头 */
.header-bg-slider .flex-direction-nav a {
    width: 5.2rem;
    height: 5.2rem;
    background: rgba(0, 0, 0, 0);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 15;
    text-indent: -9999px;
}

.header-bg-slider .flex-direction-nav a::before {
    content: "";
    width: 2.47rem;
    height: 2.47rem;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
}

.header-bg-slider .flex-direction-nav .flex-prev {
    left: 30px !important;
}

.header-bg-slider .flex-direction-nav .flex-prev::before {
    transform: rotate(-45deg);
    margin-left: 5px;
}

.header-bg-slider .flex-direction-nav .flex-next {
    right: 30px !important;
}

.header-bg-slider .flex-direction-nav .flex-next::before {
    transform: rotate(135deg);
    margin-right: 5px;
}

/* ==========================================================================
   PC 导航布局
   ========================================================================== */
.header_wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(80, 120, 168, 0.3);
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.header_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.headerNmae {
    display: flex;
    align-items: center;
}

.logo img {
    height: 5rem;
}

.headerLine {
    width: 2px;
    height: 3rem;
    background: #FFFFFF;;
    margin: 0 2rem;
}

.collegeName {
    font-size: 2.8rem;
    color: #FFFFFF;
    font-weight: 300;
}

.header_right {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: #fff;
}

.contact_link {
    font-size: 1.6rem;
    display: none;
}

.search_icon img {
    width: 2.2rem;
    cursor: pointer;
    transition: transform 0.3s;
}
/* 处理滑动样式 */
.fixedHeader .header_top{
    display: none;
}
.fixedHeader{
    background-color: rgb(0, 54, 144);
}
/* 下层布局：导航栏 */
.header_nav {
    position: relative;
    font-family: "Microsoft YaHei", sans-serif;
    font-weight: 400;
    color: #FFFFFF;
    width: 100%;
}

.header_nav ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header_nav>ul>li {
    display: flex;
    align-items: center;
}

.header_nav>ul>li>a {
    display: flex;
    align-items: center;
    /* 垂直居中 */
    justify-content: center;
    /* 水平居中 */
    padding: 15px 20px;
    color: #fff;
    font-size: 22px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.breadcrumb .breadcrumb-right a:not(:last-child)::after{
    content: ">";
    display: inline-block;
    width: 9px;
    height: 12px;
    margin-left: 6px;
    position: relative;
    top: 1px;
}


/* 箭头样式：使用边框绘制 */
.header_nav .has_sub:not(:first-child)>a:after {
    content: "";
    display: inline-block;
    width: 0.8rem;
    height: 0.8rem;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    margin-left: 8px;
    margin-top: -4px;
    transition: transform 0.3s ease, margin 0.3s ease;
}

/* 悬停状态：箭头旋转 180 度 */
.header_nav>ul>li:hover>a::after {
    transform: rotate(225deg);
    margin-top: 4px;
}

/* 全宽下拉容器 */
.sub_menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 17.4rem;
    background: #ffffff url('../images/nav_bg_pattern.png') no-repeat bottom / 100% 5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-top: 9px solid #003690;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.sub_container {
    height: 8.4rem;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.sub_container dl {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 80px;
}

.sub_container dl dd {
    width: 61.2rem;
    padding: 2rem 2rem;
    border-bottom: 0.1rem solid #DDDDDD;
}

.sub_container dd a {
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 400;
    font-size: 18px;
    color: #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

/*子菜单项右侧的小箭头 */
.sub_container dd a::after {
    content: ">";
    font-family: "SimSun";
    font-size: 1.2rem;
    color: #ccc;
    margin-left: 10px;
    font-weight: normal;
}

.sub_container dd a:hover {
    color: #003690;
}

.header_nav>ul>li:hover .sub_menu {
    visibility: visible;
    opacity: 1;
}

/* --- 基础隐藏：防止 PC 端刷新时闪烁 --- */
.snav {
    display: none;
}

/* --- PC 端搜索弹窗基础样式 --- */
.search_overlay {
    position: fixed;
    top: -100vh;
    inset: 0;
    z-index: 20000;
    display: none;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    animation:modal 600ms;
    -webkit-animation:modal 600ms;
    -moz-animation:modal 600ms;
}
.search_content_wrap{
    max-width: 800px;
    margin: 0 auto;
}
.search_inner{
    width: 100vw;
    height: 100vh;
}

@keyframes modal{
    from{
        top:-100vh;
    }
    to{
        top:0;
    }
}
@-moz-keyframes modal{
    from{
        top:-100vh;
    }
    to{
        top:0;
    }
}
@-webkit-keyframes modal{
    from{
        top:-100vh;
    }
    to{
        top:0;
    }
}

@media screen and (min-width: 1025px) {
    .search_inner {
        /* width: 60rem;
        height: 50rem;
        margin: 10rem auto; */
        padding: 234px 5vw;
        background: #fff url('../images/search-bg-blue.png') no-repeat bottom center;
        background-size: 100% 40%;
        border-radius: 1.5rem;
        position: relative;
        box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.2);
        position: relative;
    }
    .search_inner::after{
        width: 100%;
        height: 40%;
        display: block;
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        background: url('../images/search-bg-bottom.jpg') repeat-x bottom center;
        background-size: auto 100%;
        /* 核心：添加滤镜将棕色线框转为白色 */
        /* filter: brightness(0) invert(1); */
        filter: hue-rotate(180deg) brightness(2);
    }

    .search_box {
        width: 100%;
        height: 5rem;
        background: #f5f5f5;
        border-radius: 2.5rem;
        display: flex;
        align-items: center;
        padding: 0 4rem;
    }

    .search_box input {
        flex: 1;
        border: none;
        background: transparent;
        outline: none;
        font-size: 1.6rem;
    }

    .close_search {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        font-size: 3.5rem;
        color: #999;
        cursor: pointer;
        transition: color 0.3s;
        z-index: 10;
    }

    .close_search::before {
        content: "\2715";
        /* Unicode 乘号图标 */
    }

    .close_search:hover {
        color: #333;
    }
}

/* --- 移动端布局适配 --- */
@media screen and (max-width: 1024px) {
    /* .header_wrap {
        display: none !important;
    }

    .snav {
        display: block !important;
    } */

    .mbtn {
        position: fixed;
        top: 2rem;
        right: 2rem;
        z-index: 10001;
        width: 4.5rem;
        height: 4.5rem;
        background: #005BAD;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 0.5rem;
        cursor: pointer;
        pointer-events: auto;
    }

    .css-menu-icon {
        width: 2.4rem;
        height: 2px;
        background: #fff;
        position: relative;
        display: block;
    }

    .css-menu-icon::before,
    .css-menu-icon::after {
        content: "";
        width: 2.4rem;
        height: 2px;
        background: #fff;
        position: absolute;
        left: 0;
    }

    .css-menu-icon::before {
        top: -8px;
    }

    .css-menu-icon::after {
        top: 8px;
    }

    .navm {
        position: fixed;
        top: 0;
        right: -100%;
        width: 28rem;
        height: auto;
        background: #0D60A9;
        z-index: 10000;
        padding: 8rem 2rem 2rem;
        transition: right 0.3s ease;
        overflow-y: auto;
        pointer-events: auto;
    }

    .navm.active {
        right: 0;
    }

    .navm li a {
        color: #fff;
        font-size: 1.8rem;
        padding: 1.5rem 0;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .ser_mobile {
        padding-bottom: 2rem;
        position: relative;
        z-index: 11;
    }

    .search_form_mobile {
        display: flex;
        background: #fff;
        border-radius: 4px;
        overflow: hidden;
        pointer-events: auto !important;
    }

    .search_form_mobile .notxt {
        flex: 1;
        border: none;
        padding: 10px;
        outline: none;
        font-size: 1.6rem;
        -webkit-user-select: text !important;
        user-select: text !important;
    }

    .search_form_mobile .notxt1 {
        width: 40px;
        border: none;
        background: #eee url('../images/search_white.png') no-repeat center / 18px;
        cursor: pointer;
    }
}

.goTop {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    width: 4rem;
    height: 4rem;
    background: #b81a35;
    border-radius: 50%;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.goTop:hover{
    background: #003690;
}

.goTop::after {
    content: "";
    width: 1rem;
    height: 1rem;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(45deg);
    margin-top: 5px;
}

/* ==========================================================================
   底部布局
   ========================================================================== */
.site-footer {
    height: 551px;
    background: #0E0E0E;
    position: relative;
    padding-top: 30px;
}

.footer-container {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

/* 左侧 Logo 和 建筑 */
.footer-container .footer-info {
    padding-top: 1rem;
    padding-right: 2vw;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    border-right: solid 1px rgba(255, 255, 255, .05);
}

.footer-container .footer-info .footer-logo {
    display: flex;
    align-items: center;
    /* margin-left: 5rem; */
    padding: 1.5rem 0;
    width: 25%;
    min-width: 440px;
}

.footer-logo img {
   height: 5rem;
}

.dept-name {
    font-family: Noto Sans SC, Noto Sans SC;
    font-weight: 300;
    font-size: 2.6rem;
    color: #FFFFFF;
}
.footer-container .footer-info .contact-details {
    margin-left: calc( 100% - 190px );
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 400;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}
.footer-container .footer-info .building-bg {
    width: 25%;
    min-width: 440px;
    /* width: 55.7rem;
    height: 36.8rem; */
    position: absolute;
    bottom: 60px;
    left: 0;
    opacity: .8;
}
.footer-container .footer-text {
    display: flex;
    flex-direction: column;
    /* margin-right: 5vw; */
}
.footer-container .footer-text .footer-links-container {
    display: flex;
    flex-direction: row;
}
.footer-container .footer-text .footer-links-container .footer-links-wrapper {
    width: 66%;
    padding-top: 7rem;
    margin-left: 2vw;
    margin-right: 2vw;
}

.footer-links-wrapper h3 {
    font-size: 18px;
    margin-bottom: 25px;
    color: #FFFFFF;
}

.links-columns {
    display: flex;
    gap: 50px;
}

.links-columns ul {
    width: 50%;
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-columns li {
    margin-bottom: 12px;
}

.links-columns a {
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
}

/* 右侧 二维码 */
.footer-qrcodes {
    width: 33%;
    padding-top: 4rem;
    display: flex;
    text-align: center;
    flex-wrap: nowrap;
    margin-left: 2vw;
    border-left: solid 1px rgba(255, 255, 255, .05);
}

.qr-item {
    margin-left: 20px;
    width: 110px;
    /* height: 15.6rem; */
}
.qr-item:first-child{
    margin-left: 0;
}
.qr-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-qrcodes p {
    font-size: 12px;
    color: #ccc;
    margin-top: 5px;
}

/* 底部版权 */
.footer-bottom {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    text-align: left;
    padding-right: 20px;
    padding-left: calc( 50% - 680px );
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-bottom p {
   font-family: Inter, Inter;
    font-weight: 400;
    font-size: 13px;
    line-height: 56px;
    color: rgba(255, 255, 255, 0.65);
}

@media screen and (max-width: 1200px) {
    .header_nav>ul>li>a{
        font-size: 16px;
    }
    .big_title {
        font-size: 52px;
    }
    .small_title{
        font-size: 26px;
    }
    .main_desc{
        font-size: 10px;
    }
}