/* ===== 基础重置和变量（主代码优先） ===== */
:root {
    --primary: #2c5aa0;
    --primary-dark: #1e3f73;
    --secondary: #4CAF50;
    --accent: #FF6B6B;
    --light: #f8f9fa;
    --dark: #333;
    --gray: #666;
    --light-gray: #e9ecef;
    --border-radius: 12px;
    --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: url(/images/1.webp) center center / cover no-repeat fixed;
    background-attachment: fixed;
}

a {
    text-decoration: none !important;
    color: inherit;
    transition: var(--transition);
}
a:-webkit-any-link {
    text-decoration: none !important;
}

img {
    max-width: 100%;
    height: auto;
}

.nav-logo a:hover{
    color:#fff;
}
.xxbody0 {
    margin-top: 100px;
}
.xxmain {
    background: url(/images/1.webp) center center / cover no-repeat;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

ol, ul {
    padding-left: 0rem !important;
}

li {
    list-style-type: none;
}

.pagination {
    color:#fff !important;
}

.pagination a{
    color:#fff;
}

.pagination a:hover{
    color:#fff;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    background: #212a37 !important;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container a {
    color: #fff;
}

.nav-container a:hover {
    color: #fff !important;
}

.nav-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.nav-logo a:hover {
    color: var(--primary-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    font-size: 1.3rem;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.nav-menu a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.xxnav-menu {
    border-bottom: 2px #fff solid;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover:after,
.nav-menu a.active:after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    transition: var(--transition);
}

/* ===== 英雄区域 ===== */
.hero {
    margin-top: 110px;
    height: 80vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    text-align: justify;
}

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    background: white;
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    background: var(--light);
}

/* ===== 主要内容区域 ===== */
.main-content {
    padding: 80px 0;
}

.section {
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: var(--light);
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--light);
}

/* ===== 网格布局 ===== */
.news-grid,
.papers-grid,
.projects-grid,
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* ===== 卡片通用基础样式 ===== */
.news-card,
.paper-card,
.project-card,
.job-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.news-card:hover,
.paper-card:hover,
.project-card:hover,
.job-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .card-image img,
.paper-card:hover .card-image img,
.project-card:hover .card-image img,
.job-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
}

.news-card h3,
.paper-card h3,
.project-card h3,
.job-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark);
    line-height: 1.4;
}

.news-date,
.paper-authors,
.paper-journal,
.job-department,
.job-deadline {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 10px;
}

.paper-abstract,
.news-card p,
.project-card p,
.job-card p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

/* ===== 项目状态标签 ===== */
.project-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-status.ongoing {
    background: #FFEAA7;
    color: #E17055;
}

.project-status.completed {
    background: #D8F5E3;
    color: #2D3436;
}

/* ===== 页脚基础样式（主代码优先） ===== */
.footer {
    color: white;
    padding: 0px 0 20px;
    height: 100vh;
}

.footer:before {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    opacity: 0.1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    padding: 65px 0px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-section p,
.footer-section a {
    color: #bdc3c7;
    margin-bottom: 10px;
    display: block;
}

.footer-section a:hover {
    color: white;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #95a5a6;
    font-size: 14px;
}

/* ===== 全局动画 ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 响应式基础媒体查询 ===== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 18px;
    }

    .news-grid,
    .papers-grid,
    .projects-grid,
    .jobs-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    /* 下段补充：移动端激活导航渐变背景 */
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        background: linear-gradient(89deg, #7f12ad, #2e07a0) !important;
        z-index: 999;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero {
        height: 70vh;
        background-attachment: scroll;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

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

    .filters-section {
        display: none;
    }
    .news-date {
        display: none;
    }
}

@media (max-width: 576px) {
    .news-grid,
    .papers-grid,
    .projects-grid,
    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 32px;
    }

    .main-content {
        padding: 50px 0;
    }

    .section {
        margin-bottom: 50px;
    }
    .news-content {
        padding: 1rem !important;
        margin-left: 0rem !important;
    }
}

/* ===== 滚动条美化 ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===== 成员网格（主代码标准版本） ===== */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.member-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.member-photo {
    height: 320px;
    width: 320px;
    margin: auto;
    overflow: hidden;
    position: relative;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.member-card:hover .member-photo img {
    transform: scale(1.05);
}

.member-role {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(44, 90, 160, 0.9);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

.member-info {
    padding: 25px;
}

.member-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--dark);
}

.member-title {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}

.member-email {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.member-research-focus {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(76, 175, 80, 0.1);
    color: var(--secondary);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 15px;
}

.member-desc {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
}

/* ===== 单行文字截断 ===== */
.character-limit {
    max-width: 100ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== 多行文字截断通用类 ===== */
.multi-line-truncate1 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}
.multi-line-truncate2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}
.multi-line-truncate3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}
.multi-line-truncate {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}
.multi-line-truncate4 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== 论文列表模块 ===== */
.papers-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.paper-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-left: 5px solid transparent;
}

