/* =============================================
   期刊中心网站 - 主样式表
   基于示例图设计
   Version: 2.0
   Date: 2026-03-19
   ============================================= */

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 变量定义 */
:root {
    --primary-color: #003366;
    --primary-dark: #002244;
    --primary-light: #004488;
    --accent-color: #c41e3a;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f5f7fa;
    --white: #fff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* 容器 */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* 页眉 - 深蓝色背景 */
.site-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white);
}

.logo-img {
    height: 60px;
    width: auto;
    margin-right: 1rem;
    border-radius: 4px;
    padding: 2px 8px;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-subtext {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.1rem;
}

/* 导航 - 深色背景 */
.main-nav {
    display: none;
}

.main-nav.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    max-height: 80vh;
    overflow-y: auto;
}

/* 桌面端导航样式 */
@media (min-width: 768px) {
    .main-nav {
        display: block;
    }
}

.nav-list {
    list-style: none;
}

.nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
    display: block;
    padding: 1rem 1.2rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
}

/* 移动端菜单按钮 */
.menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    padding: 0.5rem;
}

/* 主要内容区域 */
.main-content {
    flex: 1;
    padding: 0;
}

/* 轮播图区域 */
.banner-section {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: 452px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, #0055aa 100%);
    overflow: hidden;
}

.banner-slider {
    height: 100%;
    position: relative;
    width: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.banner-slide.active {
    opacity: 1;
}

.banner-content {
    text-align: center;
    color: var(--white);
    padding: 3rem;
    z-index: 2;
    max-width: 900px;
    background: rgba(0, 51, 102, 0.6);
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.banner-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 3px;
}

.banner-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 1.5rem;
}

.banner-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.banner-btn:hover {
    background: #a31830;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.4);
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.banner-dot.active,
.banner-dot:hover {
    background: var(--white);
    transform: scale(1.2);
}

/* 四大模块区域 */
.modules-section {
    padding: 3rem 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title h2 {
    font-size: 1.6rem;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding: 0 1.5rem;
}

.section-title h2::before,
.section-title h2::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.section-title h2::before {
    right: 100%;
}

.section-title h2::after {
    left: 100%;
}

.module-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
}

.module-link:hover {
    color: #a31830;
}

/* 四大模块 - 列表布局 */
.modules-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .modules-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.module-block {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 51, 102, 0.08);
    overflow: hidden;
    border: 1px solid #eee;
}

