:root {
  --theme: #204ecf;
  --duration: 0.45s;
  --header-height: max(0.91rem, 70px);
  /* --- font40以下 */
  --font12: 12px;
  --font14: 14px;
  --font15: clamp(14px, 0.15rem, 15px);
  --font16: 16px;
  --font17: clamp(16px, 0.17rem, 17px);
  --font18: clamp(16px, 0.18rem, 18px);
  --font20: clamp(16px, 0.2rem, 20px);
  --font21: clamp(16px, 0.21rem, 21px);
  --font22: clamp(16px, 0.22rem, 22px);
  --font24: clamp(17px, 0.24rem, 24px);
  --font26: clamp(18px, 0.26rem, 26px);
  --font28: clamp(18px, 0.28rem, 28px);
  --font30: clamp(20px, 0.3rem, 30px);
  --font32: clamp(20px, 0.32rem, 32px);
  --font34: clamp(22px, 0.34rem, 34px);
  --font36: clamp(22px, 0.36rem, 36px);
  --font38: clamp(24px, 0.38rem, 38px);
  /* --- font40 */
  --font40: clamp(23px, 0.4rem, 40px);
  --font42: clamp(24px, 0.42rem, 42px);
  --font44: clamp(24px, 0.44rem, 44px);
  --font46: clamp(25px, 0.46rem, 46px);
  --font48: clamp(26px, 0.48rem, 48px);
  /* --- font50 */
  --font50: clamp(28px, 0.5rem, 50px);
  --font52: clamp(28px, 0.52rem, 52px);
  --font54: clamp(28px, 0.54rem, 54px);
  --font56: clamp(28px, 0.56rem, 56px);
  --font58: clamp(29px, 0.58rem, 58px);
  /* --- font60 */
  --font60: clamp(30px, 0.6rem, 60px);
  --font62: clamp(31px, 0.62rem, 62px);
  --font64: clamp(31px, 0.66rem, 64px);
  --font66: clamp(31px, 0.66rem, 66px);
  --font68: clamp(31px, 0.68rem, 68px);
  /* --- font70以及以上 */
  --font70: clamp(32px, 0.7rem, 70px);
  --font72: clamp(32px, 0.72rem, 72px);
  --font80: clamp(32px, 0.8rem, 80px);
  --font88: clamp(32px, 0.88rem, 88px);
  --font100: 1rem;
  --font120: 1.2rem;
  --font160: 1.6rem;
  --font230: 2.3rem;
  --font400: 4rem;
  --space-min: 30px;
  --space: 45px;
}

html {
  font-size: calc(100vw / 19.2);
}

@media (min-width: 1921px) {
  html {
    font-size: 100px;
  }
}

@media (max-width: 767px) {
  html {
    font-size: calc(100vw / 15.36);
  }
}

@font-face {
  font-family: "Saira Stencil One";
  src: url("../font/SairaStencilOne-Regular.ttf");
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../font/OpenSans-Regular.ttf");
  font-display: swap;
}

body {
  font-size: 16px;
}

body.lock {
  overflow: hidden;
}

