
::-webkit-scrollbar {
  width: 8px;  /* 纵向滚动条的宽度 */
  height: 8px; /* 横向滚动条的高度 */
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: rgba(0,0,0,0.2)
}

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: Arial, sans-serif;
        }
        
        .header-container {
            width: 1000px;
            max-width: 100%;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px;
            flex-wrap: wrap;
        }
        
        /* Logo样式 - 自动循环的集中探照灯效果 */
        .logo {
             position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 50px;
        }
        
        .logo img {
         display: block;
    position: relative;
    z-index: 1;
    width: 100%;        /* 或使用 max-width: 100% */
    height: auto;       /* 保持高度自动，按比例缩放 */
        }
        
        .logo::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 40%;
            height: 100%;
            background: radial-gradient(circle at center, 
                      rgba(255, 255, 255, 0.9) 0%, 
                      rgba(255, 255, 255, 0.1) 70%, 
                      transparent 100%);
            transform: skewX(-15deg);
            z-index: 2;
            animation: spotlight 4s infinite ease-in-out;
        }
        
        @keyframes spotlight {
            0% { left: -100%; opacity: 0; }
            20% { opacity: 1; }
            80% { opacity: 1; }
            100% { left: 150%; opacity: 0; }
        }
        
        /* 轮播图容器 */
        .ad-carousel-container {
            position: relative;
            width: 600px;
            max-width: 100%;
        }
        
        .ad-carousel {
            width: 100%;
            height: 70px;
            position: relative;
            overflow: hidden;
            border: 1px solid #ddd;
            border-radius: 8px; /* 添加圆角 */
        }
        
        .ad-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    border-radius: 8px;
    overflow: hidden;
    pointer-events: none; /* 默认禁用点击 */
}

.ad-slide.active {
    opacity: 1;
    pointer-events: auto; /* 只有活动幻灯片可点击 */
}
        
        .ad-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        /* 轮播导航按钮 */
        .carousel-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 100%;
            display: flex;
            justify-content: space-between;
            z-index: 10;
            pointer-events: none;
        }
        
        .carousel-btn {
            background: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            transition: all 0.3s ease;
            pointer-events: auto;
        }
        
        .carousel-btn:hover {
            background: rgba(0, 0, 0, 0.8);
        }
        
        /* 轮播指示点 */
        .carousel-dots {
            position: absolute;
            bottom: 10px;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            z-index: 10;
            gap: 6px;
        }
        
        .dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .dot.active {
            background: white;
            transform: scale(1.2);
        }
        
        /* 响应式设计 */
        @media (max-width: 1000px) {
            .header-container {
                width: 100%;
                padding: 10px;
                flex-direction: column;
                justify-content: center;
            }
            
            .logo {
               
                display: flex;
                justify-content: center;
            }
            
            .ad-carousel-container {
                width: 100%;
                max-width: 600px;
                margin-top: 10px;
            }
        }
        
        @media (max-width: 480px) {
            .ad-carousel {
                height: 50px;
                border-radius: 6px; /* 移动端圆角稍小 */
            }
            
            .ad-slide {
                border-radius: 6px;
            }
            
            .carousel-btn {
                width: 25px;
                height: 25px;
                font-size: 14px;
            }
            
            .dot {
                width: 6px;
                height: 6px;
            }
        }
		
		
		
		/*导航栏*/
		
		/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}


/* ====================== */
/* .article-post-content 内容模板 */
/* ====================== */
.article-post-content h1 {
    font-size: 28px;
    margin: 0 0 25px 0;
    letter-spacing: 1.2px;
    border-bottom: 2px solid #004c98;
    padding-bottom: 10px;
}

.article-post-content h2 {
    font-size: 24px;
    margin: 0 0 20px 0;
    letter-spacing: 1.1px;
    border-left: 4px solid #004c98;
    padding-left: 12px;
}

.article-post-content h3 {
    font-size: 20px;
    margin: 0 0 15px 0;
    letter-spacing: 1px;
}

.article-post-content h4 {
    font-size: 18px;
    margin: 0 0 12px 0;
    letter-spacing: 0.8px;
    color: #555;
}

.article-post-content h5 {
    font-size: 16px;
    margin: 0 0 10px 0;
    letter-spacing: 0.5px;
    color: #666;
}

.article-post-content h6 {
    font-size: 14px;
    margin: 0 0 8px 0;
    letter-spacing: 0.3px;
    color: #777;
    text-transform: uppercase;
}

/* ====================== */
/* .content 内容模板 */
/* ====================== */
.content h1 {
    font-size: 26px;
    margin: 0 0 20px 0;
    letter-spacing: 1px;
    padding-bottom: 8px;
   
}

.content h2 {
    font-size: 22px;
    margin: 0 0 18px 0;
    letter-spacing: 0.9px;
}

.content h3 {
    font-size: 18px;
    margin: 0 0 15px 0;
    letter-spacing: 0.8px;
}

.content h4 {
    font-size: 16px;
    margin: 0 0 12px 0;
    letter-spacing: 0.5px;
}

.content h5 {
    font-size: 15px;
    margin: 0 0 10px 0;
    letter-spacing: 0.3px;
    font-weight: normal;
}

.content h6 {
    font-size: 14px;
    margin: 0 0 8px 0;
    letter-spacing: 0.2px;
    font-weight: normal;
    color: #666;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .article-post-content h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .article-post-content h2 {
        font-size: 20px;
    }
    .content h1 {
        font-size: 22px;
    }
    .content h2 {
        font-size: 20px;
    }
}


/* PC端导航样式 */
.menu.desktop {
   background: #004c98;
    color: white;
    position: sticky; /* 使用粘性定位 */
    top: 0;          /* 当元素到达顶部时固定 */
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.menu.desktop ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.menu.desktop li {
    position: relative;
    flex-shrink: 0;
	
}

.menu.desktop li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 15px 25px;
    transition: all 0.3s ease;
    white-space: nowrap;
	
}

.menu.desktop li a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu.desktop li a.active {
    background: #003366;
      border-bottom: 2px solid #fff;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.2);
}

/* 搜索图标 */
.searchico {
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M15.5 14h-.79l-.28-.27a6.5 6.5 0 0 0 1.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 0 0-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 0 0 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>') no-repeat center;
    cursor: pointer;
    margin: 0 20px;
}

/* 移动端样式 */
.mobile-header {
    display: none;
    justify-content: space-between;
    align-items: center;
    background: #004c98;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 8px 15px;
    height: 60px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-actions {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    position: relative;
}

/* 网站标题容器 */
.mobile-site-title-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    min-width: 150px;
}

/* 主标题样式 */
.mobile-site-title {
    color: white;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

/* 副标题样式 */
.mobile-site-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    line-height: 1.2;
    margin-top: 2px;
    white-space: nowrap;
    font-weight: normal;
}

