/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #8b0000; /* 暗红色背景 */
    margin: 0;
    padding: 0;
}

/* 搜索弹窗样式 */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    width: 100%;
    background-color: #8b0000; /* 暗红色背景，与网站主色调一致 */
    padding: 30px 0;
    position: relative;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.search-overlay.active .search-container {
    transform: translateY(0);
}

.search-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    width: 90%;
    position: relative;
}

#search-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 14px;
    border: none;
    border-radius: 0;
    background-color: white;
    color: #1a73e8;
    outline: none;
}

#search-input::placeholder {
    color: #999;
}

#search-submit {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    color: #002b7f;
}

.close-search {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    color: white;
}

#search-submit svg,
.close-search svg {
    pointer-events: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .search-container {
        padding: 20px 0;
    }
    
    .search-content {
        width: 95%;
    }
    
    #search-input {
    padding: 12px 15px;
    font-size: 16px;
}
    
    .close-search {
        right: 15px;
        padding: 5px;
    }
    
    .close-search svg {
        width: 20px;
        height: 20px;
    }
}

/* 主容器样式 */
.page-container {
    max-width: calc(100% - 1cm); /* 左右各留出0.5厘米 */
    margin: 0 auto;
    background-color: white;
    min-height: 100vh;
    position: relative;
    padding-top: 90px;
}

/* 暗红色主题变量 */
:root {
    --purple-primary: #8b0000;
    --purple-secondary: #a00000;
    --gold-primary: #d4af37;
    --gold-secondary: #f4d03f;
    --bg-light: #f8f9fa;
    --text-dark: #333;
}

/* 头部样式 */
.thu-header {
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 38px, white 38px, white 100%);
    color: #002b7f;
    padding: 5px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0 20px;
    min-height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 20px;
    flex-wrap: nowrap;
    flex-direction: row;
}

.logo-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 15px;
}

.logo img {
    width: 55px;
    height: 55px;
    vertical-align: middle;
    margin-right: 15px;
}

.logo h1 {
    font-size: 18px;
    font-weight: bold;
    margin: 5px 0 0 0;
    white-space: nowrap;
    color: #8b0000;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

.logo p {
    font-size: 10px;
    margin: 2px 0 0 0;
    white-space: nowrap;
    color: #8b0000;
    font-family: 'Arial', sans-serif;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
}

nav ul {
    display: flex;
    list-style: none;
    flex-wrap: nowrap;
    justify-content: center;
    white-space: nowrap;
}

nav ul li {
    margin-left: 8px;
    margin-right: 8px;
    white-space: nowrap;
}

/* 导航栏分割线样式 */
nav ul li.nav-divider {
    width: 1px;
    background-color: #8b0000;
    height: 20px;
    margin: 0 10px;
    align-self: center;
}

/* 语言切换按钮样式 */
nav ul li.language-switch {
    margin-left: 20px;
    font-weight: bold;
}

nav ul li.language-switch a {
    padding: 5px 10px;
    border: none;
    border-radius: 0;
    color: #1a73e8;
    background-color: transparent;
    transition: all 0.3s ease;
}

nav ul li.language-switch a:hover {
    background-color: #1a73e8;
    color: white;
    text-decoration: none;
}

nav ul li a {
    color: #8b0000;
    text-decoration: none;
    font-size: 15px;
    padding: 6px 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-primary);
    transition: width 0.3s ease;
}

nav ul li a:hover::after, nav ul li a.active::after {
    width: 100%;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--gold-primary);
    transform: translateY(-2px);
}

