/* 完整修复版 style.css - 彻底解决移动端导航间距问题 */
:root {
    --primary-red: #c62f2f;
    --secondary-red: #e74c3c;
    --light-red: #f5b7b1;
    --accent-red: #fadbd8;
    --dark-red: #922b21;
    --accent-orange: #e67e22;
    --text-dark: #333333;
    --text-light: #666666;
    --text-black: #000000;
    --bg-light: #f9f5f5;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 5px 20px rgba(198, 47, 47, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif;
}

body, html {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    font-size: 18px;
    padding-top: 150px;
	min-height: 100vh;
    position: relative;
    transition: padding-top 0.3s ease;
}

/* 修复滚动时的跳动 */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 150px;
}

.wide-container {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
}

.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部导航条 */
.top-nav {
    background-color: var(--dark-red);
    color: var(--white);
    font-size: 13px;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1002;
    height: 50px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.top-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
    transition: all 0.3s ease;
}

.top-nav-left, .top-nav-right {
    display: flex;
    align-items: center;
    height: 100%;
}

.top-nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
}

.top-nav-links li {
    margin-right: 20px;
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.top-nav-links li:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -10px;
    color: rgba(255, 255, 255, 0.3);
    top: 50%;
    transform: translateY(-50%);
}

.top-nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s;
    padding: 5px 0;
    position: relative;
    font-weight: 500;
    white-space: nowrap;
    display: inline-block;
    height: 100%;
    display: flex;
    align-items: center;
}

.top-nav-links a:hover {
    color: var(--white);
}

.top-nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--white);
    transition: width 0.3s ease;
}

.top-nav-links a:hover::after {
    width: 100%;
}

.lang-switcher {
    margin-right: 25px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
    font-weight: 500;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 搜索框 */
.search-box {
    display: flex !important;
    align-items: center;
    visibility: visible !important;
    opacity: 1 !important;
    height: 100%;
}

.search-box input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    width: 280px;
    transition: all 0.3s;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: 36px;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.search-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-left: none;
    color: var(--white);
    padding: 8px 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: all 0.3s;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.search-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 主导航栏 */
.navbar {
    background-color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s;
    padding: 20px 0;
    height: 100px;
    display: flex;
    align-items: center;
    min-height: 100px;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    height: 80px;
}

.nav-container {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    transition: all 0.3s;
    position: relative;
    height: 100%;
}

/* Logo样式 - 基础设置 */
.logo {
    display: flex;
    align-items: center;
    min-width: 380px;
    max-width: 380px;
    width: 380px;
    margin-right: 20px;
    margin-left: 0;
    padding: 8px 0;
    flex-shrink: 0;
    z-index: 1001;
    position: relative;
    height: 180px;
}

.logo-image {
    width: 100%;
    max-width: 380px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.logo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

/* 确保文字部分不显示 */
.logo-text {
    display: none !important;
}

/* 桌面端导航菜单 */
.nav-links {
    display: flex;
    list-style: none;
    flex-wrap: nowrap;
    position: relative;
    z-index: 999;
    height: 100%;
    align-items: center;
    flex: 1;
    justify-content: flex-start;
    margin-left: 0;
}

.nav-links li {
    margin-left: 0;
    height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    flex: 10 0 auto; /* 不拉伸，保持自然宽度 */
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 20px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-links a:hover::before {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-red);
    background-color: rgba(198, 47, 47, 0.05);
}

.nav-links a.active {
    color: var(--primary-red);
    background-color: rgba(198, 47, 47, 0.1);
}

.nav-links a.active::before {
    width: 100%;
}

/* 移动端汉堡菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--primary-red);
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.mobile-menu-btn:hover {
    color: var(--secondary-red);
    transform: translateY(-50%) scale(1.1);
}

/* 主内容区域 */
.main-content {
    margin-top: 0;
    padding-top: 20px;
}

.slideshow-container {
    position: relative;
    height: 550px;
    overflow: hidden;
    border-radius: 12px;
    margin: 70px 0 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-overlay {
    display: none;
}

.slide-content {
    display: none;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.2);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: all 0.3s;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background-color: rgba(198, 47, 47, 0.8);
    transform: scale(1.1);
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 26px;
}

.swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-red);
    transform: scale(1.3);
}