.paper-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.paper-card.journal {
    border-left-color: var(--primary);
}
.paper-card.conference {
    border-left-color: var(--secondary);
}
.paper-card.highly-cited {
    border-left-color: #FFC107;
    position: relative;
    overflow: hidden;
}

.paper-header {
    padding: 30px;
    border-bottom: 1px solid var(--light-gray);
}
.paper-type {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.paper-type.journal {
    background: rgba(44, 90, 160, 0.1);
    color: var(--primary);
}
.paper-type.conference {
    background: rgba(76, 175, 80, 0.1);
    color: var(--secondary);
}
.paper-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--dark);
}
.paper-authors {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 10px;
    line-height: 1.6;
}
.paper-venue {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 10px;
}
.paper-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed var(--light-gray);
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: var(--gray);
}
.meta-item i {
    color: var(--primary);
}
.paper-content {
    padding: 25px 30px;
}
.paper-abstract {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 25px;
    position: relative;
}
.paper-abstract h4 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 600;
}
.paper-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}
.paper-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--light-gray);
    color: var(--gray);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    cursor: pointer;
}
.paper-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}
.paper-btn.primary {
    background: var(--primary);
    color: white;
}
.paper-btn.primary:hover {
    background: var(--primary-dark);
}

/* ===== 引用可视化图表 ===== */
.citation-visualization {
    background: linear-gradient(135deg, #2c3e50, #4a6491);
    color: white;
    padding: 60px 0;
    border-radius: var(--border-radius);
    margin-bottom: 60px;
    overflow: hidden;
    position: relative;
}
.citation-visualization:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://picsum.photos/1200/300?random=31') center/cover;
    opacity: 0.1;
}
.visualization-content {
    position: relative;
    z-index: 1;
    text-align: center;
}
.visualization-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}
.citation-chart {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
    height: 200px;
    margin-top: 40px;
}
.citation-bar {
    width: 40px;
    background: linear-gradient(to top, var(--primary), var(--secondary));
    border-radius: 6px 6px 0 0;
    position: relative;
    transition: var(--transition);
    cursor: pointer;
}
.citation-bar:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.citation-year {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}
.citation-count {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: var(--primary);
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* ===== 筛选搜索栏 ===== */
.filters-section {
    padding: 40px 0;
    background: white;
    top: 70px;
    z-index: 100;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}
.filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}
.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    line-height: 42px;
}
.filter-tab {
    padding: 12px 24px;
    background: var(--light-gray);
    color: var(--gray);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}
.filter-tab:hover,
.filter-tab.active {
    background: var(--primary);
    color: white;
}
.search-box {
    position: relative;
    width: 300px;
}
.search-input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 50px;
    font-size: 14px;
    transition: var(--transition);
}
.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}
.search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
}
.search-button:hover {
    color: var(--primary);
}

/* ===== 复合型section标题样式（多页面共用） ===== */
.section-title {
    font-size: 2rem;
    color: var(--light);
    margin-bottom: 2.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--light-gray);
}
.section-title {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--light);
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}
.section-title:after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--light-gray);
}