/* 汉堡按钮 */
.hamburger {
    display: block;
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 搜索按钮 */
.mobile-search-btn {
    width: 30px;
    height: 30px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M15.5 14h-.79l-.28-.27a6.5 6.5 0 0 0 1.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 0 0-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 0 0 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>') no-repeat center;
    cursor: pointer;
    flex-shrink: 0;
    z-index: 2;
}

/* 移动端菜单容器 */
.mobile-menu-container {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #004c98;
    z-index: 999;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    transition: all 0.3s ease;
    transform: translateY(-20px);
    opacity: 0;
}

.mobile-menu-container.menu-expanded {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

/* 移动端菜单 */
.mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 15px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-menu li a.mobile-active {
    background: #003366;
    font-weight: bold;
    position: relative;
}



/* 搜索模态框 */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1100;
    justify-content: center;
    align-items: center;
}

.search-modal.active {
    display: flex;
}

.search-container {
    background: white;
    width: 90%;
    max-width: 600px;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.search-header {
    margin-bottom: 20px;
    font-size: 20px;
    color: #004c98;
    font-weight: bold;
}

.search-form {
    display: flex;
    margin-bottom: 20px;
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    outline: none;
    transition: border 0.3s;
}

.search-input:focus {
    border-color: #004c98;
}

.search-submit {
    width: 80px;
    background: #004c98;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background 0.3s;
    color: white;
    font-weight: bold;
}

.search-submit:hover {
    background: #003366;
}

.search-hot {
    margin-top: 20px;
}

.search-hot p {
    color: #666;
    margin-bottom: 10px;
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-tag {
    display: inline-block;
    padding: 5px 12px;
    background: #f0f6ff;
    color: #004c98;
    border-radius: 15px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.search-tag:hover {
    background: #d9e6ff;
}

.search-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    border: none;
    background-color: transparent;
    font-size: 20px;
    color: #666;
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-close:hover {
    color: #333;
}

/* 响应式控制 */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    .menu.desktop {
        display: none;
    }
    
    .mobile-header {
        display: flex;
    }
    
    .search-container {
        padding: 20px;
        width: 95%;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .search-submit {
        width: 100%;
        border-radius: 4px;
        padding: 12px;
    }
}

@media (min-width: 769px) {
    .mobile-header,
    .mobile-menu-container {
        display: none;
    }
    
    .menu.desktop {
        display: block;
    }
}


/* ==================== 修复的导航子栏目样式 ==================== */

/* PC端子栏目容器样式 */
.menu.desktop .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%; /* 与父元素同宽 */
    min-width: 100%; /* 最小宽度与父元素相同 */
    background: #fff;
    border-top: 2px solid #004c98;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    z-index: 1001;
    padding: 0;
    height: auto !important;
    min-height: 0;
    pointer-events: none;
    box-sizing: border-box;
}

/* 修复：移除错误的transform覆盖，恢复原来的hover效果 */
.menu.desktop li.has-child:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* 修复这里，不要修改translateX */
    pointer-events: auto;
}

/* 子栏目项 */
.menu.desktop .sub-menu li {
    display: block;
    margin: 0;
    width: 100%;
    float: none;
    text-align: center; /* 子菜单项内容居中 */
}

/* 子栏目链接 - 居中对齐 */
.menu.desktop .sub-menu a {
    display: block;
    padding: 12px 20px;
    height: auto;
    line-height: normal;
    color: #333 !important;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f5f5f5;
    background: #fff;
    white-space: nowrap;
    text-align: center; /* 文本居中 */
    width: 100%;
    box-sizing: border-box;
}

/* 子栏目链接悬停效果 */
.menu.desktop .sub-menu a:hover {
    color: #fff !important;
    background: rgba(0, 76, 152, 0.9) !important;
}

/* 子栏目链接激活状态 */
.menu.desktop .sub-menu a.active {
    color: #fff !important;
    background: #004c98 !important;
    font-weight: 500;
}

/* ==================== Font Awesome 箭头图标样式 ==================== */

/* PC端箭头图标 */
.menu.desktop li.has-child > a {
    position: relative;
    padding-right: 30px;
}

/* 如果没有加载Font Awesome，使用备用方案 */
.menu.desktop li.has-child > a::after {
    content: "▼";
    font-family: Arial, sans-serif;
    font-size: 12px;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.9);
}

/* 如果有Font Awesome，使用它 */
@font-face {
    font-family: 'Font Awesome 6 Free';
    src: url('path-to-font-awesome.woff2') format('woff2');
}

.menu.desktop li.has-child > a::after {
    content: "\f107"; /* Font Awesome向下箭头 */
    font-family: "Font Awesome 6 Free", Arial, sans-serif;
    font-weight: 900;
}

/* PC端悬停时箭头旋转 */
.menu.desktop li.has-child:hover > a::after {
    transform: translateY(-50%) rotate(180deg);
}

/* 如果父栏目链接是#，禁用点击 */
.menu.desktop li.has-child > a[href="#"] {
    cursor: default;
}

/* ==================== 移动端子栏目样式 ==================== */

/* 移动端子菜单默认隐藏 */
.mobile-menu .sub-menu {
    display: none !important;
    background: rgba(255, 255, 255, 0.08); /* 更浅的背景色 */
    padding: 0;
    list-style: none;
    margin: 0;
    text-align: center; /* 子菜单内容居中 */
}

/* 移动端子菜单激活状态显示 */
.mobile-menu li.has-child.active > .sub-menu {
    display: block !important;
}

/* 移动端子菜单项 - 居中并调整背景色 */
.mobile-menu .sub-menu li a {
    padding: 12px 20px; /* 统一padding，居中对齐 */
    background: rgba(255, 255, 255, 0.08); /* 浅灰色背景 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    text-align: center; /* 文本居中 */
    width: 100%;
    box-sizing: border-box;
}

/* 移动端子菜单激活状态 */
.mobile-menu .sub-menu a.mobile-active {
    background: rgba(255, 255, 255, 0.2) !important; /* 稍深的激活状态 */
    font-weight: 500;
    color: #fff;
}

/* 移动端箭头图标 */
.mobile-menu li.has-child > a {
    position: relative;
    padding-right: 50px;
    text-align: center;
}

.mobile-menu li.has-child > a::after {
    content: "▼";
    font-family: Arial, sans-serif;
    font-size: 12px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
}

/* 如果有Font Awesome */
.mobile-menu li.has-child > a::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free", Arial, sans-serif;
    font-weight: 900;
}

/* 移动端子菜单展开时箭头旋转 */
.mobile-menu li.has-child.active > a::after {
    transform: translateY(-50%) rotate(180deg);
}

/* 移动端菜单项居中 */
.mobile-menu li a {
    text-align: center;
    width: 100%;
    padding: 15px 20px;
    box-sizing: border-box;
}

/* 移动端菜单列表居中 */
.mobile-menu {
    text-align: center;
    padding: 0;
    margin: 0;
}

/* 确保移动端子菜单链接完全居中 */
.mobile-menu .sub-menu li {
    text-align: center;
    width: 100%;
}

/* 响应式调整 */
@media (max-width: 768px) {
    /* 确保PC端子菜单不会在移动端显示 */
    .menu.desktop .sub-menu {
        display: none !important;
    }
    
    /* 移动端子菜单背景色进一步优化 */
    .mobile-menu .sub-menu {
        background: rgba(255, 255, 255, 0.05) !important;
    }
    
    .mobile-menu .sub-menu li a {
        background: rgba(255, 255, 255, 0.05) !important;
    }
}

/* 确保子栏目不会被flex影响 */
.menu.desktop .sub-menu,
.menu.desktop .sub-menu ul {
    display: block !important;
}

.menu.desktop .sub-menu li {
    width: 100% !important;
    float: none !important;
}




/* 产品快速导航栏样式 */
.product-quick-nav {
  margin-bottom: 1.5rem;
  background: #fff;
  padding: 1.25rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.product-quick-nav h2 {
  font-size: 1rem; /* 调整为16px */
  color: #333;
  margin-bottom: 1rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid #eee;
  position: relative;
  
}
.product-quick-nav h2 span {
  color: #d0021b;  /* 警戒红色 */
  font-weight: bold;
  letter-spacing: 0.5px; /* 字间距微调 */
  animation: textPulse 2s infinite;
}
/* 简约动画 */
@keyframes textPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); color: #ff4757; }
  100% { transform: scale(1); }
}
/* 添加简约下划线动画 */
.product-quick-nav h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 3rem;
  height: 2px;
  background: linear-gradient(90deg, #3a7bd5, #00d2ff);
  transition: width 0.3s ease;
}

.product-quick-nav h2:hover::after {
  width: 6rem;
}

.product-nav-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.9375rem;
}

.product-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.625rem;
  border-radius: 0.375rem;
  transition: all 0.25s ease;
   text-decoration: none; /* 移除默认下划线 */
  color: inherit; /* 继承父元素颜色 */
}

.product-nav-item:hover {
  background: #f5f9ff;
  transform: translateY(-0.1875rem);
  box-shadow: 0 2px 8px rgba(58, 123, 213, 0.15);
}

