/* ==========================================================================
   栏目列表页（硅酸钠 / 泡花碱 / 水玻璃）专用样式
   作用域：sortlist.html
   内容：栏目简介 .sort-intro、分页对齐、深度阅读块 .sort-related
   说明：独立文件，不引用即完全回滚
   ========================================================================== */

/* ---------- 当前栏目高亮 ----------
   原 style.css 里 .tab li.ons 被包在 @media (min-width:1200px) 中，
   手机上永远是灰底。这里补一条不分端的规则。 */
.tab ul li.ons {
  background: #178ee8;
}
.tab ul li.ons a {
  color: #fff;
}

/* ---------- 栏目简介 ---------- */
.sort-intro {
  width: 880px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  padding: 2px 0 8px;
  font-size: 15px;
  line-height: 1.95;
  color: #5c6672;
  text-align: left;
  letter-spacing: .2px;
}

/* ---------- 分页：与 1200 内容区左对齐 ---------- */
.pagebar {
  width: 1200px;
  max-width: calc(100% - 48px);
  margin: 4px auto 0;
  padding: 14px 0 0;
  box-sizing: border-box;
}
.pagebar .pagination {
  justify-content: center;
  margin-top: 0;
}
.pagination a,
.pagination span {
  font-size: 13px;
}

/* ---------- 深度阅读 ---------- */
.sort-related {
  width: 1200px;
  max-width: calc(100% - 48px);
  margin: 52px auto 78px;
  padding: 30px 38px 32px;
  box-sizing: border-box;
  background: #f7f9fb;
  border: 1px solid #e9eef4;
  border-radius: 10px;
}
.sort-related h2 {
  margin: 0 0 18px;
  padding-left: 12px;
  border-left: 4px solid #178ee8;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 700;
  color: #1b1b1b;
  letter-spacing: .3px;
}
.sort-related ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sort-related li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 2.2;
  list-style: none;
}
.sort-related li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.02em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a9bccd;
}
.sort-related a {
  font-size: 15px;
  color: #3c4652;
  text-decoration: none;
  transition: color .16s ease;
}
.sort-related a:hover {
  color: #178ee8;
}

/* ---------- 移动端（本站 <=1199px 切换为 rem 体系，1rem=100px 设计稿） ---------- */
@media screen and (max-width: 1199px) {
  .sort-intro {
    width: auto;
    max-width: none;
    margin: 0;
    padding: .16rem .3rem .12rem;
    font-size: .3rem;
    line-height: 1.9;
  }

  .pagebar {
    width: auto;
    max-width: none;
    margin: 0;
    padding: .18rem .2rem 0;
  }
  .pagebar .pagination {
    justify-content: center;
  }
  .pagination a,
  .pagination span {
    font-size: .22rem;
    padding: .1rem .14rem;
  }

  .sort-related {
    width: auto;
    max-width: none;
    margin: .5rem .3rem .6rem;
    padding: .3rem .26rem .34rem;
    border-radius: .12rem;
  }
  .sort-related h2 {
    margin: 0 0 .2rem;
    padding-left: .18rem;
    border-left-width: .06rem;
    font-size: .34rem;
    line-height: 1.5;
  }
  .sort-related ul {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .sort-related li {
    padding-left: .3rem;
    font-size: .28rem;
    line-height: 2;
  }
  .sort-related li::before {
    left: .04rem;
    top: 1em;
    width: .08rem;
    height: .08rem;
  }
  .sort-related a {
    font-size: .28rem;
    line-height: 1.9;
  }

  /* 手机上隐藏栏目按钮的副标题，避免文字被省略号截断 */
  .tab ul li a .tab-sub {
    display: none;
  }
  .tab ul li a {
    font-size: .28rem;
  }
}
