:root {
    --blue: #1292e2;
    --blue-deep: #0c7fd0;
    --blue-light: #eaf6ff;
    --text: #333;
    --text-light: #888;
    --line: #e6eef6;
    --bg: #ffffff;
}

* {
    margin: 0;
    padding: 0;
   // box-sizing: border-box;
}

.content-body {
    padding: 20px 30px !important;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}
@media (min-width: 768px) {
    /* PC 上强制悬浮规则，避免 open class 仍然保持展开 */
    .nav-list>li.has-sub.open>.sub-menu,
    .nav-list>li.open>.sub-menu {
        opacity: 0 !important;
        visibility: hidden !important;
    }
.container  {
//background-image:url(./img/dbtp.png);
}
}
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
    /* Top header adjustments */
    .top-inner {
        height        : auto;
        flex-direction: row;
        align-items   : center;
        justify-content: space-between;
        padding       : 12px;
        gap           : 10px;

    }

    .logo img {
        height: auto;
        width: auto;
        max-height: 100px;
        max-width: 100%;
        object-fit: contain;
    }

    .top-tools {
        display: flex;
        width: 54%;
        min-height: 80px;
        padding: 10px;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
        background-image: url("./img/顶部地图.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        opacity: .95;
        border-radius: 8px;
    }
a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    display: block;
    max-width: 100%;
}

.container {
   width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* ========== 顶部 ========== */
.site-top {
    position: relative;
    background: #fff;
    overflow: hidden;
  background-image:
        url("./img/beijin.png");
}

.top-inner {
    position: relative;
    z-index: 1;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 100px;
}

.top-tools {
    width: 400px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
   、、 background-image:url("./img/pbg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    opacity: .95;
}

.search-box {
    width: 260px;
    height: 38px;
  //  border: 1px solid #d8e4ef;
    border-radius: 19px;
  //  background: #fff;
    display: flex;
    align-items: center;
    padding: 0 0 0 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
}

.search-box input {
    flex: 1;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #666;
}

.search-box input::placeholder {
    color: #a8b7c5;
}

.search-box button {
    width: 26px;
    height: 26px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: #9fb1c2;
    display: grid;
    place-items: center;
}

.search-box button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lang-links {
    font-size: 15px;
    color: #ffffff;
}

.lang-links span {
    margin: 0 8px;
    color: #9fc3de;
}

.lang-links a:hover {
    color: #0d73bf;
}

/* ========== 导航 ========== */
.nav-bar {
    background: var(--blue);
    position: relative;
    z-index: 20;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 54px;
}

.nav-list>li {
    position: relative;
    flex: 1;
}

.nav-list>li>a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    color: #fff;
    font-size: 17px;
    transition: .25s;
    white-space: nowrap;
}

.nav-list>li.active>a,
.nav-list>li:hover>a,
.nav-list>li:focus-within>a {
    background: var(--blue-deep);
}

/* 有二级菜单的箭头 */
.nav-list>li.has-sub>a::after {
    content: "";
    width: 6px;
    height: 6px;
    margin-left: 8px;
    margin-top: -4px;
    border-right: 2px solid rgba(255, 255, 255, .9);
    border-bottom: 2px solid rgba(255, 255, 255, .9);
    transform: rotate(45deg);
    flex: none;
}

/* 二级菜单 */
.sub-menu {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    min-width: 140px;
    padding: 6px 0;
    background: #fff;
    border-top: 3px solid var(--blue);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
    z-index: 30;
}

.sub-menu li {
    width: 100%;
}

.sub-menu a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 42px;
    padding: 0 16px;
    font-size: 14px;
    color: #444;
    white-space: nowrap;
    transition: .25s;
    background: transparent;
}

.sub-menu a:hover {
    background: #f3f9ff;
    color: var(--blue-deep);
}