.product-nav-name {
  font-size: 0.8125rem; /* 调整为13px */
  color: #333;
  line-height: 1.4;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 移动端适配（768px及以下） */
@media (max-width: 768px) {
  .product-quick-nav {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .product-nav-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
  
  .product-nav-item {
    padding: 0.5rem;
  }
  
  .product-nav-name {
    font-size: 0.75rem; /* 调整为12px */
  }
}







/*download 搜索*/
.user-search-container {
    max-width: 900px;
    margin: 0 auto 20px;
    display: flex;
    gap: 8px;
}

.user-search-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.user-search-input:focus {
    border-color: #004c98;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 76, 152, 0.2);
}

.user-search-btn {
    background-color: #004c98;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.user-search-btn:hover {
    background-color: #003d7a;
}

.user-search-reset-btn {
    background-color: #f0f0f0;
    color: #555;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.user-search-reset-btn:hover {
    background-color: #e0e0e0;
}

/* 搜索结果高亮样式 */
.user-product-item.highlight {
    border: 2px solid #004c98;
    box-shadow: 0 0 10px rgba(0, 76, 152, 0.2);
}

.user-product-item.hide {
    display: none;
}


/*产品快速导航栏样式 搜索*/

/* 产品导航搜索样式 */
.product-search-container {
    max-width: 100%;
    margin: 10px;
    display: flex;
    gap: 8px;
    background: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.product-search-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e1e8f0;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.product-search-input:focus {
    border-color: #004c98;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 76, 152, 0.2);
}

.product-search-btn {
    background-color: #004c98;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.product-search-btn:hover {
    background-color: #003d7a;
}

.product-search-reset-btn {
    background-color: #f0f0f0;
    color: #555;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.product-search-reset-btn:hover {
    background-color: #e0e0e0;
}

/* 搜索结果高亮样式 */
.product-nav-item.highlight {
    border: 2px solid #004c98;
    box-shadow: 0 0 10px rgba(0, 76, 152, 0.2);
    
}

.product-nav-item.hide {
    display: none;
}



/* 移动端适配 */
@media (max-width: 768px) {
    .product-search-container {
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }
    
   
    
    .product-search-btn,
    .product-search-reset-btn {
        width: 100%;
        padding: 10px;
    }
}
.hide-by-default {
    display: none !important;
}



/*教程中心 移动端显示在上方*/

.article-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}



.article-main {
    flex: 1;
    min-width: 0;
}

/* 只在栏目列表页应用移动端布局 */
@media (max-width: 768px) {
    .article-layout.category-list-page {
        flex-direction: column;
    }
    
    .article-layout.category-list-page .article-sidebar {
        order: 2;
        width: 100%;
    }
    
    .article-layout.category-list-page .article-main {
        order: 1;
    }
}


/*首页文章*/




.wrapper {
    width: 100%;
    min-width: 1000px;
    overflow: hidden;
}

/* ==================== 主内容区域 ==================== */
.main {
    padding: 30px 0;
    background: #f5f5f5;
    zoom: 1;
}

.wrap1 {
    width: 1000px;
    min-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
}

/* ==================== 左侧内容区域 ==================== */
.listcon {
    width: 680px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-right: 20px;
}

/* ==================== 产品卡片样式 ==================== */
.product-card {
    position: relative;
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    border-left: 4px solid #0077cc;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(67, 97, 238, 0.15);
}

/* 图片样式 */
.product-image {
    position: relative;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    height: 180px;
}

.hover-zoom {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s;
}

.product-image:hover .hover-zoom {
    transform: scale(1.05);
}

/* 标题样式 */
.product-title {
   margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.4;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.product-title a {
     color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
    /*display: inline-flex;*/
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* 标题文字部分 - 单独控制换行 */
.product-title .title-text {
    display: inline;
    word-break: break-word;
    overflow-wrap: break-word;
    flex: 1;
    min-width: 0; /* 允许缩小 */
	 vertical-align: bottom; /* 强制文字底部对齐 */
}
.product-title a:hover {
    color: #004c98;
}

/* 标题图标样式 - 调整为32px */


/* 官方认证徽章 */
.highlight-badge {
   display: inline-flex;
    align-items: center;
    background: #ff4757;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ==================== 元信息样式（恢复原版效果） ==================== */
.product-meta {
    margin: 0 0 20px;
    font-size: 14px;
    color: #999;
}

.infoauth {
    padding: 0 0 0 18px;
    background: url(../images/bg.png) no-repeat -273px -200px;
}

.infoauth a {
    color: #999;
}

.infoauth a:hover {
    color: #004c98;
}

.infocate {
    margin: 0 20px 0 0;
    padding: 0 0 0 18px;
    background: url(../images/bg.png) no-repeat -273px -135px;
}

.infocate a {
    color: #999;
	text-decoration: none;
}
i {
    font-style: normal;
}
.infocate a:hover {
    color: #004c98;
}

.infodate {
    margin: 0 20px 0 0;
    padding: 0 0 0 18px;
    color: #999;
    background: url(../images/bg.png) no-repeat -272px -231px;
}

.infoviews {
    padding: 0 0 0 20px;
    background: url(../images/bg.png) no-repeat -272px -71px;
}

.infocmt {
    padding: 0 0 0 20px;
    background: url(../images/bg.png) no-repeat -272px -104px;
}

.delmulti {
    padding: 0 0 0 20px;
    background: url(../images/bg.png) no-repeat -168px -227px;
}

/* 特性标签样式 */
.feature-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #f1f5fe;
    border-radius: 20px;
    font-size: 12px;
    color: #0077cc;
    margin-right: 8px;
    margin-bottom: 8px;
    border: 1px solid #d6e4ff;
}

/* 按钮样式 */
.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.cta-button {
    flex: 1;
    padding: 10px 15px;
    font-size: 14px;
    color: #fff;
    background: #004c98;
    border: 1px solid #004c98;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.cta-button:hover {
    background: #003366;
    border-color: #003366;
}

.trial-button {
    flex: 1;
    padding: 10px 15px;
    font-size: 14px;
    color: #004c98;
    background: #fff;
    border: 1px solid #004c98;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.trial-button:hover {
    background: #f0f7ff;
}

/* ==================== 右侧边栏样式 ==================== */
.sidebar {
    width: 280px;
        height: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    flex-shrink: 0;
}

/* ==================== 传统文章列表样式 ==================== */
/* ==================== 文章列表样式 ==================== */
.post {
    margin-bottom: 25px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    transition: all 0.3s ease;
    min-height: 160px;
    box-sizing: border-box;
}

.post:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.postimg {
    width: 160px;
    height: 120px;
    min-width: 160px;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 20px;
    flex-shrink: 0;
}

.postimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s ease;
}

.post:hover .postimg img {
    transform: scale(1.05);
}

.postcon {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.postcon h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.postcon h3 a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
    word-break: break-word;
}

.postcon h3 a:hover {
    color: #3182ce;
}

.postinfo {
    margin: 0 0 10px;
    font-size: 14px;
    color: #666;
}

.postinfo a {
    color: #666;
    text-decoration: none;
}

.postinfo a:hover {
    color: #004c98;
}

.postintro {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* ==================== 响应式设计 ==================== */
@media screen and (max-width: 1000px) {
    .wrapper {
        min-width: 100%;
    }
    
    .wrap1 {
        width: 100%;
        min-width: 100%;
        padding: 0 15px;
        flex-direction: column;
    }
    
    .listcon {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .sidebar {
        width: 100%;
        order: 2;
        margin-top: 20px;
    }
}

@media screen and (max-width: 768px) {
    .post {
        flex-direction: column;
    }
    
    .postimg {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .product-image {
        height: 150px;
    }
    
   
}

/* ==================== 其他组件样式 ==================== */
.price-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #FF4B2B;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 3px 10px rgba(67, 97, 238, 0.3);
}

.ribbon {
    position: absolute;
    top: 15px;
    left: -25px;
    width: 100px;
    padding: 3px 0;
    background: #ff4757;
    color: white;
    font-size: 12px;
    text-align: center;
    transform: rotate(-45deg);
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
    z-index: 9;
}

/* ==================== 侧边栏小工具 ==================== */
.sidebox {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.sidetitle h3 {
    font-size: 16px;
    color: #333;
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 2px solid #004c98;
}

.sidecon li {
    padding: 8px 0;
    border-bottom: 1px dotted #eee;
    transition: all 0.3s ease;
}

.sidecon li:hover {
    padding-left: 5px;
}

.sidecon li a {
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidecon li a:hover {
    color: #004c98;
}



/*分页*/

/* ==================== 分页样式 ==================== */
.pagess {
    clear: both;
    margin: 30px 0;
    text-align: center;
    font-size: 0; /* 消除inline-block间隙 */
}

.pagess ul {
    display: inline-block;
    *display: inline; /* IE7兼容 */
    *zoom: 1; /* IE7兼容 */
    margin: 0;
    padding: 0;
    list-style: none;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.pagess li {
    display: inline-block;
    vertical-align: top;
    margin: 0;
    padding: 0;
    position: relative;
}

.pagess li:first-child a {
    border-left: none;
}

.pagess a, 
.pagess span {
    display: block;
    min-width: 36px;
    height: 36px;
    line-height: 36px;
    padding: 0 12px;
    color: #666;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    background: #fff;
    border: 1px solid #ddd;
    border-right: none;
    transition: all 0.2s ease;
}

.pagess a:hover {
    color: #004c98;
    background: #f5f9ff;
    border-color: #c6d9f1;
}

/* 当前页样式 */
.pagess .thisclass,
.pagess .active {
    color: #fff !important;
    background: #004c98 !important;
    border-color: #004c98 !important;
    font-weight: bold;
}

/* 上一页/下一页特殊样式 */
.pagess .prev-page a,
.pagess .next-page a {
    padding: 0 15px;
    font-weight: bold;
}

/* 禁用状态 */
.pagess .disabled a,
.pagess .disabled span {
    color: #bbb !important;
    background: #f9f9f9 !important;
    cursor: not-allowed;
    border-color: #eee !important;
}

/* 平板设备适配 */
@media (max-width: 992px) {
    .pagess {
        margin: 25px 0;
    }
    
    .pagess a, 
    .pagess span {
        min-width: 34px;
        height: 34px;
        line-height: 34px;
        padding: 0 10px;
    }
    
    .pagess .prev-page a,
    .pagess .next-page a {
        padding: 0 12px;
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .pagess {
        margin: 20px 0;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .pagess ul {
        display: inline-flex;
        min-width: auto;
    }
    
    .pagess a, 
    .pagess span {
        min-width: 32px;
        height: 32px;
        line-height: 32px;
        padding: 0 8px;
        font-size: 13px;
    }
    
    .pagess .prev-page a,
    .pagess .next-page a {
        padding: 0 10px;
    }
    
    /* 显示关键页码：始终显示前2页、当前页及前后各1页、最后2页 */
    .pagess li {
        display: inline-block;
    }
    
    /* 隐藏中间多余页码 */
    .pagess li:nth-child(n+4):not(.active):not(.active-1):not(.active+1):not(.prev-page):not(.next-page):not(:nth-last-child(-n+2)) {
        display: none;
    }
    
    /* 显示省略号代替隐藏的页码 */
    .pagess li.ellipsis {
        display: inline-block;
        pointer-events: none;
    }
}

/* 小屏幕优化 */
@media (max-width: 480px) {
    .pagess a, 
    .pagess span {
        min-width: 30px;
        height: 30px;
        line-height: 30px;
        padding: 0 6px;
        font-size: 12px;
    }
    
    .pagess .prev-page a,
    .pagess .next-page a {
        padding: 0 8px;
    }
    
    /* 显示更少的页码 */
    .pagess li:nth-child(n+3):not(.active):not(.active-1):not(.active+1):not(.prev-page):not(.next-page):not(:nth-last-child(-n+1)) {
        display: none;
    }
}

/* ==================== 简化版页脚样式 ==================== */
.footer {
  background: #2c3e50; /* 深蓝灰色背景 */
  color: #ecf0f1;
  padding: 20px 0;
  font-size: 14px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.toyean {
  color: #bdc3c7;
}

.toyean a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s;
  padding: 5px 10px;
  border-radius: 3px;
}

.toyean a:hover {
  color: #3498db;
  background: rgba(255,255,255,0.05);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .footer {
    padding: 15px 0;
    font-size: 13px;
  }
}


/*right模板*/

/* 基础样式 */
.sidebar {
  width: 280px;
  font-family: 'Microsoft YaHei', sans-serif;
  font-size: 13px; /* 整体字体缩小 */
}

.sidebox {
  margin-bottom: 15px; /* 间距缩小 */
  background: #fff;
  border-radius: 6px; /* 圆角缩小 */
  box-shadow: 0 1px 5px rgba(0,0,0,0.08); /* 阴影减弱 */
  overflow: hidden;
}

.side-header {
  padding: 10px 12px; /* 内边距缩小 */
  background: linear-gradient(135deg, #004c98, #0066cc);
}

.side-title {
  margin: 0;
  font-size: 14px; /* 标题字体缩小 */
  font-weight: 600;
  display: flex;
  color: white;
  align-items: center;
}

.side-title i {
  margin-right: 6px; /* 图标间距缩小 */
  font-size: 16px; /* 图标缩小 */
}

.side-content {
  padding: 12px; /* 内边距缩小 */
}

/* 网站分类样式 - 网格布局 */
.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 两列布局 */
  gap: 6px; /* 格子之间的间距 */
}

.category-item {
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  font-size: 12px;
  transition: all 0.2s;
}

.category-item:hover {
  border-color: #0066cc;
  box-shadow: 0 2px 5px rgba(0, 102, 204, 0.1);
}

.category-link {
  display: block;
  padding: 8px 5px;
  color: #333;
  text-decoration: none;
  text-align: center; /* 文字居中 */
  white-space: nowrap; /* 防止文字换行 */
  overflow: hidden;
  text-overflow: ellipsis; /* 文字溢出显示省略号 */
  transition: all 0.2s;
}

.category-link:hover {
  color: #0066cc;
  background-color: #f8fafc;
}

/* 文章列表样式 */
.article-list, .news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-item, .news-item {
  padding: 6px 0; /* 内边距缩小 */
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed #eee;
  font-size: 12px; /* 列表项字体缩小 */
}

.article-link, .news-link {
  color: #333;
  text-decoration: none;
  flex: 1;

  text-overflow: ellipsis;
  padding-right: 8px; /* 内边距缩小 */
}/*  white-space: nowrap;
  overflow: hidden;*/

.article-link:hover, .news-link:hover {
  color: #0066cc;
}

.date {
  font-size: 11px; /* 日期字体缩小 */
  color: #999;
}

/* 标签云样式 */
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px; /* 间距缩小 */
}

.tag-item {
  display: inline-block;
  padding: 3px 8px; /* 内边距缩小 */
  background: #f0f6ff;
  color: #004c98;
  border-radius: 12px; /* 圆角缩小 */
  text-decoration: none;
  font-size: 12px; /* 标签字体缩小 */
  transition: all 0.2s;
}

.tag-item:hover {
  background: #d9e6ff;
}

/* 友情链接样式 */
.links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px; /* 间距缩小 */
}

.link-item {
  width: calc(50% - 3px); /* 宽度微调 */
  font-size: 12px; /* 链接字体缩小 */
}

.link-url {
  display: block;
  padding: 5px 0; /* 内边距缩小 */
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-url:hover {
  color: #0066cc;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    margin-top: 15px;
    font-size: 14px; /* 移动端字体稍大 */
  }
  
  .link-item {
    width: 100%;
  }
}


/*内容模板*/




/* 内容区域专用样式（不影响其他模板） */
.content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
}

/* 面包屑导航 */
.sitemap h3 {
    font-size: 15px;
    color: #666;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 25px;
}

.sitemap a {
    color: #666;
    text-decoration: none;
}

.sitemap a:hover {
    color: #004c98;
}

/* 文章标题 */
.single h1 {
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.single h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #004c98;
}

/* 标题图标对齐优化 */
.title-icon {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    position: relative;
    top: -0.25em;
       margin-right: 4px;
    object-fit: contain;
    transform: translateY(3px);
}

/* 元信息区域 */
.singleinfo {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 14px;
    color: #888;
}

.singleinfo span {
    display: inline-flex;
    align-items: center;
    line-height: 1.3;
}

.singleinfo span::before {
    position: relative;
    top: 0.1em;
    margin-right: 5px;
}

.singleinfo a {
    color: #888;
    text-decoration: none;
}

.singleinfo a:hover {
    color: #004c98;
    text-decoration: underline;
}

/* 内容区域 */
.singlecon {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
    overflow: hidden;
}

.singlecon p {
    margin-bottom: 1.5em;
    word-break: break-word;
}

/* 内容图片样式 */
.singlecon img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    border: 1px solid #eee;
    box-sizing: border-box;
}

.singlecon img:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* 标签区域 */
.singletags {
    margin: 30px 0;
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.singletags a {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 8px 8px 0;
    background: #f5f7fa;
    color: #555;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
    text-decoration: none;
}

.singletags a:hover {
    background: #004c98;
    color: #fff;
}

/* 上一篇下一篇 */
.singlepage {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #f0f0f0;
}

.prepage, .nextpage {
    width: 48%;
}

.prepage a, .nextpage a {
    display: block;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    text-decoration: none;
}

.prepage a:hover, .nextpage a:hover {
    color: #004c98;
    text-decoration: underline;
}

/* 相关文章区域 - 已去除列表黑点 */
.relates {
    margin-top: 40px;
}

.relates h3 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
}

.relates ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none; /* 去除默认列表样式 */
    padding-left: 0; /* 去除默认缩进 */
    margin-left: 0;
}

.relates li {
    transition: transform 0.3s;
    list-style: none; /* 确保去除黑点 */
}

.relates li:hover {
    transform: translateY(-5px);
}

.relates a {
    display: block;
    color: #333;
    text-decoration: none;
}

.relates a:hover {
    color: #004c98;
}

.relates span {
    display: block;
    height: 120px;
    margin-bottom: 10px;
    border-radius: 6px;
    overflow: hidden;
}

.relates img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.relates li:hover img {
    transform: scale(1.05);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .relates ul {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .content {
        padding: 20px;
    }
    
    .single h1 {
        font-size: 24px;
    }
    
  
    
    .relates ul {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .singlepage {
        flex-direction: column;
    }
    
    .prepage, .nextpage {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .singlecon img {
        margin: 15px auto;
        border-radius: 4px;
    }
}

@media (max-width: 480px) {
    .relates ul {
        grid-template-columns: 1fr;
    }
    
    .singleinfo {
        font-size: 13px;
    }
    
    .singletags a {
        font-size: 13px;
        padding: 4px 10px;
        margin: 0 5px 5px 0;
    }
    
    .single h1 {
        font-size: 22px;
    }
    
   
}



/* 布局容器 - 添加顶部间距避免被头部遮挡 */
.article-container {
    max-width: 1300px;
    margin: 20px auto 0; /* 上边距80px避免被头部遮挡，可根据实际头部高度调整 */
    padding: 0 15px;
}

.article-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start; /* 顶部对齐 */
}

/* 左侧栏目样式 */
.article-sidebar {
     width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 130px; /* 与容器上边距一致 */
    align-self: flex-start; /* 防止侧边栏拉伸 */
    height: auto;
    max-height: calc(100vh - 150px); /* 限制最大高度 */
    overflow-y: auto; /* 允许滚动 */
}

.article-side-section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

/* 重新设计的侧边栏头部样式 */
.article-side-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background-color: #004c98;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.article-side-header:hover {
    background-color: #003d7a;
}

.article-side-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    flex-grow: 1;
}

/* 添加关闭图标 */
.article-side-header::after {
    content: "\002B";
    font-size: 18px;
    font-weight: bold;
    transition: transform 0s ease;
    margin-left: 10px;
}

.article-side-header.active::after {
    content: "\2212";
}

.article-more-link {
    font-size: 12px;
    color: #ecf0f1;
    text-decoration: none;
}

.article-more-link:hover {
    color: #7ab4ff;
}

.article-side-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.article-side-list.active {
    max-height: 1000px; /* 足够大的值容纳内容 */
}

.article-side-item {
    border-bottom: 1px solid #eee;
}

.article-side-item:last-child {
    border-bottom: none;
}

.article-side-item a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #555;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-side-item a:hover {
    background-color: #f0f7ff;
    color: #004c98;
    padding-left: 20px;
}

/* 新增：active状态样式（更醒目版本） */
.article-side-item.active {
    background-color: #e6f2ff; /* 比悬停更深的底色 */
    border-left: 3px solid #004c98; /* 左侧高亮条 */
    border-bottom-color: #d9e7ff; /* 下边框颜色同步变化 */
}


/*.title-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    object-fit: contain;
}*/

/* 右侧内容区域样式 */
.article-main {
    flex: 1;
    min-width: 0;
}

.article-post {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
    overflow: hidden; /* 防止内容溢出 */
}

.article-post-title {
    font-size: 28px;
    margin-bottom: 10px;
    color: #004c98;
}

.article-post-meta {
    font-size: 13px;
    color: #7f8c8d;
    margin-bottom:15px;
    
    gap: 15px;
}

.article-post-content {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    max-width: 100%; /* 确保内容不超出容器 */
    overflow: hidden; /* 隐藏溢出内容 */
}

.article-post-content p {
    margin: 0 0 15px 0;
    letter-spacing: 1px;
}
.article-post-content h3 {
   
    letter-spacing: 1px;
}
/* 内容区域图片样式控制 */
.article-post-content img {
    max-width: 100%; /* 图片最大宽度不超过容器 */
    height: auto; /* 高度自适应 */
    display: block; /* 避免图片下方有间隙 */
    margin: 15px auto; /* 上下边距15px，水平居中 */
   box-shadow: 0 2px 8px rgba(0.1, 0.1, 0.1, 0.1);
    border-radius: 8px;
}

/* 内容区域超链接样式
.article-post-content a {
    color: #004c98; 
    text-decoration: none; 
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent; 
}

.article-post-content a:hover {
    color: #003366; 
    border-bottom-color: #004c98; 
} */

/* 清除浮动 */
.article-clearfix:after {
    content: "";
    display: table;
    clear: both;
}
/* 移动端适配（屏幕宽度 ≤ 768px 时生效） */
@media (max-width: 768px) {
    .article-layout {
        flex-direction: column; /* 改为垂直排列 */
    }

    .article-sidebar {
        width: 100%; /* 侧边栏占满宽度 */
        position: static; /* 取消 sticky 定位 */
        top: auto;
        max-height: none; /* 取消最大高度限制 */
        margin-bottom: 20px; /* 增加底部间距 */
    }

    .article-main {
        width: 100%; /* 内容区占满宽度 */
    }
}

/* 反馈提示栏样式 */
.article-feedback-bar {
    background-color: #f0f7ff;
    border-left: 4px solid #004c98;
    border-radius: 4px;
    padding: 12px 15px;
    margin-bottom: 20px;
}

.feedback-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feedback-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.feedback-content p {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.feedback-link {
    color: #004c98;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed currentColor;
    transition: all 0.3s ease;
}

.feedback-link:hover {
    color: #003366;
    border-bottom-style: solid;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .feedback-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* 链接容器 */
.content-prefix-links {
    margin: 20px 0;
    padding: 16px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    background-color: #f0f7ff;
    border-radius: 8px;
    border-left: 4px solid #004c98;
    box-shadow: 0 2px 8px rgba(0, 76, 152, 0.08);
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.content-prefix-links:hover {
    box-shadow: 0 4px 12px rgba(0, 76, 152, 0.12);
}

/* 暗黑模式适配 */
@media (prefers-color-scheme: dark) {
    .content-prefix-links {
        background-color: rgba(0, 76, 152, 0.12);
        border-left-color: #0066cc;
    }
}
/* 基础链接样式 */
.content-prefix-link {
    border-radius: 6px;
    overflow: hidden;
   
    transition: all 0.3s ease;
    min-width: 120px;
}/* box-shadow: 0 2px 5px rgba(0,0,0,0.1);*/

.content-prefix-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
.content-prefix-link, .content-prefix-link * {
    border-radius: inherit;
}
/* 基础按钮样式 */
.external-link {
    display: block;
    padding: 10px 20px 10px 45px;
    color: white !important;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    position: relative;
    transition: background 0.2s;
}

/* 图标基础样式 */
.external-link::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    text-align: center;
    margin-right: 8px;
}

/* 不同类型链接的颜色和图标 */
/* 1. 主推链接 - 橙色 */
.link-type-1 .external-link {
    background: #FF6B00;
}
.link-type-1:hover .external-link {
    background: #e05d00;
}
.link-type-1 .external-link::before {
    content: "\f234"; /* 用户加号图标 */
}

/* 2. 下载链接 - 绿色 */
.link-type-2 .external-link {
    background: #28a745;
}
.link-type-2:hover .external-link {
    background: #218838;
}
.link-type-2 .external-link::before {
    content: "\f019"; /* 下载图标 */
}

/* 3. 信息链接 - 蓝色 */
.link-type-3 .external-link {
    background: #007bff;
}
.link-type-3:hover .external-link {
    background: #0069d9;
}
.link-type-3 .external-link::before {
    content: "\f17a"; /* f05a信息圆圈图标 */
     font-family: "Font Awesome 6 Brands";
       font-weight: 400; /* 改为正常粗细 */
}

/* 4. 次要链接 - 紫色 */
.link-type-4 .external-link {
    background: #8940d9;
}
.link-type-4:hover .external-link {
    background: #7634c2;
}
.link-type-4 .external-link::before {
    content: "\f17b"; /* APP图标 f3c6*/
    font-family: "Font Awesome 6 Brands";
      font-weight: 400; /* 改为正常粗细 */
}

/* 5. 价格跳转 - 金色 */
.link-type-5 .external-link {
    background: #ffc107;
    color: #212529 !important;
    
}/*border: 1px solid #ffc107;*/
.link-type-5:hover .external-link {
    background: #e0a800;
    border-color: #e0a800;
}
.link-type-5 .external-link::before {
    content: "\f155"; /* 美元符号 */
}

/* 6. SK5代理 - 红色 */
.link-type-6 .external-link {
    background: #dc3545;
    animation: pulse 2s infinite;
}
.link-type-6:hover .external-link {
    background: #c82333;
}
.link-type-6 .external-link::before {
    content: "\f0c1"; /* 代理图标 */
}

/* 7. 安卓APK - Android绿 */
.link-type-7 .external-link {
    background: #4CAF50;
}
.link-type-7:hover .external-link {
    background: #43A047;
}
.link-type-7 .external-link::before {
    content: "\f17b"; /* Android图标 */
    font-family: "Font Awesome 6 Brands";
}

/* 8. 视频教程 - YouTube红 */
.link-type-8 .external-link {
    background: #F44336;
}
.link-type-8:hover .external-link {
    background: #E53935;
}
.link-type-8 .external-link::before {
    content: "\f144"; /* 播放图标 */
}


/* 9. 外部链接 -蓝色 */
.link-type-9 .external-link {
    background: #0066cc;
}
.link-type-9:hover .external-link {
    background: #2a6cb3;
}
.link-type-9 .external-link::before {
    content: "\f019"; /* 播放图标 */
}
/*地区展示*/
/* 10. 地区展示 - 红色 */
.link-type-10 .external-link {
    background: #E53935;
}
.link-type-10:hover .external-link {
    background: #C62828;
}
.link-type-10 .external-link::before {
    content: "\f57d"; /* 地图标记图标 */
}

.area-display-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}
.area-modal-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 800px;
    height: 80vh;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
}
.area-close-btn {
    color: #aaa;
    align-self: flex-end;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    padding: 0 0 10px 10px;
}
.area-close-btn:hover {
    color: black;
}
.area-modal-title {
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}
.area-modal-body {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}
.area-search-container {
    width: 100%;
   margin-bottom: 15px;
}
.area-search-wrapper {
    position: relative;
    width: 100%;
}
.area-search-input {
    width: 100%;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}
.area-search-input:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}
.area-search-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 100;
}
.area-search-result-item {
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
}
.area-search-result-item:hover {
    background-color: #f5f5f5;
}
.area-no-results {
    padding: 8px 15px;
    color: #888;
    font-size: 14px;
}
.area-province-list {
    width: 30%;
    overflow-y: auto;
    border-right: 1px solid #ddd;
    padding-right: 10px;
    box-sizing: border-box;
}
.area-city-list {
    width: 70%;
    padding-left: 20px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    align-content: start;
    box-sizing: border-box;
}
.area-province-btn {
    display: block;
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 5px;
    background: #f0f0f0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: left;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.area-province-btn:hover, .area-province-btn.active {
    background: #e0e0e0;
}
.area-city-item {
    padding: 10px 12px;
    background: #f8f8f8;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    box-sizing: border-box;
    word-break: break-all;
}
.area-highlight {
    background-color: #d4edda;
    animation: area-highlight 2s ease-out;
}
@keyframes area-highlight {
    from { background-color: #d4edda; }
    to { background-color: #f8f8f8; }
}
/* 价格标签动画 */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .content-prefix-links {
        flex-direction: column;
        gap: 10px;
    }
    .content-prefix-link {
        width: 100%;
    }
    .external-link {
        padding-left: 40px;
    }
    .external-link::before {
        left: 12px;
    }
}

/*文章表格*/


/* 为表格添加清晰的边框样式 */
.table.table-bordered {
  border-collapse: collapse; /* 确保边框合并 */
  width: 100%;
}

.table.table-bordered,
.table.table-bordered th,
.table.table-bordered td {
  border: 1px solid #dee2e6; /* 灰色边框 */
  padding: 8px 12px; /* 单元格内边距 */
}

/* 表头样式 */
.table.table-bordered thead th {
  border-bottom-width: 2px; /* 加粗表头底部边框 */
  background-color: #f8f9fa; /* 浅灰色背景 */
}

/* 鼠标悬停效果 */
.table.table-bordered tbody tr:hover {
  background-color: rgba(0,0,0,.02); /* 轻微高亮 */
}

/* 斑马条纹效果 (可选) */
.table.table-bordered tbody tr:nth-child(odd) {
  background-color: rgba(0,0,0,.01);
}

/* 表格响应式容器 - 只在移动端生效 */
@media screen and (max-width: 768px) {
  .table {
    display: block;
    width: 100%;
    overflow-x: auto;
    /* 修正后的平滑滚动属性 */
    -webkit-overflow-scrolling: touch; /* iOS 5+ 平滑滚动 */
    scroll-behavior: smooth; /* 现代浏览器平滑滚动 */
  }
  
  /* 保持表格单元格不换行 */
  .table.table-bordered {
    white-space: nowrap;
  }
}

/*xiazai下载*/

    /*user 用户中心*/
  
  /*user 用户中心*/
  
.user-products-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
    padding: 10px 0 0 0;
}

.user-product-item {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    padding: 12px 15px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    border: 1px solid #e1e8f0;
}

.user-product-item:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.user-product-logo {
    width: 32px;
    height: 32px;
    margin-right: 12px;
    object-fit: contain;
    flex-shrink: 0;
}

.user-product-name {
    font-size: 16px;
    color: #1a365d;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 15px;
    /* 移除 min-width，让名称自适应 */
    flex-shrink: 1; /* 允许名称收缩 */
    min-width: 0; /* 重要：允许元素收缩到小于内容宽度 */
}

.user-btn-group {
    display: flex;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}

.user-account-btns {
    display: flex;
    margin-left: 8px;
}

.user-btn {
    text-decoration: none;
    font-size: 13px;
    padding: 6px 14px;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    border-radius: 4px;
}

.user-btn i {
    margin-right: 5px;
    font-size: 12px;
}

.user-register-btn {
    color: #004c98;
    background-color: #fff;
    border: 1px solid #004c98;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.user-register-btn:hover {
    background-color: #f0f7ff;
}

.user-login-btn {
    color: #fff;
    background-color: #004c98;
    border: 1px solid #004c98;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-left: -1px;
}

.user-login-btn:hover {
    background-color: #003d7a;
}

.user-pc-download-btn {
    color: #fff;
    background-color: #4CAF50;
    min-width: 80px;
    justify-content: center;
}

.user-pc-download-btn:hover {
    background-color: #3e8e41;
}

.user-android-download-btn {
    color: #fff;
    background-color: #3ddc84;
    min-width: 80px;
    justify-content: center;
}

.user-android-download-btn:hover {
    background-color: #2ca56a;
}

.user-proxy-btn {
    color: #fff;
    background-color: #9c27b0;
    min-width: 120px;
    justify-content: center;
}

.user-proxy-btn:hover {
    background-color: #7b1fa2;
}

.user-price-btn {
    color: #fff;
    background-color: #ff9800;
    min-width: 80px;
    justify-content: center;
}

.user-price-btn:hover {
    background-color: #e68900;
}

.user-tutorial-btn {
    color: #fff;
    background-color: #2196F3; 
    min-width: 80px;
    justify-content: center;
}

.user-tutorial-btn:hover {
    background-color: #0b7dda;
}
.user-section-title {
    font-size: 22px;
    color: #004c98;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .user-product-item {
        flex-wrap: wrap;
        padding: 10px;
    }
    
    .user-product-name {
        /* 移动端：名称和图标在一行 */
        min-width: auto;
        flex: 1; /* 占据剩余空间 */
        margin-bottom: 0; /* 不移到下一行 */
        margin-right: 10px;
    }
    
    .user-btn-group {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        margin-top: 10px; /* 按钮组向下移动 */
    }
    
    .user-btn {
        margin-bottom: 5px;
        min-width: 0;
        flex-grow: 1;
    }
    
    .user-account-btns {
        margin-left: 0;
        width: 100%;
    }
    
    /* 确保名称和按钮组不重叠 */
    .user-product-logo {
        margin-right: 10px;
    }
}

@media (max-width: 480px) {
    .user-product-item {
        padding: 8px 10px;
    }
    
    .user-product-name {
        font-size: 15px;
        margin-right: 8px;
    }
    
    .user-btn-group {
        margin-left: 0;
        width: 100%;
        margin-top: 8px;
    }
    
    .user-btn {
        padding: 6px 8px;
        font-size: 12px;
        border-radius: 4px !important;
        margin-left: 0 !important;
    }
    
    .user-proxy-btn {
        min-width: 0;
    }
    
    .user-product-logo {
        width: 28px;
        height: 28px;
        margin-right: 8px;
    }
}

/* 小屏幕手机优化 */
@media (max-width: 360px) {
    .user-btn-group {
        gap: 6px;
    }
    
    .user-btn {
        padding: 5px 6px;
        font-size: 11px;
    }
    
    .user-btn i {
        font-size: 10px;
        margin-right: 3px;
    }
    
    .user-product-name {
        font-size: 14px;
    }
}
        
        
        
   /*用户中心分类*/

	 
		
/*download 搜索*/
/* ==================== 搜索功能样式 ==================== */
/* 确保搜索样式只影响特定容器 */
.article-container .user-search-container {
    max-width: 900px;
    margin: 0 auto 20px;
    display: flex;
    gap: 8px;
}

.user-search-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.user-search-input:focus {
    border-color: #004c98;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 76, 152, 0.2);
}

.user-search-btn {
    background-color: #004c98;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0 15px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.user-search-btn:hover {
    background-color: #003d7a;
}

.user-search-reset-btn {
    background-color: #f0f0f0;
    color: #555;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.user-search-reset-btn:hover {
    background-color: #e0e0e0;
}

/* ==================== 分类功能样式 ==================== */
.user-category-container {
    max-width: 900px;
    margin: 0 auto 20px;
}

.user-category-item {
    margin-bottom: 8px;
}

/* 隐藏无匹配的分类 */
.user-category-item.search-hide {
    display: none !important;
}

.user-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.user-category-header:hover {
    background-color: #edf2f7;
}

.user-category-header.active {
    background-color: #e6f0ff;
    border-color: #c3dafe;
}

/* 搜索时激活的样式 - 使用不同类名避免冲突 */
.user-category-header.search-match {
    background-color: #e6f0ff;
    border-color: #c3dafe;
    border-left: 4px solid #004c98;
}

.user-category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
}