.module-header {
    display: flex;
    align-items: center;
    padding: 1rem 1.2rem;
    background: linear-gradient(135deg, var(--primary-color), #0066cc);
    color: var(--white);
}

.module-header-orange {
    background: linear-gradient(135deg, #e67e22, #f39c12);
}

.module-header-green {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.module-header-purple {
    background: linear-gradient(135deg, #9b59b6, #be90d4);
}

.module-header-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.8rem;
    font-size: 1rem;
}

.module-header-title {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.module-header-more {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.module-header-more:hover {
    color: var(--white);
}

.module-items {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding-bottom: 10px;
    min-height: 230px;
}

.module-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
    transition: background 0.2s ease;
}

.module-item:last-child {
    border-bottom: none;
}

.module-item:hover {
    background: #f8f9fa;
}

.module-item-title {
    color: #333;
    font-size: 0.85rem;
    line-height: 1.4;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 1rem;
}

.module-item:hover .module-item-title {
    color: var(--primary-color);
}

.module-item-date {
    color: #999;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* 期刊封面展示 */
.journals-section {
    padding: 2.5rem 0;
    background: var(--white);
}

.journals-wrapper {
    padding: 0 1rem;
}

.journals-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.journals-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    padding-left: 1rem;
}

.journals-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--accent-color);
    border-radius: 2px;
}

.journals-more {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.journals-more:hover {
    color: var(--accent-color);
}

.journals-scroll {
    display: flex;
    overflow: hidden;
    padding: 1rem;
}

.journals-scroll-inner {
    display: flex;
    gap: 10px;
    animation: scrollInfinite 40s linear infinite;
    /* 确保有足够的空间 */
    width: max-content;
}

.journals-scroll:hover .journals-scroll-inner {
    animation-play-state: paused;
}

@keyframes scrollInfinite {
    0% {
        transform: translateX(0);
    }
    100% {
        /* 移动 50% - 确保持续内容完整显示 */
        transform: translateX(-50%);
    }
}

.journals-scroll::-webkit-scrollbar {
    height: 6px;
}

.journals-scroll::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.journals-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.journal-cover-item {
    flex: 0 0 160px;
    scroll-snap-align: start;
    text-align: center;
    cursor: pointer;
}

.journal-cover-img {
    width: 140px;
    height: 190px;
    background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    flex-direction: column;
    font-size: 0.75rem;
    overflow: hidden;
}

.journal-cover-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.journal-cover-item:hover .journal-cover-img {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 51, 102, 0.2);
}

.journal-cover-name {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.6;
}

.journal-cover-issn {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.4rem;
    line-height: 1.5;
}

/* 新闻展示左右布局 */
.news-display {
    display: flex;
    gap: 2rem;
    min-height: 420px;
    margin-top: 1.5rem;
}

.news-container, .english-container {
    padding: 20px 10px;
    background-color: #ffffff;
}

/* English页面头部 */
.english-container .page-header {
    text-align: center;
    padding: 2rem 0 1.5rem;
}

.english-container .page-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.8rem;
    letter-spacing: 2px;
}

.english-container .page-subtitle {
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
}

/* 左侧文章列表 */
.news-article-list {
    width: 45%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 440px;
    overflow-y: auto;
}

.news-article-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #ffffff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.news-article-item:hover,
.news-article-item.active {
    background: #f8f9fa;
    border-left-color: var(--accent-color);
}

.news-article-item .article-date {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
    min-width: 90px;
    transition: color 0.3s ease;
}

.news-article-item .article-content {
    flex: 1;
}

.news-article-item .article-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.3rem;
    transition: color 0.3s ease;
}

.news-article-item .article-category {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
    transition: color 0.3s ease;
}

.news-article-item .article-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

/* 右侧图片轮播 */
.news-image-carousel {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.news-image-carousel .carousel-track-wrapper {
    width: 100%;
    height: 420px;
    overflow: hidden;
    position: relative;
}

.news-image-carousel .carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.news-image-carousel .carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.news-image-placeholder.large {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    gap: 1rem;
}

.news-image-placeholder.large i {
    font-size: 5rem !important;
}

.news-image-placeholder.large p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.news-image-carousel .carousel-nav {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.news-image-carousel .carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-image-carousel .carousel-dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

.news-image-carousel .carousel-dot:hover {
    background: rgba(255,255,255,0.8);
}

/* 更多新闻 */
.more-news {
    margin-top: 2rem;
}

.more-news .section-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.2rem;
    position: relative;
    padding-left: 1rem;
}

.more-news .section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 2px;
}

.more-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.more-news-item {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}

.more-news-item .news-date {
    font-size: 0.8rem;
    color: var(--text-light);
    flex-shrink: 0;
    margin-right: 1rem;
}

.more-news-item .news-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: left;
    flex: 1;
    margin: 0;
}

.more-news-item .news-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0.5rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
}

.more-news-item .read-more-link {
    font-size: 0.85rem;
    color: var(--primary-color);
    text-decoration: none;
    text-align: right;
    display: block;
    align-items: center;
    margin-top: auto;
    padding-top: 0.5rem;
}

.more-news-item .read-more-link:hover {
    color: var(--accent-color);
}

/* 分页样式 - 经典风格 */
.pagination-wrapper {
    display: flex;
    justify-content: right;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    gap: 2rem;
}

.pagination-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
}

.page-item {
    display: inline-block;
}

.page-item a {
    display: block;
    padding: 0.5rem 0.85rem;
    background: #fff;
    border: 1px solid #ddd;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.page-item a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.page-item.active a {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    cursor: default;
}

.page-item.disabled a {
    color: #999;
    background: #f5f5f5;
    border-color: #ddd;
    cursor: not-allowed;
}

.page-item.disabled a:hover {
    background: #f5f5f5;
    border-color: #ddd;
    color: #999;
}

