@charset "utf-8";

/* =========================================================
   前沿交叉学部 - 新导航样式
   需求：
   1. 删除顶部友情链接/链接栏
   2. Logo 居中显示在导航中间
   3. 导航菜单分为左右两侧
   4. 搜索按钮挪到导航最右侧
   5. 兼容响应式
   使用方式：在 public.css 之后引入本文件，或把内容追加到 public.css 末尾。
   ========================================================= */

/* ---------- 基础高度调整 ---------- */
body {
    padding-top: 80px;
}

.top {
    height: 100px;
}

/* 移除旧的 .top-r 左外边距 */
.top-r {
    margin-left: 0;
}

/* 隐藏 PC 顶部链接栏 */
.top-r-t {
    display: none !important;
}

/* ---------- 导航容器：Flex 三栏 ---------- */
.nav-wrap {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    height: 100%;
    position: relative;
}

/* ---------- 居中 Logo ---------- */
.logo-center {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    text-align: center;
    margin: 0 20px;
}

.logo-center a {
    display: block;
    font-size: 0;
    line-height: 80px;
}

.logo-center img {
    /* max-height: 60px; */
    width: auto;
    max-width: 100%;
    vertical-align: middle;
}

/* ---------- 左右导航 ---------- */
.nav-left,
.nav-right {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 0;
    -ms-flex: 1 1 0;
    flex: 1 1 0;
    height: 80px;
    line-height: 80px;
    margin-top: 0;
    float: none;
}

.nav-left > ul,
.nav-right > ul {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100%;
    font-size: 0;
}

.nav-left > ul {
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.nav-right > ul {
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

/* 导航项统一样式 */
.nav-left > ul > li,
.nav-right > ul > li {
    float: none;
    padding-left: 0;
    margin: 0 31px;
    text-align: center;
    position: relative;
    white-space: nowrap;
}

.nav-left > ul > li:first-child,
.nav-right > ul > li:first-child {
    margin-left: 0;
}

.nav-right > ul > li:last-child {
    margin-right: 0;
}

.nav > ul > li > a {
    font-size: 17px;
}

/* ---------- 搜索项：样式还原原站 ---------- */
.nav-search {
    position: relative;
}

.nav-search .search-con {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    height: auto;
}

.nav-search .search-con > button {
    position: static;
    width: 84px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    display: inline-block;
    vertical-align: middle;
    padding: 0;
}

.nav-search .search-con > button > img {
    vertical-align: middle;
    padding-left: 5px;
    margin-right: 0;
}

.nav-search .search-con > button > span {
    color: #ffffff;
    font-size: 14px;
    display: inline-block;
    margin-left: 12px;
    vertical-align: middle;
}

/* 搜索下拉框：位于导航栏下方，功能和样式与原站保持一致 */
.nav-search .search {
    width: 300px;
    height: 44px;
    background: #fff;
    position: absolute;
    right: 0;
    top: 35px;
    margin-top: 0;
    z-index: 1;
    display: none;
}

/* ---------- 下拉菜单重新居中 ---------- */
.nav-left > ul > li > div,
.nav-right > ul > li > div {
    top: 80px;
    left: 50%;
    right: auto;
    width: 160px;
    margin-left: 0 !important;
    -webkit-transform: translateX(-50%) scale(0);
    -ms-transform: translateX(-50%) scale(0);
    transform: translateX(-50%) scale(0);
    -webkit-transform-origin: top center;
    transform-origin: top center;
}

.nav-left > ul > li:hover > div,
.nav-right > ul > li:hover > div {
    -webkit-transform: translateX(-50%) scale(1);
    -ms-transform: translateX(-50%) scale(1);
    transform: translateX(-50%) scale(1);
}

/* 下拉三角居中 */
.nav > ul > li > a::after {
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

/* ---------- 响应式：中等桌面 ---------- */
@media screen and (max-width: 1400px) {
    .top > .nav-wrap,
    .top > div.nav-wrap {
        padding: 0 20px;
    }

    .logo-center img {
        max-height: 55px;
    }

    .nav-left > ul > li,
    .nav-right > ul > li {
        margin: 0 12px;
    }

    .nav > ul > li > a {
        font-size: 16px;
    }
}

@media screen and (max-width: 1200px) {
    .nav-left > ul > li,
    .nav-right > ul > li {
        margin: 0 10px;
    }

    .nav > ul > li > a {
        font-size: 15px;
    }

    .logo-center img {
        max-height: 45px;
    }
}

@media screen and (max-width: 1100px) {
    .nav-left > ul > li,
    .nav-right > ul > li {
        margin: 0 8px;
    }

    .nav > ul > li > a {
        font-size: 14px;
    }
}

/* ---------- 响应式：平板/手机 ---------- */
@media screen and (max-width: 1024px) {
    body {
        padding-top: 60px !important;
    }

    .pc {
        display: none !important;
    }

    .wap {
        display: block !important;
    }
}





/* =========================================================
   前沿交叉学部 - 新底部样式
   需求：
   1. 左侧：常用链接
   2. 中间：logo
   3. 右侧：地址、邮编、电话、邮箱等信息
   4. 删除原底部左侧多余板块（高校链接、政府机构链接下拉）
   ========================================================= */

/* ---------- 新底部整体 ---------- */
.footer-new {
    padding-top: 40px;
    padding-bottom: 0;
    background: #a22402;
}

.footer-new .footer-main {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding-bottom: 40px;
}

.footer-new .footer-col {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 0;
    -ms-flex: 1 1 0;
    flex: 1 1 0;
    color: #fff;
}

/* ---------- 左侧：常用链接 ---------- */
.footer-new .footer-left {
    padding-right: 79px;
}

.footer-new .footer-title {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.footer-new .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.footer-new .footer-links li {
    width: 33%;
    margin-bottom: 12px;
    padding-right: 10px;
}

.footer-new .footer-links li a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    -webkit-transition: color 0.3s;
    -o-transition: color 0.3s;
    transition: color 0.3s;
}

.footer-new .footer-links li a:hover {
    color: #fff;
    text-decoration: underline;
}

/* ---------- 中间：logo ---------- */
.footer-new .footer-center {
    text-align: center;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 320px;
    -ms-flex: 0 0 320px;
    flex: -1 0 320px;
}

.footer-new .footer-logo {
    /* width: 120px; */
    /* height: 120px; */
    margin: 0 auto 15px;
    /* border-radius: 50%; */
    overflow: hidden;
    /* background: #fff; */
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.footer-new .footer-logo img {
    /* max-width: 85%; */
    margin: 0 auto;
    max-height: 85%;
    display: block;
}

.footer-new .footer-logo-text {
    font-size: 16px;
    color: #fff;
    line-height: 1.6;
    margin: 0;
}

/* ---------- 右侧：联系方式 ---------- */
.footer-new .footer-right {
    padding-left: 0px;
    text-align: right;
}

.footer-new .footer-contact {
    margin-top: 33px;
    margin-bottom: 20px;
}

.footer-new .footer-contact p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 2;
    margin: 0;
}

.footer-new .footer-contact p i {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

/* ---------- 右侧：社交媒体 ---------- */
.footer-new .footer-media ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0;
    text-align: left;
}

.footer-new .footer-media ul li {
    display: inline-block;
    margin-right: 25px;
    position: relative;
    text-align: center;
    vertical-align: top;
}

.footer-new .footer-media ul li:last-child {
    margin-right: 0;
}

.footer-new .footer-media ul li a {
    display: block;
    font-size: 0;
}

.footer-new .footer-media ul li a img {
    width: 40px;
    height: 40px;
    display: block;
    margin: 0 auto;
}

.footer-new .footer-media ul li > p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    margin-top: 8px;
}

.footer-new .footer-media ul li > div {
    position: absolute;
    bottom: 120%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    display: none;
    width: 120px;
    padding: 8px;
    background: #fff;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    z-index: 10;
}

.footer-new .footer-media ul li > div img {
    width: 100%;
    display: block;
}

.footer-new .footer-media ul li:hover > div {
    display: block;
}

/* ---------- 版权信息 ---------- */
.footer-new .footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
}

.footer-new .footer-copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    text-align: center;
    line-height: 1.8;
    margin: 0;
}

