/**
 * 新闻详情页 Related News — 对齐产品页 Related Products（3 列 + 方钮箭头）
 */
.blog_list--related {
  position: relative;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid #e8e8e8;
  overflow: hidden;
}

.blog_list--related .blog-related-head {
  position: relative;
  display: block;
  margin-bottom: 20px;
  min-height: 32px;
}

.blog_list--related .blog-related-title {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 24px;
  font-weight: bold;
  color: #002140;
  text-transform: none;
  letter-spacing: 0;
}

.blog_list--related .blog-related-title:before,
.blog_list--related .blog-related-title:after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 14px;
  margin: 0 15px;
  vertical-align: middle;
  background-color: #002140;
  opacity: 0.1;
  transform: skew(30deg);
}

.blog_list--related .blog-related-nav {
  position: absolute;
  right: 0;
  top: 4px;
  z-index: 2;
  display: flex;
  flex: 0 0 auto;
  gap: 0;
}

.blog_list--related .swiper-button-prev,
.blog_list--related .swiper-button-next {
  position: static;
  display: inline-block;
  width: 26px;
  height: 26px;
  line-height: 26px;
  font-size: 18px;
  border-radius: 0;
  text-align: center;
  background-color: #002140;
  color: #fff;
  margin-left: 7px;
  margin-top: 0;
  opacity: 1;
  flex: none;
  cursor: pointer;
}

.blog_list--related .swiper-button-prev:after,
.blog_list--related .swiper-button-next:after {
  display: none !important;
  content: none !important;
}

.blog_list--related .swiper-button-prev:before,
.blog_list--related .swiper-button-next:before {
  font-family: 'fontawesome', FontAwesome;
  display: inline-block;
}

.blog_list--related .swiper-button-prev:before {
  content: '\f0d9';
}

.blog_list--related .swiper-button-next:before {
  content: '\f0da';
}

.blog_list--related .swiper-button-prev:not(.swiper-button-disabled):hover,
.blog_list--related .swiper-button-next:not(.swiper-button-disabled):hover {
  background-color: #a90011;
}

.blog_list--related .swiper-button-disabled {
  opacity: 0.3;
  pointer-events: none;
}

.blog_list--related .blog-related-slider {
  overflow: hidden;
}

.blog_list--related .blog-related-item {
  height: auto;
}

.blog_list--related .blog-related-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 33, 64, 0.06);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.blog_list--related .blog-related-link:hover {
  border-color: rgba(173, 31, 45, 0.35);
  box-shadow: 0 8px 24px rgba(173, 31, 45, 0.12);
  transform: translateY(-3px);
}

.blog_list--related .blog-related-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 140px;
  padding: 12px;
  box-sizing: border-box;
  overflow: hidden;
  background: #f5f5f5;
}

.blog_list--related .blog-related-thumb img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
  object-position: center center;
  transition: transform 0.35s ease;
}

.blog_list--related .blog-related-link:hover .blog-related-thumb img {
  transform: scale(1.02);
}

.blog_list--related .blog-related-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: 16px 18px 18px;
}

.blog_list--related .blog-related-name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: #002140;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog_list--related .blog-related-link:hover .blog-related-name {
  color: var(--xy-skin-primary, #602518);
}

.blog_list--related .blog-related-body time {
  margin-top: auto;
  font-size: 13px;
  color: #888;
}

@media only screen and (max-width: 768px) {
  .blog_list--related {
    margin-top: 36px;
    padding-top: 28px;
    padding-left: 40px;
    padding-right: 40px;
    overflow: visible;
    box-sizing: border-box;
  }

  .blog_list--related .blog-related-title {
    font-size: 20px;
  }

  .blog_list--related .blog-related-nav {
    display: none;
  }

  .blog_list--related .blog-related-body {
    padding: 14px 14px 16px;
  }

  .blog_list--related .blog-related-name {
    font-size: 15px;
  }
}
