/* 极简主义青柠绿主题 */
:root {
    --primary: #a3e635;
    --primary-dark: #65a30d;
    --bg: #fafafa;
    --text: #333;
    --text-light: #666;
    --border: #e5e7eb;
    --radius: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    font-size: 16px;
}

a {
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s;
}

a:hover {
    color: var(--primary-dark);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 极简头部 */
.header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    font-size: 16px;
    font-weight: 500;
}

/* 极简内容区 */
.main {
    min-height: 60vh;
    margin-bottom: 60px;
}

.section-title {
    font-size: 20px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary);
}

/* 极简网格布局 */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.card:hover {
    border-color: var(--primary);
}

.card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-light);
}

/* 极简分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a {
    padding: 8px 16px;
    border: 1px solid var(--border);
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* 极简详情页 */
.article-header {
    margin-bottom: 40px;
    text-align: center;
}

.article-title {
    font-size: 28px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 14px;
}

.article-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin-bottom: 30px;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.7;
}

.article-content p {
    margin-bottom: 20px;
}

/* 极简友情链接 */
.friend-links {
    margin: 50px 0;
}

.friend-links h3 {
    margin-bottom: 20px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.links-grid a {
    display: block;
    padding: 10px;
    border: 1px solid var(--border);
    text-align: center;
    font-size: 14px;
}

.links-grid a:hover {
    border-color: var(--primary);
}

/* 极简页脚 */
.footer {
    padding: 30px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
}

/* 响应式 */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav {
        gap: 15px;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    .article-title {
        font-size: 24px;
    }
}