/*  ========================================
    公共头部样式 - header.css
    ======================================== */
.h-head {
  position: fixed;
  z-index: 99;
  top: 0;
  width: 100%;
  background: rgba(26, 26, 27, 0.3);
  box-shadow: 0 1px 6px -2px rgba(0, 0, 0, 0.1);
  --height: 97px;
}
.h-head img {
  width: 100%;
}
.h-head.h-headDown {
  --height: 72px;
}
.h-head .h-navWeb {
  display: flex;
  justify-content: flex-end;
}
.h-head .h-navWeb .h-logo {
  width: 222px;
  aspect-ratio: 222/40;
}
.h-head .h-navWeb .h-logo img {
  object-position: center left;
}
.h-head .h-navWeb .h-head2 {
  max-width: 1760px;
  width: calc(100% - var(--w-padding)/2);
  gap: calc(var(--w-padding)/2);
}
.h-head .h-navWeb .h-head2 .h-R {
  --col-gap: 60px;
  position: relative;
}
.h-head .h-navWeb .h-head2 .h-R .h-t {
  margin-bottom: 4px;
}
.h-head .h-navWeb .h-head2 .h-R .h-navList {
  border-radius: 8px;
}
.h-head .h-navWeb .h-head2 .h-R .h-navList .h-mask {
  z-index: -1;
  display: none;
  top: 65px;
  cursor: pointer;
}
.h-head .h-navWeb .h-head2 .h-R .h-navList ul > li {
  position: relative;
  margin-right: var(--col-gap);
}
.h-head .h-navWeb .h-head2 .h-R .h-navList ul > li.btn {
  background-color: var(--active-color);
  padding: 0 20px;
}
.h-head .h-navWeb .h-head2 .h-R .h-navList ul > li.btn a {
  color: #1A1A1B;
  line-height: 38px;
}
.h-head .h-navWeb .h-head2 .h-R .h-navList ul > li.btn a::before {
  display: none;
}
.h-head .h-navWeb .h-head2 .h-R .h-navList ul > li.btn:hover a {
  color: #320F00;
}
.h-head .h-navWeb .h-head2 .h-R .h-navList ul > li > a {
  position: relative;
  text-align: center;
  display: inline-block;
  color: var(--deputy-color);
  line-height: var(--height);
  transition: line-height 0.3s;
}
.h-head .h-navWeb .h-head2 .h-R .h-navList ul > li > a::before {
  position: absolute;
  content: '';
  height: 2px;
  width: 100%;
  right: 0px;
  bottom: 0;
  background: var(--active-color);
  transform: scaleX(0);
  transition: all 0.2s;
}
.h-head .h-navWeb .h-head2 .h-R .h-navList ul > li .icon {
  color: #222;
}
.h-head .h-navWeb .h-head2 .h-R .h-navList ul > li.active > a,
.h-head .h-navWeb .h-head2 .h-R .h-navList ul > li:hover > a {
  color: var(--active-color);
}
.h-head .h-navWeb .h-head2 .h-R .h-navList ul > li.active > a::before,
.h-head .h-navWeb .h-head2 .h-R .h-navList ul > li:hover > a::before {
  transform: scaleX(1);
}
.h-head .h-navWeb .h-head2 .h-R .h-navList ul > li ol {
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 2;
  transition: all 0.2s;
  border-radius: 6px;
  left: 50%;
  transform: translate(-50%, 10%);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-top: 2px solid #87c023;
  background: #ffffff;
  overflow: hidden;
}
.h-head .h-navWeb .h-head2 .h-R .h-navList ul > li ol a {
  padding: 12px 20px;
  white-space: nowrap;
  display: block;
  color: #444444;
  font-size: 14px;
  border-bottom: 1px solid #fff;
  min-width: 140px;
  text-align: center;
}
.h-head .h-navWeb .h-head2 .h-R .h-navList ul > li ol a:last-child {
  border: none;
}
.h-head .h-navWeb .h-head2 .h-R .h-navList ul > li ol a.active,
.h-head .h-navWeb .h-head2 .h-R .h-navList ul > li ol a:hover {
  background: #87c023;
  color: #fff;
}
.h-head .h-navWeb .h-head2 .h-R .h-navList ul > li:hover ol {
  pointer-events: auto;
  visibility: visible;
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0px);
}
.h-head .h-navWeb .h-head2 .h-R .h-menu {
  display: none;
  cursor: pointer;
  margin-left: 30px;
  position: relative;
  width: 32px;
  --line-height: 3px;
  --line-gap: 6px;
  height: calc(var(--line-height) * 3 + var(--line-gap) * 2);
}
.h-head .h-navWeb .h-head2 .h-R .h-menu .h-line {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  display: block;
  height: var(--line-height);
  border-radius: 3px;
  background: var(--active-color);
  transition: none 0.35s cubic-bezier(0.5, -0.35, 0.35, 1.5) 0s;
}
.h-head .h-navWeb .h-head2 .h-R .h-menu.h-menu1 .h-line.h-line1 {
  bottom: calc(50% + var(--line-gap) + var(--line-height)/2);
  transition-property: bottom,margin,transform;
  transition-delay: calc(0s + 0.35s), 0s, 0s;
}
.h-head .h-navWeb .h-head2 .h-R .h-menu.h-menu1 .h-line.h-line2 {
  top: calc(50% - var(--line-height)/2);
  transition-property: top,opacity;
  transition-duration: 0.35s, 0s;
  transition-delay: calc(0s + 0.35s * 1.3), calc(0s + 0.35s * 1.3);
}
.h-head .h-navWeb .h-head2 .h-R .h-menu.h-menu1 .h-line.h-line3 {
  top: calc(50% + var(--line-gap) + var(--line-height)/2);
  transition-property: top,transform;
  transition-delay: 0s;
}
.h-head .h-navWeb .h-head2 .h-R .h-menu.h-menu1.h-active .h-line1 {
  bottom: calc(50% - var(--line-gap) - var(--line-height));
  margin-bottom: calc(var(--line-gap) + var(--line-height)/2);
  transform: rotate(45deg);
  transition-delay: calc(0s + 0.35s * 0.3), calc(0s + 0.35s * 1.3), calc(0s + 0.35s * 1.3);
}
.h-head .h-navWeb .h-head2 .h-R .h-menu.h-menu1.h-active .h-line2 {
  top: calc(50% + var(--line-gap));
  opacity: 0;
  transition-duration: 0.35s, 0s;
  transition-delay: 0s, calc(0s + 0.35s);
}
.h-head .h-navWeb .h-head2 .h-R .h-menu.h-menu1.h-active .h-line3 {
  top: calc(50% - var(--line-height)/2);
  transform: rotate(-45deg);
  transition-delay: calc(0s + 0.35s * 1.3), calc(0s + 0.35s * 1.3);
}
.h-head .h-navWeb .h-head2 .h-R .h-menu.h-menu2 .h-line.h-line1 {
  bottom: calc(50% + var(--line-gap) + var(--line-height)/2);
  transition-property: bottom,transform;
  transition-delay: calc(0s + 0.35s), 0s;
}
.h-head .h-navWeb .h-head2 .h-R .h-menu.h-menu2 .h-line.h-line2 {
  top: calc(50% - var(--line-height)/2);
  transition-property: opacity;
  transition-delay: calc(0s + 0.35s);
}
.h-head .h-navWeb .h-head2 .h-R .h-menu.h-menu2 .h-line.h-line3 {
  top: calc(50% + var(--line-gap) + var(--line-height)/2);
  transition-property: top,transform;
  transition-delay: calc(0s + 0.35s), 0s;
}
.h-head .h-navWeb .h-head2 .h-R .h-menu.h-menu2.h-active .h-line1 {
  bottom: calc(50% - var(--line-height)/2);
  transform: rotate(135deg);
  transition-delay: 0s, calc(0s + 0.35s);
}
.h-head .h-navWeb .h-head2 .h-R .h-menu.h-menu2.h-active .h-line2 {
  opacity: 0;
  transition-duration: 0s;
  transition-delay: calc(0s + 0.35s);
}
.h-head .h-navWeb .h-head2 .h-R .h-menu.h-menu2.h-active .h-line3 {
  top: calc(50% - var(--line-height)/2);
  transform: rotate(225deg);
  transition-delay: 0s, calc(0s + 0.35s);
}
.h-head .h-navWeb .h-head2 .h-gglang {
  position: relative;
  margin-right: 50px;
}
.h-head .h-navWeb .h-head2 .h-gglang .h-icon {
  overflow: hidden;
  width: 22px;
  font-size: 0;
}
.h-head .h-navWeb .h-head2 .h-gglang .h-text {
  white-space: nowrap;
}
.h-head .h-navWeb .h-head2 .h-gglang .h-curLang {
  height: var(--h-height1);
  position: relative;
  --t-height: 6px;
  cursor: pointer;
  gap: 13px;
  padding-right: 20px;
}
.h-head .h-navWeb .h-head2 .h-gglang .h-curLang .line {
  width: 2px;
  height: 11px;
  background-color: var(--deputy-color);
  opacity: 0.5;
}
.h-head .h-navWeb .h-head2 .h-gglang .h-curLang .h-text {
  color: var(--deputy-color);
  font-size: 16px;
  padding: 10px 0;
}
.h-head .h-navWeb .h-head2 .h-gglang .h-curLang::after {
  position: absolute;
  content: '';
  width: 6px;
  aspect-ratio: 1;
  border-left: 2px solid var(--deputy-color);
  border-bottom: 2px solid var(--deputy-color);
  transform: rotate(-45deg);
  top: calc(50% - 6px);
  right: 0%;
}
.h-head .h-navWeb .h-head2 .h-gglang .h-langList {
  position: absolute;
  top: calc(100% + 1px);
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 4px;
  overflow: hidden;
  left: 50%;
  display: none;
  transform: translateX(-50%);
}
.h-head .h-navWeb .h-head2 .h-gglang .h-langList .h-langItem {
  display: flex;
  align-items: center;
  height: 40px;
  min-width: 110px;
  padding: 0 16px;
  color: var(--deputy-color);
}
.h-head .h-navWeb .h-head2 .h-gglang .h-langList .h-langItem .h-text {
  font-size: 15px;
  margin-left: 10px;
}
.h-head .h-navWeb .h-head2 .h-gglang .h-langList .h-langItem:hover {
  color: #320F00;
  background-color: var(--deputy-color);
}
@media screen and (max-width: 1400px) {
  .h-head {
    --height: 86px;
  }
  .h-head .h-navWeb .h-head2 .h-R {
    --col-gap: 45px;
  }
}
@media screen and (max-width: 1200px) {
  .h-head .h-navWeb .h-head2 .h-gglang {
    margin-right: 32px;
  }
  .h-head .h-navWeb .h-logo {
    width: 200px;
  }
  .h-head .h-navWeb .h-head2 .h-R {
    --col-gap: 30px;
  }
  .h-head .h-navWeb .h-head2 .h-R .h-navList ul > li.btn {
    padding: 0 16px;
  }
}
@media screen and (max-width: 1024px) {
  .h-head .h-navWeb {
    display: block;
  }
  .h-head .h-navWeb .h-head2 {
    width: calc(100% - var(--w-padding));
    margin: 0 auto;
    padding: 0;
    height: 65px;
    position: relative;
    justify-content: space-between;
  }
  .h-head .h-navWeb .h-head2 .h-R {
    justify-content: flex-end;
  }
  .h-head .h-navWeb .h-head2 .h-R .h-menu {
    display: block;
  }
  .h-head .h-navWeb .h-head2 .h-R .h-search .h-icon {
    width: 38px;
  }
  .h-head .h-navWeb .h-head2 .h-R .h-search .h-icon .icon {
    font-size: 18px;
  }
  .h-head .h-navWeb .h-head2 .h-R .h-search .h-formBox {
    position: fixed;
    top: 70px;
    right: calc(var(--w-padding)/2);
    transform: none;
    width: 268px;
  }
  .h-head .h-navWeb .h-head2 .h-R .h-navList ul {
    position: fixed;
    width: 50vw;
    right: -50vw;
    top: 65px;
    height: calc(100vh - 65px);
    background-color: #20201e;
    display: block;
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
  }
  .h-head .h-navWeb .h-head2 .h-R .h-navList ul > li {
    display: block;
    margin: 0;
    width: 100%;
    --height: 45px !important;
    padding: 0;
  }
  .h-head .h-navWeb .h-head2 .h-R .h-navList ul > li > a {
    width: 100%;
    height: var(--height);
    font-size: 15px;
    line-height: var(--height);
    box-shadow: none !important;
    text-align: left;
    padding: 0 20px;
    border-radius: 0;
    color: var(--deputy-color);
  }
  .h-head .h-navWeb .h-head2 .h-R .h-navList ul > li > a .icon {
    display: none;
  }
  .h-head .h-navWeb .h-head2 .h-R .h-navList ul > li > a::after {
    display: none !important;
  }
  .h-head .h-navWeb .h-head2 .h-R .h-navList ul > li.h-active > a {
    color: #87c023;
  }
  .h-head .h-navWeb .h-head2 .h-R .h-navList ul > li.h-active .icon {
    color: #fff;
  }
  .h-head .h-navWeb .h-head2 .h-R .h-navList ul > li > .icon {
    display: block;
    position: absolute;
    right: 10px;
    width: 40px;
    top: 3px;
    line-height: 40px;
    text-align: center;
    font-size: 20px;
    color: #333;
    cursor: pointer;
  }
  .h-head .h-navWeb .h-head2 .h-R .h-navList ul > li ol {
    display: none;
    transform: none;
    position: static;
    visibility: visible;
    pointer-events: auto;
    background-color: #f6f9fe;
    transition: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 20px;
    --height: 40px;
  }
  .h-head .h-navWeb .h-head2 .h-R .h-navList ul > li ol li {
    border-bottom: 1px solid #fff;
  }
  .h-head .h-navWeb .h-head2 .h-R .h-navList ul > li ol li:last-child {
    border-bottom: 0;
  }
  .h-head .h-navWeb .h-head2 .h-R .h-navList ul > li ol a {
    text-align: left;
    padding: 10px 0;
    font-size: 15px;
    color: #555555;
  }
  .h-head .h-navWeb .h-head2 .h-R .h-navList ul > li ol a:hover {
    background: #0000;
    color: #555;
  }
  .h-head .h-navWeb .h-head2 .h-R .h-navList ul > li:hover ol {
    transform: none;
  }
  .h-head .h-navWeb .h-head2 .h-R .h-navList ul .h-language {
    display: flex;
  }
  .h-head .h-navWeb .h-head2 .h-R .h-navList.h-show .h-mask {
    display: block;
  }
  .h-head .h-navWeb .h-head2 .h-R .h-navList.h-show ul {
    right: 0;
  }
  .h-head .h-navWeb .h-head2 .h-R .h-navList ul > li.btn a {
    line-height: var(--height);
    padding: 0;
  }
}
@media screen and (max-width: 480px) {
  .h-head {
    background-color: #1A1A1B !important;
  }
  .h-head .h-navWeb .h-head2 .h-R .h-navList {
    padding: 0;
  }
  .h-head .h-navWeb .h-head2 {
    gap: 15px;
  }
  .h-head .h-navWeb .h-head2 .h-R .h-gglang {
    padding: 0;
    border: none;
    margin-right: 10px;
  }
  .h-head .h-navWeb .h-logo {
    width: 160px;
  }
  .h-head .h-navWeb .h-head2 .h-R .h-menu {
    margin-left: 14px;
  }
}
