.header {
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 1rem;
    backdrop-filter: blur(0.09rem);
    background: rgba(255, 255, 255, 0.2);
    /*transition: 0.3s;*/
}

.header .main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header_logo {
    width: 2.94rem;
    height: 0.5rem;
}

.header_logo img{
    width: 100%;
    height: 100%;
}

.logo_000 {
    display: none;
}

.header_nav{
    height: 100%;
}

.header_nav .header_nav_ul {
    display: flex;
    align-items: center;
    height: 100%;
}

.header_nav .header_nav_ul li {
    height: 100%;
    position: relative;
    cursor: pointer;
    /* 添加相对定位 */
}
.header_nav .header_nav_ul li:not(.sub-menu li)::after{
    content: '';
    position: absolute;
    width: 0;
    height: 0.03rem;
    background: #066DCC;
    right: 0;
    bottom: 0;
    transition: 0.3s;
}
.header_nav .header_nav_ul li:hover::after{
    width: 100%;
    left: 0;
}


.header_nav_a {
    height: 100%;
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 400;
    font-size: 0.2rem;
    color: #FFFFFF;
    line-height: 0.24rem;
    display: block;
    /* 确保链接块级显示 */
    padding: 0 0.3rem;
    /* 添加内边距 */
    line-height: 1rem;
}


.header_nav_down{
    display: none;
    position: absolute;
    background: #FFFFFF;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    padding: 0.17rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 .05rem .05rem;
}

.header_nav_down a{
    white-space: nowrap;
    font-size: 0.18rem;
    line-height: 0.35rem;
    color: #3b3b3b;
    font-weight: 500;
    text-align: center;
    padding: 0 0.35rem;
    transition: 0.3s;
}

.pintai{
    position: relative;
}