.pagination-info {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* 新闻详情页样式 */
.news-detail-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 1.5rem 0;
    line-height: 1.5;
}
.news-detail-header {
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.news-meta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.container-subscription {
    background-color: #ffffff;
    padding: 20px;
}

.news-detail-content {
    line-height: 2;
    font-size: 1rem;
    color: var(--text-color);
    margin-top: 20px;
    padding: 0 20px;
}

.news-detail-content p {
    text-indent: 2em;
    margin-bottom: 1rem;
}

.news-abstract {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.news-abstract p {
    text-indent: 0;
    margin: 0;
}

/* 响应式 */
@media (max-width: 992px) {
    .news-display {
        flex-direction: column;
    }

    .news-article-list {
        width: 100%;
        max-height: none;
    }

    .news-image-carousel .carousel-track-wrapper {
        height: 280px;
    }

    .more-news-grid {
        grid-template-columns: 1fr;
    }
}

/* 友情连接 */
.friendly-links {
    padding: 2rem 0;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.friendly-links-wrapper {
    padding: 0 1rem;
}

.friendly-links-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.2rem;
    position: relative;
    padding-left: 1rem;
}

.friendly-links-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: var(--accent-color);
    border-radius: 2px;
}

.friendly-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
}

.friendly-link-item {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.4rem 0;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.friendly-link-item:hover {
    color: var(--accent-color);
}

/* 底部区域 */
.home-bottom {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 2.5rem 0 1.5rem;
    color: var(--white);
}

.home-bottom-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .home-bottom-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.bottom-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.bottom-section ul {
    list-style: none;
}

.bottom-section li {
    margin-bottom: 0.6rem;
}

.bottom-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.bottom-section a:hover {
    color: var(--white);
    padding-left: 5px;
}

.bottom-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.bottom-contact i {
    width: 18px;
    text-align: center;
}

/* 订阅二维码区域 */
.subscribe-box {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.qr-code {
    width: 100px;
    height: 100px;
    background: var(--white);
    border-radius: 8px;
    margin: 0 auto 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 0.7rem;
}

.subscribe-box p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

/* 版权信息 */
.footer-bottom {
    background: var(--primary-dark);
    padding: 1rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-top: 1.5rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* 响应式导航 */
@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }

    .main-nav {
        display: block;
        background: transparent;
        position: static;
    }

    .nav-list {
        display: flex;
        gap: 0;
    }

    .nav-item {
        border-bottom: none;
        position: relative;
    }

    .nav-link {
        padding: 0.6rem 1rem;
        font-size: 1.0rem;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 3px;
        background: var(--accent-color);
        transition: var(--transition);
        transform: translateX(-50%);
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 80%;
    }

    .banner-title {
        font-size: 3.2rem;
    }
}

/* 页脚 - 与首页底部统一风格 */
.site-footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 2rem 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-top: 1.5rem;
}

/* 工具类 */
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.text-accent { color: var(--accent-color); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }

/* 卡片组件 */
.card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.card-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

/* 段落分隔符 */
.section-divider {
    border-top: 1px solid var(--border-color);
    margin: 2rem 0;
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #545b62;
}

/* 面包屑 */
.breadcrumb {
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 侧边栏布局 */
.sidebar-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 992px) {
    .sidebar-layout {
        flex-direction: row;
    }
    .sidebar { flex: 0 0 250px; }
    .main-content-area { flex: 1; }
}

.sidebar-nav {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 1rem;
}

.sidebar-link {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-color);
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.sidebar-link:hover,
.sidebar-link.active {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    background: #f0f7ff;
}

/* 表格 */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th, .table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background-color: var(--bg-light);
    font-weight: 600;
    color: var(--primary-color);
}

.table tr:hover {
    background-color: var(--bg-light);
}

