/* ============================================
 * 首页改版 样式（1rem = 100px，1920 设计稿基准）
 * ============================================ */

/* ---------- 公共 ---------- */
.hb-wrap {
  width: 12.02rem;
  margin: 0 auto;
  position: relative;
}

/* ============================================
 * 顶部
 * ============================================ */
.hb-top {
  height: 1.181rem;
  background-image: url(top-line.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 0;
  position: relative;
  z-index: 8;
}

.hb-top-box {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hb-logo img {
  width: 5.91rem;
}

/* 搜索框 */
.hb-search {
  display: flex;
  align-items: center;
  width: 3.86rem;
  border: 1px solid #c9c9c9;
  border: 0.01rem solid #b60005;
  margin-right: 0.2rem;
}

.hb-search-input {
  height: 0.45rem;
  line-height: 0.45rem;
  padding: 0 0.2rem;
  box-sizing: border-box;
  font-size: 0.18rem;
  color: #999999;
  width: 100%;
}

.hb-search-btn {
  flex-shrink: 0;
  width: 1rem;
  height: 0.45rem;
  background: #b60005;
  color: #fff;
  font-size: 0.18rem;
  cursor: pointer;
}

/* ============================================
 * Banner
 * ============================================ */
.hb-banner {
  height: 6.44rem;
  position: relative;
  background-image: url("banner-img.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* ============================================
 * 红色导航
 * ============================================ */
.hb-nav {
  height: 0.66rem;
  background: #b60005;
}

.hb-nav-box {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hb-nav-item {
  flex: 1;
  position: relative;
  height: 100%;
}
.hb-nav-item .tit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 0.2rem;
  font-weight: bold;
  color: #fff;
  border-left: 1px solid rgb(209, 166, 146, 0.5);
}

.hb-nav-item:last-child {
  border-right: 1px solid rgb(209, 166, 146, 0.5);
}

/* 当前导航：白色描边框*/
.hb-nav-item .tit.cur,
.hb-nav-item .tit:hover {
  background: url("nav-cur.png") no-repeat center;
  background-size: 1.2rem auto;
}

.hb-nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.1rem);
  left: 50%;
  border-bottom: 0.07rem solid #b60005;
  border-radius: 0.04rem;
  background: rgba(255, 255, 255, 0.95);
  transform: translateX(-50%);
  line-height: 0.5rem;
  z-index: 2;
  white-space: nowrap;
  padding: 0 0.2rem;
  box-shadow: 0rem 0rem 0.1rem 0rem rgba(0, 0, 0, 0.3);
}
.hb-nav-dropdown a {
  display: inline-block;
  font-size: 0.16rem;
  color: #3d3d3d;
}
.hb-nav-dropdown a:before {
  content: " ";
  display: inline-block;
  width: 0.03rem;
  height: 0.03rem;
  background: #bebebe;
  border-radius: 50%;
  margin-right: 0.06rem;
  vertical-align: middle;
  margin-top: -0.02rem;
}
.hb-nav-dropdown a:hover {
  color: #b60005;
}
.hb-nav-dropdown a:hover:before {
  background: #b60005;
}
.hb-nav-dropdown span {
  width: 0.01rem;
  height: 0.11rem;
  background: #afafaf;
  display: inline-block;
  margin: 0 0.22rem;
  vertical-align: middle;
}
.hb-nav-item:hover .hb-nav-dropdown {
  display: block;
}
.hb-nav-dropdown:before {
  content: " ";
  position: absolute;
  top: -0.1rem;
  left: 0;
  width: 100%;
  height: 0.1rem;
  background: url("nav-arrow.png") no-repeat bottom center;
  background-size: auto 0.06rem;
}

/* ============================================
 * 底部
 * ============================================ */
.hb-footer {
  position: relative;
  background-color: #b60005;
  background-image: url("foot-bg.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
}

/* 顶部装饰条（背景已含在整区切图 53 中，仅保留高度维持布局） */
.hb-footer-top {
  height: 0.14rem;
}

.hb-footer-box {
  padding: 0.37rem 0 0.34rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 链接 */

.hb-footer-links a {
  display: inline-block;
  font-size: 0.16rem;
  color: #fff;
  letter-spacing: 0.05em;
}

.hb-footer-links i {
  display: inline-block;
  margin: 0 0.22rem;
  font-size: 0.16rem;
  color: rgba(255, 255, 255);
  font-style: normal;
}

/* 信息 */
.hb-footer-info {
  display: flex;
  align-items: center;
  /*margin-top: 0.4rem;*/
}

.hb-footer-info-icon img {
  width: 0.56rem;
}

.hb-footer-info-txt {
  margin-left: 0.12rem;
  text-align: left;
}

.hb-footer-addr {
  font-size: 0.16rem;
  color: #fff;
}

.hb-footer-beian {
  margin-top: 0.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hb-footer-beian a {
  display: inline-block;
  font-size: 0.16rem;
  color: #fff;
  vertical-align: middle;
}

.hb-footer-beian img {
  display: inline-block;
  vertical-align: middle;
  width: 0.18rem;
  margin: -0.04rem 0.1rem 0;
}

.footer-right {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.14rem;
}
/* 二维码 */
.hb-footer-qr {
  width: 1rem;
  margin-left: 0.2rem;
}

.hb-footer-qr-img {
  display: block;
  margin: 0 auto;
  width: 100%;
  padding: 0.04rem 0.05rem;
  box-sizing: border-box;
  background: #c48d44;
}

.hb-footer-qr-img img {
  width: 100%;
  height: 100%;
}

.hb-footer-qr-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 0.23rem;
  background: #b27a2f;
  margin: 0 auto;
}

.hb-footer-qr-bar span {
  font-size: 0.12rem;
  color: #fff;
}

.h5show {
  display: none;
}

.more-btn {
  text-align: center;
  margin-top: 0.2rem;
}
.more-btn a {
  display: inline-block;
  font-family: "syst";
  font-size: 0.28rem;
}

@media screen and (max-width: 768px) {
  
  .centerWidth{
    width: 100%;
  }
  .centerWidth1367{
    width: 100%;
  }
  .centerWidth1254,.centerWidth1244,.centerWidth1174,.centerWidth1201{
    width: 96%;
  }
  .h5show {
    display: block;
  }
  /* ---------- 公共容器 ---------- */
  .hb-wrap {
    width: 100%;
    box-sizing: border-box;
    padding: 0 0.2rem;
  }

  /* ---------- Banner ---------- */
  .hb-banner {
    height: 2rem;
  }

  /* ---------- 顶部 ---------- */
  .hb-top {
    height: auto;
    padding: 0.2rem 0;
  }
  .hb-top-box {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .hb-logo img {
    width: 5rem;
  }
  .hb-search {
    width: 5rem;
    margin: 0.2rem auto 0;
  }
  .hb-search-input {
    height: 0.5rem;
    line-height: 0.5rem;
    font-size: 0.28rem;
    padding: 0 0.1rem;
  }
  .hb-search-btn {
    width: 1.2rem;
    height: 0.5rem;
    font-size: 0.3rem;
  }
  .hb-search-btn img {
    width: 0.4rem;
    margin-top: 0.03rem;
  }

  /* ---------- 导航（列表字号 0.32rem） ---------- */
  .hb-nav {
    height: auto;
  }
  .hb-nav-box {
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .hb-nav-item {
    width: 20%;
    flex: initial;
    height: 0.7rem;
    border: none !important;
  }
  .hb-nav-item .tit {
    font-size: 0.32rem;
    border: none;
  }
  .hb-nav-item .tit.cur,
  .hb-nav-item .tit:hover {
    background-size: 100% auto;
  }
  .hb-nav-dropdown {
    display: none !important;
  }

  /* ---------- 底部 ---------- */
  .hb-footer-box {
    flex-direction: column;
    align-items: center;
    padding: 0.25rem 0;
  }
  .hb-footer-links {
    text-align: center;
  }
  .hb-footer-links a {
    font-size: 0.28rem;
  }
  .hb-footer-links i {
    margin: 0 0.1rem;
    font-size: 0.28rem;
  }
  .hb-footer-info {
    /*margin-top: 0.2rem;*/
    padding: 0 0.1rem;
  }
  .hb-footer-info-icon {
    width: 0.6rem;
    flex-shrink: 0;
  }
  .hb-footer-info-txt {
    margin-left: 0.08rem;
  }
  .hb-footer-addr {
    font-size: 0.28rem;
    line-height: 0.4rem;
  }
  .hb-footer-beian {
    flex-wrap: wrap;
  }
  .hb-footer-beian a {
    font-size: 0.28rem;
  }
  .hb-footer-beian img {
    width: 0.26rem;
    margin: 0 0.08rem;
  }
  .footer-right {
    margin-top: 0.25rem;
    margin-left: 0;
  }
  .hb-footer-qr {
    width: 1.4rem;
    height: auto;
    margin-left: 0.08rem;
    padding: 0.08rem 0.12rem 0;
  }
  .hb-footer-qr-bar {
    height: 0.5rem;
  }
  .hb-footer-qr-bar i {
    width: 0.4rem;
    margin-right: 0.03rem;
  }
  .hb-footer-qr-bar span {
    font-size: 0.24rem;
  }
}