.wrap {
  max-width: 1690px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .wrap {
    width: 92% !important;
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 3px solid #001a64;
  z-index: calc(99 * 2);
  background: #ffffff;
  transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

header.hide {
  transform: translateY(-100%);
  opacity: 0;
}

.header-wrap {
  display: flex;
  align-items: center;
  width: 96%!important;
  margin: 0 3%!important;
  max-width: 100%;
  gap: clamp(20px, 2.6vw, 60px);
    justify-content: space-between;
}
.header-wrap-logo {
  height: 95px;
  display: flex;
  align-items: center;
}
.header-wrap .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  cursor: pointer;
  flex-shrink: 0;
}

.header-wrap .logo img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.header-wrap .nav {
  height: 100%;
  flex: 1 1 auto;
  width: 60%;
  max-width: 68%;
  padding-left: 2%;
  display: flex;
    align-items: stretch;
    justify-content: space-around;
  column-gap: clamp(10px, 1vw, 24px);
  min-width: 0;
  /* 隐藏滚动条 - 兼容各浏览器 */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

.header-wrap .nav::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.header-wrap .nav .nav-item {
  height: 100%;
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-wrap .nav .nav-item.active .item-top .link,
.header-wrap .nav .nav-item.hover .item-top .link,
.header-wrap .nav .nav-item:hover .item-top .link {
  color: #152c71;
}

.header-wrap .nav .nav-item.active .item-top .link::after,
.header-wrap .nav .nav-item.hover .item-top .link::after,
.header-wrap .nav .nav-item:hover .item-top .link::after {
  width: 100%;
}


.header-wrap .nav .nav-item .item-top {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.header-wrap .nav .nav-item .item-top .link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-family: Open Sans, sans-serif;
  font-size: clamp(15px, 0.9vw, 16px);
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  color: #333333;
  z-index: 1;
  white-space: nowrap;
  transition: var(--duration);
  padding: 0 0 6px;
  text-align: center;
}

.header-wrap .nav .nav-item .item-top .link::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 6px);
  width: 0%;
  height: 4px;
  border-radius: 4px;
  background: #e0f2fc;
  transition: var(--duration);
}

.header-wrap .nav .nav-item .item-bottom {
  position: absolute;
  left: 50%;
  z-index: 999;
  transform: translateX(-50%);
  top: 100%;
  min-width: 100%;
  text-align: center;
  background-color: #fff;
  white-space: nowrap;
  padding: 20px 0;
  display: none;
}

.header-wrap .nav .nav-item .item-bottom .bottom-link {
  display: block;
  padding: 10px;
  font-size: var(--font14);
  color: #333333;
  line-height: 1;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: var(--duration);
}

.header-wrap .nav .nav-item .item-bottom .bottom-link:not(:last-child) {
  margin-bottom: 5px;
}

.header-wrap .nav .nav-item .item-bottom .bottom-link::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 0;
  height: 100%;
  transition: var(--duration);
  background-color: var(--theme);
  z-index: -1;
}

.header-wrap .nav .nav-item .item-bottom .bottom-link:hover {
  color: #fff;
}

.header-wrap .nav .nav-item .item-bottom .bottom-link:hover::after {
  width: 100%;
  left: 0;
  right: auto;
}

footer {}

.footer-wrap {
  background-image: url(../images/footer-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right bottom;

}

.footer-wrap .foot-top {
  padding-top: max(0.75rem, 35px);
  padding-bottom: 1.08rem;
  border-bottom: 1px solid #354152;
}

.footer-wrap .foot-top .list {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  column-gap: 20px;
}

.footer-wrap .foot-top .list .item .item-title {
  display: block;
  width: fit-content;
  font-family: Open Sans, sans-serif;
  font-size: var(--font20);
  font-weight: bold;
  line-height: normal;
  text-align: center;
  letter-spacing: 0.1em;
  color: #f6f6f6;
  transition: var(--duration);
}

.footer-wrap .foot-top .list .item .item-title:hover {
  color: var(--theme);
}

.footer-wrap .foot-top .list .item .group {
  margin-top: 20px;
}

.footer-wrap .foot-top .list .item .group .link {
  display: block;
  width: fit-content;
  font-size: var(--font14);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: #c9c9c9;
  transition: var(--duration);
}

.footer-wrap .foot-top .list .item .group .link:not(:last-child) {
  margin-bottom: 5px;
}

.footer-wrap .foot-top .list .item .group .link:hover {
  color: var(--theme);
}

.footer-wrap .copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 10px;
  column-gap: 20px;
  padding-top: max(0.265rem, 20px);
  padding-bottom: max(0.7rem, 20px);
}

.footer-wrap .copyright .text {
  font-family: Arial, sans-serif;
  font-size: var(--font14);
  font-weight: normal;
  line-height: normal;
  letter-spacing: 0em;
  color: #a4a4a4;
}

.footer-wrap .copyright .icon-list {
  display: flex;
  align-items: center;
  column-gap: max(0.28rem, 20px);
}

.footer-wrap .copyright .icon-list .icon-item {
  user-select: none;
  cursor: pointer;
  transition: var(--duration);
}

.footer-wrap .copyright .icon-list .icon-item:hover svg {
  fill: var(--theme);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1vw, 24px);
  flex-shrink: 0;
}

.mobile-menu-btn {
  display: none;
}

/* 搜索按钮样式 */
.search-btn {
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.search-icon {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%236C6C6C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><path d="m21 21-4.35-4.35"></path></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: var(--duration);
}

.search-btn:hover .search-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23204ecf" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><path d="m21 21-4.35-4.35"></path></svg>');
}

/* 电话样式 */
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 120px;
  height: 42px;
  border-radius: 42px;
  text-align: center;
  text-decoration: none;
  transition: var(--duration);
  background: #e62129;
  color: #fff;
  justify-content: center;
}

