/* --- style.css --- */
/* 全局变量 */
:root {
    --primary-color: #980000;
    --secondary-color: #333333;
    --text-color: #555555;
    --bg-light: #f4f6f8;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
    --container-width: 1500px;
    --card-padding-x: 20px;
    --card-padding-y: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', "Microsoft YaHei", sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--bg-light);
    /* overflow-x: hidden; */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 布局容器 */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* --- 【新增】公共头部外壳 --- */
/* 解决子页面导航栏不吸顶的问题 */
#common-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background-color: #fff;
    /* 防止背景透明 */
    width: 100%;
}

/* --- Header (修复版) --- */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-top {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 10px;
}

.logo-text h1 {
    font-size: 30px;
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.2;
}

.logo-text p {
    font-size: 22px;
    color: #666;
    margin-top: 5px;
}

/* 导航栏 */
.nav-bar {
    background: var(--white);
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* --- 导航栏交互样式优化 --- */
.nav-list li a {
    display: block;
    padding: 0 25px;
    /* 稍微减小一点左右间距，让菜单紧凑一点 */
    height: 70px;
    /* 固定高度 */
    line-height: 70px;
    /* 文字垂直居中 */
    font-size: 22px;
    /* 稍微调整字体大小，更秀气 */
    color: var(--secondary-color);
    font-weight: 500;
    border-bottom: 3px solid transparent;
    /* 默认底部线条透明 */
    transition: all 0.3s;
}

.nav-list li a:hover,
.nav-list li a.active {
    color: var(--primary-color);
    /* 文字变红 */
    border-bottom-color: var(--primary-color);
    /* 底部红线显现 */
    background-color: transparent;
    /* 【关键】去掉了背景色，更清爽 */
}

/* --- 轮播图 --- */
.carousel-wrapper-outer {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 40px;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    height: 520px;
    overflow: hidden;
}

.carousel-inner-radius {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background-color: #ddd;
    box-shadow: var(--shadow);
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: #fff;
    padding: 40px 60px;
    text-align: left;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.3s;
}

.carousel-caption h3 {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 700;
    padding-left: 15px;
    border-left: 6px solid var(--primary-color);
}

.carousel-caption p {
    font-size: 18px;
    opacity: 0.9;
    padding-left: 21px;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    cursor: pointer;
    width: 60px;
    height: 60px;
    font-size: 24px;
    border-radius: 50%;
    transition: 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary-color);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
    border: 2px solid #fff;
}

/* --- 标题与通用布局 --- */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dcdcdc;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-title {
    font-size: 26px;
    color: var(--secondary-color);
    font-weight: 700;
    padding-left: 15px;
    border-left: 6px solid var(--primary-color);
    line-height: 1;
}

