   /* ---
   Modern Minimalist Theme
   Evolving from the "Scholar Style"
--- */

/* 1. 全局设定与柔和背景 */
body { 
    margin: 0; 
    padding: 0; 
    font-family: 'Noto Serif SC', 'Georgia', serif; 
    line-height: 1.8; /* 增加行距，提升呼吸感 */
    font-size: 18px; 
    color: #343a40; /* 使用更柔和的深灰色代替纯黑 */
    background-color: #f8f9fa; /* 使用非常浅的灰色作为页面背景 */
    -webkit-font-smoothing: antialiased; 
}

/* 2. 核心布局与卡片式效果 */
.container { 
    max-width: 850px; /* 稍微加宽 */
    margin: 0 auto; 
    padding: 40px 20px; 
}
@media (min-width: 768px) {
    .container {
        padding: 50px;
        background-color: #ffffff; /* 在大屏幕上，内容区为白色 */
        margin-top: 40px;
        margin-bottom: 40px;
        border-radius: 8px;
        box-shadow: 0 4px 25px rgba(0,0,0,0.05); /* 添加微妙的阴影，制造层次感 */
    }
}

/* 3. 带有渐变的精致页眉 */
.site-header { 
    text-align: center; 
    margin-bottom: 60px; 
    border-bottom: none; /* 移除旧的下划线 */
    padding: 40px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); /* 添加优雅的渐变背景 */
    border-radius: 8px;
}
.site-title a { 
    font-family: 'Inter', sans-serif; /* 标题使用新字体 */
    color: #212529; 
    text-decoration: none; 
    font-size: 2.8rem;
    font-weight: 700;
}
.site-tagline { 
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem; 
    color: #6c757d; 
    margin: 10px 0; 
}
.site-nav { 
    font-family: 'Inter', sans-serif;
    margin-top: 20px; 
}
.site-nav a { 
    color: #495057; 
    text-decoration: none; 
    margin: 0 15px; 
    transition: color 0.2s ease-in-out; 
    font-weight: 500;
}
.site-nav a:hover { 
    color: #0056b3; /* 使用更鲜明的蓝色作为悬停色 */
}

/* 4. 内容区通用样式 */
.site-content { margin-bottom: 60px; }
.page-header { text-align: center; margin-bottom: 40px; }
.page-header h1 { font-family: 'Inter', sans-serif; font-size: 2.5rem; }
.page-header p { color: #888; font-family: 'Inter', sans-serif; }
h1, h2, h3, h4, h5, h6 { font-family: 'Inter', sans-serif; } /* 所有标题都用新字体 */
a { color: #0056b3; text-decoration: none; } /* 定义全局链接颜色 */
a:hover { text-decoration: underline; }

/* 5. 首页导航卡片美化 */
.home-intro { text-align: center; margin: 20px 0 50px; }
.home-intro h2 { font-size: 2rem; font-family: 'Inter', sans-serif; }
.home-intro p { font-size: 1.1rem; color: #666; }
.home-navigation { display: flex; gap: 30px; }
.nav-card { flex: 1; border: 1px solid #e9ecef; border-radius: 8px; text-decoration: none; color: inherit; transition: all 0.2s ease-in-out; background-color: #fff; }
.nav-card:hover { transform: translateY(-5px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); border-color: #0056b3; }
.nav-card-content { padding: 30px; }
.nav-card-content h3 { margin: 0 0 10px; font-size: 1.5rem; color: #333; }
.nav-card-content p { margin: 0; color: #777; font-family: 'Inter', sans-serif; }

/* ▼▼▼ 用下面的代码块替换掉您 main.css 中现有的第 6 部分 ▼▼▼ */
/* 6. 列表页 (文章/项目) 样式优化 */
.post-list, .project-list { 
    list-style: none; 
    padding-left: 0; 
}
.post-entry, .project-item { 
    margin-bottom: 15px; /* 减小每个标题间的垂直间距 */
    padding: 20px 25px; /* 减小内边距 */
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
}
.post-entry:hover, .project-item:hover {
    border-color: #ced4da;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transform: translateY(-2px); /* 添加轻微的上浮效果 */
}
.post-title, .project-title { 
    font-size: 1.0rem; /* 【关键】将字体大小从 1.6rem 显著减小 */
    margin: 0; 
}
.post-title a, .project-title a { 
    color: #212529; 
    text-decoration: none; 
}
/* 我们不再需要 meta, excerpt, description 的样式了 */

/* 7. 文章详情页样式 */
.post-full .post-header { text-align: center; margin-bottom: 40px; }
.post-title-full { font-size: 3rem; margin-bottom: 10px; line-height: 1.2; }
.post-content h2 { font-size: 1.8rem; margin-top: 50px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.post-content blockquote { border-left: 4px solid #0056b3; padding-left: 20px; margin-left: 0; font-style: italic; color: #666; background-color: #f8f9fa; }
.post-content pre { background-color: #2b2b2b; color: #f8f8f2; padding: 20px; border-radius: 8px; overflow-x: auto; font-size: 0.9rem; }
.post-content code { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace; }

/* 8. 页脚样式 */
.site-footer { text-align: center; border-top: 1px solid #eeeeee; padding-top: 30px; font-family: 'Inter', sans-serif; font-size: 0.9rem; color: #aaaaaa; }

/* 9. 响应式设计 */
@media (max-width: 768px) {
    body { font-size: 16px; }
    .home-navigation { flex-direction: column; }
    .site-header { margin-left: -20px; margin-right: -20px; border-radius: 0; }
}
