/* ==========================================================================
   二级页「分组标签 + 面包屑」条
     #nuoan-subpage-tabs
   （About Us 分组下的 Company Profile / Qualifications / Production capacity 共用）

   DOM 层级与类名逐级一致：
     .nuoan-container-5 > .nuoan-cell-5-0 > .nuoan-container-1
       > .nuoan-cell-1-0 > .nuoan-loop-2 > .nuoan-list > .nuoan-cell-2.nuoan-loop-item > p.nuoan-text-3 > a
       > .nuoan-cell-1-1 > .nuoan-breadcrumb-6 > ul.nuoan-breadcrumb > li.nuoan-breadcrumb__item

   下列规则逐条取自 company_5894718b3cb3a87858e7b7fb2c89ae13.min.css，
   并按「基础 / ≤768px / ≥769px / 769–1024px」四段原顺序保留；
   仅剔除CMS 列表筛选器（.nuoan-mult-select / .p_filter_*）等本页不存在的部件。
   ========================================================================== */

#nuoan-subpage-tabs {
  min-height: 0;
  padding-top: 25px;
  padding-bottom: 25px;
  background-color: #fff;
  z-index: 1;
  position: relative;
  border-bottom: 1px solid #ddd;
}

#nuoan-subpage-tabs .nuoan-container-5 {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  width: 100%;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom: solid 1px rgba(0, 0, 0, 0);
  background-color: rgba(255, 255, 255, 0);
}

#nuoan-subpage-tabs .nuoan-container-5 > .nuoan-item {
  max-width: 100%;
  max-height: 100%;
  flex: 1;
}

#nuoan-subpage-tabs .nuoan-container-1 {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  width: 94%;
  max-width: 1600px;
  margin-right: auto;
  margin-left: auto;
}

#nuoan-subpage-tabs .nuoan-container-1 > .nuoan-item {
  max-width: 100%;
  max-height: 100%;
  flex: 1;
}

#nuoan-subpage-tabs .nuoan-container-1 .nuoan-cell-1-1 {
  flex: 0 0 auto;
  align-self: center;
}

/* ---------- 标签列表 ---------- */

#nuoan-subpage-tabs .nuoan-loop-2 {
  max-width: none;
  margin-right: auto;
  margin-left: auto;
  transition-property: all;
}

#nuoan-subpage-tabs .nuoan-loop-2 .nuoan-list {
  display: flex;
  flex-wrap: wrap;
}

#nuoan-subpage-tabs .nuoan-loop-2 .nuoan-loop-item {
  flex: 0 0 33.3%;
  position: relative;
}

#nuoan-subpage-tabs .nuoan-loop-2 .nuoan-pagination {
  text-align: center;
}

#nuoan-subpage-tabs .nuoan-loop-2 .nuoan-cell-2:nth-child(odd) {
  flex: 0 0 auto;
  margin-right: 0;
}

#nuoan-subpage-tabs .nuoan-loop-2 .nuoan-cell-2:nth-child(even) {
  align-items: center;
  flex: 0 0 auto;
  margin-right: 0;
}

/* 胶囊按钮：16px roboto-regular，1px #d6000f 描边 + 50px 圆角 */
#nuoan-subpage-tabs .nuoan-text-3 {
  padding-top: 0;
  padding-bottom: 0;
  font-family: "roboto-regular";
  line-height: normal;
}

#nuoan-subpage-tabs .nuoan-text-3 a {
  position: relative;
  display: block;
  margin-right: 20px;
  padding: 10px 25px;
  border: 1px solid #d6000f;
  border-radius: 50px;
  color: #d6000f;
  font-family: "roboto-regular";
  font-size: 16px;
  transition: all 0.3s ease;
}

#nuoan-subpage-tabs .nuoan-text-3 a:hover,
#nuoan-subpage-tabs .nuoan-text-3 a.on {
  border: 1px solid #d6000f;
  background: #d6000f;
  color: #fff;
}

