:root {
    --primary-color: #1e88e5;
    --primary-dark: #1565c0;
    --primary-light: #64b5f6;
    --secondary-color: #2962ff;
    --text-color: #333;
    --light-text: #666;
    --white: #fff;
    --gray-bg: #f5f7fa;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--gray-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 面包屑导航 */
.breadcrumb {
    background: #f8fcff99;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    margin: 0 10px;
    color: var(--light-text);
}

.breadcrumb .current {
    color: var(--light-text);
}

/* 文章内容区 */
.article-section {
    padding: 40px 0 60px;
}

.article-content {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.article-title {
    font-size: 28px;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    color: var(--light-text);
    font-size: 14px;
}

.article-views i {
    margin-right: 5px;
}

.article-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
}

.article-text p {
    margin-bottom: 20px;
}

.article-image {
    margin: 30px 0;
}

.article-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 分享按钮 */
.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 40px 0;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.article-share span {
    color: var(--light-text);
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
}

.share-btn.weixin {
    background-color: #07c160;
}

.share-btn.weibo {
    background-color: #e6162d;
}

.share-btn.qq {
    background-color: #12b7f5;
}

/* 上一篇下一篇导航 */
.article-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.article-navigation a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    max-width: 45%;
}

.article-navigation a:hover {
    color: var(--primary-color);
}

.article-navigation i {
    font-size: 12px;
}

.article-navigation span {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .article-content {
        padding: 20px;
    }

    .article-title {
        font-size: 24px;
    }

    .article-navigation {
        flex-direction: column;
        gap: 20px;
    }

    .article-navigation a {
        max-width: 100%;
    }
} 