/* 表单 */
.form-group { margin-bottom: 1.5rem; }

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 51, 102, 0.1);
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination a,
.pagination span {
    padding: 0.5rem 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.pagination a:hover,
.pagination .active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* 响应式调整 */
@media (max-width: 767px) {
    .modules-section {
        padding: 3rem 1rem;
    }
    .banner-section {
        height: 280px;
    }

    .banner-title {
        font-size: 1.8rem;
    }

    .banner-subtitle {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 1.3rem;
    }

    .module-card {
        padding: 1.2rem 0.8rem;
    }

    .module-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* ===== 二级菜单样式 ===== */
.nav-item {
    position: relative;
}

.nav-link .fa-angle-down {
    font-size: 0.75rem;
    margin-left: 5px;
    transition: transform 0.3s;
}

/* 桌面端二级菜单 */
@media (min-width: 768px) {
    .has-submenu {
        position: relative;
    }

    .has-submenu:hover .nav-link .fa-angle-down {
        transform: rotate(180deg);
    }

    .submenu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 160px;
        background: #003366;
        list-style: none;
        padding: 0;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }

    .has-submenu:hover > .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .submenu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .submenu li:last-child {
        border-bottom: none;
    }

    .submenu a {
        display: block;
        padding: 0.65rem 1rem;
        color: rgba(255, 255, 255, 0.95);
        text-decoration: none;
        font-size: 0.85rem;
        transition: all 0.3s;
    }

    .submenu a:hover {
        background: rgba(255, 255, 255, 0.15);
        color: #fff;
        padding-left: 1.3rem;
    }
}

/* 移动端二级菜单 */
@media (max-width: 767px) {
    .has-submenu {
        position: relative;
    }

    .nav-link .fa-angle-down {
        float: right;
    }

    .submenu {
        position: static;
        background: rgba(0, 0, 0, 0.2);
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
    }

    .has-submenu.active > .submenu {
        display: block;
    }

    .submenu a {
        padding-left: 2rem;
    }

    .submenu a:hover {
        padding-left: 2.5rem;
    }
}

/* ===== 部门概况页面 ===== */
.page-header-section {
    background: url(../images/sub_banner01.jpg) no-repeat center;
    padding: 3rem 0;
    text-align: center;
    min-height: 300px;
    background-size: 100% 100%;
    width: 1400px;
    margin: 0 auto;
}

.page-header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.page-header-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-header-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    letter-spacing: 2px;
}

/* 主体布局 */
.about-section {
    padding: 2.5rem 0 3rem;
    background: #f5f7fa;
    min-height: 500px;
}

.about-layout {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    gap: 1.5rem;
}

/* 左侧导航 */
.about-sidebar {
    width: 240px;
    flex-shrink: 0;
}

.about-nav {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.about-nav-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
    cursor: pointer;
}

.about-nav-item:last-child {
    border-bottom: none;
}

.about-nav-item i {
    width: 24px;
    color: #003366;
    font-size: 1rem;
}

.about-nav-item span {
    font-size: 0.95rem;
}

.about-nav-item:hover {
    background: #f8f9fa;
    color: #003366;
}

.about-nav-item.active {
    background: linear-gradient(135deg, #003366 0%, #0055aa 100%);
    color: #fff;
}

.about-nav-item.active i {
    color: #fff;
}

/* 右侧内容 */
.about-content {
    flex: 1;
    min-width: 0;
}

.about-card {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.about-card-title {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #003366 0%, #0055aa 100%);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.about-card-body {
    padding: 1.5rem;
}

.about-intro {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}

.about-subtitle {
    font-size: 1.1rem;
    color: #003366;
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e8f0f8;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    padding: 0.6rem 0;
    color: #555;
    line-height: 1.6;
}

.about-list-icon {
    color: #003366;
    margin-right: 0.75rem;
    margin-top: 0.2rem;
}

/* 成就展示 */
.about-achievements {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #003366;
}

.achievement-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #003366;
    color: #fff;
    border-radius: 50%;
    margin-right: 1rem;
    font-size: 1rem;
}

.achievement-text {
    font-size: 0.9rem;
    color: #333;
}

/* 响应式 */
@media (max-width: 991px) {
    .about-layout {
        flex-direction: column;
    }

    .about-sidebar {
        width: 100%;
    }

    .about-nav {
        display: flex;
        flex-wrap: wrap;
    }

    .about-nav-item {
        flex: 1;
        min-width: 120px;
        justify-content: center;
        border-bottom: none;
        border-right: 1px solid #eee;
    }

    .about-nav-item:last-child {
        border-right: none;
    }
}

@media (max-width: 575px) {
    .about-nav-item {
        min-width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .about-nav-item:last-child {
        border-bottom: none;
    }

    .about-achievements {
        grid-template-columns: 1fr;
    }
}
