/* 基础样式 - 使用兼容性更好的CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 清除浮动 */
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

/* 导航栏样式 */
header {
    background-color: #1a365d;
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: block;
    padding: 15px 0;
    position: relative;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    float: left;
    line-height: 40px;
}

.nav-links {
    float: right;
    list-style: none;
    margin: 0;
}

.nav-links li {
    float: left;
    margin-left: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 40px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #a0c4ff;
}

/* 汉堡菜单样式 */
.hamburger {
    display: none;
    float: right;
    cursor: pointer;
    padding: 10px;
    margin-top: 5px;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: white;
    margin: 5px 0;
    display: block;
    transition: 0.3s;
    border-radius: 2px;
}

/* 页面标题和筛选器 */
.page-header {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 25px 30px;
    margin: 30px 0;
    overflow: hidden;
}

.page-title {
    color: #1a365d;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.page-description {
    color: #4a5568;
    margin-bottom: 20px;
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-label {
    display: block;
    font-weight: bold;
    color: #4a5568;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.filter-select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background-color: white;
    color: #4a5568;
    font-size: 0.95rem;
}

/* 期刊列表样式 */
.journal-list {
    margin: 30px 0;
}

.journal-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 25px;
    margin-bottom: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.journal-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.journal-item-title {
    color: #1a365d;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.journal-item-content {
    display: flex;
    margin-bottom: 15px;
}

.journal-item-thumbnail {
    width: 80px;
    height: 107px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-right: 20px;
    flex-shrink: 0;
}

.journal-item-meta {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
}

.journal-meta-item {
    flex: 0 0 33.333%;
    margin-bottom: 12px;
}

.journal-meta-label {
    font-weight: bold;
    color: #4a5568;
    font-size: 0.85rem;
    margin-bottom: 3px;
    display: block;
}

.journal-meta-value {
    color: #2d3748;
    font-size: 0.95rem;
}

.journal-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eaeaea;
}

.journal-item-links {
    display: flex;
    gap: 15px;
}

.journal-link {
    color: #3182ce;
    text-decoration: none;
    font-size: 0.9rem;
}

.journal-link:hover {
    text-decoration: underline;
}

