/* 极简风格黄色主题 */
:root {
    --primary-color: #ffd700;
    --secondary-color: #fffacd;
    --bg-color: #fffaf0;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.2s ease;
}

a:hover {
    color: var(--primary-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 极简头部 */
header {
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.tagline {
    font-size: 14px;
    color: #888;
    font-weight: 300;
}

nav {
    margin-top: 20px;
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 30px;
}

nav ul li a {
    font-size: 16px;
    font-weight: 300;
    padding: 5px 0;
    border-bottom: 1px solid transparent;
}

nav ul li a:hover {
    border-bottom-color: var(--primary-color);
}

/* 主要内容区 */
.main-content {
    margin-bottom: 60px;
}

.section-title {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--primary-color);
}

/* 极简文章网格 */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.article-card {
    background-color: white;
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.4;
}

.card-meta {
    font-size: 12px;
    color: #888;
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

/* 文章详情页 */
.article-detail {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border: 1px solid var(--border-color);
}

.article-header {
    margin-bottom: 40px;
    text-align: center;
}

.article-title {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-meta {
    font-size: 14px;
    color: #888;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.article-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin-bottom: 30px;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 20px;
}

/* 极简分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    font-size: 14px;
}

.pagination a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* 友情链接 */
.friend-links {
    margin: 40px 0;
    text-align: center;
}

.friend-links h3 {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 20px;
    color: #888;
}

.friend-links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.friend-links-container a {
    font-size: 14px;
    padding: 5px 15px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

.friend-links-container a:hover {
    border-color: var(--primary-color);
}

/* 极简页脚 */
footer {
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 14px;
    color: #888;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .logo {
        font-size: 28px;
    }
    
    nav ul {
        gap: 15px;
    }
    
    .article-grid {
        grid-template-columns: 1fr;
    }
    
    .article-detail {
        padding: 20px;
    }
    
    .article-title {
        font-size: 26px;
    }
}