/**
 *  适配 PC和 Mobile头部与底部布局样式
 */

/* 顶部 */
.header_lks {
  height: 0.4rem;
  line-height: 0.4rem;
  background: #f5f5f5;
}
.header_lks a {
  color: #666;
}
.header_main {
  height: 1.66rem;
}
.header_logo {
  width: 4.97rem;
  height: 0.92rem;
}
.hm_title {
  margin-left: 0.44rem;
  font-size: 0.32rem;
  font-weight: bold;
}
.hm_input_box {
  position: relative;
}
.hm_input_box .hs_input {
  width: 3.03rem;
  height: 0.46rem;
}
.hm_btn {
  width: 0.46rem;
  height: 0.46rem;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}
.hm_btn .hm_search_ico {
  width: 0.26rem;
  height: 0.26rem;
}

/* PC导航栏 */
nav {
  background: var(--yjw-common-color);
}
.nav_list li.active a {
  background: #cb2122;
}
.nav_list a:hover {
  background: #cb2122;
}
.nav_list a {
  display: inline-block;
  width: 100%;
  height: 0.6rem;
  line-height: 0.6rem;
  text-align: center;
  font-size: 0.2rem;
  color: #fff;
}
.nav_list li {
  flex: 1;
}

/* 手机端头部样式 */
.mobile_header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
  padding: 0.4rem 0.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}
.mobile_header a {
  transition: all linear 0.5s;
  color: #fff;
}
.mobile_header img {
  width: 3.2rem;
}
.list_trigger svg {
  width: 0.54rem;
  height: 0.54rem;
}

/* 手机导航 */
.mobile_header_nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 98;
  width: 100vw;
  height: 0;
  opacity: 0;
  box-sizing: border-box;
  transition: all ease-in-out 0.5s;
}
.mobile_header_nav.nav_show {
  min-height: 100vh;
  opacity: 1;
  padding-top: 1.3rem;
}
.mobile_header_nav.nav_show li {
  height: 0.8rem;
  border-bottom: 1px solid rgba(252, 246, 229, 0.2);
  background: rgba(252, 246, 229, 0.2);
}
.mobile_header_nav.nav_show li a {
  color: #fff;
}
.mobile_header_nav ul li a {
  display: block;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 0.26rem;
  color: transparent;
  font-size: 0.24rem;
  font-weight: bold;
}
.mobile_header_nav ul li {
  height: 0;
  transition: all ease-in-out 0.5s;
  border: none;
  color: transparent;
  background: transparent;
  background: rgba(252, 246, 229, 0.2);
}
.mobile_header_nav ul li:last-of-type {
  border: none;
}

/* 底部 */
footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.2rem 0;
  color: #fff;
  font-size: 0.16rem;
  background-color: var(--yjw-common-color);
}
footer a {
  color: #fff;
}
footer a:hover {
  color: rgba(255, 255, 255, 0.8);
}
.footer_main {
  position: relative;
  display: flex;
  flex-direction: column;
  row-gap: 0.16rem;
  align-items: center;
}
.split_line {
  width: 2px;
  height: 0.15rem;
  transform: translateY(-0.02rem);
  background: #fff;
}
.ft_mr {
  margin-right: 0.1rem;
}
.ghs {
  margin-right: 0.04rem;
  width: 0.18rem;
  height: 0.2rem;
}
.footer_main .sydw {
  width: 0.63rem;
  height: 0.76rem;
  position: absolute;
  right: 3.3rem;
  top: 50%;
  transform: translateY(-50%);
}
.sydw1 {
  width: 0.63rem;
  height: 0.76rem;
  margin: 0.2rem auto;
}

@media screen and (max-width: 800px) {
  .mobile_suit {
    display: flex;
    flex-direction: column;
    row-gap: 0.2rem;
  }
}

.mobile_search {
  height: 0.8rem;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.mobile_search input {
  width: 80%;
  /* border: 1px solid yellow; */
}
.mobile_search .hm_search_btn {
  position: absolute;
  right: 0;
  border: 1px solid blue;
}
