/* ===== 页面整体背景 ===== */
body {
    background-color: #f9f9f9 !important;
    font-family: "微软雅黑", Arial, sans-serif !important;
    color: #333 !important;
}

/* ===== 页面容器 ===== */
#home {
    margin: 50px auto !important;
    width: 80% !important;
    min-width: 980px !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    padding: 30px !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08) !important;
    transition: box-shadow 0.3s ease !important;
}

/* ===== 页首 ===== */
#blogHeader {
    background-color: rgba(255, 255, 255, 0.95) !important;
    padding: 20px 0 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
    margin-bottom: 30px !important;
}
.header-logo a {
    font-size: 28px !important;
    font-weight: bold !important;
    color: #2C6B2F !important;
    text-decoration: none !important;
    transition: color 0.3s !important;
}
.header-logo a:hover {
    color: #1D4E1D !important;
}
.header-nav a {
    margin: 0 10px !important;
    font-size: 16px !important;
    color: #21759b !important;
    font-weight: bold !important;
    text-decoration: none !important;
    padding: 6px 12px !important;
    border-radius: 5px !important;
    transition: all 0.3s !important;
}
.header-nav a:hover {
    background-color: rgba(33,160,139,0.1) !important;
    color: #0f3647 !important;
}

/* ===== 文章条目 ===== */
#post_list > div,
.entrylist,
.day {
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 8px !important;
    margin-bottom: 25px !important;
    padding: 20px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}
#post_list > div:hover,
.entrylist:hover,
.day:hover {
    background: rgba(245, 250, 245, 1) !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12) !important;
    transform: translateY(-2px) !important;
}

/* 文章标题 */
.postTitle a:link,
.postTitle a:visited,
.postTitle a:active {
    color: #21759b !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
}
.postTitle a:hover {
    color: #0f3647 !important;
    text-decoration: underline !important;
    margin-left: 8px !important;
}

/* 文章内容 */
.postCon {
    line-height: 1.6em !important;
    padding-top: 10px !important;
}

/* 附加信息 */
.postDesc {
    color: #555 !important;
    font-size: 13px !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(0,0,0,0.05) !important;
    transition: color 0.3s !important;
}
#post_list > div:hover .postDesc,
.entrylist:hover .postDesc,
.day:hover .postDesc {
    color: #333 !important;
}

/* ===== 侧边栏卡片化 ===== */
.sideBar .sideSection,
.newsItem,
.catListEssay,
.catListLink,
.catListNoteBook,
.catListTag,
.catListPostCategory,
.catListPostArchive,
.catListImageCategory,
.catListArticleArchive,
.catListView,
.catListFeedback,
.mySearch,
.catListComment,
.catListBlogRank,
.catList,
.catListArticleCategory,
#blog-calendar {
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 8px !important;
    margin-bottom: 25px !important;
    padding: 15px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
    transition: all 0.3s ease !important;
}
.sideBar .sideSection:hover,
.newsItem:hover,
.catListEssay:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.12) !important;
}

/* ===== 页脚 ===== */
#blogFooter {
    background-color: rgba(255, 255, 255, 0.95) !important;
    padding: 20px 0 !important;
    text-align: center !important;
    border-top: 2px solid rgba(200, 230, 220, 0.8) !important;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.05) !important;
    color: #555 !important;
    font-size: 14px !important;
}
#blogFooter a {
    color: #2C6B2F !important;
    text-decoration: none !important;
    margin: 0 8px !important;
    transition: all 0.3s !important;
}
#blogFooter a:hover {
    color: #1D4E1D !important;
    text-decoration: underline !important;
}

/* ===== 按钮统一样式 ===== */
.button,
.btn {
    background-color: #2C6B2F !important;
    color: #fff !important;
    border: none !important;
    border-radius: 5px !important;
    padding: 6px 12px !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
}
.button:hover,
.btn:hover {
    background-color: #1D4E1D !important;
    transform: translateY(-1px) !important;
}

/* ===== 代码块样式 ===== */
.cnblogs_code,
.cnblogs_code div,
.cnblogs_code_toolbar {
    background: rgba(245,245,245,0.95) !important;
    border-radius: 6px !important;
    padding: 8px !important;
    overflow-x: auto !important;
}