:root {
            --primary-color: #3498db;
            --text-color: #333;
            --gray-bg: #f8f9fa;
            --border-color: #e9ecef;
        }
.showb{
    max-width: 1200px;
    margin: 0 auto;
}
.background{
    background-color: #FFFFFF;
        padding: 10px;
}
/* 面包屑导航 */
        .breadcrumb {
            padding: 20px 0;
            font-size: 14px;
            color: #6c757d;
        }
 
        .breadcrumb a {
            color: var(--primary-color);
            text-decoration: none;
        }
 
        .breadcrumb a:hover {
            text-decoration: underline;
        }
 
        .breadcrumb-separator {
            margin: 0 8px;
        }
 
        /* 文章头部信息 */
        .article-header {
            margin-bottom: 30px;
            padding-bottom: 15px;
            text-align: center
        }
 
        .article-title {
            font-size: 28px;
            font-weight: bold;
            margin-bottom: 15px;
            color: #2c3e50;
        }
 
        .article-meta {
            display: flex;
    font-size: 14px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
    padding-bottom: 10px;
    line-height: 1;
    color: #999;
    margin-bottom: 20px;
        }
 
        .meta-item {
            margin-right: 20px;
        }
 
        /* 主内容区 */
        .main-content {
            display: flex;
            gap: 30px;
            margin-bottom: 40px;
        }
 
        .content-left {
            flex: 1;
        }
 
        .content-right {
            width: 300px;
            flex-shrink: 0;
        }
 
        /* 正文内容 */
        .article-content {
            font-size: 16px;
            line-height: 1.8;
        }
 
        .article-content p {
            margin-bottom: 15px;
            text-align: justify;
        }
 
        .article-content h2 {
            font-size: 22px;
            margin-top: 30px;
            margin-bottom: 15px;
            padding-bottom: 5px;
            color: #2c3e50;
        }
 
        .article-content img {
            max-width: 100%;
            height: auto;
            margin: 10px 0;
        }
 
        /* 标签区域 */
        .article-tags {
            margin-top: 30px;
            padding-top: 15px;
            border-top: 1px dashed var(--border-color);
        }
 
        .tag {
            display: inline-block;
            padding: 4px 12px;
            margin-right: 8px;
            margin-bottom: 8px;
            background-color: var(--gray-bg);
            border-radius: 4px;
            font-size: 13px;
            color: var(--primary-color);
            text-decoration: none;
        }
 
        .tag:hover {
            background-color: var(--primary-color);
            color: white;
        }
.liability {
    color: #999;
    font-size: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    line-height: 18px;
    padding: 10px 0 50px;
}

        /* 图文推荐模块 */
        .related-knowledge {
            margin-top: 40px;
        }
        .related-knowledge .title{
            border-bottom: 2px solid #dadada;
        }
        .related-knowledge .title h3{
            display: inline-block;
    position: relative;
        }
