/**==================== 文章公共模块样式开始 ====================*/
/* 首行缩进 */
.post-indent .content .post-content{
  text-indent: 2em;
}
/* 段落标题 */
article h3{
  width: calc(100% + 65px);
  margin-left: -35px;
  padding: 7px 30px;
  border-left: 5px solid var(--zbyMain);
  background-color: var(--zbyGrayish);
}
article h4{
  width: calc(100% + 65px);
  margin-left: -35px;
  padding: 7px 30px;
  border-left: 3px solid var(--zbyMain);
  background-color: var(--zbyGrayish);
}
article h5{
  width: calc(100% + 60px);
  margin-left: -30px;
  padding: 5px 30px;
  background-color: var(--zbyGrayish);
}
/* 文字广告 */
.single .ads{
  margin: 15px auto;
}

/* 文章末尾文字广告 */
.ads-post-footer-text{
  cursor: default;
  line-height: 1.5rem;
  overflow: hidden;
}
.ads-post-footer-text b{
  font-weight: normal;
  color: #41C282
}
.ads-post-footer-text strong{
  color: #FD6A5E
}
.ads-post-footer-text a{
  color: inherit;
}
.ads-post-footer-text a:hover{
  color: #24a0f0;
}

/**==================== 文章公共模块样式结束 ====================*/


