html {
  scroll-padding-top: 1.4rem;
}

.oc-main-sam-inquiry_cart-btnList .tooltip-box {
  right: -0.7rem !important;
}

.oc-main-sam-blog-pagination {
  display: flex;
  justify-content: space-between;
  margin-top: 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #b7b7b7;
}

.oc-main-sam-blog-pagination .pre-blog {
  color: var(--Color);
}

.oc-main-sam-blog-pagination .next-blog {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: #333333;
}
.blog-content img {
  width: 500px;
  height: auto;
  object-fit: contain;
}
.oc-main-sam-blog-content-date {
  font-size: 0.18rem;
  font-weight: 400;
  line-height: 100%;
  text-align: left;
  /* margin-top: 0.25rem;
    margin-bottom: 0.16rem; */
  color: #8a8a8a;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.1rem;
}
.oc-main-sam-blog-content-date .voice-reading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
}
.start-voice,
.pause-voice {
  width: 0.3rem;
  height: 0.3rem;
  cursor: pointer;
}
.pause-voice {
  display: none;
}
.isPlaying {
  display: none;
  margin: 0 !important;
}

.oc-main-sam-recent-posts {
  position: relative;
  margin-top: 0.5rem;
  border: solid 1px #959595;
  border-radius: 4px;
  padding: 0.3rem 0.3rem;
  box-shadow: 0px 2px 2px 0px rgba(73, 144, 239, 0.37);
}

.oc-main-sam-recent-posts .recent-posts-title {
  padding: 0.1rem;
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  color: #333;
  font-weight: 600;
  font-size: 0.18rem;
  white-space: nowrap;
}

.oc-main-sam-recent-posts .post-list .post-item {
  color: #333;
  padding: 0.2rem 0;
  border-bottom: 1px solid #b0b0b0;
}

.oc-main-sam-recent-posts .post-list .post-item:hover {
  color: var(--Color);
}

/* blog-目录 */
.anchor-point-box.right_3 {
  position: sticky;
  top: 0.9rem;
  padding-top: 0.2rem;
}
.left-right-wrapper {
  align-items: flex-start;
}
.contents-box {
}
.contents-title {
  display: flex;
  align-items: center;
  font-size: 0.28rem;
  font-weight: 800;
  line-height: 0.36rem;
  margin-bottom: 0.26rem;
  cursor: pointer;
  color: #333333;
}
.contents-title svg {
  margin-left: 0.2rem;
}
.contents-title:hover {
  color: var(--Color);
}
.contents-ol {
  max-height: 60vh;
  overflow-y: auto;
}
.contents-ol .contents-li {
  font-size: 0.22rem;
  font-weight: 500;
  line-height: 0.35rem;
  margin-bottom: 0.2rem;
  word-break: break-word;
  list-style-type: none;
}
.contents-ol .contents-li-children {
  margin-left: 0.25rem;
  margin-top: 0.2rem;
  margin-bottom: 0;
}
.contents-ol .contents-li a {
  display: inline;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid transparent;
  cursor: pointer;
}
.contents-ol .contents-li a:hover {
  color: var(--Color);
  border-bottom: 1px solid var(--Color);
}
.contents-box .contents-shadow {
  box-shadow: 0px 1px 4px 0px #00000040;
  border: 1px solid #b7b7b79e;
  margin: 0.24rem 0;
}

/* 类别选项 */

.post-categories {
  position: relative;
  margin-top: 0.5rem;
  border: solid 1px #959595;
  border-radius: 4px;
  padding: 0.3rem 0.3rem;
  box-shadow: 0px 2px 2px 0px rgba(73, 144, 239, 0.37);
}

.post-categories .post-categorie-title {
  padding: 0.1rem;
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  color: #333;
  font-weight: 600;
  font-size: 0.18rem;
}

.post-categories .categorie-list .categorie-item {
  color: #333;
  padding: 0.2rem 0;
  border-bottom: 1px solid #b0b0b0;
  text-align: center;
}

.post-categories .categorie-list .categorie-item:hover {
  color: var(--Color);
}

.oc-main-sam-blog-author-info {
  margin-top: 0.4rem;
}
.oc-main-sam-blog-author-info .author-info-title {
  color: #797979;
  font-size: 0.18rem;
}
.anthor-second-reviews {
  display: none;
}
.long-blog-content .rich-text h2 {
  margin: 0.12rem 0;
  font-family: NunitoSans;
  font-size: 0.36rem;
  font-weight: 800;
  line-height: 0.66rem;
}
.long-blog-content .long-blog-button {
  border-radius: 0.1rem;
  background-color: var(--Color);
  border: 0.01rem solid var(--Color);
  color: #fff;
  width: fit-content;
  min-width: 6.25rem;
  max-width: 100%;
  transition: 0.3s;
  margin: 0 auto;
  margin-top: 0.58rem;
  text-decoration: none;
  height: 0.59rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: NunitoSans;
  font-size: 0.2rem;
  font-weight: 500;
}
.long-blog-content .long-blog-button svg {
  width: 0.32rem;
  height: 0.32rem;
  margin-left: 0.15rem;
  opacity: 0;
}
.long-blog-content .long-blog-button:hover {
  text-decoration: none;
  font-family: Roboto;
}
.long-blog-content .long-blog-button:hover svg {
  opacity: 1;
}
/* .long-blog-content .long-blog-button:hover{
    background-color: #fff;
    color: var(--Color);
    text-decoration: none;
} */