.nav-list>li:hover>.sub-menu,
.nav-list>li:focus-within>.sub-menu {
    opacity: 1;
    visibility: visible;
}
@media (min-width: 768px) {
    .sub-menu {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .nav-list > li:hover > .sub-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-list > li.open > .sub-menu,
    .nav-list > li.has-sub.open > .sub-menu,
    .nav-list > li.active > .sub-menu {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
}

@media (min-width: 768px) {
    .sub-menu {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .nav-list > li:hover > .sub-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-list > li.open > .sub-menu,
    .nav-list > li.has-sub.open > .sub-menu,
    .nav-list > li.active > .sub-menu {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
}
/* ========== banner ========== */
.hero {
    background: #fff;
}

.hero-wrap {
    position: relative;
    max-width: 1920px;
    height: 420px;
    margin: 0 auto;
    overflow: hidden;
}

/* 底层背景图 */
.hero-bg-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* 背景图上面的一层轻微遮罩，可让中间轮播更突出 */
.hero-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .06);
    z-index: 1;
    pointer-events: none;
}

/* 中间轮播主体 */
.hero-main {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
   // width: min(1400px, calc(100% - 160px));
width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}

/* 轮播轨道 */
.hero-slider {
    height: 100%;
    display: flex;
    transition: transform .65s ease;
}

/* 单张轮播 */
.hero-slide {
    min-width: 100%;
    height: 100%;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 左右箭头 */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 64px;
    border: none;
    background: rgba(0, 132, 217, 0.6);
    cursor: pointer;
    z-index: 3;
    transition: .25s;
    display: grid;
    place-items: center;
}

/* ========== 教师列表样式 ========== */
.teacher-item {
    margin-bottom: 20px;
}

.teacher-item .teacher-tit {
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 6px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed var(--line);
}

.teacher-item .teacher-tit span {
    color: var(--blue);
}

.teacher-item .teacher-tit .more {
    font-size: 12px;
    color: var(--blue-deep);
    padding: 2px 6px;
    border: 1px solid var(--blue-deep);
    border-radius: 3px;
    transition: background .2s;
}

.teacher-item .teacher-tit .more:hover {
    background: var(--blue-deep);
    color: #fff;
}

.teacher-item ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    justify-content: space-between;
}

.teacher-item ul li {
    flex: 1 1 20%;
    font-size: 14px;
}

.hero-arrow:hover {
    background: rgba(12, 127, 208, .96);
}

.hero-arrow.prev {
    left: 0;
}

.hero-arrow.next {
    right: 0;
}

.hero-arrow::before {
    content: "";
    width: 16px;
    height: 16px;
    border-top: 4px solid #fff;
    border-right: 4px solid #fff;
    display: block;
}

.hero-arrow.prev::before {
    transform: rotate(-135deg);
    margin-left: 8px;
}

.hero-arrow.next::before {
    transform: rotate(45deg);
    margin-right: 8px;
}

/* 底部圆点 */
.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
}

.hero-dots button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: none;
    background: rgba(18, 146, 226, .45);
    cursor: pointer;
    padding: 0;
    transition: .25s;
}

.hero-dots button.active {
    background: #1292e2;
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(18, 146, 226, .15);
}

/* ========== 通用模块头 ========== */
.block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line);
    position: relative;
}

.block-head::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 84px;
    height: 3px;
    background: var(--blue);
}

.title-group {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
}

.title-group h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--blue);
}

.title-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.title-icon img {
    width: 20px;
    height: 20px;
}

.more-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--blue);
}

.more-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 22px;
    padding: 0 10px;
    border: 1px solid #89c8f5;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1;
}

.more-text {
    font-size: 14px;
    line-height: 1;
}

/* ========== 新闻区域 ========== */
.news-area {
    position: relative;
    overflow: hidden;
    padding: 34px 0 36px;
    background: url("./img/bg2.png") center center / cover no-repeat;
}

