/* 卡片容器 */
.card-container {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 文章标题区域 */
.news-detail-header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.news-detail-title {
    font-size: 28px;
    color: #333;
    margin: 0 0 15px;
    line-height: 1.4;
}

.meta-info {
    color: #666;
    font-size: 14px;
    justify-content: center;
}

.meta-info span {
    display: inline-block;
}

.meta-info i {
    margin-right: 5px;
}

/* 文章内容区域 */
.news-detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.news-detail-content p {
    margin-bottom: 1em;
}

.news-detail-content img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
}

/* 附件列表 */
.section-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.section-header h2 {
    font-size: 20px;
    color: #333;
    margin: 0;
}

.attachment-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.attachment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    transition: all 0.3s;
}

.attachment-item:hover {
    background: #f0f2f5;
}

.attachment-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.attachment-info i {
    font-size: 24px;
    color: #4a90e2;
}

.attachment-meta h3 {
    margin: 0 0 5px;
    font-size: 16px;
    color: #333;
}

.attachment-meta p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.btn-outline {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #4a90e2;
    border-radius: 4px;
    color: #4a90e2;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: #4a90e2;
    color: #fff;
}

/* 上一篇下一篇导航 */
.news-navigation {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-label {
    color: #666;
    margin-right: 10px;
    white-space: nowrap;
}

.nav-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-item a:hover {
    color: #4a90e2;
}

.nav-none {
    color: #999;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .news-detail-title {
        font-size: 24px;
    }
    
    .meta-info span {
        margin: 0 10px;
    }
    
    .attachment-item {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .btn-outline {
        width: 100%;
        justify-content: center;
    }
} 