/* =========================
   长华体育｜博客园页面定制 CSS
   用途：侧边栏公告 + 文章页基础排版
   你可按需删减
   ========================= */

/* --- 全局基础（不激进，避免影响主题） --- */
body{
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 链接更克制 */
a{ text-decoration: none; }
a:hover{ text-decoration: underline; }

/* =========================
   侧边栏公告块（配合我给你的 HTML：.sidebar-announcement）
   ========================= */
.sidebar-announcement{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  padding: 14px 14px;
  margin: 12px 0;
  background: rgba(0,0,0,.02);
}

.sidebar-announcement h3{
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px 0;
  letter-spacing: .2px;
}

.sidebar-announcement p{
  margin: 0 0 10px 0;
}

.sidebar-announcement p:last-child{
  margin-bottom: 0;
}

.sidebar-announcement ul{
  margin: 0 0 10px 18px;
  padding: 0;
}

.sidebar-announcement li{
  margin: 0 0 4px 0;
}

/* 让 strong 更像“工程关键词” */
.sidebar-announcement strong{
  font-weight: 700;
}

/* =========================
   正文阅读体验（尽量不破坏博客园主题）
   ========================= */
.postBody{
  line-height: 1.9;
  font-size: 15px;
}

.postBody h1, .postBody h2, .postBody h3{
  line-height: 1.35;
  margin-top: 1.2em;
  margin-bottom: .6em;
}

.postBody h2{
  padding-bottom: .35em;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.postBody p{
  margin: 0 0 1em 0;
}

/* 引用块更像“工程结论”提示 */
.postBody blockquote{
  margin: 1em 0;
  padding: .8em 1em;
  border-left: 4px solid rgba(0,0,0,.25);
  background: rgba(0,0,0,.03);
  border-radius: 6px;
}

/* 代码块保持清爽 */
.postBody pre{
  border-radius: 10px;
  padding: 12px 14px;
  overflow: auto;
}

/* =========================
   可选：侧边栏小组件统一间距
   ========================= */
#sidebar{
  font-size: 14px;
}

#sidebar .catListTitle{
  font-weight: 700;
  margin-bottom: 6px;
}

#sidebar .catList{
  margin-bottom: 14px;
}