/* 禅意侘寂风格 - 陶土棕色调 */
:root {
    --clay-primary: #a86a4b;
    --clay-secondary: #c79b7b;
    --clay-dark: #4a3a2f;
    --clay-light: #e8d8c8;
    --clay-text: #5a4a3f;
    --clay-bg: #f5efe8;
    --texture-overlay: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="rgba(0,0,0,0.02)" d="M0 0h100v100H0z"/><path fill="none" stroke="rgba(0,0,0,0.05)" stroke-width="0.5" d="M20 0v100M40 0v100M60 0v100M80 0v100M0 20h100M0 40h100M0 60h100M0 80h100"/></svg>');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: var(--clay-bg);
    color: var(--clay-text);
    line-height: 1.8;
    background-image: var(--texture-overlay);
}

a {
    text-decoration: none;
    color: var(--clay-primary);
    transition: all 0.4s ease;
}

a:hover {
    color: var(--clay-dark);
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 自然肌理头部 */
header {
    background-color: rgba(232, 216, 200, 0.9);
    padding: 25px 0;
    border-bottom: 1px solid rgba(168, 106, 75, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(3px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--clay-dark);
    position: relative;
    padding-bottom: 5px;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--clay-primary);
    transform: scaleX(0.7);
    transform-origin: left;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    padding: 8px 0;
    position: relative;
    font-weight: 300;
    letter-spacing: 1px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--clay-primary);
    transition: width 0.4s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* 主要内容区域 - 手工纸质感 */
.main-content {
    background-color: rgba(232, 216, 200, 0.6);
    border-radius: 2px;
    padding: 40px;
    margin: 40px 0;
    border: 1px solid rgba(168, 106, 75, 0.1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(to right, var(--clay-primary), var(--clay-secondary));
    opacity: 0.2;
}

.section-title {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(168, 106, 75, 0.3);
    letter-spacing: 1px;
    color: var(--clay-dark);
}

/* 陶土卡片样式 */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.article-card {
    background-color: rgba(232, 216, 200, 0.8);
    border-radius: 1px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(168, 106, 75, 0.1);
    position: relative;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--clay-primary);
    opacity: 0.3;
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: sepia(0.3) contrast(0.9) brightness(0.95);
    border-bottom: 1px solid rgba(168, 106, 75, 0.1);
}

.card-body {
    padding: 25px;
}

.card-title {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 1.5;
    color: var(--clay-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--clay-primary);
    margin-top: 20px;
    font-style: italic;
}

/* 分类标签 - 陶土质感 */
.category-tag {
    display: inline-block;
    padding: 3px 12px;
    background-color: rgba(168, 106, 75, 0.1);
    color: var(--clay-primary);
    border-radius: 1px;
    font-size: 12px;
    margin-bottom: 15px;
    border: 1px dashed rgba(168, 106, 75, 0.3);
}

/* 文章详情页 */
.article-detail {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 40px;
    text-align: center;
}

.article-title {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.4;
    color: var(--clay-dark);
    letter-spacing: 1px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    color: var(--clay-primary);
    margin-bottom: 30px;
    font-style: italic;
    flex-wrap: wrap;
}

.article-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    margin: 30px 0;
    filter: sepia(0.3) contrast(0.9) brightness(0.95);
    border: 1px solid rgba(168, 106, 75, 0.2);
}

.article-content {
    line-height: 1.9;
    font-size: 17px;
    font-weight: 300;
}

.article-content p {
    margin-bottom: 25px;
    text-align: justify;
}

/* 分页导航 - 简约风格 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
}

.pagination a {
    padding: 8px 20px;
    border: 1px solid rgba(168, 106, 75, 0.3);
    color: var(--clay-primary);
    transition: all 0.4s ease;
}

.pagination a:hover {
    background-color: rgba(168, 106, 75, 0.1);
    text-decoration: none;
}

/* 友情链接 - 自然风格 */
.friend-links {
    background-color: rgba(232, 216, 200, 0.8);
    border-radius: 1px;
    padding: 30px;
    margin: 40px 0;
    border: 1px solid rgba(168, 106, 75, 0.1);
}

.friend-links h3 {
    margin-bottom: 20px;
    font-weight: 300;
    color: var(--clay-dark);
    font-size: 20px;
    letter-spacing: 1px;
}

.friend-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.friend-links-container a {
    padding: 6px 15px;
    background-color: rgba(168, 106, 75, 0.1);
    border-radius: 1px;
    font-size: 14px;
    border: 1px dashed rgba(168, 106, 75, 0.3);
    transition: all 0.3s ease;
}

.friend-links-container a:hover {
    background-color: rgba(168, 106, 75, 0.2);
    text-decoration: none;
}

/* 页脚 - 简约风格 */
footer {
    background-color: var(--clay-dark);
    color: var(--clay-light);
    padding: 30px 0;
    text-align: center;
    margin-top: 60px;
    font-weight: 300;
    letter-spacing: 1px;
}

.copyright {
    font-size: 14px;
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .article-grid {
        grid-template-columns: 1fr;
    }
    
    .article-title {
        font-size: 26px;
    }
    
    .main-content {
        padding: 30px 20px;
    }
}