/* ========== 全局基础 ========== */
body {
    background-color: #f5f5f5;  /* 浅灰背景，让白色卡片凸显出来 */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
}

/* 主内容区居中，限制宽度 */
#main {
    max-width: 860px;
    margin: 20px auto;
    background: transparent;
}

/* ========== 文章卡片样式 ========== */
.day {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    padding: 25px 30px;
    transition: box-shadow 0.2s;
}
.day:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 文章标题 */
.postTitle a, .entrylistPosttitle a {
    font-size: 1.4em;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
}
.postTitle a:hover, .entrylistPosttitle a:hover {
    color: #0d6efd;
    text-decoration: underline;
}

/* 文章摘要与正文 */
.postCon, .entrylistPostSummary {
    font-size: 15px;
    line-height: 1.7;
    color: #4a4a4a;
    margin-top: 10px;
}

/* 文章底部信息（日期、评论等） */
/* 修复博客园post信息栏图标对齐问题 */
.postDesc,  /* 针对文章详情页 */
.post-footers, /* 针对文章列表页 */
.day .postDesc { /* 针对首页文章摘要区域 */
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}
.postDesc img, .post-footers img, .day .postDesc img {
    display: inline-block;
    margin: 0;
    vertical-align: middle;
}
/* 分页导航美化 */
.pager {
    text-align: center;
    margin: 30px 0;
}
.pager a {
    display: inline-block;
    padding: 6px 14px;
    margin: 0 4px;
    background: #fff;
    border-radius: 4px;
    color: #555;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.pager a:hover {
    background: #0d6efd;
    color: #fff;
}

/* ========== 侧边栏美化 ========== */
#sidebar {
    background: transparent;
}
#sidebar .sidebar-block {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    padding: 16px;
    margin-bottom: 15px;
}
#sidebar h3 {
    font-size: 16px;
    border-left: 3px solid #0d6efd;
    padding-left: 10px;
    margin-top: 0;
}
#sidebar ul {
    list-style: none;
    padding-left: 0;
}
#sidebar ul li {
    padding: 4px 0;
    border-bottom: 1px dashed #eee;
}
#sidebar ul li a {
    color: #555;
    text-decoration: none;
}
#sidebar ul li a:hover {
    color: #0d6efd;
}

/* 让页面更透气，去掉一些默认边距 */
#navigator {
    margin-bottom: 10px;
}