.more-link {
    font-size: 14px;
    color: #888;
    padding-right: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.section-card {
    background: var(--white);
    padding: var(--card-padding-y) var(--card-padding-x);
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.section-transparent {
    background: transparent;
    box-shadow: none;
    padding: 20px 0;
    margin-bottom: 40px;
}

/* --- 教授简介 --- */
.profile-card {
    display: flex;
    gap: 40px;
    align-items: center;
    background: var(--white);
    padding: var(--card-padding-y) var(--card-padding-x);
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.profile-img {
    flex: 0 0 200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.profile-info {
    flex: 1;
}

/* 1. 修改头部布局，实现左右对齐 */
.profile-header {
    display: flex;
    justify-content: space-between;
    /* 【关键】让左边的名字和右边的“更多”分居两头 */
    align-items: center;
    /* 垂直居中 */
    margin-top: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #eee;
    /* 可选：加一条淡淡的分割线增加层次感 */
    padding-bottom: 15px;
}

/* 2. 左侧名字和头衔的容器 */
.profile-header-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* 3. 右上角“更多”链接样式 */
.profile-more {
    font-size: 14px;
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
    /* 防止换行 */
}

.profile-more:hover {
    color: var(--primary-color);
}

.profile-more i {
    font-size: 12px;
    margin-left: 2px;
}

.profile-name {
    font-size: 34px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-right: 20px;
}

.profile-title {
    font-size: 22px;
    padding: 0px 0px;
    color: #555;
    font-weight: 500;
    display: inline-block;
}

.profile-lab {
    font-size: 25px;
    color: #444;
    margin-bottom: 10px;
    font-weight: 500;
    padding-left: 2px;
    display: flex;
    align-items: center;
    gap: 0px;
}

.profile-desc {
    /* 1. 字号缩小：从原来的 20px 改为 16px，更显精致 */
    font-size: 17px;

    /* 2. 行距收紧：从原来的 2 改为 1.6，阅读更连贯 */
    line-height: 1.6;

    /* 3. 颜色加深一点点，提升对比度 */
    color: #444;

    /* 4. 保持两端对齐，边缘更整齐 */
    text-align: justify;

    /* 5. 首行缩进 (如果不想要缩进，可以把这行删掉) */
    text-indent: 2em;

    margin-top: 15px;
}

/* 确保截断逻辑依然生效 */
.bio-clamp {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    /* 因为字号变小了，可以稍微多显示一行，改成 6 */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- 研究方向 --- */
.research-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.research-item {
    background: var(--white);
    padding: 20px 15px;
    border-left: 6px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    font-size: 19px;
    font-weight: 500;
    line-height: 1.6;
    color: #444;
    transition: transform 0.3s;
}

.research-item i {
    color: var(--primary-color);
    margin-right: 8px;
}

.research-item:hover {
    transform: translateY(-5px);
    background-color: #fff;
}

/* --- 课题组新闻 --- */
.news-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.news-col {
    min-width: 0;
}

.news-list li {
    margin-bottom: 20px;
    background-color: var(--white);
    padding: 16px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    position: relative;
    border-left: 4px solid transparent;
    max-width: 100%;
}

.news-list li:hover {
    transform: translateX(5px) translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-left-color: var(--primary-color);
}

.news-list li a {
    display: block;
    color: #444;
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.news-list li:hover a {
    color: var(--primary-color);
}

.news-list li a::before {
    content: '•';
    color: #ddd;
    font-size: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    position: relative;
    top: -2px;
    transition: color 0.3s;
}

.news-list li a i {
    margin-right: 5px;
    font-size: 0.9em;
    color: #999;
}

.news-list li:hover a::before,
.news-list li:hover a i {
    color: var(--primary-color);
}

/* --- 组内活动 --- */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.activity-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.activity-img-wrap {
    height: 280px;
    overflow: hidden;
}

.activity-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.activity-card:hover img {
    transform: scale(1.08);
}

.activity-info {
    padding: 12px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
}

/* --- 友情链接 --- */
.links-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.links-list li:hover {
    transform: translateX(5px) translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-left-color: var(--primary-color);
}

.links-list a {
    padding: 15px 30px;
    background: var(--white);
    border-radius: 40px;
    font-size: 15px;
    color: #555;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    font-weight: 500;
}

.links-list a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(152, 0, 0, 0.2);
}

/* --- Footer --- */
footer {
    background-color: #2c3e50;
    color: #ccc;
    padding: 60px 0;
    margin-top: 60px;
    text-align: center;
    font-size: 15px;
}

footer p {
    margin-bottom: 10px;
}

footer i {
    margin-right: 5px;
}

/* --- 响应式 --- */
@media (max-width: 1600px) {

    .container,
    .carousel-container {
        max-width: 96%;
    }
}

@media (max-width: 768px) {
    :root {
        --card-padding-x: 25px;
        --card-padding-y: 30px;
    }

    .header-top {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 0;
    }

    .carousel-container {
        height: 260px;
        padding: 0 20px;
    }

    .carousel-caption {
        padding: 20px;
        bottom: 0;
    }

    .carousel-caption h3 {
        font-size: 18px;
    }

    .carousel-caption p {
        display: none;
    }

    .profile-card {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .profile-img {
        width: 100%;
        margin-bottom: 0;
    }

    .news-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-list li {
        margin-bottom: 15px;
        padding: 15px;
    }

    .profile-header {
        flex-direction: column;
        align-items: center;
    }

    .profile-name {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* --- 子页面专用样式 (新增) --- */
.page-banner {
    background-color: #fff;
    padding: 40px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.page-title {
    font-size: 32px;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.breadcrumb {
    font-size: 14px;
    color: #888;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

/* --- 页面标题与面包屑风格 (复刻截图版) --- */

/* 1. 面包屑导航 (Breadcrumb) */
.breadcrumb-nav {
    font-size: 14px;
    color: #888;
    margin-top: 30px;
    /* 距离顶部导航栏的距离 */
    margin-bottom: 15px;
    /* 距离下方白色卡片的距离 */
    padding-left: 5px;
}

.breadcrumb-nav a {
    color: #666;
    transition: color 0.3s;
}

.breadcrumb-nav a:hover {
    color: var(--primary-color);
}

/* 2. 内容容器优化 */
.content-card {
    background: #fff;
    padding: 50px 60px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    min-height: 600px;
    margin-bottom: 60px;
    margin-top: 0;
    /* 【关键】改为0，因为上面已经有面包屑撑开距离了 */
}

/* 3. 标题样式 (核心：左竖线 + 下短线) */
.page-header-style {
    margin-bottom: 40px;
    /* 标题距离下方列表的距离 */
}

.page-header-style h1 {
    font-size: 30px;
    color: #333;
    font-weight: 700;
    line-height: 1.2;
    padding-left: 18px;
    /* 文字距离左侧竖线的间隙 */
    border-left: 7px solid var(--primary-color);
    /* 【关键】左侧深红竖线 */
    position: relative;
    display: inline-block;
}

/* 标题下方的短红线 */
.page-header-style h1::after {
    content: '';
    display: block;
    width: 60px;
    /* 短横线长度 */
    height: 4px;
    /* 短横线厚度 */
    background-color: var(--primary-color);
    margin-top: 15px;
    /* 距离文字底部的距离 */
}

/* =========================================
   --- 研究方向专用样式 (Research) ---
   ========================================= */

/* 1. 研究方向列表页 (Grid 布局) */
.research-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    margin-top: 30px;
}

.research-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100px;
}

/* 悬停效果：阴影加深，左边出现红条 */
.research-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: transparent;
}

.research-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 5px;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.research-card:hover::before {
    transform: scaleY(1);
}

.research-number {
    font-size: 40px;
    font-weight: 700;
    color: #eee;
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
    z-index: 0;
}

.research-content {
    position: relative;
    z-index: 1;
}

.research-content h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 0;
    font-weight: 700;
}

.research-content a:hover {
    color: var(--primary-color);
}

/* 底部提示框 */
.notice-box {
    background-color: #fff8f8;
    border-left: 4px solid var(--primary-color);
    padding: 20px 30px;
    color: #666;
    font-size: 15px;
    border-radius: 4px;
    margin-bottom: 40px;
}

.notice-box strong {
    color: var(--primary-color);
}


/* 2. 详情页布局 (Sidebar + Content) */
.layout-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: start;
}

/* --- 左侧侧边栏 (最终修复版) --- */
.sidebar {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);

    /* 1. 开启吸顶 */
    position: sticky;

    /* 2. 避开导航栏的高度 */
    /* 导航栏大约180px高，我们设190px让它露出来，留10px间隙 */
    top: 190px;

    /* 3. 防止被拉伸 (关键) */
    align-self: start;

    /* 4. 确保层级正确 */
    z-index: 10;
}

.sidebar-header {
    background: var(--primary-color);
    color: #fff;
    padding: 20px 25px;
}

.sidebar-header h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.sidebar-header span {
    font-size: 20px;
    opacity: 0.8;
    text-transform: uppercase;
}

.sidebar-menu a {
    display: block;
    padding: 18px 25px;
    border-bottom: 1px solid #eee;
    color: #555;
    font-size: 18px;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.sidebar-menu a:last-child {
    border-bottom: none;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background-color: #f9f9f9;
    color: var(--primary-color);
    padding-left: 30px;
    border-left-color: var(--primary-color);
    font-weight: 700;
}

/* 右侧文章详情 */
.article-body p {
    margin-bottom: 20px;
    text-align: justify;
    text-indent: 2em;
    font-size: 16px;
    color: #444;
}

.article-img {
    margin: 30px 0;
    text-align: center;
}

.article-img img {
    max-width: 90%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto 10px;
    border: 1px solid #eee;
}

.img-caption {
    font-size: 14px;
    color: #888;
    font-style: italic;
}

.sub-heading {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid #ccc;
}

/* 响应式适配 */
@media (max-width: 900px) {
    .layout-grid {
        display: grid;
        grid-template-columns: 300px 1fr;
        gap: 40px;
        margin-bottom: 60px;
        align-items: start;
        /* 【关键】让左侧和右侧都顶部对齐，不要强行拉伸高度 */
    }

    .sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .research-grid-large {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   --- 质谱仪器专用样式 (Instruments) ---
   ========================================= */

/* 图片排版容器 */
.figure-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    /* 小屏自动换行 */
    margin: 40px 0;
}

figure {
    text-align: center;
    margin: 0;
    flex: 0 1 45%;
    /* 默认占一半宽度 */
    min-width: 300px;
}

figure img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    border: 1px solid #eee;
    transition: transform 0.3s;
}

figure img:hover {
    transform: scale(1.02);
    /* 悬停轻微放大 */
}

figcaption {
    font-size: 15px;
    color: #666;
    font-weight: 500;
    margin-top: 5px;
}

/* 文本内容区域 */
.text-content {
    font-size: 17px;
    line-height: 2;
    text-align: justify;
    color: #444;
}

.text-content p {
    margin-bottom: 20px;
    text-indent: 2em;
}

/* 下载链接样式 */
.download-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 700;
    border-bottom: 1px solid transparent;
    text-indent: 0 !important;
    /* 强制取消缩进 */
    cursor: pointer;
}

.download-link:hover {
    border-bottom-color: var(--primary-color);
}

/* 仪器页面的内容卡片微调 */
.instrument-card {
    background: var(--white);
    padding: 50px 60px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    min-height: 500px;
}

/* =========================================
   --- 团队介绍专用样式 (Team) ---
   ========================================= */

/* 1. 个人详细信息卡片 (负责人/研究员) */
.detail-profile {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    align-items: flex-start;
    /* 顶部对齐 */
}

.detail-img {
    flex: 0 0 240px;
    /* 固定宽度 */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.detail-img img {
    width: 100%;
    height: auto;
    display: block;
}

.detail-info {
    flex: 1;
}

.detail-info h3 {
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 10px;
    margin-top: 0;
}

.detail-info .title {
    font-size: 16px;
    color: #666;
    margin-left: 10px;
    font-weight: 500;
    display: inline-block;
}

.detail-text p {
    margin-bottom: 15px;
    text-align: justify;
    text-indent: 2em;
    line-height: 1.8;
    color: #444;
}

/* 2. 内容小标题 */
.sub-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 4px solid #ccc;
}

/* 3. 列表样式 (履历、论文) */
.bio-list,
.paper-list,
.patent-list {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

.bio-list li,
.patent-list p,
.paper-list p {
    margin-bottom: 10px;
}

/* 论文特殊格式 */
.journal-name {
    font-weight: bold;
    font-style: italic;
    color: #000;
}

.author-bold {
    font-weight: bold;
}

.doi-link {
    font-size: 13px;
    color: #888;
    margin-left: 5px;
}

.doi-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* 4. 人员卡片网格 (学生/博士后) */
.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.people-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.people-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.people-header {
    display: flex;
    padding: 20px;
    border-bottom: 1px dashed #eee;
    align-items: center;
    background: #fcfcfc;
}

.people-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.people-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.people-meta h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.people-meta span {
    font-size: 13px;
    color: #888;
    display: block;
}

.people-body {
    padding: 20px;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    flex: 1;
}

/* =========================================
   --- 毕业生表格专用样式 (优化版) ---
   ========================================= */
.alumni-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    table-layout: fixed;
    /* 【关键】固定布局算法，让列宽严格遵循设定 */
}

.alumni-table th,
.alumni-table td {
    padding: 15px 10px;
    /* 上下15px，左右10px */
    border-bottom: 1px solid #eee;
    font-size: 16px;
    word-break: break-word;
    /* 防止长单词撑破表格 */
}

.alumni-table th {
    background-color: #f8f9fa;
    font-weight: 700;
    color: #333;
    border-top: 2px solid var(--primary-color);
    /* 顶部加条红线，更美观 */
}

.alumni-table tr:hover {
    background-color: #fcfcfc;
}

/* --- 针对特定列的对齐方式 --- */

/* 前三列：居中对齐 */
.alumni-table th:nth-child(1),
.alumni-table td:nth-child(1),
.alumni-table th:nth-child(2),
.alumni-table td:nth-child(2),
.alumni-table th:nth-child(3),
.alumni-table td:nth-child(3) {
    text-align: center;
}

/* 最后一列：左对齐 (因为去向单位名称较长，居中会很难看) */
.alumni-table th:last-child,
.alumni-table td:last-child {
    text-align: left;
    padding-left: 30px;
    /* 给最后一列多一点左边距，视觉上分开 */
}

/* 响应式适配 */
@media (max-width: 900px) {
    .detail-profile {
        flex-direction: column;
    }

    .detail-img {
        width: 100%;
        margin-bottom: 20px;
    }

    .people-grid {
        grid-template-columns: 1fr;
    }

    /* 表格横向滚动，防止手机端撑破 */
    .table-responsive {
        overflow-x: auto;
    }
}

/* --- 研究人员专用样式 (优化版) --- */

/* 1. 头像进一步缩小 (150px) */
.researcher-profile .detail-img {
    flex: 0 0 150px;
    /* 调整为 150px，比负责人的 240px 明显小很多 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* 修改前：可能只是设置了字体大小 */
/* 修改后：增加了 display: flex 和 align-items: center */

.researcher-profile .detail-info h3 {
    display: flex;
    /* 【关键】开启弹性布局 */
    align-items: center;
    /* 【关键】强制垂直居中对齐 */
    flex-wrap: wrap;
    /* 手机屏幕太窄时允许自动换行 */
    font-size: 20px;
    margin-bottom: 8px;
    /*稍微增加一点下边距*/
    font-weight: 700;
    color: var(--secondary-color);
}

/* 同时微调一下头衔标签的样式，让它看起来更协调 */
.researcher-profile .detail-info .title {
    font-size: 13px;
    /* 字号微调 */
    color: #555;
    margin-left: 10px;
    /* 名字和头衔之间的距离 */
    background: #f2f2f2;
    padding: 3px 10px;
    /* 增加一点内边距，让标签更饱满 */
    border-radius: 20px;
    /* 变成圆角胶囊状，更现代 */
    font-weight: normal;
    /* 标签文字不加粗 */
    line-height: 1;
    /* 确保标签文字在背景里居中 */
}

.researcher-profile .detail-text p {
    font-size: 15px;
    /* 正文字号微调 */
    line-height: 1.6;
    margin-bottom: 10px;
}

/* 3. 职级分类大标题样式 */
.rank-title {
    font-size: 22px;
    color: #333;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    position: relative;
}

/* 标题下加一根红线装饰 */
.rank-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary-color);
}

/* 每个人员模块之间的分割 */
.researcher-block {
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px dashed #eee;
}

.researcher-block:last-child {
    border-bottom: none;
}

/* =========================================
   --- 研究生专用样式 (Student ID Photos) ---
   ========================================= */

/* 1. 覆盖默认的圆形头像，改为长方形证件照 */
.student-card .people-avatar {
    width: 100px;
    /* 宽度设置为 100px (比研究员小) */
    height: 135px;
    /* 高度设置为 135px (3:4 比例) */
    border-radius: 4px;
    /* 微小的圆角，看起来不那么生硬 */
    border: 1px solid #eee;
    /* 加个边框 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* 2. 调整头部对齐方式 */
.student-card .people-header {
    align-items: flex-start;
    /* 让名字和照片顶部对齐，因为照片变高了 */
    padding: 15px;
    /* 稍微减小内边距 */
}

/* 3. 名字和年级微调 */
.student-card .people-meta {
    margin-top: 5px;
    /* 名字稍微往下一点 */
}

.student-card .people-meta h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.student-card .people-meta span {
    background: #f4f6f8;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    color: #666;
}

/* =========================================
   --- 成果及论文专用样式 (Publications) ---
   ========================================= */

/* 1. 滚动盒子 (用于限制高度) */
.scroll-box {
    max-height: 800px;
    /* 稍微调高一点，阅读体验更好 */
    overflow-y: auto;
    padding-right: 10px;
    padding-bottom: 10px;
    /* 滚动条美化 */
    scrollbar-width: thin;
    scrollbar-color: #ccc #f5f5f5;
}

.scroll-box::-webkit-scrollbar {
    width: 6px;
}

.scroll-box::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 3px;
}

.scroll-box::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

.scroll-box::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary-color);
}

/* 2. 锚点偏移修正 (防止标题被导航栏挡住) */
.paper-section {
    margin-bottom: 50px;
    scroll-margin-top: 200px;
    /* 留出顶部导航栏的空间 */
}

/* 3. 代表性论文卡片样式 */
.paper-list {
    padding-left: 0;
}

.paper-item {
    background: var(--white);
    padding: 20px 30px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.paper-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.paper-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: 0.3s;
}

.paper-item:hover::before {
    transform: scaleY(1);
}

.paper-title {
    font-size: 18px;
    color: #222;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.5;
}

.paper-authors {
    font-size: 15px;
    color: #555;
    margin-bottom: 5px;
    font-family: 'Times New Roman', serif;
}

.paper-authors strong {
    color: #000;
    text-decoration: underline;
}

.paper-journal {
    font-size: 15px;
    color: var(--primary-color);
    font-style: italic;
    font-weight: 600;
    font-family: 'Times New Roman', serif;
}

.paper-doi {
    margin-top: 10px;
}

.paper-doi a {
    font-size: 13px;
    color: #888;
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 20px;
    transition: 0.2s;
}

.paper-doi a:hover {
    background: var(--primary-color);
    color: #fff;
}

/* 4. 年度论文 (紧凑列表) */
.year-label {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 25px;
    position: sticky;
    top: 0;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.year-label:first-of-type {
    margin-top: 0;
}

.compact-paper-list {
    padding-left: 0;
}

.compact-paper-item {
    background: var(--white);
    padding: 15px 25px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.compact-paper-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-left-color: var(--primary-color);
}

.cp-content {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

.cp-authors {
    font-family: 'Times New Roman', serif;
    font-weight: 700;
    color: #444;
}

.cp-authors strong {
    color: #000;
    text-decoration: underline;
}

.cp-journal {
    font-family: 'Times New Roman', serif;
    font-style: italic;
    color: var(--primary-color);
    font-weight: 600;
}

.cp-doi-link {
    display: inline-block;
    margin-left: 10px;
    font-size: 12px;
    color: #fff;
    background-color: #999;
    padding: 1px 8px;
    border-radius: 10px;
    transition: background-color 0.3s;
    vertical-align: middle;
}

.cp-doi-link:hover {
    background-color: var(--primary-color);
}

/* 5. 专利列表 */
.patent-list {
    counter-reset: patent-counter;
    padding-left: 0;
}

.patent-item {
    background: var(--white);
    padding: 15px 20px 15px 50px;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    position: relative;
    font-size: 16px;
    color: #444;
    line-height: 1.6;
}

.patent-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.patent-item::before {
    counter-increment: patent-counter;
    content: counter(patent-counter);
    position: absolute;
    left: 15px;
    top: 15px;
    width: 24px;
    height: 24px;
    background: #f0f0f0;
    color: #666;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
}

.patent-item:hover::before {
    background: var(--primary-color);
    color: #fff;
}

.patent-tag {
    display: inline-block;
    font-size: 12px;
    color: #fff;
    background: #4caf50;
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: 1px;
}


/* =========================================
   --- 奖励与荣誉专用样式 (Awards) ---
   ========================================= */

/* 1. 分类小标题 */
.category-title {
    font-size: 22px;
    color: #333;
    font-weight: 700;
    margin-top: 50px;
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 5px solid var(--primary-color);
    /* 统一用主色调 */
    display: flex;
    align-items: center;
}

.category-title:first-child {
    margin-top: 0;
}

.category-title span {
    color: #888;
    font-size: 14px;
    margin-left: 10px;
    font-weight: 400;
}

/* 2. 导师荣誉特色卡片 */
.prof-honor-box {
    background: linear-gradient(to right, #fff, #fdfdfd);
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.prof-honor-box:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.prof-icon {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 20px;
}

.prof-honor-box strong {
    font-size: 18px;
    color: var(--primary-color);
    margin-right: 10px;
}

/* 3. 学生荣誉列表样式 */
.award-list {
    list-style: none;
    padding: 0;
}

.award-item {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px dashed #eee;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.award-item:hover {
    background-color: #fcfcfc;
    transform: translateX(5px);
}

/* 年份标签 */
.award-year {
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    color: #999;
    font-size: 16px;
    margin-right: 25px;
    min-width: 60px;
}

.award-item:hover .award-year {
    color: var(--primary-color);
}

.award-content {
    flex: 1;
    font-size: 16px;
    color: #444;
}

/* 4. 奖项等级标签 */
.tag {
    display: inline-block;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: 1px;
    font-weight: 600;
}

.tag-gold {
    border: 1px solid #d4a017;
    color: #d4a017;
    background: #fffcf0;
}

.tag-blue {
    border: 1px solid #1e90ff;
    color: #1e90ff;
    background: #f0f8ff;
}

.tag-red {
    border: 1px solid #d32f2f;
    color: #d32f2f;
    background: #fff0f0;
}

/* 5. 国家奖学金网格 */
.scholarship-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.scholarship-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    transition: 0.3s;
}

.scholarship-card:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(152, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.scholarship-card .name {
    font-size: 18px;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.scholarship-card .year {
    font-size: 14px;
    opacity: 0.8;
}

/* 响应式 */
@media (max-width: 768px) {
    .award-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .award-year {
        margin-bottom: 5px;
        color: var(--primary-color);
    }
}

/* =========================================
   --- 组内活动专用样式 (Activities) ---
   ========================================= */

/* 1. 照片墙布局 */
.gallery-grid {
    display: grid;
    /* 自适应列宽，每列最小 320px */
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* 2. 照片卡片 */
.photo-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    /* 去掉链接下划线 */
}

/* 悬停效果：上浮 + 阴影加深 */
.photo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

/* 3. 图片容器 */
.photo-img-wrap {
    width: 100%;
    height: 240px;
    /* 固定高度，保证整齐 */
    overflow: hidden;
    position: relative;
    background-color: #f9f9f9;
}

.photo-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 智能裁剪，填满容器 */
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.photo-card:hover .photo-img-wrap img {
    transform: scale(1.1);
    /* 悬停缓慢放大 */
}

/* 4. 标题区域 */
.photo-caption {
    padding: 18px 20px;
    text-align: center;
    font-size: 16px;
    color: #444;
    font-weight: 500;
    background-color: #fff;
    border-top: 1px solid #f9f9f9;
    flex: 1;
    /* 填满剩余高度 */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.photo-card:hover .photo-caption {
    color: var(--primary-color);
    /* 悬停标题变红 */
}

/* 响应式调整 */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .photo-img-wrap {
        height: 200px;
    }
}


/* =========================================
   --- 联系我们专用样式 (Contact) ---
   ========================================= */

/* 1. 联系方式信息卡 (Grid布局) */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    margin-top: 30px;
}

.contact-card {
    background: #fbfbfb;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
}

.contact-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.contact-icon {
    font-size: 28px;
    color: var(--primary-color);
    margin-right: 20px;
    background: rgba(152, 0, 0, 0.08);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
    margin-top: 5px;
}

.contact-detail p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 2. 链接入口卡片 (招生/合作) */
.link-entry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.link-entry-card {
    display: block;
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.link-entry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.entry-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.entry-text h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.entry-text p {
    font-size: 14px;
    color: #888;
    margin-bottom: 0;
}

.entry-arrow {
    font-size: 24px;
    color: #ddd;
    transition: 0.3s;
}

.link-entry-card:hover .entry-arrow {
    color: var(--primary-color);
    transform: translateX(5px);
}

.entry-date {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
    font-size: 13px;
    color: #999;
    text-align: right;
}

/* 3. 文章页专用 (招生简章/项目合作) */
.article-meta {
    text-align: center;
    font-size: 14px;
    color: #999;
    margin-bottom: 40px;
    margin-top: -30px;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 4px solid var(--primary-color);
}

.article-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
    text-align: justify;
}

/* 引用块/寄语 */
.quote-box {
    background-color: #fcfcfc;
    border-left: 4px solid #ccc;
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
    font-family: "KaiTi", "楷体", serif;
}

/* 重点高亮框 */
.highlight-box {
    background-color: #fff;
    color: var(--primary-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    font-size: 24px;
    margin: 40px 0;
    border: 1px dashed var(--primary-color);
}

/* 合作列表 */
.coop-card {
    background: #fcfcfc;
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 8px;
    transition: var(--transition);
}

.coop-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.coop-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
}

.coop-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* 响应式 */
@media (max-width: 768px) {
    .contact-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .link-entry-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   --- 招生页面专用：报考咨询卡片 (紧凑精致版) ---
   ========================================= */

.admission-cta-card {
    background: #fff;
    border-radius: 8px;
    /* 顶部保留红线，作为品牌识别 */
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 30px 40px;
    /* 减小内边距 */
    margin-top: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    border-top-width: 4px;
    /* 确保顶部红线宽度 */
}

.admission-cta-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(152, 0, 0, 0.1);
}

.cta-title {
    font-size: 22px;
    /* 稍微减小标题字号 */
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    /* 减小标题下方的间距 */
    text-align: center;
}

/* 核心修改：Flex布局容器 */
.cta-methods {
    display: flex;
    justify-content: center;
    gap: 60px;
    /* 两个联系方式之间的横向间距 */
    margin-bottom: 25px;
    flex-wrap: wrap;
    /* 小屏自动换行 */
}

/* 核心修改：单项改为左右排列 */
.cta-item {
    display: flex;
    align-items: center;
    /* 垂直居中 */
    text-align: left;
    /* 文字左对齐 */
}

/* 图标圆圈变小，放在左边 */
.cta-icon-circle {
    width: 46px;
    height: 46px;
    background-color: #fff5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-color);
    margin-right: 15px;
    /* 图标和文字的距离 */
    flex-shrink: 0;
    /* 防止图标被挤压 */
    transition: 0.3s;
}

.cta-item:hover .cta-icon-circle {
    background-color: var(--primary-color);
    color: #fff;
}

.cta-text-group {
    display: flex;
    flex-direction: column;
}

.cta-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 2px;
}

.cta-value {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    font-family: Arial, sans-serif;
}

.cta-footer {
    border-top: 1px dashed #eee;
    padding-top: 15px;
    font-size: 13px;
    color: #888;
    text-align: center;
}

.cta-footer a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.cta-footer a:hover {
    border-bottom-color: var(--primary-color);
}

/* 手机端适配 */
@media (max-width: 768px) {
    .cta-methods {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        /* 手机端居中 */
    }

    .cta-item {
        min-width: 240px;
        /* 保证手机端宽度一致 */
    }
}

/* =========================================
   --- 招生页面：Slogan 专用样式 ---
   ========================================= */

.slogan-container {
    position: relative;
    /* background: linear-gradient(135deg, #fffcfc 0%, #fff 100%); 极淡的暖色背景 */
    padding: 30px 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    text-align: center;
    overflow: hidden;
    /* 防止装饰溢出 */
    border: 1px solid #f0f0f0;
}

/* 装饰性的大引号 (左上) */
.slogan-container::before {
    content: '“';
    position: absolute;
    top: -20px;
    left: 20px;
    font-family: Georgia, serif;
    font-size: 120px;
    color: var(--primary-color);
    opacity: 0.1;
    /* 淡淡的水印效果 */
    line-height: 1;
}

/* 装饰性的大引号 (右下) */
.slogan-container::after {
    content: '”';
    position: absolute;
    bottom: -60px;
    right: 20px;
    font-family: Georgia, serif;
    font-size: 120px;
    color: var(--primary-color);
    opacity: 0.1;
    line-height: 1;
}

/* 核心文字样式 */
.slogan-text {
    font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
    /* 使用宋体/衬线体 */
    font-size: 32px;
    font-weight: 700;
    color: #333;
    letter-spacing: 2px;
    z-index: 1;
    position: relative;
    transition: all 0.5s ease;
    display: inline-block;
    /* 为了让下划线效果生效 */
}

/* 中间的间隔点 */
.slogan-dot {
    color: var(--primary-color);
    margin: 0 15px;
    font-weight: 400;
    font-size: 24px;
    vertical-align: 2px;
}

/* 鼠标悬停时的优雅动效 */
.slogan-container:hover .slogan-text {
    letter-spacing: 6px;
    /* 文字舒展 */
    color: var(--primary-color);
    /* 变红 */
}

/* 手机端适配 */
@media (max-width: 768px) {
    .slogan-text {
        font-size: 20px;
        line-height: 2;
    }

    .slogan-dot {
        display: none;
        /* 手机端如果不换行，点可能会乱，或者可以直接换行显示 */
    }

    /* 手机端改成每句一行更霸气 */
    .slogan-text span {
        display: block;
        margin-bottom: 5px;
    }
}