.content-row {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
}

/* 新闻动态和通知公告模块 */
.news-section, .announcement-section {
    flex: 1;
    background-color: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.news-section::before, .announcement-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-red), var(--secondary-red));
}

.news-section:hover, .announcement-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* 修复：确保标题和"更多"在一行显示 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
    flex-wrap: nowrap;
    gap: 15px;
}

.section-title {
    font-size: 28px;
    color: var(--dark-red);
    display: flex;
    align-items: center;
    position: relative;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
}

.section-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 24px;
    background-color: var(--primary-red);
    margin-right: 12px;
    border-radius: 2px;
    flex-shrink: 0;
}

.section-title i {
    margin-right: 8px;
    color: var(--primary-red);
    font-size: 24px;
    flex-shrink: 0;
}

.more-link {
    color: var(--text-black) !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 6px;
    background-color: rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    flex-shrink: 0;
}

.more-link:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.more-link i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.more-link:hover i {
    transform: translateX(5px);
}

.news-list, .announcement-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-item, .announcement-item {
    padding: 18px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    transition: all 0.3s;
    flex: 1;
    min-height: 60px;
}

.news-item:hover, .announcement-item:hover {
    background-color: rgba(198, 47, 47, 0.03);
    border-radius: 6px;
    padding-left: 10px;
    padding-right: 10px;
}

.news-item:last-child, .announcement-item:last-child {
    border-bottom: none;
}

.news-date {
    font-size: 20px;
    color: var(--primary-red);
    font-weight: 900;
    min-width: 85px;
    text-align: center;
    padding: 12px 0;
    background: linear-gradient(135deg, rgba(198, 47, 47, 0.1), rgba(231, 76, 60, 0.1));
    border-radius: 8px;
    margin-right: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.news-date .month-day {
    font-size: 24px;
    line-height: 1;
}

.news-date .year {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    margin-top: 3px;
}

.news-content, .announcement-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-title, .announcement-title {
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    font-size: 22px;
    text-align: left;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.news-title a, .announcement-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
    display: inline;
    margin-right: 5px;
    font-size: 20px;
}

.news-title a:hover, .announcement-title a:hover {
    color: var(--primary-red);
}

.announcement-date {
    font-size: 20px;
    color: var(--primary-red);
    font-weight: 900;
    min-width: 85px;
    text-align: center;
    padding: 12px 0;
    background: linear-gradient(135deg, rgba(198, 47, 47, 0.1), rgba(231, 76, 60, 0.1));
    border-radius: 8px;
    margin-right: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.announcement-date .month-day {
    font-size: 24px;
    line-height: 1;
}

.announcement-date .year {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    margin-top: 3px;
}

.news-desc {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.6;
    margin-top: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pin-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    color: white;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 10px;
    margin-left: 10px;
    vertical-align: top;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 6px rgba(255, 107, 107, 0.3);
    flex-shrink: 0;
}

.research-section {
    background-color: var(--white);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 35px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.research-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-red), var(--secondary-red));
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    flex: 1;
}

.research-item {
    padding: 20px;
    background: linear-gradient(135deg, rgba(198, 47, 47, 0.05), rgba(255, 255, 255, 1));
    border-radius: 10px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 180px;
}

.research-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.research-date {
    font-size: 20px;
    color: var(--primary-red);
    font-weight: 900;
    margin-bottom: 12px;
    display: inline-block;
    padding: 14px 15px;
    background: linear-gradient(135deg, rgba(198, 47, 47, 0.1), rgba(231, 76, 60, 0.1));
    border-radius: 6px;
    letter-spacing: 1px;
    align-self: flex-start;
}

.research-title {
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark-red);
    line-height: 1.4;
    flex: 1;
}

.research-desc {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.platform-section {
    background-color: var(--white);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 35px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.platform-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-red), var(--secondary-red));
}

.platform-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    flex: 1;
}

.platform-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(198, 47, 47, 0.05), rgba(255, 255, 255, 1));
    border-radius: 10px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    min-height: 100px;
}

.platform-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.platform-icon {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(198, 47, 47, 0.3);
}

.platform-name {
    font-weight: 600;
    line-height: 1.5;
    font-size: 20px;
    flex: 1;
}