/* :after —— 项间竖分隔线（全局 display:none，即不渲染，仅保留规则以备状态启用） */
#nuoan-subpage-tabs .nuoan-text-3 a::after {
  position: absolute;
  top: 50%;
  right: 0;
  display: block;
  display: none;
  width: 1px;
  height: 15px;
  margin-top: -7px;
  background: #ccc;
  content: "";
}

#nuoan-subpage-tabs .nuoan-text-3 a:hover::after,
#nuoan-subpage-tabs .nuoan-text-3 a.on::after {
  background: #a20405;
}

#nuoan-subpage-tabs .nuoan-loop-2 .nuoan-cell-2:last-child .nuoan-text-3 a::after {
  display: none;
}

/* :before —— hover/选中时底部 3px 深红指示条（同样 display:none） */
#nuoan-subpage-tabs .nuoan-text-3 a::before {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: none;
  width: 0;
  height: 3px;
  background: #a20405;
  content: "";
  transition: all 0.3s;
}

#nuoan-subpage-tabs .nuoan-text-3 a:hover::before {
  left: 30%;
  width: 40%;
  transition: all 0.3s;
}

#nuoan-subpage-tabs .nuoan-text-3 a.on::before {
  left: 25%;
  width: 50%;
  transition: all 0.3s;
}

/* ---------- 面包屑 ---------- */

/* global.css：li,ul{margin:0} 与 li,ul{list-style:none;padding:0} */
#nuoan-subpage-tabs .nuoan-breadcrumb-6 .nuoan-breadcrumb {
  margin: 0;
  padding: 0;
  list-style: none;
}

#nuoan-subpage-tabs .nuoan-breadcrumb-6 {
  font-family: "roboto-regular";
}

#nuoan-subpage-tabs .nuoan-breadcrumb-6 .nuoan-breadcrumb__item {
  position: relative;
  float: left;
  color: rgb(51 51 51 / 100%);
  font-family: "roboto-regular";
}

/* global.css .icon，宽高被本页 .nuoan-breadcrumb-6 .icon 覆盖为 12px；
   display:inline 用于压住主题 tailwind 的 svg{display:block}（svg 只有 vertical-align:middle） */
#nuoan-subpage-tabs .nuoan-breadcrumb-6 .icon {
  display: inline;
  width: 12px;
  height: 12px;
  margin-top: -3px;
  margin-right: 3px;
  font-size: 16px;
  font-style: normal;
  vertical-align: middle;
  fill: currentColor;
  -webkit-font-smoothing: antialiased;
}

/* global.css：a{color:#007bff;text-decoration:none} 后被 a{color:inherit} 覆盖颜色；
   a:hover{text-decoration:underline} 又被 .lightbox/.nuoan-page-a/a:hover{text-decoration:none} 覆盖，
   故屏幕态最终为「继承色 + 常态/hover 均无下划线」 */
#nuoan-subpage-tabs .nuoan-breadcrumb-6 a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
}

#nuoan-subpage-tabs .nuoan-breadcrumb-6 a:hover {
  text-decoration: none;
}

/* site.css .text-secondary */
#nuoan-subpage-tabs .nuoan-breadcrumb-6 .text-secondary {
  color: #333 !important;
}

#nuoan-subpage-tabs .nuoan-breadcrumb-6 .nuoan-breadcrumb__item:not(:first-child) {
  padding: 0 3px 0 15px;
}

#nuoan-subpage-tabs .nuoan-breadcrumb-6 .nuoan-breadcrumb__item:not(:first-child)::before {
  position: absolute;
  left: 3px;
  color: #999;
  content: ">";
}

#nuoan-subpage-tabs .nuoan-breadcrumb-6 .nuoan-breadcrumb::after {
  display: block;
  clear: both;
  content: "";
}

/* 同级下拉（e_breadcrumb.js 在有同类目时渲染 .nuoan-show-title / .nuoan-siblings / .nuoan-slide） */
#nuoan-subpage-tabs .nuoan-breadcrumb-6 .nuoan-show-title {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 5px;
  border: 1px solid transparent;
}