.user-category-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #004c98;
}

.user-category-count {
    background-color: #e2e8f0;
    color: #4a5568;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.user-category-arrow {
    transition: transform 0.3s ease;
    color: #718096;
}

.user-category-header.active .user-category-arrow,
.user-category-header.search-match .user-category-arrow {
    transform: rotate(180deg);
    color: #004c98;
}


.user-category-content {
    display: block; 
    max-height: 0;
    padding: 0 0; 
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
}

.user-category-content.active {
    max-height: 1000px; 
    padding: 5px 0 5px; 
    opacity: 1;
}


.user-category-content.search-expand {
    max-height: 1000px;
    padding: 5px 0 5px;
    opacity: 1;
    transition: all 0.4s ease;
}

/* ==================== 搜索结果样式 ==================== */
/* 高亮匹配的产品 */
.user-product-item.highlight {
    border: 2px solid #004c98;
    box-shadow: 0 0 10px rgba(0, 76, 152, 0.2);
    background-color: #f0f7ff;
    position: relative;
}

/* 使用Unicode代码避免乱码 - 修改这里 */
.user-product-item.highlight::before {
    content: "\2713"; /* Unicode 对号符号，也可以用 \2714 */
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #004c98;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    z-index: 1;
}

.user-product-item.hide {
    display: none;
}

