/* =========================================
   全局变量与基础重置
   ========================================= */
:root {
    --bg-color: #f4f6f9;         /* 页面背景色 */
    --card-bg: #ffffff;          /* 卡片背景色 */
    --text-main: #2c3e50;        /* 标题主色 */
    --text-normal: #555555;      /* 正文颜色 */
    --theme-color: #3498db;      /* 主题高亮色 (蓝色) */
    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.08);
}

body {
    background-color: var(--bg-color);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-normal);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* =========================================
   顶部页眉 (Header) & 导航
   ========================================= */
#header {
    background-color: var(--card-bg);
    box-shadow: var(--shadow-soft);
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
}

/* 博客标题 */
#Header1_HeaderTitle {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}
#Header1_HeaderTitle:hover {
    color: var(--theme-color);
}

/* 博客副标题 (签名) */
#Header1_HeaderSub {
    color: #888;
    margin-top: 10px;
    font-size: 1em;
}

/* 导航栏 */
#navigator {
    margin-top: 20px;
}
#navList {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
    gap: 15px;
}
#navList li a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    background: transparent;
    transition: all 0.3s ease;
}
#navList li a:hover {
    background-color: var(--theme-color);
    color: #fff;
}

/* =========================================
   页面主体框架 (Main Layout)
   ========================================= */
#main {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
}

/* 取消博客园默认的浮动影响 */
#mainContent, #sideBar { float: none; }

/* 左侧文章列表区 */
#mainContent {
    width: 72%;
}

/* 右侧边栏 */
#sideBar {
    width: 25%;
}

/* =========================================
   文章列表卡片 (Post Item)
   ========================================= */
.day {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

.day:hover {
    transform: translateY(-5px); /* 悬浮时微微上浮 */
    box-shadow: var(--shadow-hover);
}

/* 文章标题 */
.postTitle {
    border-left: 4px solid var(--theme-color);
    padding-left: 15px;
    margin-bottom: 15px;
}
.postTitle a {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}
.postTitle a:hover {
    color: var(--theme-color);
}

/* 文章摘要 */
.postCon {
    color: var(--text-normal);
    font-size: 15px;
    line-height: 1.8;
}
.c_b_p_desc {
    color: #666;
}

/* 文章底部信息 (发布时间、评论数等) */
.postDesc {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
    font-size: 13px;
    color: #999;
    text-align: right;
}
.postDesc a {
    color: var(--theme-color);
    text-decoration: none;
    margin: 0 5px;
}

/* =========================================
   右侧边栏卡片 (Sidebar)
   ========================================= */
.newsItem, .catListBlogRank, .catListPostCategory, .catListPostArchive, #sidebar_search {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
}

/*