/* 文章页面样式 */
.article-list-container {
    margin-top: 10px;
}
/* 文章横幅 */
.article-banner {
  height: 240px;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 15px;
}

/* 当前位置 */
.article-position {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

/* 文章标题 */
.article-title h1 {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
  margin-bottom: 15px;
}

/* 文章信息 */
.article-meta {
  display: flex;
  font-size: 14px;
  color: #999;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.article-meta span {
  margin-right: 20px;
}
.article-meta .article-visit-count {
    font-size: 14px;
    color: #646566;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 文章分享二维码样式 */
.article-share-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
@media screen and (max-width: 768px) {
    .article-share-wrapper {
        display: none;
    }
}
.article-share {
    font-size: 14px;
    color: #646566;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.article-share:hover {
    color: #07c160;
}

.article-share-wrapper .qrcode-container {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border: 1px solid #eee;
}

.article-share-wrapper:hover .qrcode-container {
    display: flex;
}

.article-share-wrapper .qrcode-container::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
    z-index: 1001;
}

.article-share-wrapper .qrcode-container::after {
    content: '';
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid #eee;
    z-index: 999;
}

.article-share-wrapper .qrcode-container p {
    margin: 0;
    font-size: 12px;
    color: #666;
    text-align: center;
    font-weight: 500;
}

/* 文章标签 */
.article-tags{
  font-size: 14px;
  margin-bottom: 15px;
  padding-bottom: 0px;
  /* border-bottom: 1px solid #eee; */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.article-tags a {
  display: inline-block;
  padding: 4px 12px;
  background-color: #f5f5f5;
  color: #666;
  text-decoration: none;
  border-radius: 16px;
  font-size: 13px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.article-tags a:hover {
  background-color: #e8f0fe;
  color: #0071e3;
  border-color: #0071e3;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 113, 227, 0.15);
}

.article-tags a:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0, 113, 227, 0.2);
}

/* 文章导读 */
.article-description {
  background-color: #f5f5f5;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.article-description:hover {
  border-color: #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.article-description p {
  margin: 0;
  font-style: italic;
}

/* 为导读添加引用图标装饰 */
.article-description::before {
  content: "\201C";
  font-size: 36px;
  color: #ccc;
  line-height: 1;
  float: left;
  margin-right: 10px;
  margin-top: -5px;
  font-family: serif;
}



/* 上一篇下一篇 */
.article-nav {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  border-top: 1px solid #eee;
  font-size: 14px;
}
@media (max-width: 768px) {
  .article-nav {
    flex-direction: column;
    align-items: left;
    gap: 15px;
  }
}
.article-nav a {
  color: #666;
  text-decoration: none;
}

.article-nav a:hover {
  color: #0066cc;
}


/* 产品和服务 */
.article-main-right-product {
  background-color: #fff;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 20px;
}

.article-main-right-product h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/* 产品卡片容器 */
.product-card-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 产品卡片 */
.product-card {
  width: 100%;
  height: auto;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  margin: 0 auto;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 产品卡片链接 */
.product-card-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

/* 产品卡片内容 */
.product-card-content {
  width: 100%;
  height: 100%;
  padding: 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* 产品卡片标题 */
.product-card-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 5px 0;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

/* 产品卡片副标题 */
.product-card-subtitle {
  font-size: 12px;
  line-height: 1.4;
  opacity: 0.95;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

/* 文章导航 - 现代化设计 */
.article-list-nav-container {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.article-list-nav {
  font-size: 0;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.article-list-nav li {
  display: inline-block;
  vertical-align: top;
  margin: 0;
  position: relative;
}

.article-list-nav li a {
  display: block;
  padding: 0 20px;
  line-height: 42px;
  background-color: transparent;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  color: #555555;
  transition: all 0.3s ease;
  border-radius: 0;
  position: relative;
}

.article-list-nav li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #0071e3;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.article-list-nav li a:hover {
  background-color: #f8f9fa;
  color: #0071e3;
}

.article-list-nav li a:hover::after,
.article-list-nav li.active a::after {
  transform: scaleX(1);
}

.article-list-nav li.active a {
  background-color: transparent;
  color: #0071e3;
  font-weight: 600;
}

.article-list-subnav {
  padding-left:10px;
  font-size: 0;
  background-color: #f8f9fa;
}

.article-list-subnav li {
  display: inline-block;
  vertical-align: top;
  margin-top: 2px;
}

.article-list-subnav li a {
  display: block;
  padding: 0 10px;
  line-height: 28px;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  color: #666666;
  transition: all 0.3s ease;
  border-radius: 16px;
  margin: 4px 2px;
  background-color: transparent;
}

.article-list-subnav li a:hover {
  /* background-color: #e3f2fd; */
  color: #0071e3;
  /* transform: translateY(-1px); */
  /* box-shadow: 0 2px 8px rgba(0, 113, 227, 0.15); */
}

.article-list-subnav li.active a {
  background-color: #e3f2fd;
  color: #0071e3;
  /* box-shadow: 0 2px 8px rgba(0, 113, 227, 0.2); */
}

/* 文章列表 - 现代化设计 */
.article-list {
  list-style: none;
  margin-top: 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-list li {
  display: flex;
  margin-bottom: 0;
  overflow: hidden;
  background-color: #ffffff;
  padding: 20px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
}

.article-list li:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
  border-color: #e0e0e0;
}

.article-list-img {
  flex-shrink: 0;
  width: 160px;
  height: auto;
  text-align: center;
  font-size: 0;
  border-radius: 12px;
  overflow: hidden;
  background-color: #f5f5f7;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 992px) {
  .article-list-img {
    width: 120px;
  }
}
@media screen and (max-width: 768px) {
  .article-list-img {
    width: 70px;
    border-radius: 8px;
  }
}
.article-list-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.05), rgba(0, 113, 227, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.article-list li:hover .article-list-img::before {
  opacity: 1;
}

.article-list-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 0;
}

.article-list li:hover .article-list-img img {
  transform: scale(1.05);
}

.article-list-text {
  flex: 1;
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: auto;
}

.article-list-text h4 {
  margin: 0 0 12px 0;
  font-size: 22px;
  font-weight: 600;
  color: #2d3748;
  line-height: 1.4;
  transition: color 0.3s ease;
  /* 最多显示2行文本，超出显示省略号 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.article-list-text h4 a {
  color: #555555;
  text-decoration: none;
  transition: color 0.3s ease;
}
.article-list-text h4 a:visited {
  color: #8f8f8f;
}
.article-list li:hover .article-list-text h4 a {
  color: #0071e3;
}

.article-list-text p {
  color: #718096;
  margin: 0 0 6px 0;
  line-height: 1.8;
  font-size: 15px;
  /* 最多显示3行文本，超出显示省略号 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
}
.article-list-bottom {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
/* 文章标签 */
 .article-list-tags {
  padding-top: 2px;
  padding-bottom: 0px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
      /* 最多显示1行标签，超出显示省略号 */
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-list-tags a {
  display: inline-block;
  padding: 4px 12px;
  background-color: #f5f5f5;
  color: #666;
  text-decoration: none;
  border-radius: 16px;
  font-size: 12px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  position: relative;
  z-index: 1;

}
@media (max-width: 768px) {
  .article-list-tags a {
    padding: 4px 8px;
    font-size: 11px;
  }
}
.article-list-tags a:hover {
  background-color: #e8f0fe;
  color: #0071e3;
  border-color: #0071e3;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 113, 227, 0.15);
}

.article-list-tags a:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0, 113, 227, 0.2);
}

/*标签筛选显示*/
.tag-filter-container {
  display: none;
  margin: 15px 0;
  padding: 5px 15px;
  /* background-color: #f8f9fa; */
  border-radius: 4px;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tag-filter {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 20px;
  font-size: 14px;
}

.tag-filter .tag-name {
  font-weight: 500;
}

.tag-filter .tag-close {
  cursor: pointer;
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .tag-filter-container {
    padding: 10px 12px;
    margin: 12px 0;
  }
.tag-filter {
  padding: 4px 8px;
  font-size: 12px;
}
  
}
/* 文章访问数样式 */
.article-visit-count {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #a0aec0;
  flex-shrink: 0;
}

.article-visit-count span {
  display: block;
}

/* 文章内产品列表样式 - 简约大气设计 */
.article-productlist {
  display: flex;
  margin: 20px 0;
  padding: 0 20px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.article-productlist .panel-productlist-item:hover {
  background-color: #fff;
  transform: translateX(0px);
}
.article-productlist:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.article-productlist-more {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #878787;
  font-size: 32px;
  font-weight: 100;
  text-decoration: none;
  margin-left: 30px;
  padding-right: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.article-productlist-more:hover {
  transform: scale(1.1);
}

.article-productlist-more a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .article-productlist {
    padding: 0 15px;
    margin: 15px 0;
    border-radius: 8px;
  }
  
  .article-productlist-more {
    font-size: 28px;
    margin-left: 10px;
    padding-right: 0;
  }
}

/* 分页样式 */


/* 响应式设计 */
@media (max-width: 992px) {
  .article-banner {
    height: 180px;
  }
  
  .article-title h1 {
    font-size: 24px;
  }
  
  /* 文章列表响应式 */
  
  .article-list-text {
    margin-left: 16px;
    min-height: auto;
  }
  
  .article-list-text h4 {
    font-size: 20px;
    -webkit-line-clamp: 2;
  }
  
  .article-list-text p {
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
  }
}

@media (max-width: 768px) {
  .article-banner {
    height: 140px;
  }
  
  .article-title h1 {
    font-size: 20px;
  }
  
  
  /* 文章列表响应式 */
  .article-list-nav-container {
    margin-bottom: 15px;
    border-radius: 6px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
  }
  
  .article-list-nav {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  
  .article-list-nav::-webkit-scrollbar {
    height: 4px;
  }
  
  .article-list-nav::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 2px;
  }
  
  .article-list-nav li a {
    padding: 0 16px;
    line-height: 38px;
    font-size: 14px;
  }
  
  .article-list-subnav {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  
  .article-list-subnav::-webkit-scrollbar {
    height: 4px;
  }
  
  .article-list-subnav::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 2px;
  }
  
  .article-list-subnav li a {
    padding: 0 12px;
    line-height: 34px;
    font-size: 13px;
  }
  
  /* 文章列表响应式 */
  .article-list {
    gap: 12px;
    margin-top: 15px;
  }
  
  .article-list li {
    padding: 12px;
    border-radius: 8px;
    flex-direction: row;
    align-items: flex-start;
  }
  
  .article-list-text {
    margin-left: 12px;
    margin-right: 0;
    min-height: auto;
  }
  
  .article-list-text h4 {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 6px;
    -webkit-line-clamp: 2;
  }
  
  .article-list-text p {
    font-size: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
  } 
  
  .article-list-text .article-visit-count {
    font-size: 11px;
    padding-top: 4px;
  }
  
  .article-list-text .article-visit-icon {
    height: 12px;
  }
  
  /* 访问数在移动设备上的显示 */
  .article-list-text .article-visit-count {
    font-size: 11px;
    padding-top: 4px;
  }
  
  .article-list-text .article-visit-icon {
    width: auto;
    height: 12px;
    margin-right: 3px;
  }
  
  .article-list-text .article-visit-count span {
    display: block;
    font-size: 11px;
  }
}