.pintai::after{
    content: '';
    position: absolute;
    width: 0.08rem;
    height: 0.14rem;
    background-image: url('/assets/img/menu_arrow.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    opacity: 0;
}

.pintai:hover::after{
    opacity: 1;
}

.header_nav_down>div{
    position: relative;
}

.pintai_down{
    position: absolute;
    left: 100%;
    top: -0.17rem;
    background: #FFFFFF;
    width: fit-content;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    opacity: 0;
    z-index: -999;
    transition: 0.3s;
    border-radius: 0 0 .05rem .05rem;
}

.pintai_down_active{
    opacity: 1;
    z-index: 10;
}

.header_nav_down a:hover{
    color: #066DCC;
}

.color_000 {
    color: #000000 !important;
}

.header_nav_a:hover,
.header_nav_a_active {
    font-weight: bold;
}

.header:hover {
    background: #FFFFFF;
}

.header:hover .header_nav_a {
    color: #000000 !important;
}

.header:hover .logo_fff {
    display: none;
}

.header:hover .logo_000 {
    display: block !important;
}

.sub-menu {
    display: none;
    list-style-type: none;
    padding-left: 0;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    top: .6rem;
    left: 0;
    width: fit-content;
    z-index: 1000;
    /* 确保二级菜单在最上层 */
    padding: 0.17rem 0.35rem;
    border-radius: 0 0 .05rem .05rem;
}

.level_1 {
    cursor: pointer;
}

.level_2 {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.level_2 img {
    display: none;
    width: .08rem;
}

.level_2:hover img {
    display: block;
    transform: .3s ease;
}

.sub-menu a {
    color: #000;
    text-decoration: none;
    display: block;
    white-space: nowrap;
}

.sub-menu a:hover {
    color: #066DCC;
}


.dropdown.active .sub-menu {
    display: block;
    width: 2rem;
}

/* sub-menu_2 */

.sub-menu_2 {
    display: none;
    list-style-type: none;
    padding-left: 0;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    top: -0.05rem;
    left: 1.9rem;
    width: 100%;
    z-index: 1000;
    /* 确保二级菜单在最上层 */
    padding: .17rem 0.35rem;
    border-radius: 0 0 .05rem .05rem;
}

.sub-menu_2 li {
    padding: 0.1rem;
    font-size: .16rem;
    border-bottom: 1px solid #e4e4e4;
    text-align: center;
}

.sub-menu_2 a {
    color: #000;
    text-decoration: none;
    display: block;
}

.sub-menu_2 a:hover {
    color: #066DCC;
}

.sub-menu_2 li:hover {
    border-bottom: 1px solid #066DCC;
}

.dropdown_2.active .sub-menu_2 {
    display: block;
    width: 2rem;
}

/* 菜单切换按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background-color: rgba(56, 102, 240, 0);
    padding: 0.1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.menu-toggle:hover {
    background-color: #efefef;
}

.bar {
    height: 3px;
    width: 25px;
    background-color: white;
    margin: 3px 0;
    transition: background-color 0.3s ease;
}

.menu-toggle:hover .bar {
    background-color: #3d3535;
}

.menu-close {
    display: none;
}

@media (max-width: 1024px) {
    .menu-close {
        width: .3rem;
        display: block;
        margin: .1rem;
    }

    .header_nav {
        display: none;
        width: 80%;
        background-color: #FFFFFF;
        position: absolute;
        top: 1rem;
        /* 调整顶部位置 */
        right: 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .header_nav_a {
        color: #000000;
    }

    .header_nav .header_nav_ul {
        flex-direction: column;
        gap: 0 !important;
        width: 100%;
    }

    .header_nav .header_nav_ul li {
        padding: 0.25rem !important;
        border-bottom: 1px solid #e4e4e4;
        width: 100%;
    }

    .header_nav .header_nav_ul li:hover {
        background-color: #F5F5F5;
    }

    .header_nav.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .sub-menu {
        top: 0;
        /* 重置二级菜单位置 */
        left: 100%;
        /* 使二级菜单显示在右侧 */
        width: auto;
        min-width: 150px;
        /* 设置最小宽度 */
        position: static;
        margin-top: .2rem;
        /* background-color: #F5F5F5; */
    }

    .dropdown.active .sub-menu {
        display: block;
        width: auto;
    }

    .sub-menu_2 {
        top: 0;
        /* 重置二级菜单位置 */
        left: 100%;
        /* 使二级菜单显示在右侧 */
        width: auto;
        min-width: 150px;
        /* 设置最小宽度 */
        position: static;
        margin-top: .2rem;
        /* background-color: #F5F5F5; */
    }

    .dropdown_2.active .sub-menu_2 {
        display: block;
        width: auto;
    }
}

.common-phone-header,
.side-wrap {
  display: none;
}

@media only screen and (max-width: 1024px) {
  .header {
    display: none;
  }

  .common-phone-header {
    display: block !important;
  }

  .side-wrap {
    display: block !important;
  }

  .common-phone-header {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
  }

  .common-phone-header-inner {
    display: flex;
    height: 50px;
    border-bottom: 1px solid #eee;
    padding: 0 15px;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
  }

  .header-menu-phone {
    height: 30px;
    width: auto;
    display: block;
  }

  .header-logo-phone {
    height: 30px;
    width: auto;
    display: block;
  }

  .header-search-phone {
    height: 30px;
    width: auto;
    display: block;
  }

  .header-search-box-phone {
    display: none;
  }

  .header-search-input-phone {
    border-radius: 20px;
    height: 35px;
    border-width: 1px;
    border: 1px solid #333;
    padding: 0 10px;
    font-size: 14px;
  }

  .side-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(0, 0, 0, .5);
  }

  .side-container {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    height: 100vh;
    width: 6.4rem;
    background-color: #fff;
    color: #000;
    border-left: 1px solid #eee;
    animation: ani_side 1s;
  }

  .side-container.shown {
    display: block;
  }

  @keyframes ani_side {
    from {
      display: none;
      width: 3rem;
    }

    to {
      display: block;
      width: 6.4rem;
    }
  }

  .side-wrap {
    width: 100%;
  }

  .side-top {
    display: flex;
    height: 60px;
    padding: 0 20px 0 30px;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
  }

  .side-logo {
    height: 30px;
    width: auto;
  }

  .side-close {
    width: .48rem;
  }

  .side-bottom {
    padding: 0 .48rem 0 .72rem;
  }

  .nav-item-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .27rem 0 .27rem 0;
    border-bottom: 1px solid #eee;
  }

  .nav-item-inner span {
    display: flex;
    align-items: center;
    font-size: 14px;
  }

  .nav-item-inner img {
    width: .4rem;
  }

  .side-nav-list .nav-item a {
    color: #000;
    font-size: .26rem;
    width: 100%;
    display: inline-block !important;
  }

  .side-nav-list .side-local-img {
    width: .3rem;
    margin-right: .2rem;
    vertical-align: text-bottom;
  }

  .side-nav-list-sub {
    display: none;
  }

  .side-nav-list-sub .side-back-img {
    width: .3rem;
    margin-right: .2rem;
    vertical-align: text-bottom;
  }
  .header-logo-box-phone{
      width: auto;
      height: auto;
  }
}