/* 搜索信息提示 - 去掉左边的蓝色样式 */
.user-search-info {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border-radius: 4px;
    max-width: 900px;
    margin: 0 auto 15px;
    display: none;  /* 去掉 border-left 样式 */
}

.user-search-info.show {
    display: block;
}

.user-search-info .highlight-count {
    color: #004c98;
    font-weight: 600;
}

.user-search-info .search-term {
    color: #e53e3e;
    font-weight: 600;
    background-color: #fff5f5;
    padding: 0 4px;
    border-radius: 3px;
    margin: 0 2px;
}

/* 无搜索结果提示 */
.user-no-results {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
    border-radius: 8px;
    border: 2px dashed #e2e8f0;
    margin-top: 10px;
    display: none;
}

.user-no-results.show {
    display: block;
}

.user-no-results i {
    font-size: 48px;
    color: #cbd5e0;
    margin-bottom: 15px;
}

.user-no-results p {
    color: #718096;
    margin: 0;
}

/* 搜索结果数量标记 */
.search-match-count {
    display: inline-block;
    background-color: #004c98;
    color: white;
    font-size: 12px;
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 5px;
    font-weight: normal;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
   .article-container .user-search-container {
        flex-wrap: wrap;
    }
    
  
    
    .user-search-btn, .user-search-reset-btn {
        flex: 1;
        padding: 10px;
    }
    
    .user-category-header {
        padding: 10px 15px;
    }
    
    .user-category-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .user-category-title {
        font-size: 15px;
    }
    
    .user-category-count {
        font-size: 11px;
        padding: 2px 6px;
    }
    
    .user-search-info {
        font-size: 13px;
        padding: 6px 10px;
    }
}


