/* 文章内容样式 */
.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f3f4f6;
  }
  
  .article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .article-content h4 {
    font-size: 1.125rem;
    font-weight: 500;
    color: #374151;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .article-content p {
    color: #374151;
    line-height: 1.625;
    margin-bottom: 1rem;
  }
  
  .article-content ul {
    color: #374151;
    list-style-type: disc;
    padding-left: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .article-content ol {
    color: #374151;
    list-style-type: decimal;
    padding-left: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .article-content li {
    margin-bottom: 0.25rem;
  }
  
  .article-content a {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
  }
  
  .article-content a:hover {
    text-decoration: underline;
  }
  
  .article-content blockquote {
    border-left: 4px solid #3b82f6;
    background-color: #eff6ff;
    padding-left: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-right: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: #374151;
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
    font-style: italic;
  }
  
  .article-content code:not([class*="language-"]) {
    background-color: #f3f4f6;
    color: #3b82f6;
    padding-left: 0.375rem;
    padding-right: 0.375rem;
    padding-top: 0.125rem;
    padding-bottom: 0.125rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-family: monospace;
  }
  
  .article-content pre {
    background-color: #f9fafb;
    border-radius: 0.5rem;
    overflow-x: auto;
    padding: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    position: relative;
  }
  
  .article-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
  }
  
  .article-content thead {
    background-color: #f9fafb;
  }
  
  .article-content th {
    border: 1px solid #e5e7eb;
    padding: 0.5rem 1rem;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
  }
  
  .article-content td {
    border: 1px solid #e5e7eb;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #374151;
  }
  
  .article-content img {
    border-radius: 0.5rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .article-content hr {
    border-color: #e5e7eb;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  
  .article-content .footnotes {
    font-size: 0.875rem;
    color: #4b5563;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
  }
  
  /* 代码复制按钮样式 */
  .copy-button {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: #374151;
    color: white;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    opacity: 0.6;
    transition: opacity 0.2s;
  }
  
  .copy-button:hover {
    opacity: 1;
  }
  
  /* 进度条样式 */
  .reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background-color: #3b82f6;
    z-index: 50;
  }