.association-section {
    background-color: var(--white);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 35px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.association-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-red), var(--secondary-red));
}

.association-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    flex: 1;
}

.association-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(198, 47, 47, 0.05), rgba(255, 255, 255, 1));
    border-radius: 10px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    min-height: 100px;
}

.association-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.association-icon {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(198, 47, 47, 0.3);
}

.association-name {
    font-weight: 600;
    line-height: 1.5;
    font-size: 20px;
    flex: 1;
}

/* 链接样式修复 - 去除下划线并保持原有外观 */
a.research-item,
a.platform-item,
a.association-item {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.research-item:hover,
a.platform-item:hover,
a.association-item:hover {
    text-decoration: none;
    color: inherit;
}

.quick-links-section {
    background-color: var(--white);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.quick-links-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-red), var(--secondary-red));
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    flex: 1;
}

.quick-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 35px 20px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-red) 100%);
    border-radius: 15px;
    text-decoration: none;
    color: var(--white);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(198, 47, 47, 0.2);
    min-height: 200px;
}

.quick-link-item:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 20px 40px rgba(198, 47, 47, 0.4);
}

.quick-link-icon {
    position: relative;
    z-index: 1;
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.5s;
}

.quick-link-item:hover .quick-link-icon {
    transform: rotate(15deg) scale(1.1);
    background-color: rgba(255, 255, 255, 0.3);
}

.quick-link-item i {
    font-size: 36px;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.quick-link-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
}

.quick-link-desc {
    font-size: 15px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.footer {
    background: linear-gradient(135deg, var(--dark-red) 0%, #922b21 100%);
    color: var(--white);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-red), var(--secondary-red));
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-column h4 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-red);
}

.contact-info {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 10px;
    color: var(--light-red);
    width: 20px;
    flex-shrink: 0;
}

.friend-links-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.friend-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.friend-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
    display: block;
    padding: 5px 0;
}

.friend-link:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin-bottom: 5px;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: rgba(198, 47, 47, 0.2);
    border-radius: 50%;
}

/* 鼠标跟随效果样式 */
.nav-cursor-effect {
    position: fixed;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--secondary-red));
    border-radius: 2px;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(198, 47, 47, 0.4);
    display: none;
}

/* 动画定义 */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0% { box-shadow: 0 5px 15px rgba(198, 47, 47, 0.3); }
    50% { box-shadow: 0 5px 20px rgba(198, 47, 47, 0.5); }
    100% { box-shadow: 0 5px 15px rgba(198, 47, 47, 0.3); }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--light-red);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red);
}

/* ================== 响应式设计 ================== */