.journal-detail-btn {
    background-color: #1a365d;
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.journal-detail-btn:hover {
    background-color: #2d4a7a;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.pagination-list {
    display: flex;
    list-style: none;
    gap: 5px;
}

.pagination-item {
    margin: 0;
}

.pagination-link {
    display: block;
    padding: 10px 16px;
    background-color: white;
    color: #4a5568;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: background-color 0.3s, color 0.3s;
}

.pagination-link:hover {
    background-color: #e2e8f0;
}

.pagination-link.active {
    background-color: #1a365d;
    color: white;
}

/* 底部平台简介 */
.platform-intro {
    background-color: #1a365d;
    color: white;
    padding: 50px 30px;
    margin: 40px 0;
    border-radius: 8px;
}

.platform-content {
    text-align: center;
    max-width: 1140px;
    margin: 0 auto;
}

.platform-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.platform-description {
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.7;
    color: #e2e8f0;
}

.platform-btn {
    display: inline-block;
    background-color: #4299e1;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.platform-btn:hover {
    background-color: #3182ce;
}

/* 页脚 */
footer {
    background-color: #2d3748;
    color: #cbd5e0;
    padding: 30px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 0.9rem;
}

/* 期刊摘要部分 */
.journal-header {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 30px;
    margin: 30px 0;
    overflow: hidden;
}

.journal-title-container {
    width: 100%;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
    overflow: hidden;
}

.journal-title {
    color: #1a365d;
    float: left;
    width: calc(100% - 120px);
}

.journal-thumbnail {
    width: 100px;
    height: 133px;
    float: right;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.journal-meta {
    width: 100%;
    margin-bottom: 25px;
    overflow: hidden;
}

.meta-item {
    float: left;
    width: 25%;
    margin-bottom: 15px;
}

.meta-label {
    font-weight: bold;
    color: #4a5568;
    font-size: 0.9rem;
    margin-bottom: 5px;
    display: block;
}

.meta-value {
    color: #2d3748;
    font-size: 1rem;
}

.official-links {
    width: 100%;
    margin-top: 15px;
    overflow: hidden;
}

.official-link {
    color: #3182ce;
    text-decoration: none;
    font-size: 0.95rem;
    margin-right: 20px;
    float: left;
}

.official-link:hover {
    text-decoration: underline;
}

/* 简介部分 */
.journal-description {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 30px;
    margin-bottom: 30px;
}

.description-section {
    margin-bottom: 30px;
}

.description-section:last-child {
    margin-bottom: 0;
}

.section-title {
    color: #1a365d;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eaeaea;
    font-size: 1.3rem;
}

.section-content {
    color: #4a5568;
    line-height: 1.8;
    text-align: justify;
}

/* 幻灯片样式 */
.slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 30px;
}

.slide-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.slide-description {
    font-size: 1rem;
    max-width: 600px;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-dot.active {
    background-color: white;
}

/* 热门服务样式 */
.services-section {
    margin: 50px 0;
}

.section-title {
    color: #1a365d;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.8rem;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #1a365d;
    margin: 15px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background-color: #e6f2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a365d;
    font-size: 1.5rem;
}

.service-title {
    color: #1a365d;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.service-description {
    color: #4a5568;
    font-size: 0.9rem;
}

/* 服务顾问样式 */
.advisors-section {
    margin: 50px 0;
}

.advisors-container {
    position: relative;
    overflow: hidden;
    padding: 0 40px;
}

.advisors-scroll {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    gap: 20px;
    scrollbar-width: none; /* Firefox */
}

.advisors-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.advisor-card {
    flex: 0 0 auto;
    width: 220px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.advisor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.advisor-photo {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.advisor-info {
    padding: 15px;
}

.advisor-name {
    color: #1a365d;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.advisor-position {
    color: #4a5568;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.advisor-description {
    color: #4a5568;
    font-size: 0.85rem;
    margin-bottom: 15px;
    height: 60px;
    overflow: hidden;
}

.advisor-btn {
    display: block;
    background-color: #1a365d;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    text-align: center;
    transition: background-color 0.3s;
}

.advisor-btn:hover {
    background-color: #2d4a7a;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s;
}

.scroll-btn:hover {
    background-color: #f0f0f0;
}

.scroll-left {
    left: 0;
}

.scroll-right {
    right: 0;
}

/* 期刊知识库样式 */
.knowledge-section {
    margin: 50px 0;
}

.knowledge-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.knowledge-column {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
}

.knowledge-header {
    background-color: #1a365d;
    color: white;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.knowledge-title {
    font-size: 1.2rem;
}

.knowledge-more {
    color: white;
    font-size: 0.85rem;
    text-decoration: none;
}

.knowledge-more:hover {
    text-decoration: underline;
}

.knowledge-list {
    padding: 0;
}

.knowledge-item {
    padding: 15px 25px;
    border-bottom: 1px solid #eaeaea;
    transition: background-color 0.3s;
}

.knowledge-item:hover {
    background-color: #f8f9fa;
}

.knowledge-item:last-child {
    border-bottom: none;
}

.knowledge-item a {
    color: #333;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
}

.knowledge-item a:hover {
    color: #1a365d;
}

.knowledge-item-title {
    flex: 1;
}

.knowledge-item-date {
    color: #4a5568;
    font-size: 0.85rem;
    margin-left: 15px;
}

/* 文章列表样式 */
.article-list {
    margin: 30px 0;
}

.article-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 25px;
    margin-bottom: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.article-item-title {
    color: #1a365d;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.article-item-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
    color: #4a5568;
    font-size: 0.9rem;
}

.article-meta-item {
    margin-right: 20px;
    margin-bottom: 5px;
}

.article-meta-label {
    font-weight: bold;
    margin-right: 5px;
}

.article-item-content {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eaeaea;
}

.article-item-tags {
    display: flex;
    gap: 10px;
}

.article-tag {
    background-color: #e6f2ff;
    color: #3182ce;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.article-detail-btn {
    background-color: #1a365d;
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.article-detail-btn:hover {
    background-color: #2d4a7a;
}

/* 文章摘要部分 */
.article-header {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 30px;
    margin: 30px 0;
    overflow: hidden;
}

.article-title {
    color: #1a365d;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
}

.article-meta {
    width: 100%;
    margin-bottom: 15px;
    overflow: hidden;
}

.meta-item {
    float: left;
    margin-right: 25px;
    margin-bottom: 10px;
    color: #4a5568;
    font-size: 0.95rem;
}

.meta-label {
    font-weight: bold;
    margin-right: 5px;
}

.article-tags {
    width: 100%;
    margin-top: 15px;
    overflow: hidden;
}

.article-tag {
    background-color: #e6f2ff;
    color: #3182ce;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}

/* 内容部分 */
.article-content {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 30px;
    margin-bottom: 30px;
}

.content-section {
    margin-bottom: 30px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.section-content {
    color: #4a5568;
    line-height: 1.8;
    text-align: justify;
}

.section-content p {
    margin-bottom: 15px;
}

.section-content h3 {
    color: #1a365d;
    margin: 20px 0 10px;
    font-size: 1.1rem;
}

.section-content ul, .section-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.section-content li {
    margin-bottom: 8px;
}

.highlight-box {
    background-color: #f0f7ff;
    border-left: 4px solid #3182ce;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 4px 4px 0;
}

/* 文章导航 */
.article-nav {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
}

.nav-btn {
    background-color: white;
    color: #4a5568;
    padding: 12px 20px;
    border-radius: 4px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    max-width: 45%;
}

.nav-btn:hover {
    background-color: #e2e8f0;
}

.nav-btn-prev:before {
    content: "?";
    margin-right: 8px;
    font-size: 1.2rem;
}

.nav-btn-next:after {
    content: "?";
    margin-left: 8px;
    font-size: 1.2rem;
}

.nav-btn-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .knowledge-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        float: none;
        position: absolute;
        top: 70px;
        right: 0;
        background-color: #1a365d;
        width: 200px;
        box-shadow: -2px 5px 10px rgba(0,0,0,0.2);
        border-radius: 0 0 0 8px;
        padding: 10px 0;
        z-index: 1000;
    }
    
    .nav-links.active {
        display: block;
    }
    
    .nav-links li {
        float: none;
        margin: 0;
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        line-height: 1.5;
    }
    
    .hamburger {
        display: block;
    }
    
    .journal-item-content {
        flex-direction: column;
    }
    
    .journal-item-thumbnail {
        margin-right: 0;
        margin-bottom: 15px;
        align-self: center;
    }
    
    .journal-meta-item {
        flex: 0 0 50%;
    }
    
    .journal-item-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .journal-item-links {
        width: 100%;
        justify-content: space-between;
    }
    
    .filter-group {
        flex: 0 0 100%;
    }
    
    .meta-item {
        width: 50%;
    }
    
    .official-links {
        text-align: center;
    }
    
    .official-link {
        float: none;
        display: inline-block;
        margin: 0 10px 10px;
    }
    
    .journal-title {
        float: none;
        width: 100%;
    }
    
    .journal-thumbnail {
        float: none;
        display: block;
        margin: 15px auto 0;
    }
    
    .slider {
        height: 300px;
    }
    
    .slide-title {
        font-size: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .advisors-container {
        padding: 0 20px;
    }
    
    .scroll-btn {
        display: none;
    }
    
    .article-item-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .article-item-tags {
        width: 100%;
        flex-wrap: wrap;
    }
    
    .meta-item {
        width: 100%;
        float: none;
        margin-bottom: 8px;
    }
    
    .article-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-btn {
        max-width: 100%;
    }
    
    .platform-intro {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .journal-meta-item {
        flex: 0 0 100%;
    }
    
    .pagination-list {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .meta-item {
        width: 100%;
    }
    
    .slider {
        height: 250px;
    }
    
    .slide-title {
        font-size: 1.3rem;
    }
    
    .slide-description {
        font-size: 0.9rem;
    }
}