.post-content h2, 
.post-content h3 {
    color: #222222 !important; 
}

.widget ul {
  list-style: none;
  padding-left: 0;
}
.widget ul li {
  margin-bottom: 0.5em;
}
.widget a {
  color: #333333;  /* 与主题链接颜色一致 */
  text-decoration: none;
}
.widget a:hover {
  text-decoration: underline;
}

/* 覆盖侧边栏宽度 */
.sidebar {
  flex: 0 0 240px !important;  /* 固定宽度 240px */
  margin-left: 20px !important; /* 与主内容保持间距 */
}

/* 调整主内容区，避免重叠 */
.main {
  flex: 1 1 auto !important;
}

.widget-title {
    border-bottom: 2px solid #cccccc !important; /* 改为浅灰，非常百搭 */
    /* 或者用 #333333 (深灰) */
}

/* 小屏幕恢复全宽 */
@media only screen and (max-width: 1024px) {
  .sidebar {
    flex: 1 0 100% !important;
    margin-left: 0 !important;
  }
}

/* 修改 Markdown 行内代码的样式，去掉红色背景，改为浅灰底色 */
code {
    background-color: #f4f4f4 !important; /* 浅灰背景 */
    color: #333333 !important;            /* 深灰文字 */
    border: 1px solid #e0e0e0 !important; /* 浅灰边框 */
    padding: 2px 6px !important;
    border-radius: 4px !important;
    font-size: 90% !important;
}