.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
  }
  
  .breadcrumb-section {
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 30px;
  }
  
  .breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
    color: #6b7280;
  }
  
  .breadcrumb-item {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
  }
  
  .breadcrumb-item:hover {
    color: #3b82f6;
  }
  
  .breadcrumb-separator {
    margin: 0 8px;
    color: #d1d5db;
  }
  
  .breadcrumb-current {
    color: #1f2937;
    font-weight: 500;
  }
  
  .article-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    margin-bottom: 40px;
  }
  
  .article-main {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }
  
  .article-header {
    padding: 10px 10px 10px;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .article-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
    margin-bottom: 20px;
  }
  
  .article-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
  }
  
  .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6b7280;
  }
  
  .meta-item i {
    color: #9ca3af;
  }
  
  .article-content {
    padding: 40px;
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
  }
  
  .article-content h1,
  .article-content h2,
  .article-content h3,
  .article-content h4,
  .article-content h5,
  .article-content h6 {
    margin-top: 2em;
    margin-bottom: 1em;
    font-weight: 600;
    color: #1f2937;
  }
  
  .article-content h1 { font-size: 28px; }
  .article-content h2 { font-size: 24px; }
  .article-content h3 { font-size: 20px; }
  .article-content h4 { font-size: 18px; }
  
  .article-content p {
    margin-bottom: 1.5em;
  }
  
  .article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
  }
  
  .article-content pre {
    background: #f3f4f6;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
  }
  
  .article-content blockquote {
    border-left: 4px solid #3b82f6;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #6b7280;
  }
  
  .article-share {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 30px 40px;
    border-top: 1px solid #e5e7eb;
    flex-wrap: wrap;
  }
  
  .share-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: #6b7280;
    white-space: nowrap;
  }
  
  .share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  
  .share-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f3f4f6;
    border: none;
    border-radius: 6px;
    color: #6b7280;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .share-btn:hover {
    background: #e5e7eb;
    color: #374151;
  }
  
  .article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 80px;
    align-self: flex-start;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
  }
  
  .sidebar-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    flex-shrink: 0;
  }
  
  .card-header {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
  }
  
  .card-content {
    padding: 20px;
  }
  
  #articleToc {
    font-size: 14px;
  }
  
  #articleToc a {
    display: block;
    padding: 6px 0;
    color: #6b7280;
    text-decoration: none;
    border-left: 2px solid transparent;
    padding-left: 12px;
    transition: all 0.2s ease;
  }
  
  #articleToc a:hover,
  #articleToc a.active {
    color: #3b82f6;
    border-left-color: #3b82f6;
  }
  
  .latest-articles {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .latest-item {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  
  .latest-item:last-child {
    border-bottom: none;
  }
  
  .latest-item:hover {
    transform: translateX(4px);
  }
  
  .latest-title {
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 4px;
    line-height: 1.4;
  }
  
  .latest-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #6b7280;
  }
  
  .article-navigation {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .nav-item {
    flex: 1;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100px;
  }
  
  .nav-item:hover:not(.disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  
  .nav-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f9fafb;
  }
  
  .nav-prev {
    text-align: left;
  }
  
  .nav-next {
    text-align: right;
  }
  
  .nav-direction {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
  }
  
  .nav-next .nav-direction {
    justify-content: flex-end;
  }
  
  .nav-title {
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
    font-size: 16px;
  }
  
  .nav-item.disabled .nav-title {
    color: #9ca3af;
  }
  
  .back-to-list {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .back-to-list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
  }
  
  .back-to-list a:hover {
    background: #2563eb;
    transform: translateY(-1px);
  }
  
  .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
  }
  
  .back-to-top.show {
    opacity: 1;
    visibility: visible;
  }
  
  .back-to-top:hover {
    background: #2563eb;
    transform: translateY(-2px);
  }
  
  .article-sidebar::-webkit-scrollbar {
    width: 6px;
  }
  
  .article-sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
  }
  
  .article-sidebar::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
  }
  
  .article-sidebar::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
  }
  
  @media (max-width: 1024px) {
    .article-container {
      grid-template-columns: 1fr;
      gap: 30px;
    }
    
    .article-sidebar {
      position: static;
      max-height: none;
      overflow-y: visible;
      order: -1;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
    }
  }
  
  @media (max-width: 768px) {
    .container {
      padding: 0 15px;
    }
    

    
    .breadcrumb {
      font-size: 13px;
    }
    
    .article-container {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    
    .article-main {
      order: 1;
    }
    
    .article-navigation {
      order: 2;
      flex-direction: column;
      gap: 15px;
    }
    
    .article-sidebar {
      order: 3;
      position: static;
      max-height: none;
      overflow-y: visible;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    
    .sidebar-card.toc-card {
      order: 1;
    }
    
    .sidebar-card.latest-articles-card {
      order: 2;
    }
    
    .article-header {
      padding: 30px 20px 20px;
    }
    
    .article-title {
      font-size: 24px;
    }
    
    .article-content {
      padding: 30px 20px;
    }
    
    .article-share {
      padding: 20px;
    }
    
    .nav-item {
      padding: 16px;
      min-height: 80px;
      text-align: left !important;
    }
    
    .nav-next .nav-direction {
      justify-content: flex-start;
    }
    
    .back-to-top {
      bottom: 20px;
      right: 20px;
      width: 45px;
      height: 45px;
    }
    
    .latest-articles {
      gap: 8px;
    }
    
    .latest-item {
      padding: 10px 0;
    }
    
    .latest-title {
      font-size: 14px;
      line-height: 1.3;
    }
    
    .latest-meta {
      font-size: 11px;
      gap: 12px;
    }
  }
  
  @media (max-width: 480px) {
    .container {
      padding: 0 12px;
    }
    
    .article-header {
      padding: 20px 15px 15px;
    }
    
    .article-title {
      font-size: 20px;
    }
    
    .article-content {
      padding: 20px 15px;
      font-size: 15px;
    }
    
    .article-share {
      padding: 15px;
    }
    
    .nav-item {
      padding: 12px;
      min-height: 70px;
    }
    
    .nav-title {
      font-size: 14px;
    }
    
    .article-sidebar {
      gap: 16px;
    }
    
    .card-header {
      padding: 16px;
    }
    
    .card-content {
      padding: 16px;
    }
  }
