/* About 页适配补丁（舜佳）
   ------------------------------------------------------------------
   只覆盖 szccm 原版 about 页的主题色与容器差异，原版 DOM/CSS 一个字节不改。
   1) 原版 --theme 是红色，这里按舜佳主题蓝 #135f9d 覆盖栏目激活态/mark
   2) 资质荣誉 honor-list 原版挂在 .about-honor-page 下，本页用 .about-page，
      补一条让样式生效
   ------------------------------------------------------------------ */

/* BebasNeue 本地化：原版 header.css 用外链 font.fonwi.com（国内常加载失败，
   数字会回退成系统字体变粗胖）。这里同名重声明指向本地文件，覆盖外链定义。 */
@font-face {
  font-family: "BebasNeue";
  src: url("../fonts/BebasNeue.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* 数字使用原版高窄字体（截图同款），单位仍用原版加粗无衬线 */
.about-page .about-intro .intro-wrap .left .list .item .item-top .data {
  font-family: "BebasNeue", sans-serif;
  font-weight: 400;
  letter-spacing: 1px;
}

/* banner 在首屏，标题与栏目 tab 不依赖 wow 滚动动画（大图加载后动画常不触发，
   会停在 visibility:hidden 导致标题/栏目看不见）→ 强制可见 */
.about-page .common-banner .text-title,
.about-page .common-banner .cate-list {
  visibility: visible !important;
  opacity: 1 !important;
  animation: none !important;
}

/* 栏目激活 / hover 背景：主题蓝 */
.about-page .common-banner .text .cate-list .cate-item::after {
  background-color: #135f9d;
}
/* 英文站栏目名较长：加宽 banner tab 并禁止换行，保证三个 tab 单行等高 */
html[lang="en"] .about-page .common-banner .text .cate-list .cate-item {
  width: max(4rem, 250px);
  white-space: nowrap;
}
.about-page .about-intro .intro-wrap .left .mark {
  color: #135f9d;
}

/* 统计数字（100% / 500+ / 2000+ / OEM）与单位：原版红色 #d0121b → 舜佳蓝 */
.about-page .about-intro .intro-wrap .left .list .item .item-top .data,
.about-page .about-intro .intro-wrap .left .list .item .item-top .unit {
  color: #135f9d;
}

/* 资质荣誉列表：原版选择器需 .about-honor-page 容器 */
.about-page .honor-list {
  padding-top: max(1.05rem, 35px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 20px;
  row-gap: 20px;
  margin-bottom: max(0.7rem, 30px);
}
.about-page .honor-list .item {
  display: block;
  padding: max(0.57rem, 20px) max(0.6rem, 15px);
  background: #f4f5f6;
  border-radius: 20px 0 20px 0;
  overflow: hidden;
}
.about-page .honor-list .item .pic {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.about-page .honor-list .item .pic::after {
  content: "";
  display: block;
  padding-bottom: 93.79310345%;
}
.about-page .honor-list .item .pic img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.about-page .honor-list .item .text {
  font-weight: bold;
  font-size: var(--font20);
  color: #000;
  text-align: center;
  padding-top: max(0.2rem, 12px);
}
.about-page .honor-title {
  font-weight: bold;
  font-size: var(--font30);
  color: #135f9d;
  padding-bottom: max(0.2rem, 12px);
}
.about-page .honor-swiper-area {
  padding-top: max(0.6rem, 40px);
}

/* 荣誉资质栏目简介：内容来自后台 qf_type.content 富文本 */
.about-page .honor-intro {
  padding-bottom: max(0.4rem, 26px);
  color: #555;
  font-size: var(--font16);
  line-height: 1.9;
  text-align: center;
}
.about-page .honor-intro img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.about-page .honor-intro p {
  margin: 0 0 0.6em;
}

/* 正文段落整齐 */
.about-page .about-intro .intro-wrap .right p {
  margin: 0 0 max(0.3rem, 18px);
}

/* 展会信息子栏目切换：完全复用 banner 顶部「公司介绍/资质荣誉/展会信息」同款样式 */
.about-page .honor-swiper-area .ne-case-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.about-page .ne-case-tabs {
  display: flex;
  justify-content: flex-start;
  overflow: visible;
  padding-left: 7px;
}
.about-page .ne-case-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-wrap: break-word;
  width: max(1.88rem, 130px);
  padding-top: 20px;
  padding-bottom: 20px;
  line-height: 1;
  font-weight: bold;
  font-size: var(--font20);
  color: #000000;
  transition: var(--duration);
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid transparent;
  box-sizing: border-box;
  border-radius: 20px 0px 20px 0px;
  flex-shrink: 0;
  transform: skew(-5deg);
}
.about-page .ne-case-tab:not(.active) { border-color: #d9d9d9; }
.about-page .ne-case-tab:not(:last-child) { margin-right: 5px; }
.about-page .ne-case-tab::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 0;
  height: 100%;
  background-color: #135f9d;
  z-index: -1;
  transition: var(--duration);
}
.about-page .ne-case-tab.active,
.about-page .ne-case-tab:hover { color: #ffffff; }
.about-page .ne-case-tab.active::after,
.about-page .ne-case-tab:hover::after { width: 100%; left: 0; right: auto; }

/* 展会视频封面：点击进内页，居中播放三角 */
.about-page .honor-list .ne-video-item .pic::after { padding-bottom: 62%; }
.about-page .ne-video-item .pic .ne-play {
  position: absolute;
  left: 50%; top: 50%;
  width: 60px; height: 60px;
  margin: -30px 0 0 -30px;
  border-radius: 50%;
  background: rgba(19,95,157,.9);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
  transition: transform .2s;
}
.about-page .ne-video-item:hover .pic .ne-play { transform: scale(1.1); }
.about-page .ne-video-item .pic .ne-play i {
  position: absolute;
  left: 50%; top: 50%;
  width: 0; height: 0;
  margin: -9px 0 0 -5px;
  border-left: 16px solid #fff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}

/* 展会视频内页播放器 */
.about-page .ne-video-detail {
  padding: max(0.4rem, 20px) 0 max(0.7rem, 40px);
  text-align: center;
}
.about-page .ne-video-back {
  display: inline-block;
  float: left;
  color: #135f9d;
  font-size: 15px;
  margin-bottom: 18px;
}
.about-page .ne-video-title {
  clear: both;
  font-size: var(--font30);
  font-weight: bold;
  color: #135f9d;
  margin: 6px 0 max(0.3rem, 22px);
}
.about-page .ne-video-player {
  max-width: 900px;
  margin: 0 auto;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}
.about-page .ne-video-player video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
}

@media (max-width: 900px) {
  .about-page .honor-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .about-page .honor-list { grid-template-columns: repeat(1, 1fr); }
  .about-page .ne-case-head { justify-content: flex-start; }
  .about-page .ne-case-tab { padding-top: 15px; padding-bottom: 15px; font-size: 14px; }
}