/* ===== 页面头部通用 ===== */
.page-header {
    margin-top: 110px;
    padding: 20px 0 !important;
    background: rgba(255, 255, 255, 0) !important;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
    position: relative;
    display: none;
}
.page-header .container {
    position: relative;
    z-index: 2;
    display: none;
}
.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.page-header p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}
.pages ul {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.main-content,.team-stats{
    margin-top: 150px;   
}

/* ===== 研究方向板块 ===== */
.research-area {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 3rem;
    border-left: 4px solid var(--primary);
}
.area-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}
.area-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.2rem;
    color: white;
    font-size: 1.3rem;
}
.area-title {
    font-size: 1.8rem;
    color: var(--primary-dark);
}
.area-leader {
    color: var(--gray);
    font-size: 0.95rem;
    margin-top: 0.3rem;
}
.research-content > div {
    margin-bottom: 2rem;
}
.content-title {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed var(--light-gray);
}
.research-desc p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.2rem;
}
.sub-project {
    margin-bottom: 1.8rem;
}
.sub-project h4 {
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}
.sub-project p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}
.topics-list ul {
    list-style: none;
}
.topics-list li {
    padding: 0.5rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: var(--dark);
    border-bottom: 1px solid var(--light-gray);
}
.topics-list li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.2rem;
}
.publications {
    background: var(--light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}
.pub-item {
    background: white;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--accent);
}
.pub-authors {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}
.pub-journal {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
}
.pub-year {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ===== 新闻筛选、时间线、详情全套样式 ===== */
.news-filters {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 0.7rem 1.5rem;
    border: 2px solid var(--light-gray);
    background: white;
    border-radius: 30px;
    font-weight: 500;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.news-timeline {
    position: relative;
}
/*.news-timeline::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    left: 100px;*/
/*    top: 0;*/
/*    bottom: 0;*/
/*    width: 2px;*/
/*    background: var(--light-gray);*/
/*    z-index: 1;*/
/*}*/
.news-item {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.news-item.hidden {
    opacity: 0;
    transform: translateY(20px);
    display: none;
}
.news-date {
    width: 100px;
    flex-shrink: 0;
    text-align: center;
    position: relative;
}
.date-day {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light);
    line-height: 1;
}
.date-month {
    display: block;
    font-size: 1rem;
    color: var(--light-gray);
    margin-top: 0.3rem;
    text-transform: uppercase;
    font-weight: 500;
}
.date-year {
    display: block;
    font-size: 0.9rem;
    color: var(--light-gray);
    margin-top: 0.2rem;
}
.news-date::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 15px;
    width: 14px;
    height: 14px;
    background: white;
    border: 3px solid var(--primary);
    border-radius: 50%;
    z-index: 3;
}
.news-content {
    flex: 1;
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-left: 3rem;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
}
.news-item:hover .news-content {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.news-header h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    flex: 1;
    min-width: 300px;
}
.news-tag {
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}
.tag-achievement {
    background: #e7f3ff;
    color: #007bff;
}
.tag-member {
    background: #fff8e1;
    color: #ff9800;
}
.tag-funding {
    background: #e9f7ef;
    color: #28a745;
}
.tag-visit {
    background: #f0e6ff;
    color: #6f42c1;
}
.tag-activity {
    background: #ffeaea;
    color: #dc3545;
}
.news-body p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}
.news-image {
    margin: 1.5rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    max-width: 400px;
}
.news-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.news-item:hover .news-image img {
    transform: scale(1.03);
}
.news-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}
.news-gallery img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}
.news-gallery img:hover {
    transform: scale(1.05);
}
.news-footer {
    margin-top: 1.8rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--light-gray);
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.news-footer a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}
.news-footer a:hover {
    color: var(--primary-dark);
    gap: 0.8rem;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}
.page-btn {
    padding: 0.7rem 1.2rem;
    border: 2px solid var(--light-gray);
    background: white;
    border-radius: 8px;
    font-weight: 500;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
    min-width: 45px;
}
.page-btn:hover:not(.disabled):not(.active) {
    border-color: var(--primary);
    color: var(--primary);
}
.page-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.newsletter-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 3.5rem;
    border-radius: var(--border-radius);
    margin-top: 4rem;
}
.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.newsletter-content h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}
.newsletter-content > p {
    color: var(--gray);
    margin-bottom: 2rem;
}
.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto 1.5rem;
}
.newsletter-form input {
    flex: 1;
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--light-gray);
    border-radius: 30px;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}
.newsletter-form input:focus {
    border-color: var(--primary);
}
.newsletter-form .btn {
    padding: 0.9rem 2rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.newsletter-form .btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}
.newsletter-note {
    font-size: 0.9rem;
    color: var(--gray);
    opacity: 0.8;
}

/* FontAwesome 兼容 */
.fa-regular,
.far {
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
}
.page-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

