/* 极简奶油色系主题 */
:root {
    --cream-light: #f8f4e9;
    --cream-medium: #e9e1d1;
    --cream-dark: #d8d0c0;
    --text-dark: #333333;
    --text-light: #666666;
    --accent: #c0a080;
    --line: rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: var(--cream-light);
    color: var(--text-dark);
    line-height: 1.6;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 极简头部 */
header {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--line);
    margin-bottom: 2rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    letter-spacing: 1px;
    font-weight: 400;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

/* 主要内容区 */
.main-content {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--line);
}

/* 极简文章列表 */
.article-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.article-item {
    background: white;
    padding: 1.5rem;
    border: 1px solid var(--line);
}

.article-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.article-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
}

/* 文章详情 */
.article-detail {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border: 1px solid var(--line);
}

.article-header {
    margin-bottom: 2rem;
    text-align: center;
}

.article-detail-title {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-detail-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.article-content {
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1.5rem;
}

/* 极简分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination a {
    padding: 0.5rem 1rem;
    border: 1px solid var(--line);
}

/* 友情链接 */
.friend-links {
    margin: 3rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.friend-links h3 {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1rem;
    text-align: center;
}

.friend-links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.friend-links-container a {
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--line);
}

/* 极简页脚 */
footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .article-list {
        grid-template-columns: 1fr;
    }
    
    .article-detail {
        padding: 1.5rem;
    }
    
    .article-detail-title {
        font-size: 1.5rem;
    }
}