.header-tools {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.search-input {
    padding: 6px 10px;
    border: none;
    border-radius: 15px;
    margin-right: 10px;
    font-size: 12px;
    width: 150px;
}

.language-select {
    font-size: 12px;
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.language-select:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 横幅样式 */
.thu-banner {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.banner-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #f0f0f0;
}

/* 第二张轮播图(banner4.jpg)特殊样式 - 优化显示效果 */
.banner-image img[src="images/banner4.jpg"] {
    object-position: center center;
    transform: scale(1.1);
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* SVG图片特殊样式 */
.banner-image img.svg-image {
    object-fit: contain;
    background-color: #f0f8ff;
}

.banner-image img.active {
    opacity: 1;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-text h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-text p {
    font-size: 18px;
    margin: 0;
    line-height: 1.5;
}

/* 轮播图控件容器 */
.banner-indicators {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    z-index: 3;
    border-radius: 6px 0 0 0;
}

/* 数字指示器和进度条样式 */
.indicator-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 15px;
}

.current-indicator {
    font-size: 20px;
    font-weight: bold;
    color: #8b0000;
    text-align: center;
}

.total-indicator {
    font-size: 14px;
    color: #8b0000;
}

.separator {
    font-size: 14px;
    color: #8b0000;
    margin: 0 5px;
}

/* 进度条样式 */
.progress-bar {
    width: 150px;
    height: 2px;
    background-color: #ddd;
    margin: 0 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: #8b0000;
    transition: width 0.3s ease;
}

/* 控制按钮样式 */
.banner-controls {
    display: flex;
    gap: 8px;
}

.control-btn {
    width: 36px;
    height: 36px;
    background-color: transparent;
    border: 1px solid #666;
    font-size: 16px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background-color: #8b0000;
    color: white;
    border-color: #8b0000;
}
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background-color: #8b0000;
    color: white;
    border-color: #8b0000;
}

/* 渐变背景效果 */
header {
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 38px, white 38px, white 100%);
    color: #002b7f;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 卡片悬停渐变效果 */
.research-item, .achievement-item {
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    transition: all 0.3s ease;
}

.research-item:hover, .achievement-item:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* 按钮渐变效果 */
.more-link {
    background: linear-gradient(90deg, var(--purple-primary) 0%, var(--purple-secondary) 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.more-link:hover {
    background: linear-gradient(90deg, var(--purple-secondary) 0%, var(--purple-primary) 100%);
    text-decoration: none;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
    border-color: var(--gold-primary);
}

/* 页脚渐变效果 */
footer {
    background: linear-gradient(180deg, #8b0000 0%, #6b0000 100%);
    color: white;
    padding: 40px 0;
    position: relative;
}

/* 会议海报样式 */
.poster-section .poster-image img {
    border-radius: 15px;
    height: 350px; /* 增加图片高度 */
    width: 100%; /* 保持宽度自适应 */
    object-fit: contain; /* 保持图片比例不变 */
    margin-top: 20px; /* 添加上边距使图片向下移动 */
    transform: scale(1.02); /* 应用原来悬停时的缩放效果 */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* 应用原来悬停时的阴影效果 */
    transition: all 0.3s ease;
}

/* 页脚下拉菜单区域 */
.footer-dropdowns {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer-dropdowns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 10px 15px;
    }
    
    .dropdown {
        max-width: 100%;
        width: 90%;
    }
    
    .dropdown select {
        padding: 14px 45px 14px 20px;
        font-size: 16px; /* 防止iOS缩放 */
        border-radius: 25px;
        width: 100%;
        box-sizing: border-box;
        background-position: right 20px center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .footer-dropdowns {
        gap: 12px;
        padding: 10px 15px;
    }
    
    .dropdown {
        max-width: 100%;
        min-width: 220px;
    }
    
    .dropdown select {
        padding: 13px 40px 13px 20px;
        background-position: right 18px center;
    }
}

.dropdown {
    flex: 1;
    max-width: 100%;
    min-width: 260px;
}

.dropdown select {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 14px 45px 14px 25px;
    border-radius: 25px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 12a.5.5 0 0 0 .5-.5V5.707l2.146 2.147a.5.5 0 0 0 .708-.708l-3-3a.5.5 0 0 0-.708 0l-3 3a.5.5 0 1 0 .708.708L7.5 5.707V11.5a.5.5 0 0 0 .5.5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.dropdown select:hover {
    border-color: rgba(255, 255, 255, 0.9);
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.dropdown select:focus {
    outline: none;
    border-color: white;
    background-color: rgba(255, 255, 255, 0.2);
}

/* 页脚内容容器 */
.footer-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* 页脚信息容器 */
.footer-info-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px 0;
}

/* 页脚背景装饰 */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(white 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.05;
    z-index: 0;
}

/* 页脚栏 */
.footer-column {
    flex: 1;
    min-width: 250px;
}

/* 页脚二维码 */
.footer-qrcode {
    text-align: center;
    margin-top: 20px;
}

.footer-qrcode img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: white;
    padding: 10px;
}

.footer-qrcode p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-top: 10px;
    font-weight: bold;
}

/* 页脚标志 */
.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 公司信息 */
.footer-company h3 {
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.3;
}

.footer-company p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    line-height: 1.3;
    margin: 0;
}

/* 栏目标题 */
.footer-column h4 {
    color: white;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* 栏目列表 */
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 2;
    margin-bottom: 10px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .footer-info-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-column {
        width: 100%;
        max-width: 400px;
    }
    
    .footer-logo {
        display: flex;
        justify-content: center;
    }
}

.footer-shield img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer-dropdowns {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-info-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-info {
        min-width: auto;
    }
}

@media (max-width: 992px) {
    .footer-content {
        max-width: calc(100% - 1cm);
        flex-direction: column;
    }
    
    .footer-logo {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .footer-info {
        margin: 10px 0;
    }
    
    .footer-shield {
        margin-left: 0;
        margin-top: 20px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 主要内容样式 */
main {
    width: 100%;
    padding: 30px 20px;
    scroll-behavior: smooth;
}

/* 移除多余的thu-main样式，避免冲突 */
.thu-main {
    width: 100%;
    margin: 0;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
}

/* 添加页面顶部渐变 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(122, 47, 143, 0.05) 0%, rgba(155, 89, 182, 0.05) 50%, rgba(122, 47, 143, 0.05) 100%);
    pointer-events: none;
    z-index: -1;
}

/* 研究亮点与海报容器样式 */
.research-poster-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-left: 0;
}

/* 研究亮点样式 */
.research-highlights {
    flex: 3;
    position: relative;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(122, 47, 143, 0.1);
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 6px;
    padding: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    height: 100%;
    min-height: 340px;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.highlight-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.highlight-item:hover .highlight-image img {
    transform: scale(1.05);
}

.highlight-info {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.highlight-date {
    color: #8b0000;
    font-size: 16px;
    margin-bottom: 8px;
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid #8b0000;
    border-radius: 20px;
    background-color: white;
    font-weight: bold;
    text-align: center;
}

.highlight-info h3 {
    font-size: 18px;
    margin: 0 0 6px 0;
    color: #333;
    font-weight: 500;
    line-height: 1.6;
}

.highlight-info p {
    font-size: 16px;
    margin: 0;
    color: #666;
    line-height: 1.4;
    overflow: hidden;
}

/* 移除研究亮点部分链接的下划线 */
.highlight-item a {
    text-decoration: none;
    color: inherit;
}

.highlight-item a:hover {
    text-decoration: none;
    color: inherit;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 学生活动 */
.activities-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.activity-item {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    background-color: #f9f9f9;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.activity-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.activity-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.activity-item:hover .activity-image img {
    transform: scale(1.05);
}

.activity-info {
    padding: 15px;
}

.activity-info h3 {
    font-size: 14px;
    margin: 0 0 8px 0;
    color: #333;
    font-weight: bold;
}

.activity-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* 招生信息 */
.admission-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.admission-item {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    background-color: #f9f9f9;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 15px;
}

.admission-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.admission-item h3 {
    font-size: 14px;
    margin: 0 0 10px 0;
    color: #333;
    font-weight: bold;
}

.admission-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 5px 0;
}

/* 学生生活 */
.life-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.life-item {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    background-color: #f9f9f9;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.life-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.life-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.life-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.life-item:hover .life-image img {
    transform: scale(1.05);
}

.life-info {
    padding: 10px;
    text-align: center;
}

.life-caption {
    font-size: 14px;
    color: #333;
    margin: 0;
}

.highlights-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination-dots {
    display: flex;
    gap: 8px;
}

.pagination-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dots .dot.active {
    background-color: var(--purple-primary);
    transform: scale(1.2);
}

/* 海报区域样式 */
.poster-section {
    flex: 1;
    position: relative;
    background-color: #fff;
    border-radius: 6px;
    padding: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: none;
}

.poster-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.poster-image {
    position: relative;
    width: 100%;
    height: 340px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.poster-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.poster-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 15px;
}

.poster-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.poster-date {
    font-size: 12px;
}

/* 通用部分样式 */
.thu-section {
    position: relative;
    background-color: white;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(122, 47, 143, 0.1);
}

.thu-section:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(139, 0, 0, 0.2);
}

.header-icon {
    font-size: 20px;
    margin-right: 10px;
    color: var(--purple-primary);
}

.section-header h2 {
    font-size: 18px;
    margin: 0;
    color: var(--purple-primary);
    font-weight: bold;
}

.more-link {
    margin-left: auto;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.more-link:hover {
    color: var(--gold-primary);
    text-decoration: underline;
}

/* 新闻链接样式 */
.news-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.news-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sub-news-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
    display: block;
}

.sub-news-link:hover {
    color: var(--purple-primary);
    text-decoration: underline;
}

/* 标签页样式 */
.section-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--purple-primary);
}

.section-tab, .tab-btn {
    padding: 10px 20px;
    margin-right: 10px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    color: var(--purple-primary);
    font-weight: bold;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.section-tab::after, .tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--purple-primary);
    transition: width 0.3s ease;
}

.section-tab:hover::after, .tab-btn:hover::after, .section-tab.active::after, .tab-btn.active::after {
    width: 100%;
}

.section-tab:hover, .tab-btn:hover, .section-tab.active, .tab-btn.active {
    color: var(--gold-primary);
    transform: translateY(-2px);
}

.tab-content {
    display: none;
    padding: 20px;
    background-color: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 6px 6px;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* 新闻公告样式 */
.news-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-left: 0;
}

.news-section {
    position: relative;
    flex: 3;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(122, 47, 143, 0.1);
}

/* 新闻轮播容器 */
.news-carousel-container {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
    height: 500px;
    justify-content: space-between;
    align-items: stretch;
}

/* 左侧主新闻轮播 */
.main-news-carousel {
    flex: 1;
    position: relative;
    min-width: 0;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-item {
    display: none;
    width: 100%;
    transition: all 0.3s ease;
}

.carousel-item.active {
    display: block;
}

.news-banner {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 宽高比 */
    overflow: hidden;
    margin-bottom: 15px;
}

.news-banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.carousel-item:hover .news-banner img {
    transform: scale(1.03);
}

.news-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #8b0000;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    z-index: 1;
}

.carousel-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
}

.carousel-item h3 a {
    color: #000000;
    text-decoration: none;
}

.carousel-item .news-date {
    font-size: 14px;
    color: #666;
}

/* 轮播指示器 */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 5px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover,
.indicator.active {
    background-color: #8b0000;
    transform: scale(1.2);
}

/* 右侧子新闻轮播 */
.sub-news-carousel {
    flex: 1;
    min-width: 380px;
    margin-left: 30px;
}

.sub-news-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sub-news-item {
    padding: 8px 10px;
    margin-bottom: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #ffffff;
    box-sizing: border-box;
}

.sub-news-item:last-child {
    margin-bottom: 0;
}

.sub-news-item:hover,
.sub-news-item.active {
    background-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #8b0000;
}

.sub-news-item .news-date {
    color: rgb(4, 30, 66);
    font-size: 10px;
    margin-bottom: 4px;
    display: inline-block;
    padding: 2px 6px;
    border: 1px solid #8b0000;
    border-radius: 12px;
    background-color: white;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

.sub-news-item:hover .news-date,
.sub-news-item.active .news-date {
    background-color: white;
    color: rgb(4, 30, 66);
}

.sub-news-item h4 {
    font-size: 13px;
    color: #333;
    line-height: 1.4;
    margin: 0;
    font-weight: normal;
}

.sub-news-link {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sub-news-link:hover {
    color: var(--purple-primary);
    text-decoration: none;
}

/* 响应式布局 */
@media (max-width: 1024px) {
    .news-carousel-container {
        height: auto;
        min-height: 500px;
    }
    
    .sub-news-carousel {
        margin-left: 20px;
        min-width: 320px;
    }
}

@media (max-width: 768px) {
    .news-carousel-container {
        flex-direction: column;
        height: auto;
    }
    
    .sub-news-carousel {
        flex: none;
        width: 100%;
        margin-left: 0;
        margin-top: 30px;
    }
    
    .sub-news-item {
        padding: 20px 15px;
        margin-bottom: 15px;
    }
    
    .sub-news-item h4 {
        font-size: 16px;
    }
}

.announcement-section {
    position: relative;
    flex: 1;
    background-color: white;
    padding: 20px 20px 20px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(122, 47, 143, 0.1);
}

/* 首页新闻样式 */
.news-list {
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    width: 100%;
}

.main-news-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.news-banner {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 80%; /* 增加图片比例，使其纵向拉长 */
    overflow: hidden;
}

.news-banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #1a73e8;
    color: white;
    padding: 3px 8px;
    font-size: 12px;
    border-radius: 3px;
}

.main-news-item h3 {
    font-size: 16px;
    margin: 15px;
    color: #333;
    line-height: 1.4;
}

.main-news-item .news-date {
    font-size: 12px;
    color: #333;
    margin: 0 15px 15px 15px;
    display: inline-block;
    padding: 4px 8px;
    border: none;
    border-radius: 4px;
    background-color: transparent;
    font-weight: bold;
    text-align: center;
}

.sub-news-list {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.news-item {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 6px;
    padding: 12px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    position: relative;
}

.news-item:nth-child(1) { animation-delay: 0.1s; }
.news-item:nth-child(2) { animation-delay: 0.2s; }
.news-item:nth-child(3) { animation-delay: 0.3s; }
.news-item:nth-child(4) { animation-delay: 0.4s; }

.news-item:hover {
    border-color: var(--purple-primary, #8b0000);
    background-color: rgba(139, 0, 0, 0.02);
}

.item-info {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 0;
    flex: 1;
    font-weight: 500;
}

.news-item a:hover {
    color: var(--purple-primary);
}

.news-date {
    color: #333;
    font-size: 12px;
    margin-bottom: 5px;
    display: inline-block;
    border: none;
    border-radius: 4px;
    background-color: transparent;
    font-weight: bold;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* 为子新闻项添加紫色圆形背景的日期样式 */
.news-item .news-date {
    margin-bottom: 8px;
    background-color: var(--purple-primary, #8b0000);
    color: white;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 11px;
}

.announcement-list {
    margin-bottom: 20px;
}

.announcement-item {
    display: block;
    padding: 15px 0;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    position: relative;
}

.announcement-item:nth-child(1) { animation-delay: 0.1s; }
.announcement-item:nth-child(2) { animation-delay: 0.2s; }
.announcement-item:nth-child(3) { animation-delay: 0.3s; }
.announcement-item:nth-child(4) { animation-delay: 0.4s; }

.announcement-item:hover {
    transform: translateX(3px);
}

.announcement-date {
    color: #8b0000;
    font-size: 12px;
    margin-bottom: 8px;
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid #8b0000;
    border-radius: 20px;
    background-color: white;
    font-weight: bold;
    text-align: center;
}

/* 最新公告时间线样式 */
.timeline-list {
    position: relative;
    padding-left: 20px;
    margin-left: 10px;
}

.timeline-list::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 0;
    width: 2px;
    background-color: rgba(139, 0, 0, 0.2);
    display: block;
}

/* 时间图标样式 - 已移除圆点 */
.date-icon {
    display: none;
}

.announcement-item .item-info {
    display: block;
}

.announcement-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 16px;
    line-height: 1.6;
    font-weight: normal;
    display: block;
    margin-top: 8px;
}
}

.announcement-item a:hover {
    color: var(--purple-primary);
}

/* 新闻详情页样式 */
.news-item .news-date {
    width: 100px;
    font-weight: bold;
    color: rgb(4, 30, 66);
    font-size: 14px;
    margin-right: 20px;
    padding: 5px 12px;
    border: none;
    border-radius: 4px;
    background-color: transparent;
    text-align: center;
}

/* 新闻详情页动画 */
.news-section .news-item {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.news-section .news-item:nth-child(1) { animation-delay: 0.1s; }
.news-section .news-item:nth-child(2) { animation-delay: 0.2s; }
.news-section .news-item:nth-child(3) { animation-delay: 0.3s; }
.news-section .news-item:nth-child(4) { animation-delay: 0.4s; }
.news-section .news-item:nth-child(5) { animation-delay: 0.5s; }
.news-section .news-item:nth-child(6) { animation-delay: 0.6s; }
.news-section .news-item:nth-child(7) { animation-delay: 0.7s; }
.news-section .news-item:nth-child(8) { animation-delay: 0.8s; }

.news-item .news-content {
    flex: 1;
}

.news-item .news-content h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.news-item .news-content p {
    color: #666;
    line-height: 1.8;
    text-align: justify;
}

.more-link {
    position: absolute;
    right: 30px;
    top: 30px;
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.more-link:hover {
    text-decoration: underline;
    color:var(--gold-primary);
}

/* 关于我们样式 */
.about-main {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding: 20px 0;
}

.about-year {
    font-size: 120px;
    font-weight: bold;
    color: var(--purple-primary);
    line-height: 1;
    min-width: 200px;
    text-align: center;
    font-family: 'Times New Roman', serif;
}

.about-content {
    flex: 1;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.about-content img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    border: 4px solid transparent;
    background: linear-gradient(45deg, var(--purple-primary), var(--gold-primary), var(--purple-primary)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    transition: all 0.3s ease;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    flex: 1;
    min-width: 300px;
}

.about-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.about-content img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.about-research-image {
    margin: 20px 0;
    text-align: center;
}

.about-research-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 4px solid transparent;
    background: linear-gradient(45deg, var(--purple-primary), var(--gold-primary), var(--purple-primary)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    transition: all 0.3s ease;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 15px;
    text-align: justify;
    line-height: 1.8;
    font-size: 18px; /* 增加字体大小 */
}

/* 科研方向样式 */
.research-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.research-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.research-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.research-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.research-item h3 {
    color:var(--purple-primary);
    margin-bottom: 10px;
}

.research-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 研究成果样式 */
.achievements-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.achievement-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #ddd;
    position: relative;
    overflow: hidden;
}

.achievement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b0000 0%, #6b0000 100%);
}

.achievement-item h3 {
    color: rgb(4, 30, 66);
    margin-bottom: 10px;
    font-size: 16px;
}

.achievement-item p {
    color: #333;
    font-size: 14px;
}

/* 研究成果详情样式 */
.achievements-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.achievement-category {
    margin-bottom: 20px;
}

.achievement-category h3 {
    color: rgb(4, 30, 66);
    margin-bottom: 15px;
    font-size: 20px;
    border-left: 4px solid rgb(4, 30, 66);
    padding-left: 15px;
}

.achievements-content .achievement-list {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.achievements-content .achievement-item {
    text-align: left;
    padding: 20px;
}

.achievements-content .achievement-item h4 {
    color: rgb(4, 30, 66);
    margin-bottom: 8px;
    font-size: 16px;
}

/* 科研平台样式 */
.platform-section {
    margin-bottom: 30px;
}

.platform-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.platform-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #ddd;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.platform-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b0000 0%, #6b0000 100%);
}

.platform-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.platform-item h3 {
    color: rgb(4, 30, 66);
    margin-bottom: 10px;
    font-size: 16px;
}

.platform-item p {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

/* 人才队伍样式 */
.team-section {
    margin-bottom: 30px;
}

.team-category {
    margin-bottom: 30px;
}

.team-category h3 {
    color:var(--purple-primary);
    margin-bottom: 20px;
    font-size: 20px;
    border-left: 4px solid var(--purple-primary);
    padding-left: 15px;
}

.team-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.team-member {
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 3px solid var(--purple-primary);
}

.team-member h4 {
    color:var(--purple-primary);
    margin-bottom: 5px;
    font-size: 16px;
}

.team-member p {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

/* 开放交流样式 */
.exchange-section {
    margin-bottom: 30px;
}

.exchange-section h3 {
    color:rgb(4, 30, 66);
    margin-bottom: 15px;
    font-size: 20px;
}

.exchange-section p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

/* 信息公开联系方式样式 */
.contact-info-section {
    margin-bottom: 30px;
}

.contact-info-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.contact-info-box {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

/* 视频讲解区域样式 */
.video-section-container {
    margin-bottom: 30px;
}

.video-section {
    position: relative;
    background-color: white;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(122, 47, 143, 0.1);
}

.video-section:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.video-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 宽高比 */
    height: 0;
    overflow: hidden;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-info {
    padding: 15px;
}

.video-info h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--purple-primary);
}

.video-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* 近期活动模块样式 */
.recent-activities-container {
    margin-bottom: 30px;
}

.recent-activities-section {
    position: relative;
    background-color: white;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(122, 47, 143, 0.1);
}

.recent-activities-section:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.activity-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.activity-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.activity-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.activity-item:hover .activity-image img {
    transform: scale(1.05);
}

.activity-info {
    padding: 15px;
}

.activity-date {
    display: inline-block;
    padding: 4px 10px;
    background-color: var(--purple-primary);
    color: white;
    font-size: 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.activity-info h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
}

.activity-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* 人社咨询模块样式 */
.consultation-section-container {
    margin-bottom: 30px;
}

.consultation-section {
    position: relative;
    background-color: white;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(122, 47, 143, 0.1);
}

.consultation-section:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.consultation-content {
    margin-top: 20px;
}

.consultation-category {
    margin-bottom: 25px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid var(--purple-primary);
}

.consultation-category h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--purple-primary);
    font-weight: 500;
}

.news-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.news-item {
    flex: 1;
    min-width: 200px;
    padding: 10px 15px;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    position: relative;
    padding-left: 20px;
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.news-item:before {
    content: "◆";
    position: absolute;
    left: 8px;
    color: var(--purple-primary);
    font-size: 12px;
}

.consultation-category:last-child {
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .video-wrapper {
        padding-bottom: 56.25%;
    }
    
    .activity-image {
        height: 150px;
    }
}

/* 公司动态页面样式 */
.news-section-container {
    margin-bottom: 30px;
    padding: 0 20px;
}

.company-profile-container {
    margin-bottom: 30px;
    padding: 0 20px;
}

.news-section-container .news-section {
    width: 100%;
}

.company-profile-container .company-profile {
    width: 100%;
}

.profile-content {
    padding: 20px;
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

.profile-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.profile-content p:last-child {
    margin-bottom: 0;
}

/* 活动专区页面样式 */
.activity-section-container {
    margin-bottom: 30px;
    padding: 0 20px;
}

.activity-section .activity-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.activity-section .activity-video {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.activity-section .activity-description h3 {
    font-size: 20px;
    color: var(--purple-primary);
    margin-bottom: 15px;
}

.activity-section .activity-description p {
    line-height: 1.8;
    color: #333;
    font-size: 16px;
}

.activity-list-container {
    margin-bottom: 30px;
    padding: 0 20px;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.activity-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.activity-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.activity-item a:hover {
    text-decoration: none;
}

.activity-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.activity-item .activity-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.activity-item .activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.activity-item:hover .activity-image img {
    transform: scale(1.05);
}

.activity-item .activity-info {
    padding: 20px;
}

.activity-item .activity-date {
    color: #8b0000;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid #8b0000;
    border-radius: 12px;
    background-color: white;
}

.activity-item h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 500;
}

.activity-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 岗位招聘页面样式 */
.jobs-section-container {
    margin-bottom: 30px;
    padding: 0 20px;
}

.jobs-intro {
    padding: 20px;
    line-height: 1.8;
    font-size: 16px;
    color: #333;
    text-align: justify;
}

.jobs-list-container {
    margin-bottom: 30px;
    padding: 0 20px;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.job-item {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
}

.job-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.job-item .job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.job-item .job-header h4 {
    font-size: 18px;
    color: #333;
    margin: 0;
    font-weight: 500;
}

.job-item .job-tag {
    background-color: var(--purple-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.job-item .job-info {
    flex: 1;
    margin-bottom: 15px;
}

.job-item .job-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 8px 0;
}

.job-item .job-info strong {
    color: #333;
    font-weight: 500;
}

/* 新的岗位信息行样式 */
.job-info-row {
    display: flex;
    margin-bottom: 10px;
    align-items: flex-start;
}

.job-info-label {
    font-weight: bold;
    color: #333;
    width: 100px;
    flex-shrink: 0;
}

.job-info-value {
    color: #666;
    flex: 1;
    line-height: 1.4;
}

/* 考试详情样式 */
.exam-details p {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
    line-height: 1.4;
}

/* 成绩详情样式 */
.result-details {
    flex: 1;
}

.result-details p {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
    line-height: 1.4;
}

/* 调整成绩查询按钮位置 */
.exam-result-item .view-result-btn {
    margin-top: 0;
}

.job-item .job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.job-item .job-date {
    font-size: 12px;
    color: #999;
}

.job-item .apply-btn {
    background-color: var(--purple-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.job-item .apply-btn:hover {
    background-color: var(--purple-secondary);
    transform: translateY(-2px);
}

/* 党政学习页面样式 */
.party-section-container {
    margin-bottom: 30px;
    padding: 0 20px;
}

.party-intro {
    padding: 20px;
    line-height: 1.8;
    font-size: 16px;
    color: #333;
    text-align: justify;
}

.party-content-container {
    margin-bottom: 30px;
    padding: 0 20px;
}

.learning-modules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.learning-item {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    text-align: center;
}

.learning-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.learning-item .learning-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.learning-item h4 {
    font-size: 18px;
    color: var(--purple-primary);
    margin-bottom: 10px;
    font-weight: 500;
}

.learning-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.party-activities-container {
    margin-bottom: 30px;
    padding: 0 20px;
}

.activities-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.activity-row {
    display: flex;
    gap: 20px;
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.activity-row:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.activity-row .activity-date-box {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-secondary) 100%);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.activity-row .activity-month {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
}

.activity-row .activity-year {
    font-size: 14px;
    margin-top: 5px;
}

.activity-row .activity-detail {
    flex: 1;
}

.activity-row .activity-detail h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 500;
}

.activity-row .activity-detail p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 关于我们页面样式 */
.about-section-container {
    margin-bottom: 30px;
    padding: 0 20px;
}

.about-content-wrapper {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.about-image {
    flex: 4;
    overflow: hidden;
    border-radius: 8px;
    max-height: 350px; /* 适当减小图片高度 */
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 100%;
}

.about-text {
    flex: 6;
    line-height: 1.8;
    font-size: 16px;
    color: #333;
    text-align: justify;
}

.about-text p {
    margin-bottom: 15px;
    text-indent: 2em; /* 首行缩进两个字符 */
}

/* 响应式布局 */
@media (max-width: 768px) {
    .about-content-wrapper {
        flex-direction: column;
    }
    
    .about-image {
        flex: none;
        height: 300px;
    }
    
    .about-text {
        flex: none;
    }
}

.mission-container {
    margin-bottom: 30px;
    padding: 0 20px;
}

.mission-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mission-item {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.mission-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mission-item h4 {
    font-size: 18px;
    color: var(--purple-primary);
    margin-bottom: 10px;
    font-weight: 500;
}

.mission-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.services-container {
    margin-bottom: 30px;
    padding: 0 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-item {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    text-align: center;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-item .service-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.service-item h4 {
    font-size: 18px;
    color: var(--purple-primary);
    margin-bottom: 10px;
    font-weight: 500;
}

.service-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.contact-container {
    margin-bottom: 30px;
    padding: 0 20px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 1.8;
}

.contact-item strong {
    color: var(--purple-primary);
    font-weight: 500;
    margin-right: 10px;
    min-width: 100px;
}

.contact-item span {
    color: #333;
}

/* 考试模块左右并排布局 */
.exam-sections-wrapper {
    display: flex;
    gap: 20px;
    padding: 0 20px;
    margin-bottom: 30px;
    height: 500px; /* 设置固定高度，可根据实际内容调整 */
}

.exam-sections-wrapper .exam-schedule-container {
    flex: 1;
    margin-bottom: 0;
    overflow-y: auto;
    max-height: 100%;
}

.exam-sections-wrapper .exam-results-container {
    flex: 1;
    margin-bottom: 0;
    overflow-y: auto;
    max-height: 100%;
}

/* 自定义滚动条样式 */
.exam-sections-wrapper .exam-schedule-container::-webkit-scrollbar,
.exam-sections-wrapper .exam-results-container::-webkit-scrollbar {
    width: 8px;
}

.exam-sections-wrapper .exam-schedule-container::-webkit-scrollbar-track,
.exam-sections-wrapper .exam-results-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.exam-sections-wrapper .exam-schedule-container::-webkit-scrollbar-thumb,
.exam-sections-wrapper .exam-results-container::-webkit-scrollbar-thumb {
    background: var(--purple-primary);
    border-radius: 4px;
}

.exam-sections-wrapper .exam-schedule-container::-webkit-scrollbar-thumb:hover,
.exam-sections-wrapper .exam-results-container::-webkit-scrollbar-thumb:hover {
    background: var(--purple-secondary);
}



/* 考试时间安排模块样式 */
.exam-schedule-container {
    margin-bottom: 30px;
    padding: 0;
}

.exam-schedule-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.exam-schedule-item {
    display: flex;
    gap: 20px;
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.exam-schedule-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.exam-schedule-item .exam-date {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-secondary) 100%);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.exam-schedule-item .exam-day {
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
}

.exam-schedule-item .exam-month {
    font-size: 14px;
    margin-top: 5px;
}

.exam-schedule-item .exam-info {
    flex: 1;
}

.exam-schedule-item .exam-info h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 500;
}

.exam-schedule-item .exam-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 6px 0;
}

.exam-schedule-item .exam-info strong {
    color: var(--purple-primary);
    font-weight: 500;
}

/* 考试成绩公布模块样式 */
.exam-results-container {
    margin-bottom: 30px;
    padding: 0;
}

.exam-results-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.exam-result-item {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.exam-result-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.exam-result-item .result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.exam-result-item .result-header h4 {
    font-size: 16px;
    color: #333;
    margin: 0;
    font-weight: 500;
    flex: 1;
}

.exam-result-item .result-status {
    background-color: var(--purple-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.exam-result-item .result-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.exam-result-item .result-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.exam-result-item .result-info strong {
    color: #333;
    font-weight: 500;
}

.exam-result-item .view-result-btn {
    background-color: var(--purple-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 10px;
}

.exam-result-item .view-result-btn:hover {
    background-color: var(--purple-secondary);
    transform: translateY(-2px);
}

/* 响应式布局 - 小屏幕垂直堆叠 */
@media (max-width: 768px) {
    .exam-sections-wrapper {
        flex-direction: column;
    }
    
    .exam-sections-wrapper .exam-schedule-container {
        margin-bottom: 20px;
    }
    
    .exam-sections-wrapper .exam-results-container {
        margin-bottom: 0;
    }
}

/* 招聘专区样式 */
.recruitment-section {
    margin-bottom: 30px;
    padding: 0 20px;
}

.recruitment-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.recruitment-header h2 {
    color: #ff0000;
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    position: relative;
    display: inline-block;
}

.recruitment-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #ff0000;
}

.recruitment-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recruitment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.recruitment-item a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.recruitment-item a::before {
    content: '•';
    color: #333;
    font-size: 16px;
}

.recruitment-item a:hover {
    color: var(--purple-primary);
}

.recruitment-date {
    color: #666;
    font-size: 14px;
    white-space: nowrap;
    margin-left: 20px;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 10px;
}

.pagination a {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    border-color: var(--purple-primary);
    color: var(--purple-primary);
}

.pagination .page-number.active {
    background-color: #e0e0e0;
    border-color: #e0e0e0;
    color: #333;
    font-weight: 500;
}

.pagination .prev-page,
.pagination .next-page {
    border-color: #e0e0e0;
    color: #666;
}

.pagination .prev-page:hover,
.pagination .next-page:hover {
    border-color: var(--purple-primary);
    color: var(--purple-primary);
}

/* 党政学习页面样式 */

/* 标签页内容 */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 卡片容器 */
.party-cards-container {
    margin-bottom: 30px;
}

/* 导航栏 */
.party-nav {
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-item {
    padding: 20px 30px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-item:hover {
    color: #ff0000;
}

.nav-item.active {
    color: #ff0000;
    font-weight: 500;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #ff0000;
}

/* 党建动态标题 */
.party-section-header {
    text-align: center;
    margin: 50px 0 40px;
    position: relative;
}

.party-section-header h2 {
    color: #333;
    font-size: 28px;
    font-weight: bold;
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
}

.party-section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: #ff0000;
}

/* 党建动态内容 */
.party-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.party-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* 卡片布局 */
.party-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* 响应式布局调整 */
@media (max-width: 1200px) {
    .party-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .party-cards {
        grid-template-columns: 1fr;
    }
}

.party-card {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.party-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* 日期标签 */
.card-date {
    text-align: center;
    color: #666;
    font-size: 14px;
    padding: 10px 0;
    background-color: #f5f5f5;
    margin-top: auto;
}

/* 卡片内容 */
.card-content {
    padding-left: 0;
}

/* 卡片内容 */
.card-title {
    font-size: 16px;
    color: #333;
    margin: 15px 15px 10px;
    font-weight: 500;
    line-height: 1.4;
}

.card-desc {
    font-size: 14px;
    color: #666;
    margin: 0 15px 15px;
    line-height: 1.5;
}

/* 卡片图片 */
.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.party-card:hover .card-image img {
    transform: scale(1.05);
}

/* 暂无图片 */
.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background-color: #f5f5f5;
    color: #999;
    font-size: 16px;
}

/* 分页 */
.party-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
}

.page-btn {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.page-btn:hover {
    border-color: #ff0000;
    color: #ff0000;
}

.page-btn.active {
    background-color: #ff0000;
    border-color: #ff0000;
    color: white;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0;
}

.pagination a {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    border-color: #8b0000;
    color: #8b0000;
}

.pagination .page-number.active {
    background-color: #8b0000;
    border-color: #8b0000;
    color: white;
}

.pagination .prev-page,
.pagination .next-page {
    background-color: white;
    border-color: #ddd;
}

.pagination .prev-page:hover,
.pagination .next-page:hover {
    background-color: #f9f9f9;
}

/* 面包屑导航样式 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    margin-bottom: 30px;
    background-color: #f5f5f5;
    border-radius: 4px;
    font-size: 14px;
}

.breadcrumb a {
    color: #8b0000;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #a00000;
    text-decoration: underline;
}

.breadcrumb span {
    color: #666;
}

/* 新闻详情页面样式 */
.news-detail-container {
    margin: 40px 0;
}

.news-detail-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.news-detail-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.news-detail-header h3 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-detail-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.news-detail-date {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--purple-primary);
    color: white;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.news-detail-body {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-detail-image {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.news-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.news-detail-text {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.news-detail-text p {
    margin-bottom: 20px;
    text-indent: 2em;
}

.news-detail-text ul {
    margin-bottom: 20px;
    padding-left: 40px;
}

.news-detail-text li {
    margin-bottom: 10px;
    list-style-type: disc;
}

/* 右侧固定按钮 */
.fixed-buttons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.fixed-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #ff0000;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.fixed-btn:hover {
    transform: translateX(-10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-icon {
    font-size: 20px;
    margin-bottom: 5px;
}

.btn-text {
    font-size: 12px;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .party-banner {
        height: 300px;
    }
    
    .banner-main-title {
        font-size: 36px;
    }
    
    .nav-content {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-item {
        padding: 15px 20px;
    }
    
    .party-cards {
        grid-template-columns: 1fr;
    }
    
    .fixed-buttons {
        right: 10px;
    }
    
    .fixed-btn {
        width: 50px;
        height: 50px;
    }
    
    .btn-text {
        font-size: 10px;
    }
}

.contact-info-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-color: rgba(4, 30, 66, 0.2);
}

.contact-info-box h3 {
    color: rgb(4, 30, 66);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(4, 30, 66, 0.1);
}

.contact-info-box p {
    color: #333;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    flex: 1;
    padding-top: 5px;
}

/* 学生园地样式 */
.students-section {
    margin-bottom: 30px;
}

.students-section h3 {
    color:rgb(4, 30, 66);
    margin-bottom: 15px;
    font-size: 20px;
}

.students-section p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

/* 党建思政样式 */
.party-section {
    margin-bottom: 30px;
}

.party-section h3 {
    color:rgb(4, 30, 66);
    margin-bottom: 15px;
    font-size: 20px;
}

/* 人才招聘板块样式 */
.recruitment-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.recruitment-item {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(122, 47, 143, 0.1);
    transition: all 0.3s ease;
}

.recruitment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.recruitment-item h3 {
    color: var(--purple-primary);
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(26, 115, 232, 0.2);
}

.recruitment-item ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.recruitment-item ul li {
    color: #333;
    line-height: 1.8;
    margin-bottom: 8px;
    font-size: 14px;
}

.apply-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--purple-primary);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.apply-btn:hover {
    background-color: var(--gold-primary);
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

.party-section p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

/* 页脚样式 */
.thu-footer {
    background: linear-gradient(180deg, var(--purple-primary) 0%, #001a57 100%);
    color: white;
    padding: 30px 0;
}

.footer-content {
    width: 100%;
    padding: 0 20px;
}

.footer-links-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
    flex: 1;
}

.column-image {
    position: relative;
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
    height: 100px;
}

.column-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.more-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 3px 8px;
    font-size: 12px;
    cursor: pointer;
}

.footer-column h3 {
    font-size: 14px;
    margin: 0 0 10px 0;
    color: white;
    font-weight: bold;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 5px;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--gold-primary);
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info h3, .footer-links h3 {
    font-size: 14px;
    margin: 0 0 10px 0;
    color: white;
    font-weight: bold;
}

.footer-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 12px;
    margin-bottom: 15px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--gold-primary);
}

.footer-contact {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 12px;
}

.contact-info p, .contact-address p {
    margin: 0 0 5px 0;
    color: white;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p, .copyright p {
    margin: 0;
    color: white;
}

.footer-qrcode {
    text-align: center;
    margin-top: 20px;
}

.footer-qrcode img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: white;
    padding: 10px;
}

.footer-qrcode p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-top: 10px;
    font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .header-content, .footer-content, .thu-main {
        width: 100%;
    }
    
    .page-container {
        max-width: calc(100% - 2cm); /* 响应式调整，左右各留出1厘米 */
    }
    
    .research-categories, .achievements-list {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .highlights-grid {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .highlight-item {
        flex: 0 0 250px;
    }
}

@media (max-width: 992px) {
    .page-container {
        max-width: calc(100% - 1cm); /* 响应式调整，左右各留出0.5厘米 */
    }
    .research-categories, .achievements-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .platform-list {
        grid-template-columns: 1fr;
    }
    
    .about-main {
        flex-direction: column;
        align-items: center;
    }
    
    .about-year {
        font-size: 80px;
        min-width: auto;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-content img, .about-image {
        width: 100%;
        height: auto;
    }
    
    .about-images {
        grid-template-columns: 1fr;
    }
    
    .news-container {
        flex-direction: column;
    }
    
    .news-list {
        flex-direction: column;
    }
    
    .main-news-item {
        margin-bottom: 20px;
    }
    
    .footer-links-container {
        flex-wrap: wrap;
    }
    
    .footer-column {
        flex: 0 0 45%;
    }
}

@media (max-width: 768px) {
    .page-container {
        max-width: calc(100% - 0.5cm); /* 响应式调整，左右各留出0.25厘米 */
    }
    .research-categories, .achievements-list {
        grid-template-columns: 1fr;
    }
    
    .team-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .header-right {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav ul {
        margin-top: 10px;
        flex-direction: column;
        width: 100%;
    }
    
    nav ul li {
        margin: 5px 0;
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        width: 100%;
    }
    
    .header-tools {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }
    
    .search-input {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .section-tabs {
        flex-wrap: wrap;
    }
    
    .section-tab, .tab-btn {
        padding: 8px 16px;
        margin-right: 5px;
        margin-bottom: 5px;
    }
    
    .highlights-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .highlight-item {
        flex: 0 0 100%;
        max-width: 300px;
    }
    
    .footer-column {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }
    
    .footer-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-nav {
        flex-direction: column;
    }
    
    .footer-contact {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .page-container {
        max-width: 100%; /* 小屏幕时全屏显示 */
        margin: 0;
    }
    .thu-section {
        padding: 15px;
    }
    
    .banner-text h2 {
        font-size: 32px;
    }
    
    .banner-text p {
        font-size: 18px;
    }
    
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    .thu-banner {
        height: 300px;
    }
}