.related-knowledge .title h3::after{
    content: "";
    display: block;
    background-color: #FF6A06;
    height: 2px;
    width: 100%;
    position: absolute;
    bottom: -2px;
    left: 0;
}
        .related-knowledge h3 {
            font-size: 18px;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--border-color);
        }
 
        .related-item {
            display: flex;
            margin-bottom: 20px;
            padding: 15px;
            border-radius: 4px;
            transition: all 0.3s ease;
            text-decoration: none;
            color: inherit;
        }
 
        .related-item:hover {
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            transform: translateY(-3px);
        }
 
        .related-thumb {
            flex-shrink: 0;
            width: 120px;
            height: 90px;
            margin-right: 15px;
            background-color: var(--gray-bg);
            border-radius: 4px;
            overflow: hidden;
            position: relative;
        }
 
        .related-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
 
        .related-info {
            flex: 1;
        }
 
        .related-title {
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 8px;
            color: var(--text-color);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
 .related-title a{
     color: var(--text-color);
 }
        .related-meta {
            font-size: 12px;
            color: #6c757d;
        }
 .related-meta  a{
      color: var(--text-color);
 }
        .related-meta span {
            margin-right: 12px;
            display: inline-block;
        }
        .related-desc {
            font-size: 12px;
            color: #6c757d;
        }
        .related-desc p{
             margin-top: 12px;
        }
        .wordbox {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
 
        /* 侧边栏模块 */
        .sidebar-module {
            background-color: #FFFFFF;
            padding: 20px;
            border-radius: 4px;
            margin-bottom: 20px;
        }
 
        .sidebar-module h3 {
            font-size: 18px;
            margin-bottom: 15px;
            color: #2c3e50;
        }
 
        .knowledge-list {
            list-style: none;
        }
 
        .knowledge-list li {
            margin-bottom: 12px;
            padding-bottom: 12px;
            border-bottom: 1px solid var(--border-color);
        }
 
        .knowledge-list a {
            color: var(--text-color);
            text-decoration: none;
            font-size: 14px;
        }
 
        .knowledge-list a:hover {
            color: var(--primary-color);
        }
/* 段落首行缩进（排除列表项） */
.article-content p {
  text-indent: 2em; /* 首行缩进2字符 */
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

/* 排除列表项的首行缩进 */
ol li p,
ul li p{
  text-indent: 0 !important;
}

/* 有序列表样式 */
.article-content ol {
  counter-reset: ordered-counter;
  padding-left: 2.5rem;
  margin: 1.5rem 0;
}

.article-content li {
  position: relative;
  margin-bottom: 0.75rem;
  line-height: 1.6;
  padding-left: 0.5rem;
}

.article-content li::before {
  counter-increment: ordered-counter;
  position: absolute;
  left: -1rem;
  color: #2c3e50;
  font-weight: 600;
  font-feature-settings: "tnum";
}
.article-content li ol li::before{
      content: "";
}

/* 无序列表样式 */
.article-content ul {
  padding-left: 2.5rem;
  margin: 1.5rem 0;
  list-style: none;
}

.article-content ul li::before {
  content: "•";
  position: absolute;
  left: -1rem;
  color: #3498db;
  font-size: 1.2em;
}

/* 统一悬停效果 */
.article-content li:hover {
  background-color: #f8f9fa;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* 嵌套列表优化 */
.article-content ol ol,
.article-content ul ul {
  margin: 0.5rem 0 0.5rem 0;
}

.article-content code { 
  background-color: #f5f5f5;  /* 浅灰背景提升代码块辨识度 */
  padding: 2px 4px;          /* 微内边距避免内容贴边 */
  border-radius: 3px;        /* 轻微圆角优化视觉 */
  font-family: monospace;    /* 强制等宽字体保证对齐 */
  font-size: 0.95em;         /* 微调字号防止干扰正文 */
  color: #d63384;           /* 特色颜色增强代码标识度 */
  border: 1px dashed #ccc;   /* 虚线边框区分正文 */
}
/* 内联代码块特殊处理 */
.article-content p code, .article-content li code {
  word-break: break-word;    /* 防止长代码破坏布局 */
  hyphens: none;             /* 禁用连字符保证代码完整性 */
}



/* 响应式设计 */
@media (max-width: 768px) {
 .article-content ol,
 .article-content ul {
    padding-left: 1.5rem;
  }
 .article-content ul ul{
    padding-left: 1rem;
  }
  
 .article-content li::before {
    left: -2rem;
  }
}

/* SEO 语义化增强 */
article p,
article ol > li,
article ul > li {
  margin-bottom: 0.8rem;
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
 .article-content li::before {
    color: #000;
    background-color: #fff;
  }
}

/* 深色模式 */
@media (prefers-color-scheme: dark) {
  :root {
    --primary-color: #3498db;
    --hover-bg: #2d3748;
  }
  
  body {
    background-color: #1a202c;
    color: #e2e8f0;
  }
  
 .article-content ul li::before {
    color: var(--primary-color);
  }
  
 .article-content li:hover {
    background-color: var(--hover-bg);
  }
}

/* 可访问性增强 */
.article-content li:focus-visible {
  outline: 2px solid #3498db;
  outline-offset: 2px;
  border-radius: 4px;
}
 
        /* 响应式设计 */
        @media (max-width: 768px) {
            .main-content {
                flex-direction: column;
            }
            
            .content-right {
                width: 100%;
            }
            
            .related-item {
                flex-direction: column;
            }
            
            .related-thumb {
                width: 100%;
                height: 180px;
                margin-right: 0;
                margin-bottom: 12px;
            }
        }
        


/* 基础样式 */
table {
    width: 100%;
    margin: 20px 0;
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* 表头样式 */
thead th {
    background-color: #f8f8f8;
    color: #333;
    font-weight: bold;
    padding: 12px 15px;
    text-align: left;
    border-bottom: 2px solid #ddd;
}

/* 单元格样式 */
td {
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
}

/* 奇偶行背景色 */
tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* 鼠标悬停效果 */
tr:hover {
    background-color: #f1f1f1;
}

/* 图标颜色 */
td:first-child {
    color: #555;
    font-weight: bold;
}