.news-grid {
    display: flex;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.news-block {
    flex: 1;
    overflow: hidden;
}

.feature-card {
    display: block;
    margin-bottom: 12px;
    overflow: hidden;
    background: #eef7ff;
}

.feature-card img {
    width: 100%;
    height: 278px;
    object-fit: cover;
    transition: transform .45s;
}

.feature-card:hover img {
    transform: scale(1.03);
}

.simple-list li {
    height: 34px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px dashed #e9eff5;
    font-size: 14px;
    color: #5a5a5a;
}

.simple-list li a {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
}

.simple-list li a .dot {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 1.5px solid #bbb;
    border-right: 1.5px solid #bbb;
    display: block;
    transform: rotate(45deg);
}

.simple-list li a strong {
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.simple-list time {
    font-size: 13px;
    color: #999;
    flex: none;
}

.media-list li {
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid #edf2f7;
}

.media-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.media-card {
    display: flex;
    gap: 16px;
    align-items: center;
}

.media-thumb {
    width: 140px;
    height: 100%;
    flex: none;
    overflow: hidden;
    background: #e8f4ff;
}

.media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.media-card:hover .media-thumb img {
    transform: scale(1.04);
}

.media-body {
    min-width: 0;
}

.media-body h3 {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.45;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}

.media-body p {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.7;
    color: #9c9c9c;
    height: 44px;
    overflow: hidden;
}

.media-meta {
    font-size: 12px;
    color: #b0b0b0;
}

/* ========== 研究成果区域 ========== */
.results-section {
    position: relative;
    overflow: hidden;
    padding: 30px 0 44px;
    background: url("./img/bg3.png") center center / cover no-repeat;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr !important;
    gap: 34px;
}

.result-list {
    flex: 1;
    overflow: hidden;
}

.result-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
}

.date-chip {
    display: flex;
    align-items: stretch;
    min-width: 98px;
    flex: none;
}

.date-chip .day {
    width: 28px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 13px;
    color: #6f7c87;
    background: #fff;
    border: 1px solid #cfe1f2;
    border-right: none;
}

.date-chip .month {
    height: 30px;
    line-height: 30px;
    padding: 0 12px;
    font-size: 13px;
    color: #fff;
    background: var(--blue);
}

.result-list a {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #555;
    font-size: 14px;
}

.result-list a:hover {
    color: var(--blue-deep);
}

/* ========== 学术团队 ========== */
.team-section {
    padding: 42px 0 38px;
    background: #fff;
}

.team-banner {
    position: relative;
    min-height: 214px;
    overflow: hidden;
    padding: 28px 88px 28px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    background: url("./img/xstdimg.png") center center / cover no-repeat;
}

.team-label {
    position: relative;
    z-index: 1;
    width: 220px;
    height: 158px;
    flex: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.team-label .team-icon {
    margin-bottom: 14px;
}

.team-label .team-icon img {
    width: 48px;
    height: 48px;
}

.team-label h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
}

.team-viewport {
    position: relative;
    z-index: 1;
    overflow: hidden;
    flex: 1;
}

.team-track {
    display: flex;
    gap: 18px;
    transition: transform .5s ease;
    will-change: transform;
}

.team-card {
    width: 200px;
    height: 140px;
    flex: none;
    position: relative;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.team-hover {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all .35s ease;
    z-index: 2;
}

.team-hover::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255, 255, 255, .95);
    opacity: 0;
    transform: scale(.96);
    transition: all .35s ease;
    pointer-events: none;
}

.team-view-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
    transform: translateY(8px);
    transition: transform .35s ease;
}

.team-name {
    color: #fff;
    font-size: 18px;
    line-height: 1;
    transform: translateY(8px);
    transition: transform .35s ease;
}

.team-card:hover .team-hover {
    opacity: 1;
    visibility: visible;
}

.team-card:hover .team-hover::before {
    opacity: 1;
    transform: scale(1);
}

.team-card:hover .team-view-icon,
.team-card:hover .team-name {
    transform: translateY(0);
}


.team-side-tools {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.team-next {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .62);
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: .25s;
}

.team-next:hover {
    background: rgba(255, 255, 255, .26);
}

.team-more {
    color: #fff;
    font-size: 14px;
    opacity: .96;
}

/* ========== 页脚 ========== */
.site-footer {
    color: #fff;
    background: url("./img/dibu.png") center/cover no-repeat;
    padding: 42px 0 24px;
}

.footer-inner {
position:relative;
    text-align: center;
}

.footer-inner p {
    margin: 8px 0;
    font-size: 15px;
}

