/* ==========================================================================
   基础重置与全局样式
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}

body {
    min-width: 1440px;
    background-color: #fff;
}

.wrapper {
    width: 1400px;
    margin: 0 auto;
}

/* ==========================================================================
   页头与导航 (保持原样)
   ========================================================================== */
.header {
    display: flex;
    height: 107px;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #FFFFFF;
}

.header-wrapper {
    display: flex;
    position: relative;
}

.header-wrapper .logo img {
    height: 55px;
    width: 412px;
    margin-top: 23px;
    margin-left: 72px;
    margin-bottom: 29px;
}

.nav-container {
    display: flex;
    position: relative;
    width: 630px;
    height: 20px;
    top: 60px;
    margin-left: 212px;
    justify-content: space-between;
}

.nav-item {
    width: 90px;
}

.nav-item .nav-link {
    height: 30px;
    width: 100%;
    align-items: center;
    line-height: 30px;
    color: black;
    text-align: center;
    font-family: SimHei-Regular;
    font-size: 20px;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.nav-item .nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid #1472ec;
    border-left: 2px solid #1472ec;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-item .nav-link::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-top: 2px solid #1472ec;
    border-right: 2px solid #1472ec;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-item .nav-link:hover {
    font-weight: 600;
    color: #1472ec;
}

.nav-item .nav-link:hover::before,
.nav-item .nav-link:hover::after {
    opacity: 1;
}

/* 下拉菜单样式 */
.nav-item .dropdown-menu {
    width: 708px;
    height: 200px;
    position: absolute;
    top: 47px;
    left: 0;
    z-index: 10;
    display: none;
}

.dropdown-menu .item_1 {
    position: relative;
}

.dropdown-menu .item_1 .text1 {
    width: 120px;
    height: 30px;
    line-height: 30px;
    color: #FFFFFF;
    font-family: SimHei-Regular;
    font-size: 30px;
    position: absolute;
    top: 40px;
    left: 65px;
}

/* 导航伪元素英文标注 */
.nav-item:nth-child(1) .text1::after {
    content: "Profile";
}

.nav-item:nth-child(2) .text1::after {
    content: "Research";
}

.nav-item:nth-child(3) .text1::after {
    content: "Teaching";
}

.nav-item:nth-child(4) .text1::after {
    content: "Faculty";
}

.nav-item:nth-child(5) .text1::after {
    content: "Building";
}

.nav-item:nth-child(6) .text1::after {
    content: "Alumni";
}

.nav-item .text1::after {
    margin-left: 10px;
    font-size: 30px;
    color: #FFFFFF;
    font-family: Segoe UI-Bold;
    font-weight: 800;
    opacity: 0.5;
}

.dropdown-menu .item_2 {
    position: relative;
}