.long-blog-content .rich-text .divider-line {
  height: 0.01rem;
  width: 100%;
  background-color: #b7b7b7;
  margin-top: 0.85rem;
  margin-bottom: 0.63rem;
  box-shadow: 0px 0.01rem 0.02rem 0px #0000001a;
}
/* Blog 关联产品 */
.blog-related-product-detail {
  box-sizing: border-box;
  width: 100%;
  margin-top: 0.24rem;
  /* overflow: visible !important;  */
}
.blog-related-product-detail .related-title {
  color: #333;
  font-family: NunitoSans;
  font-size: 0.28rem;
  font-style: normal;
  font-weight: 800;
  line-height: 0.36rem; /* 128.571% */
  text-transform: uppercase;
  padding-bottom: 0.21rem;
}
.blog-related-product-detail .swiper-slide {
  box-sizing: border-box;
  background: #fff;
}
.blog-related-product-detail .swiper-slide .img-box {
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-bottom: 0px;
}
.blog-related-product-detail .swiper-slide .product-container {
  box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-top: 0px;
  margin-bottom: 0.5rem;
  height: 1.52rem;
}
.blog-related-product-detail .swiper-slide img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: 2.7rem;
}
.blog-related-product-detail .swiper-slide .product-container .product-title {
  padding: 0.27rem 0.12rem 0.24rem 0.13rem;
  color: #1e73bd;
  font-family: NunitoSans;
  font-size: max(0.18rem, 16px);
  font-style: normal;
  font-weight: 800;
  line-height: 25px; /* 122.222% */
  text-transform: capitalize;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* 设置为2表示只显示两行 */
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 74px; /* 行高 * 行数 */
}
.blog-related-product-detail .oc-main-sam-inquiry_cart-btn {
  padding-left: 0.13rem;
}
.blog-related-product-detail .swiper-button-prev,
.blog-related-product-detail .swiper-button-next {
  top: 36.5%;
}
/* 去掉轮播图默认切换按钮 */
.blog-related-product-detail .swiper-button-prev:after,
.blog-related-product-detail .swiper-button-next:after {
  display: none;
}

.blog-related-product-detail .tooltip-box .icon-success {
  width: 0.25rem;
  height: 0.25rem;
}

.oc-main-sam-h5-show {
  display: none;
}

.oc-main-sam-h5-show .swiper-pagination {
  display: block;
}

/* 超大屏 */
@media screen and (min-width: 1800px) {
  .oc-main-sam-h5-show {
    display: none;
  }
  .oc-main-sam-h5-hide {
    display: block;
  }
  .blog-related-product-detail .swiper-slide .product-container .product-title {
    max-height: 81px;
  }
}

/* 小屏pc */
@media screen and (max-width: 1400px) {
  .oc-main-sam-h5-show {
    display: none;
  }
  .oc-main-sam-h5-hide {
    display: block;
  }
  .blog-related-product-detail .swiper-slide .product-container {
    height: 2rem;
  }
  .blog-related-product-detail .swiper-slide .product-container .product-title {
    max-height: 71px;
    margin-bottom: 12px;
  }
  .oc-main-sam-recent-posts .recent-posts-title,
  .post-categories .post-categorie-title {
    font-size: 16px;
  }

  .oc-main-sam-recent-posts .post-list .post-item,
  .post-categories .categorie-list .categorie-item {
    font-size: 15px;
  }
  .oc-main-sam-blog-author-info .author-info-title {
    color: #797979;
    font-size: 15px;
  }
  .blog-related-product-detail .swiper-button-prev,
  .blog-related-product-detail .swiper-button-next {
    top: 35%;
  }
}

/* ipad和mobile */
@media screen and (max-width: 1025px) {
  .oc-main-sam-h5-show {
    display: block;
  }
  .oc-main-sam-h5-hide {
    display: none;
  }
  html {
    scroll-padding-top: 1.8rem;
  }
  .oc-main-sam-blog-pagination {
    gap: 2rem;
  }
  .oc-main-sam-blog-pagination .next-blog {
    text-align: right;
  }
  .left-right-wrapper {
    flex-direction: column-reverse;
    gap: 0;
  }
  .contents-box .contents-ol {
    padding: 0.26rem 0.16rem;
    box-shadow: 0px 1px 4px 0px #00000040;
    background-color: #eaf4ff;
  }
  .contents-box .contents-ol .contents-li {
    font-size: 0.28rem;
    color: #333;
    margin-bottom: 0.37rem;
    margin-left: 0.35rem;
  }
  .contents-box .contents-ol .contents-ol .contents-li a:hover {
    border-color: transparent;
  }
  .contents-box .contents-ol .contents-li:active {
    color: var(--Color);
  }
  .contents-box .contents-ol .contents-li:nth-last-child(1) {
    margin-bottom: 0;
  }
  .left-right-wrapper .right_3 {
    position: static;
    display: block;
    width: 100%;
  }
  .side-subscribe,
  .contents-shadow {
    display: none;
  }

  .long-blog-content .rich-text h2 {
    font-size: 0.36rem;
    font-weight: 800;
    line-height: 0.36rem;
  }
  .long-blog-content .long-blog-button {
    width: 100%;
    font-size: 0.24rem;
    font-weight: 500;
    line-height: 0.45rem;
    height: 0.82rem;
    text-align: center;
  }
  .long-blog-content .rich-text .divider-line {
    margin-top: 0.75rem;
    margin-bottom: 0.6rem;
  }

  .blog-related-product-detail .swiper-slide img {
    height: 4rem;
  }
  .blog-related-product-detail .swiper-slide .product-container {
    height: 1.57rem;
  }
  .blog-related-product-detail .swiper-slide .product-container {
    margin-bottom: 0.7rem;
  }

  .oc-main-sam-h5-show .swiper-pagination {
    display: none;
  }
}