.header-phone:hover {
  background: #c71a1f;
}
.phone-icon {
  display: block;
  width: 18px;
  height: 18px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23333333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: var(--duration);
  flex-shrink: 0;
}

.phone-text {
  font-family: Open Sans, sans-serif;
  font-size: 14px;
  font-weight: normal;
  color: #fff;
  white-space: nowrap;
  transition: var(--duration);
}

/* 搜索弹窗样式 */
.search-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.search-popup.active {
  opacity: 1;
  visibility: visible;
}

.search-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.search-popup-content {
  position: relative;
  width: 90%;
  max-width: 600px;
  background-color: #fff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.search-popup.active .search-popup-content {
  transform: scale(1);
}

.search-popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  z-index: 1;
}

.close-icon {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: var(--duration);
}

.search-popup-close:hover .close-icon {
  opacity: 0.7;
}

.search-popup-title {
  font-family: Open Sans, sans-serif;
  font-size: var(--font28);
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
  text-align: center;
}

.search-popup-form {
  display: flex;
  margin-bottom: 30px;
}

.search-input {
  flex: 1;
  height: 50px;
  padding: 0 20px;
  border: 1px solid #e0e0e0;
  border-radius: 4px 0 0 4px;
  font-size: var(--font16);
  color: #333;
  outline: none;
  transition: var(--duration);
}

.search-input:focus {
  border-color: var(--theme);
}

.search-submit {
  width: 100px;
  height: 50px;
  background-color: var(--theme);
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  font-size: var(--font16);
  cursor: pointer;
  transition: var(--duration);
}

.search-submit:hover {
  background-color: #1a3db8;
}

.search-popup-suggestions {
  margin-top: 20px;
}

.suggestions-title {
  font-size: var(--font16);
  color: #666;
  margin-bottom: 15px;
}

.suggestions-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.suggestions-tags .tag {
  padding: 8px 15px;
  background-color: #f5f5f5;
  border-radius: 20px;
  font-size: var(--font14);
  color: #666;
  transition: var(--duration);
}

.suggestions-tags .tag:hover {
  background-color: var(--theme);
  color: #fff;
}

/* ========================================
   响应式样式 - 头部导航
   ======================================== */
@media screen and (max-width: 1800px){
  .header-wrap .nav {
    padding-left: 0;
  }
}
@media screen and (max-width: 1700px){
  .header-wrap .nav {
    padding-left: 0;
    column-gap: 6px;
  }
}
@media screen and (max-width: 1600px){
  .header-wrap .nav {
    padding-left: 0;
  }
  .header-wrap .logo img {
    height: 55px;
  }
  .header-wrap {
    gap: 20px;
  }
}
@media screen and (max-width: 1440px){
  .header-wrap .nav {
    margin-left: 0;
    padding-left: 0;
  }
  .header-wrap-hegiht {
    height:70px ;
  }
  .header-wrap .logo img {
    height: 45px;
  }
  .search-btn img{
    width: 20px;
    height: 20px;
  }
  .header-wrap .nav .nav-item .item-top .link {
    font-size: 13px;
  }
}
@media screen and (max-width: 1200px){
  .header-wrap .nav .nav-item .item-top .link {
    font-size: 12px;
  }
  .header-wrap .logo img {
    height: 42px;
  }
    .header-wrap {
        gap: 12px;
    }
}

@media screen and (max-width: 1200px){
  .header-actions {
    display: none;
  }
  .header-wrap .logo img {
    height: 42px;
  }
  .header-wrap .nav {
    width: 80%;
    max-width: 80%;
  }
}
/* 平板设备 (768px - 1024px) */
@media (max-width: 1024px) {
  .header-wrap .nav .nav-item {
    padding: 0 10px;
  }

  .header-wrap .nav .nav-item .item-top .link {
    font-size: var(--font15);
  }
}

