/* 冰川蓝极简主题 */
:root {
    --glacier-blue: #e6f7ff;
    --deep-blue: #1890ff;
    --dark-text: #1f2d3d;
    --light-text: #657180;
    --border-color: #d9e7fd;
    --shadow-color: rgba(24, 144, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: var(--glacier-blue);
    color: var(--dark-text);
    line-height: 1.6;
    padding-bottom: 60px;
}

a {
    text-decoration: none;
    color: var(--deep-blue);
    transition: all 0.2s;
}

a:hover {
    color: #0050b3;
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 极简头部 */
header {
    background-color: white;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    margin-bottom: 30px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--deep-blue);
}

.logo span {
    font-weight: 600;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-size: 15px;
    font-weight: 500;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

nav ul li a:hover {
    text-decoration: none;
    border-bottom-color: var(--deep-blue);
}

/* 内容区域 */
.main-content {
    background-color: white;
    border-radius: 6px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.section-title {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--deep-blue);
}

/* 无图文章列表 */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-item {
    padding: 20px;
    border-left: 3px solid var(--deep-blue);
    background-color: var(--glacier-blue);
    transition: all 0.3s;
}

.article-item:hover {
    transform: translateX(5px);
    box-shadow: 2px 0 8px var(--shadow-color);
}

.article-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark-text);
}

.article-excerpt {
    color: var(--light-text);
    font-size: 15px;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    font-size: 13px;
    color: var(--light-text);
}

.article-meta span {
    margin-right: 15px;
}

/* 分类标签 */
.category-tag {
    display: inline-block;
    padding: 2px 8px;
    background-color: var(--deep-blue);
    color: white;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 10px;
}

/* 文章详情 */
.article-detail {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 30px;
}

.article-detail-title {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--dark-text);
}

.article-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 20px;
}

.article-content {
    line-height: 1.8;
    font-size: 16px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: var(--deep-blue);
    font-weight: 500;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.pagination a {
    padding: 8px 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: white;
}

.pagination a:hover {
    background-color: var(--deep-blue);
    color: white;
    text-decoration: none;
}

/* 友情链接 */
.friend-links {
    background-color: white;
    border-radius: 6px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.friend-links h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--deep-blue);
}

.friend-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.friend-links-container a {
    padding: 5px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
}

.friend-links-container a:hover {
    background-color: var(--deep-blue);
    color: white;
    text-decoration: none;
}

/* 页脚 */
footer {
    background-color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 50px;
    border-top: 1px solid var(--border-color);
}

.copyright {
    font-size: 14px;
    color: var(--light-text);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px 5px;
    }
    
    .article-detail-title {
        font-size: 24px;
    }
    
    .pagination {
        flex-direction: column;
        gap: 10px;
    }
    
    .pagination a {
        text-align: center;
    }
}