/*价格*/


/* ==================== 价格列表容器 ==================== */
.price-listcon {
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 默认两列布局 */
    gap: 15px;
}

/* ==================== 产品卡片 ==================== */
.product-card {
   position: relative;
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    border-left: 4px solid #0077cc;
}

/* 标题区域 */
.price-article-header {
  position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* 顶部对齐 */
    margin-bottom: 15px;
    padding-right: 80px; /* 为价格标签预留空间 */
}

.price-article-title {
   margin: 0;
    font-size: 20px;
    font-weight: 600;
    flex: 1;
    min-width: 0;
    word-wrap: break-word; /* 允许长单词换行 */
    white-space: normal; /* 正常换行 */
    overflow-wrap: break-word; /* 更智能的断词 */
    hyphens: auto; /* 自动添加连字符（支持的情况下） */
    padding-right: 20px; /* 增加标题和价格标签之间的间距 */
}

.price-article-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.price-article-title a:hover {
    color: #004c98;
	text-decoration: underline;
}

/* 价格标签 */
.price-tag {
  position: absolute;
    top: 0;
    right: 0;
    background: #FF4B2B;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(67, 97, 238, 0.3);
    white-space: nowrap;
}
.price-tag span {
    font-size: 12px;
    opacity: 0.8;
    margin-left: 3px;
}
/* 元信息区域 */
.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #777;
}