/* ---------- 兼容原站 footer 样式 ---------- */
.footer-new .footer-T-L,
.footer-new .footer-T-R,
.footer-new .footer-B-L,
.footer-new .footer-B-R {
    display: none;
}

/* ---------- 底部响应式 ---------- */
@media screen and (max-width: 1200px) {
    .footer-new .footer-main {
        padding: 0 20px 35px;
    }

    .footer-new .footer-center {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 260px;
        -ms-flex: 0 0 260px;
        flex: 0 0 260px;
    }

    .footer-new .footer-logo {
        /* width: 100px; */
        /* height: 100px; */
    }
}

@media screen and (max-width: 992px) {
    .footer-new .footer-main {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        padding-bottom: 30px;
    }

    .footer-new .footer-center {
        -webkit-box-ordinal-group: 0;
        -webkit-order: -1;
        -ms-flex-order: -1;
        order: -1;
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 100%;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        margin-bottom: 30px;
    }

    .footer-new .footer-left,
    .footer-new .footer-right {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 50%;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        padding: 0;
    }
}

@media screen and (max-width: 768px) {
    .footer-new {
        padding-top: 30px;
    }

    .footer-new .footer-main {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        text-align: center;
    }

    .footer-new .footer-col {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 100%;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        width: 100%;
        padding: 0;
        margin-bottom: 30px;
    }

    .footer-new .footer-center {
        -webkit-box-ordinal-group: 0;
        -webkit-order: -1;
        -ms-flex-order: -1;
        order: -1;
        margin-bottom: 25px;
    }

    .footer-new .footer-links {
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .footer-new .footer-right {
        text-align: center;
    }

    .footer-new .footer-media ul {
        text-align: center;
    }

    .footer-new .footer-copyright {
        padding: 15px 20px;
    }

    .footer-new .footer-copyright p {
        font-size: 13px;
    }
.footer-new .footer-contact {margin-top:0;}
}

@media screen and (max-width: 450px) {
.footer-new .footer-links li a {font-size:13px;}

}