/* 文章项（无子菜单）- 添加文件图标 */
.sidebar-nav li:not(:has(ul)) > a:before {
  content: '📄 ';
}

/* 左侧导航栏宽度增加 10% */
.sidebar {
  width: 320px !important; 
}

/* 右侧目录样式宽度增加 90% */
.toc {
  position: fixed;
  top: 60px;
  right: 10px;
  max-width: 380px; /* 原 200px * 1.9 = 380px */
  overflow-y: auto;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 4px;
  font-size: 14px;
}

.toc ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.toc li {
  margin: 5px 0;
}

.toc a {
  color: #34495e;
  text-decoration: none;
}

.toc a:hover {
  color: #42b983;
}

.toc .toc-h2 {
  padding-left: 10px;
}

.toc .toc-h3 {
  padding-left: 20px;
  font-size: 13px;
}

/* 主内容区域右侧留白调整 */
.markdown-section {
  max-width: 1200px;
  margin-right: 20px;
  margin-left: 30px;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .markdown-section {
    margin-right: 0 !important;
    padding: 16px !important;
  }
}

/* 强制展开 2026 年/04 月目录 */
.sidebar-nav li.open > ul {
  display: block !important;
}

/* 确保 2026 年的目录是打开的 */
.sidebar-nav a[href="/2026/2026-04/crypto-idealist-technology-analysis-2026"] {
  font-weight: normal;
}