/* 按钮区域 */
.product-actions {
    display: flex;
    gap: 10px;
}

.cta-button {
    flex: 1;
    padding: 8px 12px;
    background: #004c98;
    color: white;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #003d7a;
}

.trial-button {
    flex: 1;
    padding: 8px 12px;
    background: white;
    color: #004c98;
    border: 1px solid #004c98;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.trial-button:hover {
    background: #f0f7ff;
}

/* ==================== 分页样式 ==================== */
.pagess {
    grid-column: 1 / -1; /* 分页横跨所有列 */
    margin: 20px 0 10px;
    text-align: center;
}

/* ==================== 移动端适配 ==================== */
@media (max-width: 768px) {
    .price-listcon {
        grid-template-columns: 1fr; /* 单列布局 */
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .price-tag {
        margin-top: 5px;
    }
}

/* ==================== 小屏幕优化 ==================== */
@media (max-width: 480px) {
    .price-listcon {
        padding: 10px;
    }
    
    .product-card {
        padding: 12px;
    }
    
    .product-meta {
       
        gap: 5px;
    }
}

/* 优化后的通知样式 */
.notice-container {
    background-color: #fff8e6;
    border-left: 4px solid #ffc107;
    padding: 10px 15px;
    margin: 15px 0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
}
.notice-content-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.notice-content {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    animation: scrollText 15s linear infinite;
    display: inline-block;
    padding-left: 100%;
    white-space: nowrap;
    position: relative;
}
.notice-title {
    font-weight: bold;
    color: #ff6b00;
    margin-right: 10px;
    display: inline-block;
    flex-shrink: 0;
}
@keyframes scrollText {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% - 10px));
    }
}


/*引用*/

blockquote {
  margin: 1.5em 0;
  padding: 1em 1.5em;
  border-left: 4px solid #3498db; /* 左侧边框颜色可调整 */
  background-color: #f8f9fa; /* 背景色可调整 */
  color: #555; /* 文字颜色可调整 */
  font-style: italic;
  font-size: 1.1em;
  line-height: 1.6;
  position: relative;
  quotes: "“" "”" "‘" "’"; /* 为不同语言准备引号 */
      letter-spacing: 1px;
      font-family: Tahoma, "microsoft yahei";
}

/* 可选：添加引号装饰 */
blockquote::before {
  content: open-quote;
  font-size: 2em;
  color: #3498db;
  position: absolute;
  left: 0px;
  top: 5px;
}

blockquote::after {
  content: close-quote;
  font-size: 2em;
  color: #3498db;
  position: absolute;
  right: 10px;
 
}




		/* 子栏目头部样式 */
.article-submenu-header {
    position: relative;
    padding: 0px 15px 0px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #555;
    font-size: 14px;
    transition: all 0.3s ease;
}

.article-submenu-header:hover {
    background-color: #f0f7ff;
    color: #004c98;
}