/**====================视频文章页面样式====================*/
.single .video-container{
  text-indent: 0;
}
.single .video-container .post-header{
  position: relative;
  height: 70px;
}
.single .video-container .post-header .metas{
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 0;
  right: 0;
  width: 240px;
  height: 100%;
  color: #777;
}
.single .video-container .post-header .meta{
  width: 100%;
  height: 100%;
  margin: auto;
  padding: 5px 0;
  overflow: hidden;
}
.single .video-container .post-header .meta i{
  display: block;
  font-size: 2rem;
}
.single .video-container .post-header .meta b{
  display: block;
  margin-top: 5px;
  font-size: 0.8rem;
}
.single .video-container .post-header .left{
  height: 100%;
  margin-right: 240px;
  text-align: left;
}
.single .video-container .post-header .title{
  height: 40px;
  line-height: 40px;
  font-size: 1.5rem;
  text-overflow: ellipsis;
  word-break: break-all;
  white-space: nowrap;
  overflow: hidden;
}
.single .video-container .post-header .infos{
  height: 20px;
  line-height: 20px;
  font-size: 0.8rem;
  color: #777;
}
.single .video-container .post-header .infos span{
  display: inline-block;
  margin-right: 10px;
  height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: break-all;
  overflow: hidden;
}
.single .video-container .post-header .infos em{
  font-weight: bold;
  color: #555;
}
.single .video-container .post-header .infos .language{
  padding: 1px 5px;
  color: #fff;
  background: #24a0f0;
}
.single .video-container .post-header .infos .more:hover em{
  cursor: pointer;
  color: #24a0f0;
}
.single .video-container .post-header .infos .details-wrapper{
  display: none;
  z-index: 999;
  position: absolute;
  width: 100%;
  height: 150px;
  padding: 15px;
  background-color: #fff;
}
.single .video-container .post-header .details-wrapper .details{
  margin-right: 120px;
}
.single .video-container .post-header .details-wrapper p{
  margin: 5px auto;
  font-size: 0.8rem;
  text-overflow: ellipsis;
  word-wrap: break-word;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.single .video-container .post-header .details-wrapper .poster{
  position: absolute;
  top: 15px;
  right: 15px;
  width: 90px;
  height: 120px;
  overflow: hidden;
}
.single .video-container .post-header .details-wrapper .poster img{
  object-fit: cover;
  transition-duration: 0.5s;
  height: 120px;
}
.single .video-container .post-header .details-wrapper .poster img:hover{
  object-fit: cover;
  transform: scale(1.2);
  height: 120px;
}
@media (max-width: 768px) {
  .single .video-container .post-header .infos span{
    max-width: 240px;
  }
  .single .video-container .post-header .metas {
    display: none;
  }
  .single .video-container .post-header .left {
    width: 100%;
    margin: 0;
  }
}


/**==================== 产品文章页面样式 ====================*/
.single .product-container{
  position: relative;
}
/* 头部详情 */
.single .product-info-wrapper{
  position: relative;
  width: 100%;
  padding: 1.5rem 1.5rem 1.5rem 420px;
  background: #fff;
  overflow: hidden;
}
.single .product-info-wrapper a{
  text-decoration: none;
  color: inherit;
}
.single .product-info-wrapper .gallery{
  float: left;
  display: block;
  position: relative;
  width: 380px;
  margin: 0 0 0 -400px;
  border: 0;
  padding: 0;
}
.single .product-info-wrapper .info{
  margin: 0 auto;
}
.single .product-info-wrapper .info h1{
  height: 30px;
  line-height: 30px;
  margin: 0 auto;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  overflow: hidden;
  word-break: break-all;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.single .product-info-wrapper .metas{
  margin: 10px auto;
  padding: 5px 20px;
  border-radius: 5px;
  background: #f5f5f5;
}
.single .product-info-wrapper .meta{
  margin: 10px auto;
  font-size: 1rem;
}
.single .product-info-wrapper .meta label{
  width: 4rem;
  margin-right: 10px;
  text-align: justify;
  text-align-last: justify;
  color: #999;
}
.single .product-info-wrapper .meta span{
  color: #555;
}
.single .product-info-wrapper .meta.price span{
  font-size: 1.2rem;
  font-weight: bold;
  color: #24a0f0;
}
.single .product-info-wrapper .meta.sale-price span{
  color: #ff0024;
}
.single .product-info-wrapper .meta.sale-price strong{
  font-size: 1.8rem;
  font-weight: bolder;
}
.single .product-info-wrapper .meta .sale-info{
  position: relative;
  bottom: 3px;
  margin-left: 15px;
  vertical-align: bottom;
  font-size: 1rem;
}
.single .product-info-wrapper .sale-info b{
  font-weight: bold;
}
.single .product-info-wrapper .sale-info big{
  margin: 0 5px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #ff0024;
}
.single .product-info-wrapper .sale-info em{
  margin: 0 3px;
  padding: 1px 3px;
  border-radius: 3px;
  vertical-align: bottom;
  font-size: 1rem;
  font-weight: normal;
  color: #fff;
  background: #ff0024;
}
.single .product-info-wrapper .desc{
  line-height: 1.2rem;
  margin: 1rem auto;
  font-size: 1rem;
  color: #999;
  text-align: justify;
  text-overflow: ellipsis;
  word-wrap: break-word;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.single .product-info-wrapper .tags{
  line-height: 1.2rem;
  margin: 1rem auto;
  font-size: 1rem;
  color: #999;
}
.single .product-info-wrapper .tags a{
  margin-right: 7px;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 0.9rem;
  color: #fff;
  background: #9ccc65;
}
.single .product-info-wrapper .tags a:hover{
  background: #689f38;
}
.single .product-info-wrapper .buyer{
  /* display: none; */
  position: relative;
  margin: 1rem auto;
}
.single .product-info-wrapper .buyer label{
  width: 4rem;
  margin-right: 10px;
  text-align: justify;
  text-align-last: justify;
  color: #333;
}
.single .product-info-wrapper .buyer .amount{
  outline: none;
  display: inline-block;
  width: 60px;
  height: 30px;
  line-height: 30px;
  padding: 0 0 0 10px;
  border: 1px solid #999;
}
.single .product-info-wrapper .buyer .unit{
  margin: 0 5px;
}
.single .product-info-wrapper .sku{
  margin-left: 10px;
  font-size: 1rem;
  color: 777;
}
.single .product-info-wrapper .sku strong{
  margin: 0 5px;
  font-size: 1.1rem;
  font-weight: bold;
}
.single .product-info-wrapper .btns{
  position: relative;
  margin: 1rem auto;
}
.single .product-info-wrapper .btns .btn{
  position: relative;
  height: 2rem;
  line-height: 2rem;
  margin: 0 auto;
  padding: 0 1rem;
  font-size: 1rem;
  color: #fff;
  background: #24a0f0;
}
/* 介绍评价 */
.single .product-content-wrapper{
  position: relative;
  width: 100%;
  overflow: hidden;
}
.single .product-container .sidebar{
  float: left;
  position: absolute;
  top: 0;
  width: 300px;
  height: 100%;
  margin: 0 auto;
  overflow-y: scroll;
  scrollbar-width: none;
}
.single .product-container .sidebar::-webkit-scrollbar{
  display: none;
}
.single .product-content-wrapper>.content-wrapper >.content{
  margin-left: 320px;
  margin-right: 0;
  padding: 0;
  overflow: hidden;
}
.single .product-content-wrapper .tabs{
  cursor: default;
  list-style: none;
  height: 2.5rem;
  line-height: 2.5rem;
  margin: 0 auto;
  padding: 0;
  border-bottom: 1px solid #ccc;
}
.single .product-content-wrapper .mobile{
  float: right;
  position: relative;
  height: 100%;
  padding: 0 1rem;
  font-size: 0.8rem;
}
.single .product-content-wrapper .mobile i{
  margin: 0 5px;
}
.single .product-content-wrapper .mobile:hover .product-qrcode{
  display: block;
}
.single .product-content-wrapper .mobile .product-qrcode{
  z-index: 999;
  display: none;
  position: absolute;
  top: 2.5rem;
  right: 1rem;
  width: 140px;
  height: 140px;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 5px;
  background: #fff;
}
.single .product-content-wrapper .mobile .product-qrcode canvas{
  width: 100%;
  height: 100%;
}
.single .product-content-wrapper .tab{
  float: left;
  display: block;
  width: 100px;
  height: 100%;
  line-height: 2.5rem;
  margin: 0 auto;
  text-align: center;
  color: #555;
}
.single .product-content-wrapper .tab.active{
  color: #fff;
  background: #999;
}
.single .product-content-wrapper .items{
  min-height: 500px;
  padding: 1.2rem 2rem;
  padding-top: 0;
}
.single .product-content-wrapper .content .item{
  display: none;
}
.single .product-content-wrapper .item.active{
  display: block;
}
@media (max-width: 1024px) {
  .single .product-info-wrapper {
    padding: 1.5rem 1.5rem 1.5rem 340px;
  }
  .single .product-info-wrapper .gallery{
    width: 300px;
    margin: 0 0 0 -320px;
  }
  .single .product-info-wrapper .product-gallery-container {
    width: 300px;
    height: 260px;
  }
  .single .product-container .sidebar{
    width: 260px;
  }
  .single .product-content-wrapper>.content-wrapper >.content{
    margin-left: 280px;
  }
}
@media (max-width: 768px) {
  .single .product-info-wrapper {
    padding: 1rem;
  }
  .single .product-info-wrapper .gallery{
    float: none;
    width: 100%;
    margin: 0;
  }
  .single .product-info-wrapper .product-gallery-container {
    width: 100%;
    height: 360px;
  }
  .single .product-info-wrapper .info {
    margin-top: 1rem;
  }
  .single .product-container .sidebar{
    position: relative;
    width: 100%;
  }
  .single .product-content-wrapper>.content-wrapper >.content{
    margin-left: 0;
  }
}
@media (max-width: 480px) {
  .single .product-info-wrapper .product-gallery-container {
    width: 100%;
    height: 280px;
  }
}