/* 新闻详情双栏布局 */
.main-content {
    padding: 3rem 0;
}
.news-detail-container {
    display: grid;
    grid-template-columns: 1fr 10px;
    gap: 3rem;
}
@media (max-width: 992px) {
    .news-detail-container {
        grid-template-columns: 1fr;
    }
}
.news-featured-image {
    width: 100%;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    overflow: hidden;
}
.news-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.news-featured-image:hover img {
    transform: scale(1.03);
}
.news-body h2 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-gray);
}
.news-body h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin: 1.5rem 0 1rem;
}
.news-body p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray);
}
.news-body blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--gray);
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}
.news-body ul,
.news-body ol {
    margin: 1.5rem 0 1.5rem 2rem;
    color: var(--gray);
}
.news-body li {
    margin-bottom: 0.8rem;
}
.research-highlights {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2.5rem 0;
}
.research-highlights h3 {
    color: var(--primary);
    margin-top: 0;
}
.highlight-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #ddd;
}
.highlight-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.highlight-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.highlight-content h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}
.figure-container {
    margin: 2.5rem 0;
    text-align: center;
}
.figure-container img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.figure-caption {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 0.8rem;
    font-style: italic;
}
.news-sidebar {
    position: sticky;
    top: 90px;
    height: fit-content;
}
.sidebar-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.8rem;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--light-gray);
}
.sidebar-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--light-gray);
}
.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--light-gray);
}
.author-details h4 {
    margin-bottom: 0.3rem;
}
.author-details p {
    font-size: 0.9rem;
    color: var(--gray);
}
.related-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}
.related-links a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}
.related-links a:last-child {
    border-bottom: none;
}
.share-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
.share-btn {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.share-wechat {
    background: #09bb07;
    color: white;
}
.share-linkedin {
    background: #0077b5;
    color: white;
}
.share-email {
    background: var(--primary);
    color: white;
}
.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.news-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.prev-next-links {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 2rem;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--dark);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
    max-width: 48%;
}
.nav-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}
.nav-link-prev {
    text-align: left;
}
.nav-link-next {
    text-align: right;
}
.nav-link i {
    font-size: 1.2rem;
}
.related-news-section {
    margin: 4rem 0;
}
.related-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.related-news-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}
.related-news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}
.related-news-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.related-news-content {
    padding: 1.5rem;
}
.related-news-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-dark);
}
.related-news-content p {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 1rem;
}
.related-news-date {
    font-size: 0.85rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== 下段新增：项目卡片补充独立样式（不覆盖通用card，补充特有属性） ===== */
.project-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.project-image {
    height: 180px;
    width: 100%;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #eee;
}
.project-content {
    padding: 20px;
}
.project-title {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 600;
}
.project-desc {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}
.project-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.project-status.ongoing {
    background: #FFEAA7;
    color: #E17055;
}
.project-status.completed {
    background: #D8F5E3;
    color: #2D3436;
}

/* ===== 团队统计（从下段融合） ===== */
.team-stats {
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 30px 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary);
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--gray);
    font-weight: 500;
}

/* ===== 成员分类筛选（从下段融合） ===== */
.team-categories {
    padding: 40px 0;
    background: white;
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 12px 24px;
    background: var(--light-gray);
    color: var(--gray);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.category-tab:hover,
.category-tab.active {
    background: var(--primary);
    color: white;
}

/* ===== 实验室主任（从下段融合） ===== */
.director-profile {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.director-profile:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.director-photo {
    position: relative;
    overflow: hidden;
}

.director-photo img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.director-profile:hover .director-photo img {
    transform: scale(1.05);
}

.director-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(44, 90, 160, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

.director-info {
    padding: 40px 40px 40px 0;
}

.director-info h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 10px;
}

.director-title {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 20px;
    font-weight: 500;
}

.director-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: var(--gray);
}

.director-bio {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 30px;
}

.research-interests {
    margin-bottom: 30px;
}

.research-interests h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 15px;
}

.interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.interest-tag {
    padding: 6px 12px;
    background: rgba(44, 90, 160, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.interest-tag:hover {
    background: var(--primary);
    color: white;
}

.pages a{
    color:#fff;
}

.pages a:hover{
    color:#fff;
}

.pages .active{
    border-bottom: 1px solid #fff;
}

.pages .disabled
{
    color:gray;
}

/* ===== 加入我们（从下段融合） ===== */
.join-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.join-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.join-section p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.join-button {
    display: inline-block;
    padding: 16px 40px;
    background: white;
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
}

.join-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ===== 融合下段响应式（补充） ===== */
@media (max-width: 992px) {
    .director-profile {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .director-info {
        padding: 30px;
    }

    .members-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .category-tabs {
        gap: 8px;
    }

    .category-tab {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .director-info h2 {
        font-size: 28px;
    }

    .join-section h2 {
        font-size: 28px;
    }

    .join-button {
        width: 100%;
        text-align: center;
    }
}