.dropdown-menu .item_2 .menu {
    height: 165px;
    position: absolute;
    top: 16px;
    left: 17px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dropdown-menu .item_2 .menu a {
    width: auto;
    height: 30px;
    color: #616161;
    font-family: SimHei-Regular;
    font-size: 20px;
    line-height: 28px;
    position: relative;
    transition: all 0.3s ease;
}

.dropdown-menu .item_2 .menu a:hover {
    color: black;
    font-weight: 500;
}

.dropdown-menu .item_2 .menu a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 175px;
    border-bottom: 2px solid black;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dropdown-menu .item_2 .menu a:hover::after {
    opacity: 1;
}

.dropdown-menu .item_3 {
    position: absolute;
    left: 183px;
    top: -16px;
}

.dropdown-menu .item_3 .menu {
    height: 165px;
    position: absolute;
    top: 16px;
    left: 17px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dropdown-menu .item_3 .menu a {
    color: #616161;
    font-family: SimHei-Regular;
    font-size: 20px;
}

/* 搜索框 (保持原样) */
.header-wrapper .search {
    width: 113px;
    height: 18px;
    position: absolute;
    top: 14px;
    right: 73px;
}

.header-wrapper .search input {
    width: 100%;
    height: 100%;
    background-color: #0B74DC;
    color: #FFFFFF;
    border: none;
    border-radius: 3px;
    padding: 2px;
    font-size: 10px;
}

.header-wrapper .search input:focus {
    outline: none;
}

.header-wrapper .search_box {
    width: 10px;
    height: 10px;
    position: absolute;
    top: 24px;
    right: 77px;
}

/* ==========================================================================
   Banner 与 二级导航 (保持原样)
   ========================================================================== */
.banner {
    position: relative;
    height: 575px;
}

.lbt,
.lbt .pg img {
    width: 1400px;
    height: 500px;
}

.lbt {
    position: relative;
    overflow: hidden;
}

.corner {
    width: 681px;
    height: 140px;
    position: absolute;
    top: 435px;
    left: -247px;
}

.corner .corner-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    background: url(../image/bg10.png);
}

.corner .corner-wrapper .place {
    width: 220px;
    position: absolute;
    top: 28px;
    left: 350px;
    border-top: #FFFFFF solid 1px;
}

.corner .corner-wrapper .place a {
    color: #FFFFFF;
    font-size: 15px;
}

.corner .corner-wrapper .place a:not(:last-child)::after {
    content: ">";
}

.corner .corner-wrapper .title {
    position: absolute;
    top: 58px;
    left: 350px;
    color: #FFFFFF;
    font-size: 40px;
}

.ejnav {
    height: 75px;
    width: 100%;
    position: absolute;
    left: 433px;
    border-bottom: #707070 solid 1px;
}

.ejnav .ejnav-wrapper {
    width: 902px;
    height: 45px;
    display: flex;
    gap: 50px;
    margin-top: 30px;
    margin-left: 32px;
}

.ejnav .ejnav-wrapper .item {
    width: 140px;
    font-size: 25px;
    color: #555555;
    line-height: 45px;
    text-align: center;
}

.ejnav .ejnav-wrapper .item:hover {
    background-color: #56F4E6;
    border-radius: 10%;
    color: #000000;
}

/* ==========================================================================
   内容区域
   ========================================================================== */
.content {
    width: 100%;
    min-height: 900px;
}

.content .content-wrapper {
    width: 1400px;
    display: flex;
    justify-content: center;
    margin-top: 71px;
}

.content-list {
    width: 902px;
    display: flex;
    flex-direction: column;
}

.content-2 {
    width: 902px;
    border-top: #000000 solid 3px;
}

.content-2-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.content-2-wrapper .nav {
    display: flex;
    margin-top: 25px;
    align-items: center;
    margin-bottom:25px
}

.content-2-wrapper .nav.center {
    justify-content: center;
}

.content-2-wrapper .nav p {
    font-size: 35px;
    font-family: SimHei-Regular;
}

/* 左侧图片+右侧文本布局 */
.research-item {
    display: flex;
    width: 100%;
    margin-bottom: 50px;
    align-items: center;
    gap: 40px;
}

.research-item .image-box {
    width: 260px;
    height: 320px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.research-item .image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.research-item .image-box:hover img {
    transform: scale(1.05);
}

.research-item .text-box {
    flex: 1;
    padding: 20px 0;
}

.research-item .text-box h3 {
    font-size: 28px;
    color: #1472ec;
    margin-bottom: 20px;
    font-family: SimHei-Regular;
    position: relative;
    padding-bottom: 15px;
}

.research-item .text-box h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #1472ec;
}

.research-item .text-box p {
    font-size: 18px;
    color: #555555;
    line-height: 1.8;
    font-family: SimHei-Regular;
    text-align: justify;
}

/* ==========================================================================
   优化后的轮播组件 (带切换箭头)
   ========================================================================== */
.health-carousel {
    width: 100%;
    margin-top: 60px;
    position: relative;
    padding: 20px 0;
    display: flex;
    justify-content: center;
}

.health-carousel .carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 550px;
    background-color: #f9f9f9;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    /* 裁剪缩放溢出部分 */
}

/* 单个图片容器 */
.health-carousel .gallery-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    /* 默认隐藏 */
    z-index: 1;
    transition: opacity 0.8s ease-in-out, transform 1.2s ease-out;
    transform: scale(1.08);
    /* 默认轻微放大，准备入场动画 */
}

/* 激活状态 */
.health-carousel .gallery-item.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1);
    /* 回归正常大小 */
}

.health-carousel .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 30px;
    display: block;
}

/* 切换箭头按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 24px;
    text-align: center;
    line-height: 46px;
    /* 稍微偏移实现视觉居中 */
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    user-select: none;
    transition: all 0.3s ease;
    opacity: 0;
    /* 默认隐藏 */
}

/* 鼠标悬停容器显示箭头 */
.carousel-wrapper:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background-color: rgba(11, 116, 220, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

/* ==========================================================================
   页脚与友情链接 (保持原样)
   ========================================================================== */
.yqlj {
    width: 100%;
    height: 100px;
    background-color: #56F4E6;
}

.yqlj .yqlj-wrapper {
    width: 1200px;
    height: 100px;
    position: relative;
}

.yqlj-wrapper .logo {
    width: 193px;
    height: 45px;
    position: absolute;
    top: 30px;
}

.yqlj-wrapper .yqlj-nav {
    width: 582px;
    height: 30px;
    position: absolute;
    left: 272px;
    top: 38px;
    display: flex;
    justify-content: space-between;
}

.yqlj-wrapper .yqlj-nav .nav-box {
    font-size: 30px;
    color: #FFFFFF;
}

.footer {
    width: 100%;
    height: 423px;
    background-color: #0B74DC;
}

.footer .footer-wrapper {
    width: 1260px;
    height: 270px;
    position: relative;
    top: 63px;
}

.footer .footer-wrapper .logo {
    width: 624px;
    height: 222px;
    position: absolute;
    top: 33px;
}

.footer-wrapper .bg {
    position: absolute;
    left: 698px;
}

.footer-wrapper .text {
    width: 526px;
    height: 184px;
    position: absolute;
    top: 70px;
    left: 780px;
}