#nuoan-subpage-tabs .nuoan-breadcrumb-6 .nuoan-siblings::after {
  display: flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  color: #ccc;
  cursor: pointer;
  content: ">";
  transform: rotateZ(90deg);
}

#nuoan-subpage-tabs .nuoan-breadcrumb-6 .nuoan-siblings.active {
  border: 1px solid #dee2e6;
}

#nuoan-subpage-tabs .nuoan-breadcrumb-6 .nuoan-siblings.active::after {
  transform: rotateZ(-90deg);
}

#nuoan-subpage-tabs .nuoan-breadcrumb-6 .nuoan-slide {
  position: absolute;
  left: 18px;
  min-width: 100%;
  padding: 5px;
  display: none;
  z-index: 999;
}

#nuoan-subpage-tabs .nuoan-breadcrumb-6 .nuoan-sibling {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#nuoan-subpage-tabs .nuoan-breadcrumb-6 .nuoan-breadcrumb__item:hover {
  color: #d6000f;
}

#nuoan-subpage-tabs .nuoan-breadcrumb-6 .nuoan-text-title {
  color: rgb(51 51 51 / 100%);
  font-family: "roboto-regular";
}

/* ---------- 响应式分段（原样保留） ---------- */

/* ≤768px：隐藏面包屑，标签条改横向滚动单行 */
@media screen and (max-width: 768px) {
  #nuoan-subpage-tabs {
    position: inherit;
    top: 0;
    z-index: 1;
    min-height: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  #nuoan-subpage-tabs .nuoan-loop-2 .nuoan-list::-webkit-scrollbar {
    display: none;
  }

  #nuoan-subpage-tabs .nuoan-container-1 .nuoan-cell-1-1 {
    display: none;
  }

  #nuoan-subpage-tabs .nuoan-loop-2 .nuoan-loop-item {
    position: static;
    display: inline-block;
    width: auto;
    margin: 0 5px;
    vertical-align: top;
  }

  #nuoan-subpage-tabs .nuoan-loop-2 .nuoan-cell-2:nth-child(odd) {
    margin-right: 0;
  }

  #nuoan-subpage-tabs .nuoan-loop-2 .nuoan-loop-item:first-child {
    margin-left: 0;
  }

  #nuoan-subpage-tabs .nuoan-loop-2 .nuoan-loop-item:last-child {
    margin-right: 0;
  }

  #nuoan-subpage-tabs .nuoan-loop-2 .nuoan-list {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    font-size: 0;
    text-align: center;
    white-space: nowrap;
    flex-wrap: nowrap;
    justify-content: center;
  }

  #nuoan-subpage-tabs .nuoan-text-3 a {
    margin: 15px 0;
    padding: 8px 12px;
    font-size: 13px;
    text-align: center;
  }

  #nuoan-subpage-tabs .nuoan-breadcrumb-6 .nuoan-breadcrumb__item:nth-child(1) .nuoan-text-title,
  #nuoan-subpage-tabs .nuoan-breadcrumb-6 .nuoan-breadcrumb__item:nth-child(2) .nuoan-text-title {
    white-space: pre;
  }

  #nuoan-subpage-tabs .nuoan-breadcrumb-6 .nuoan-breadcrumb__item:nth-child(3) .nuoan-text-title {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  #nuoan-subpage-tabs .nuoan-breadcrumb-6 a {
    display: flex;
  }
}

/* ≥769px：标签项按内容宽度排布，不拉伸 */
@media screen and (min-width: 769px) {
  #nuoan-subpage-tabs .nuoan-loop-2 .nuoan-loop-item {
    flex-grow: 0;
    flex-shrink: 0;
    flex: 0 0 auto;
    margin-right: 0;
  }
}

/* 769–1024px：胶囊加大到 15px 25px */
@media screen and (max-width: 1024px) and (min-width: 769px) {
  #nuoan-subpage-tabs .nuoan-text-3 a {
    padding: 15px 25px;
    font-size: 16px;
  }
}