.footer-line {
    width: 100%;
    max-width: 1120px;
    height: 1px;
    background: rgba(255, 255, 255, .35);
    margin: 26px auto 18px;
}

.copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 15px;
}

.footer-badge {
    width: 24px;
    height: 24px;
}

.footer-badge img {
    width: 100%;
}
.nav-toggle {
    display: none;
}
/* ========== 侧边栏选中状态 ========== */
.sidebar-menu li.active>a,
.sidebar-menu a.active {
    background: transparent;
    color: var(--blue);
    font-weight: 600;
}
@media (max-width: 767px) {
    .hero-wrap {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .hero-main {
        left: 0 !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        position: relative !important;
    }

    .hero-slider,
    .hero-slide,
    .hero-slide img {
        min-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .hero-bg-img {
        display: none !important;
    }

    .results-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
   flex-direction: column !important;
    }

    .result-list {
        width: 100% !important;
        max-width: 100% !important;
    }

    .result-list li {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 10px 15px !important;
        border-bottom: 1px solid rgba(0, 0, 0, .07) !important;
    }

    .result-list a {
        flex: 1 !important;
        white-space: normal !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

    /* ========== Mobile Fix ==========
   修复 hero 轮播显示不全和研究成果列行为 */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
        box-sizing: border-box;
    }

    .hero-wrap {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .hero-main {
        left: 0 !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        position: relative !important;
    }

    .hero-slider,
    .hero-slide,
    .hero-slide img {
        min-width: 100% !important;
        width: 100% !important;
        height: 120px !important;
    }

    .hero-bg-img {
        display: none !important;
    }

    .results-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .result-list {
        width: 100% !important;
        max-width: 100% !important;
    }

    .result-list li {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 10px 15px !important;
        border-bottom: 1px solid rgba(0, 0, 0, .07) !important;
    }

    .result-list a {
        flex: 1 !important;
        white-space: normal !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}
/* --- 一级和二级基础样式 --- */
.nav-list { display: flex; list-style: none; padding: 0; }
.nav-list > li { position: relative; } /* 一级相对定位 */

.sub-menu {
    display: none;
    position: absolute;
    top: 100%; /* 二级在一级下方 */
    left: 0;
    min-width: 140px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 0;
    list-style: none;
}

/* --- 三级菜单右侧定位关键 --- */
.ej-item {
    position: relative; /* 核心：让三级菜单相对于当前的二级 li 定位 */
}

.third-menu {
    display: none;      /* 初始隐藏 */
    position: absolute; /* 绝对定位 */
    top: -1px;          /* 与二级菜单项顶部对齐（-1px 是为了对齐边框） */
    left: 100%;         /* 核心：出现在二级菜单的垂直右侧 */
    min-width: 140px;
    background: #fff;
    border: 1px solid #ddd;
    list-style: none;
    padding: 0;
    box-shadow: 3px 0 8px rgba(0,0,0,0.1);
}

/* --- 悬浮显示逻辑 --- */

/* 鼠标悬停二级 li，显示三级 ul */
.ej-item:hover > .third-menu {
    display: block;
}

/* 鼠标悬停一级 li，显示二级 ul */
.nav-list > li:hover > .sub-menu {
    display: block;
}

/* 装饰样式 */
.sub-menu li a, .third-menu li a {
    display: flex;          /* 使用 Flex 布局 */
    align-items: center;    /* 垂直方向居中 */
    justify-content: flex-start;
    padding: 4px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.sub-menu li:hover > a {
    background-color: #0099ff;
    color: #fff;
}
/* 右下角二维码 - 绝对定位 */
.footer-qrcode {
  position: absolute;
  right: 190px;
  bottom: 84px;
  text-align: center;
}
.footer-qrcode img {
  width: 100px;
  height: 100px;
  display: block;
  margin: 0 auto 5px;
}
.footer-qrcode span {
  font-size: 12px;
  color: #fff;
}

/* 移动端适配（防止遮挡）*/
@media (max-width: 768px) {
  .footer-qrcode {
    position: static;
    margin-top: 15px;
  }
}