/* 子栏目箭头图标 */
.submenu-toggle {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.has-submenu.open .submenu-toggle {
    transform: translateY(-50%) rotate(90deg);
}

/* 子栏目列表 */
.article-submenu-list {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

.has-submenu.open .article-submenu-list {
    display: block;
}
.article-submenu-header .title-icon {
    width: 18px;
    height: 18px;
    vertical-align: bottom;
    margin-right: 5px;
    object-fit: contain;
    display: inline-block;
}



/*搜索模板 最新 最热按钮*/

.sort-btn {
    padding: 8px 15px;
    background: #f5f5f5;
    color: #333;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
}
.sort-btn:hover {
    background: #004c98;
    color: #fff;
}
.sort-btn.active {
    background: #004c98;
    color: #fff;
}






/* 有序列表（默认数字） */
.article-post-content ol,
.singlecon ol {
    list-style-type: decimal;
    padding-left: 1.5em;
    margin: 0.5em 0;
}

/* 无序列表（默认圆点） */
.article-post-content ul,
.singlecon ul {
    list-style-type: disc;
    padding-left: 1.5em;
    margin: 0.5em 0;
}

/* 嵌套有序列表（子级样式） */
.article-post-content ol ol,
.singlecon ol ol {
    list-style-type: lower-alpha; /* a. b. c. */
}

.article-post-content ol ol ol,
.singlecon ol ol ol {
    list-style-type: lower-roman; /* i. ii. iii. */
}

/* 嵌套无序列表（子级样式） */
.article-post-content ul ul,
.singlecon ul ul {
    list-style-type: circle; /* ◦ 空心圆 */
}

.article-post-content ul ul ul,
.singlecon ul ul ul {
    list-style-type: square; /* ▪ 方块 */
}

/* 混合嵌套（ol 里面有 ul，或 ul 里面有 ol） - 两层嵌套 */
.article-post-content ol ul,
.singlecon ol ul {
    list-style-type: circle; /* ol > ul 用空心圆 */
}

.article-post-content ul ol,
.singlecon ul ol {
    list-style-type: lower-alpha; /* ul > ol 用字母 */
}

/* 混合嵌套 - 三层嵌套情况 */
/* ol > ul > ol */
.article-post-content ol ul ol,
.singlecon ol ul ol {
    list-style-type: lower-roman; /* i. ii. iii. */
}

/* ol > ul > ul */
.article-post-content ol ul ul,
.singlecon ol ul ul {
    list-style-type: square; /* ▪ 方块 */
}

/* ul > ol > ul */
.article-post-content ul ol ul,
.singlecon ul ol ul {
    list-style-type: square; /* ▪ 方块 */
}

/* ul > ol > ol */
.article-post-content ul ol ol,
.singlecon ul ol ol {
    list-style-type: lower-roman; /* i. ii. iii. */
}


/*h1-h6*/
/* 文章内容标题样式 */
.article-post-content h1,
.article-post-content h2,
.article-post-content h3,
.article-post-content h4,
.article-post-content h5,
.article-post-content h6,
.singlecon h1,
.singlecon h2,
.singlecon h3,
.singlecon h4,
.singlecon h5,
.singlecon h6 {
    border-left: 4px solid #004c98;
    padding-left: 15px;
    margin: 25px 0 18px;
    font-weight: 600;
    line-height: 1.4;
    border-radius: 0 4px 4px 0;
}

/* 基准：h2 */
.article-post-content h2,
.singlecon h2 {
    font-size: 1.25em;
    padding: 10px 15px;
    background: #f0f5ff;
    border-left-width: 5px;
    border-left-color: #004c98; 
}

/* h1 - 最高层级 */
.article-post-content h1,
.singlecon h1 {
    font-size: 1.75em;
    padding: 15px 20px;
    background: linear-gradient(to right, #f0f5ff, #e6f0ff);
    border-left-width: 6px;
    margin-top: 35px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-left-color: #d35400; 
}

/* h3 */
.article-post-content h3,
.singlecon h3 {
    font-size: 1.1em;
    padding: 8px 15px;
    background: #f8f9fa;
    border-left-color: #27ae60;
}

/* h4 */
.article-post-content h4,
.singlecon h4 {
    font-size: 1em;
    padding: 7px 15px;
    background: #fbfbfb;
    border-left-color: #8e44ad;
}

/* h5 */
.article-post-content h5,
.singlecon h5 {
    font-size: 0.9em;
    padding: 6px 12px;
    background: #fdfdfd;
    border-left-width: 3px;
    border-left-color: #c0392b;
}

/* h6 - 最低层级 */
.article-post-content h6,
.singlecon h6 {
    font-size: 0.85em;
    padding: 5px 12px;
    background: #fff;
    border-left-width: 2px;
    border-left-color: #f39c12;
    color: #666;
    font-weight: 500;
}





.content h1 {
    font-size: 26px;
    
    color: #1a2a6c;
    
    padding-bottom: 12px;
    position: relative;
    display: inline-block;
}
.content h1:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(26,42,108,1) 0%, 
        rgba(0,76,152,1) 50%, 
        rgba(255,255,255,1) 100%);
}


blockquote {
  margin: 1.5em 0;
  padding: 1em 1.5em;
  border-left: 4px solid #3498db; /* 左侧边框颜色可调整 */
  background-color: #f8f9fa; /* 背景色可调整 */
  
  font-style: italic;
  font-size: 1.1em;
  line-height: 1.6;
  position: relative;
  quotes: "“" "”" "‘" "’"; /* 为不同语言准备引号 */
      letter-spacing: 1px;
      font-family: Tahoma, "microsoft yahei";
}

/* 可选：添加引号装饰 */
blockquote::before {
  content: open-quote;
  font-size: 2em;
  color: #3498db;
  position: absolute;
  left: 0px;
  top: 5px;
}

blockquote::after {
  content: close-quote;
  font-size: 2em;
  color: #3498db;
  position: absolute;
  right: 10px;
   bottom: 0; /* 对齐到右下角 */
    line-height: 1; /* 防止行高影响 */
 
}



/* code_kbd_pre_samp_styles.css */
/* 应用到 singlecon 和 article-post-content 类 */

.singlecon code,
.singlecon kbd,
.singlecon pre,
.singlecon samp,
.article-post-content code,
.article-post-content kbd,
.article-post-content pre,
.article-post-content samp {
    font-size: 1em;
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}

.singlecon code,
.singlecon kbd,
.article-post-content code,
.article-post-content kbd {
    padding: 2px 4px;
    font-size: 90%;
}

.singlecon code,
.article-post-content code {
    color: #c7254e;
    background-color: #f9f2f4;
    border-radius: 2px;
    border: 1px solid #e1e1e1;
    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.1);
    -moz-box-shadow: 0 1px 4px rgba(0,0,0,.1);
    box-shadow: 0 1px 4px rgba(0,0,0,.1);
}

.singlecon kbd,
.article-post-content kbd {
    color: #fff;
    background-color: #333;
    border-radius: 3px;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.25);
}

.singlecon kbd kbd,
.article-post-content kbd kbd {
    padding: 0;
    font-size: 100%;
    box-shadow: none;
}

.singlecon pre,
.article-post-content pre {
    display: block;
    padding: 9.5px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.42857;
    word-break: break-all;
    word-wrap: break-word;
    color: #333;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 2px;
}

.singlecon pre code,
.article-post-content pre code {
    padding: 0;
    font-size: inherit;
    color: inherit;
    white-space: pre-wrap;
    border-radius: 0;
    border: none;
    box-shadow: none;
    background-color: transparent;
}

.singlecon pre[class*="language-"],
.article-post-content pre[class*="language-"] {
    padding: 10px;
    border: 1px solid #f1f4f7 !important;
    margin: 0;
}

.singlecon pre[class*="language-"] code,
.article-post-content pre[class*="language-"] code {
    border: 0 !important;
}

.singlecon code.form-control-static,
.article-post-content code.form-control-static {
    padding: 5px 10px;
    min-height: 30px;
}

/* 额外的样式增强 */
.singlecon pre,
.article-post-content pre {
    overflow-x: auto;
    max-width: 100%;
}

.singlecon pre::-webkit-scrollbar,
.article-post-content pre::-webkit-scrollbar {
    height: 8px;
}

.singlecon pre::-webkit-scrollbar-track,
.article-post-content pre::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0 0 4px 4px;
}

.singlecon pre::-webkit-scrollbar-thumb,
.article-post-content pre::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.singlecon pre::-webkit-scrollbar-thumb:hover,
.article-post-content pre::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}