/* 平板和小屏幕桌面 (≤1200px) - 移动端样式 */
@media (max-width: 1200px) {
    /* 顶部导航 */
    .top-nav {
        height: 45px;
    }

    .top-nav-container {
        padding: 0 15px;
    }

    .top-nav-links a {
        font-size: 12px;
    }

    /* 搜索框 */
    .search-box {
        max-width: 280px;
    }

    .search-box input {
        width: 240px;
        font-size: 12px;
        padding: 6px 10px;
        height: 32px;
    }

    .search-btn {
        padding: 6px 10px;
        font-size: 12px;
        height: 32px;
    }

    /* 主导航栏 */
    .navbar {
        top: 45px !important;
        padding: 8px 0 !important;
        height: 70px;
    }

    .nav-container {
        padding: 0 15px;
    }

    /* Logo - 移动端显著增大 */
    .logo {
        min-width: 350px;
        max-width: 400px;
        width: 400px;
        margin-right: 20px;
    }

    .logo-image {
        max-width: 400px;
        height: 70px;
    }

    /* 汉堡菜单按钮 */
    .mobile-menu-btn {
        display: flex;
        right: 15px;
        font-size: 24px;
    }

    /* 隐藏桌面导航菜单 */
    .nav-links {
        display: none;
    }

    /* 移动端菜单样式 - 修复闪烁问题和内页切换bug */
.nav-links.mobile-open {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    height: auto !important;
    width: 100%;
    background-color: var(--white);
    padding: 0;
    margin: 0;
    z-index: 1001;
    max-height: 70vh;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    /* 隐藏滚动条 */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* 隐藏滚动条 */
.nav-links.mobile-open::-webkit-scrollbar {
    display: none;
}

	/* 菜单打开后的最终状态 */
	.nav-links.mobile-open.active {
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
	}

    /* 修复导航项 */
    .nav-links.mobile-open li {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    /* 修复导航链接 - 优化间距和字体 */
    .nav-links.mobile-open a {
        display: block;
        padding: 12px 20px;
        font-size: 16px;
        color: var(--text-dark);
        text-decoration: none;
        font-weight: 600;
        line-height: 1.7;
        transition: all 0.2s ease;
        width: 100%;
        box-sizing: border-box;
    }

    /* 移除桌面端的下划线动画 */
    .nav-links.mobile-open a::before {
        display: none;
    }

    .nav-links.mobile-open a:hover,
    .nav-links.mobile-open a.active {
        background-color: rgba(198, 47, 47, 0.1);
        color: var(--primary-red);
        padding-left: 25px;
    }

    /* 调整body内边距 */
    body {
        padding-top: 115px !important;
    }

    /* 内容区域 - 修复新闻动态等模块 */
    .content-row {
        flex-direction: column;
        gap: 25px;
        margin-bottom: 25px;
    }

    .news-section, .announcement-section {
        padding: 20px;
        width: 100%;
        min-height: auto;
    }

    /* 修复：移动端标题和"更多"在一行显示 */
    .section-header {
        flex-direction: row;
        align-items: center;
        gap: 15px;
        margin-bottom: 15px;
        flex-wrap: nowrap;
    }

    .section-title {
        font-size: 22px;
        white-space: nowrap;
        flex-shrink: 1;
        min-width: 0;
    }

    .more-link {
        font-size: 16px;
        padding: 8px 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* 修复：移动端新闻动态和通知公告横向布局 */
    .news-item, .announcement-item {
        flex-direction: row;
        align-items: center;
        padding: 15px 0;
    }

    .news-date, .announcement-date {
        margin: 0 20px 0 0;
        min-width: 80px;
        padding: 10px 0;
        flex-shrink: 0;
    }

    .news-date .month-day, .announcement-date .month-day {
        font-size: 20px;
    }

    .news-date .year, .announcement-date .year {
        font-size: 13px;
    }

    .news-content, .announcement-content {
        flex: 1;
        min-width: 0;
    }

    .news-title, .announcement-title {
        font-size: 18px;
        line-height: 1.4;
    }

    .news-title a, .announcement-title a {
        font-size: 18px;
    }

    .news-desc {
        font-size: 15px;
        -webkit-line-clamp: 2;
    }

    .pin-badge {
        font-size: 11px;
        padding: 3px 8px;
    }

    /* 科研动态网格布局 */
    .research-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .research-item {
        padding: 15px;
        min-height: 160px;
    }

    .research-title {
        font-size: 17px;
    }

    .research-desc {
        font-size: 15px;
        -webkit-line-clamp: 2;
    }

    /* 平台和学会列表 */
    .platform-list, .association-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .platform-item, .association-item {
        padding: 15px;
        min-height: 90px;
    }

    .platform-name, .association-name {
        font-size: 17px;
    }

    /* 轮播图 */
    .slideshow-container {
        height: 350px;
        margin: 90px 0 20px;
    }

    /* 快捷通道 */
    .quick-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .quick-link-item {
        padding: 25px 15px;
        min-height: 180px;
    }

    .quick-link-title {
        font-size: 20px;
    }

    .quick-link-desc {
        font-size: 14px;
    }

    /* 页脚 */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .friend-links-container {
        grid-template-columns: 1fr;
    }
}

/* 手机设备 (≤768px) */
@media (max-width: 768px) {
    /* 顶部导航优化 */
    .top-nav {
        height: 40px;
    }

    .top-nav-container {
        padding: 0 10px;
    }

    .top-nav-links a {
        font-size: 11px;
    }

    /* 搜索框 */
    .search-box {
        max-width: 240px;
    }

    .search-box input {
        width: 200px;
        font-size: 11px;
    }

    /* 主导航 */
    .navbar {
        top: 40px !important;
        height: 60px;
    }

    body {
        padding-top: 100px !important;
    }

    /* Logo - 进一步增大 */
    .logo {
        min-width: 280px;
        max-width: 320px;
        width: 320px;
    }

    .logo-image {
        max-width: 320px;
        height: 60px;
    }

    .mobile-menu-btn {
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    /* 移动端导航链接样式 */
    .nav-links.mobile-open a {
        padding: 10px 18px;
        font-size: 15px;
    }

    /* 内容区域 */
    .slideshow-container {
        height: 250px;
        margin: 90px 0 15px;
    }

    /* 新闻动态模块 */
    .section-header {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .section-title {
        font-size: 20px;
    }

    /* 小屏手机保持横向布局 */
    .news-item, .announcement-item {
        flex-direction: row;
        align-items: center;
    }

    .news-date, .announcement-date {
        margin: 0 15px 0 0;
        min-width: 70px;
    }

    .news-date .month-day, .announcement-date .month-day {
        font-size: 18px;
    }

    .news-title, .announcement-title {
        font-size: 16px;
    }

    .news-title a, .announcement-title a {
        font-size: 16px;
    }

    .news-desc {
        font-size: 14px;
        -webkit-line-clamp: 1;
    }

    .research-grid {
        grid-template-columns: 1fr;
    }

    .research-title {
        font-size: 16px;
    }

    .research-desc {
        font-size: 14px;
    }

    .platform-list, .association-list {
        grid-template-columns: 1fr;
    }

    .platform-name, .association-name {
        font-size: 16px;
    }

    .quick-links {
        grid-template-columns: 1fr;
    }

    .quick-link-title {
        font-size: 18px;
    }

    .quick-link-desc {
        font-size: 13px;
    }
}

/* 小屏手机 (≤480px) */
@media (max-width: 480px) {
    .top-nav {
        height: 35px;
    }

    .navbar {
        top: 35px !important;
        height: 50px;
    }

    body {
        padding-top: 85px !important;
    }

    .top-nav-links a {
        font-size: 10px;
    }

    .search-box {
        max-width: 200px;
    }

    .search-box input {
        width: 160px;
        font-size: 10px;
    }

    /* Logo - 小屏手机继续增大 */
    .logo {
        min-width: 200px;
        max-width: 240px;
        width: 240px;
    }

    .logo-image {
        max-width: 240px;
        height: 50px;
    }

    .mobile-menu-btn {
        right: 8px;
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    /* 移动端导航链接样式 */
    .nav-links.mobile-open a {
        padding: 8px 16px;
        font-size: 16px;
    }

    .slideshow-container {
        height: 200px;
        margin: 70px 0 10px;
    }

    .news-section, .announcement-section,
    .research-section, .platform-section,
    .association-section, .quick-links-section {
        padding: 15px;
    }

    .section-title {
        font-size: 18px;
    }

    .more-link {
        font-size: 14px;
        padding: 6px 10px;
    }

    /* 小屏手机横向布局 */
    .news-item, .announcement-item {
        flex-direction: row;
    }

    .news-date, .announcement-date {
        min-width: 65px;
    }

    .news-title, .announcement-title {
        font-size: 15px;
    }
}

/* 超小屏幕手机 (≤375px) */
@media (max-width: 375px) {
    .top-nav {
        height: 30px;
    }

    .top-nav-links a {
        font-size: 9px;
    }

    .search-box {
        max-width: 180px;
    }

    .search-box input {
        width: 140px;
        font-size: 9px;
    }

    .navbar {
        top: 30px !important;
        height: 45px;
    }

    body {
        padding-top: 75px !important;
    }

    /* Logo - 超小屏幕继续增大 */
    .logo {
        min-width: 180px;
        max-width: 200px;
        width: 200px;
    }

    .logo-image {
        max-width: 200px;
        height: 45px;
    }

    .mobile-menu-btn {
        right: 5px;
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    /* 移动端导航链接样式 */
    .nav-links.mobile-open a {
        padding: 6px 14px;
        font-size: 13px;
    }

    .slideshow-container {
        height: 180px;
        margin: 70px 0 8px;
    }

    /* 超小屏幕保持横向布局 */
    .news-item, .announcement-item {
        flex-direction: row;
    }

    .news-date, .announcement-date {
        min-width: 60px;
    }

    .news-title, .announcement-title {
        font-size: 14px;
    }
}

/* 确保桌面端样式完全重置 */
@media (min-width: 1201px) {
    .navbar {
        top: 50px !important;
        background-color: var(--white) !important;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08) !important;
        padding: 20px 0 !important;
        height: 100px;
    }

    .nav-links {
        display: flex !important;
    }

    .mobile-menu-btn {
        display: none !important;
    }

    .top-nav-links {
        display: flex !important;
    }

    .search-box {
        display: flex !important;
    }

    .research-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }

	/* 下划线实现 */
        .top-nav-links a::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
        bottom: 8px;
            height: 2px;
            background-color: #fff;
            opacity: 0;
            transform: scaleX(0);
            transition: all 0.3s ease;
        }

        .top-nav-links a:hover::after,
        .top-nav-links a.active::after {
            opacity: 1;
            transform: scaleX(1);
        bottom: 8px;
        }
}

/* ================== 高分辨率优化 ================== */

/* 1920-2559px (2K屏) */
@media (min-width: 1920px) and (max-width: 2559px) {
    .logo { 
        min-width: 450px;
        max-width: 450px;
        width: 450px;
    }

    .logo-image { 
        max-width: 400px;
        height: 150px;
    }

    .nav-links a { 
        font-size: 20px;
        padding: 14px 18px;
    }

    .navbar { 
        height: 130px;
        padding: 30px 0; 
    }

    body { 
        padding-top: 186px;
    }
}

/* 2560px+ (您的笔记本) */
@media (min-width: 2560px) {
    .logo { 
        min-width: 520px;
        max-width: 520px;
        width: 520px;
    }

    .logo-image { 
        max-width: 520px;
        height: 220px;
    }

    .nav-links a { 
        font-size: 28px;
        padding: 16px 20px;
    }

    .navbar { 
        height: 220px;
        padding: 40px 0; 
    }

    body { 
        padding-top: 270px;
    }
}

/* ================== 缩放优化 ================== */

/* 110%缩放优化 */
@media (min-width: 1201px) and (max-width: 1550px) {
    .logo {
        min-width: 320px;
        max-width: 320px;
        width: 320px;
    }

    .nav-links a {
        font-size: 18px;
        padding: 6px 8px;
    }
}

/* 125%缩放优化 */
@media (min-width: 1201px) and (max-width: 1700px) {
    .logo {
        min-width: 320px;
        max-width: 320px;
        width: 320px;
    }

    .logo-image {
        max-width: 320px;
    }

    .nav-links a {
        font-size: 18px;
        padding: 5px 5px;
    }

    /* 移除背景色块干扰，改为下划线 */
    .nav-links a:hover {
        background-color: transparent !important;
    }

    .nav-links a.active {
        background-color: transparent !important;
    }
}


/* 全局表格自适应 - 强制覆盖内联固定宽度 */
.article-content table,
.v_news_content table,
#vsb_content table {
    max-width: 100% !important;
    width: 100% !important;
}

/* 移动端启用横向滚动 */
@media (max-width: 768px) {
    .article-content table,
    .v_news_content table,
    #vsb_content table {
        display: block !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        table-layout: auto !important;
    }
}

/* ================== 页脚微信公众号二维码样式 ================== */

/* 页脚三列布局 - 增加第三列给二维码 */
.footer-content {
    grid-template-columns: 1fr 1.5fr 0.8fr;
    gap: 30px;
}

/* 友情链接容器 - 缩小间距 */
.friend-links-container {
    gap: 8px 20px;
}

.friend-links {
    gap: 8px;
}

.friend-link {
    padding: 4px 0;
    font-size: 18px;
}

/* 二维码列 - 居中显示 */
.footer-qrcode-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.qrcode-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.qrcode-img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
    transition: all 0.3s;
}

.qrcode-img:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.qrcode-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    line-height: 1.5;
    padding: 10px;
}

.qrcode-tip {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}

/* 平板响应 (≤1200px) - 覆盖原有的页脚样式 */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-info {
        justify-content: center;
    }

    .friend-links-container {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .friend-links {
        align-items: center;
    }

    .footer-qrcode-column {
        max-width: 100%;
    }
}

    .sidebar-menu .sub-menu a.active-text-only {
        color: #c62f2f !important;
        background-color: transparent !important;
        font-weight: 700 !important;
    }
}