/* 标题通用设置 */
h1, h2, h3 {
    margin-bottom: 0.8em;
    font-weight: 600;
    line-height: 1.3;
    display: flex;
    align-items: center; /* 垂直居中对齐 */
  }
  
  /* H1: # 符号 + 柔和渐变线 */
  h1 {
    position: relative;
    padding-bottom: 0.3em;
    margin-top: 2em;
    font-size: 2.5em;
    font-weight: 700;
    letter-spacing: 0.5px;
  }
  
  h1::before {
    content: "#";
    color: var(--accent-color, #3b82f6);
    margin-right: 8px; /* 紧凑间距 */
    font-weight: 700;
    opacity: 0.8;
  }
  
  h1::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, 
      var(--accent-color, #3b82f6) 0%, 
      rgba(59, 130, 246, 0.05) 100%); /* 柔和渐变 */
    margin-left: 15px;
    transition: background 0.3s ease; /* 动画过渡 */
  }
  
  h1:hover::after {
    background: linear-gradient(90deg, 
      var(--accent-color, #3b82f6) 0%, 
      rgba(59, 130, 246, 0.3) 100%); /* hover 效果 */
  }
  
  /* H2: >> 符号 + 纯色线 */
  h2 {
    position: relative;
    padding-bottom: 0.3em;
    margin-top: 1.5em;
    font-size: 2em;
    font-weight: 600;
    letter-spacing: 0.3px;
  }
  
  h2::before {
    content: ">>";
    color: rgba(59, 130, 246, 0.7);
    margin-right: 8px;
    font-weight: 700;
  }
  
  h2::after {
    content: "";
    flex: 1;
    height: 1.5px; /* 稍粗线条 */
    background-color: rgba(59, 130, 246, 0.5);
    margin-left: 15px;
  }
  
  /* H3: · 符号 + 细腻虚线 */
  h3 {
    position: relative;
    padding-bottom: 0.3em;
    margin-top: 1.2em;
    font-size: 1.5em;
    font-weight: 600;
  }
  
  h3::before {
    content: "·";
    color: rgba(59, 130, 246, 0.5); /* 淡化颜色 */
    margin-right: 8px;
    font-weight: 700;
  }
  
  h3::after {
    content: "";
    flex: 1;
    height: 1px;
    background-image: linear-gradient(to right, 
      rgba(59, 130, 246, 0.3) 50%, 
      transparent 50%);
    background-size: 6px 100%; /* 细腻虚线 */
    margin-left: 15px;
  }
  
  /* 响应式调整 */
  @media (max-width: 768px) {
    h1::before, h2::before, h3::before {
      font-size: 0.8em; /* 小屏幕缩小符号 */
    }
  }