@media (max-width: 991px) {
  .header-actions {
    display: flex;
  }
}
/* 平板和手机设备 (最大991px) */
@media (max-width: 991px) {
  .search-btn {
    margin-right: 0.5rem;
  }

  /* 导航栏调整 - 添加汉堡菜单 */
  header {
    height: auto ;
  }
.header-wrap-logo {
  height: auto;
  padding:8px 0;
}
  .header-wrap {
    position: relative;
  }

  .header-wrap .logo {
    margin-right: auto;
    width: auto;
    position: relative;
    left: -10px;
  }

  .header-wrap .logo img {
    height: 55px;
  }
.header-phone {
    width: 110px;
    height: 36px;
    border-radius: 36px;
}

    .search-btn {
        margin-right: 0rem;
    }
    .header-phone img {
      width: 14px;
    }
    .header-phone {
    gap: 3px;
}
.header-wrap {
    width: 94% !important;
    margin: 0 3% !important;
}
  .header-wrap .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 20px 30px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    justify-content: flex-start;
  }

  .header-wrap .nav .nav-item .item-bottom .bottom-link::after {
    display: none;
  }

  .header-wrap .nav .nav-item {
        flex-wrap: wrap;
  }
  .header-wrap .nav.active {
    right: 0;
  }

  .header-wrap .nav .nav-item {
    width: 100%;
    flex: none;
    height: auto;
    padding: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
  }

  .header-wrap .nav .nav-item:last-child {
    margin-bottom: 0;
  }

  .header-wrap .nav .nav-item .item-top {
    height: auto;
    padding: 8px 0;
  }

  .header-wrap .nav .nav-item .item-top .link {
    font-size: var(--font14);
    color: #333;
    position: relative;
    padding-right: 25px;
    width: 100%;
  }

  /* 为有二级菜单的导航项添加箭头指示器 */
  .header-wrap .nav .nav-item:has(.item-bottom) .item-top .link::before {
    content: '\e602';
    font-family: layui-icon !important;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    font-size: var(--font18);
    transition: transform 0.3s ease;
  }

  .header-wrap .nav .nav-item.active:has(.item-bottom) .item-top .link::before {
    content: '\e602';
    transform: translateY(-50%) rotate(90deg);
  }

  .header-wrap .nav .nav-item .item-bottom {
    position: static;
    transform: none;
    width: 100%;
    padding: 15px 0;
    display: none;
    background: transparent;
  }

  .header-wrap .nav .nav-item.active .item-bottom,
  .header-wrap .nav .nav-item .item-bottom.show {
    display: block;
  }

  /* 移动端二级菜单链接样式 */
  .header-wrap .nav .nav-item .item-bottom .bottom-link {
    display: block;
    padding: 10px 0;
    font-size: 13px;
    color: #666;
    transition: color 0.3s ease;
  }

  .header-wrap .nav .nav-item .item-bottom .bottom-link:hover {
    color: var(--theme);
  }

  /* 汉堡菜单按钮 */
  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
  }

  .mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  /* 遮罩层 */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* 搜索弹窗调整 */
  .search-popup-content {
    width: 90%;
    max-width: 400px;
    padding: 30px 20px;
  }

  .search-popup-form {
    flex-direction: column;
    gap: 15px;
  }

  .search-input {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    font-size: var(--font16);
  }

  .search-submit {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    font-size: var(--font16);
  }

  .suggestions-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .suggestions-tags .tag {
    padding: 8px 12px;
    font-size: var(--font12);
    border-radius: 20px;
  }
.header-wrap .nav .nav-item {
  margin-bottom: 8px;
}
}
.header-wrap-hegiht {
    height:130px;
}

@media screen and (max-width:1200px) {
    .header-wrap-hegiht {
        height: 70px;
    }
}

@media screen and (max-width: 768px) {
  .top-banner {
    display: none !important;
  }
      .header-wrap .logo img {
        height: 38px;
    }
    .header-wrap-hegiht {
        height: 55px!important;
    }
    .header-phone {
      width: 30px;
      height: 30px;
      margin-right: 8px;
    }
    .phone-text {
      display: none;
    }
    .header-wrap-logo {
        height: 52px;
        padding: 8px 0;
    }
}





.top-banner {
  width: 100%;
  background: #e5ecf7;
  color: #222;
  font-size: 12px;
  line-height: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}
.top-banner_left,
.top-banner_right {
  white-space: nowrap;
}
.top-banner_left {
  float: left;
}
.top-banner_right {
  float: right;
}
@media (max-width: 991px) {
  .top-banner {
    font-size: 12px;
    line-height: 28px;
    flex-direction: column;
    text-align: center;
    gap: 2px;
  }
  .top-banner_left,
  .top-banner_right {
    white-space: normal;
  }
}




/* 公告 */
.head_notice {
  font-size: 12px;
  color: #1D1D1D;
  background: #e5ecf7;
  text-align: center;
  height: 30px;
  line-height: 30px;

}
@media (max-width: 768px) {
.head_notice {
  display: none;
}
    
}

