.scroll-active {
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 0px 2px 20px  rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(6px);
}

.jpwh_app_list {
    display: none;
}
.none{
    display: none !important;
}

.scroll-active-index{
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0px 2px 20px  rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(6px);
}
.header_body {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 120px;
    height: 83px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header_box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
/*.scroll-active:not(.scroll-inverse)>.header_box>.menu>.menu_item>div:first-child,.scroll-active:not(.scroll-inverse)>.header_box>.menu>.menu_item:first-child {*/
/*    text-shadow: 8px 6px 15px rgba(0,0,0,0.23),-8px -6px 15px rgba(0,0,0,0.23),8px -6px 15px rgba(0,0,0,0.23),-8px 6px 15px rgba(0,0,0,0.23);*/
/*}*/
.header_body .app_more {
    display: none;
}
.header_body .app_right {
    display: none;
}
.header_body .appMore {
    display: none;
}

.header_body .header_app {
    display: none;
}

.header_body .logo {
    width: 194px;
    height: 48px;
    cursor: pointer;
}


.header_body .menu {
    display: flex;
    /*align-items: center;*/
    justify-content: space-between;
    height: 83px;
}

.header_body .menu .menu_item {
    position: relative;
    cursor: pointer;
    padding: 20px 14px;
    width: 130px;
    font-size: var( --hot-news-font-title-size);
    font-weight: 400;
    letter-spacing: 0;
    color: #333333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.header_body .menu .menu_items{
    cursor: pointer;
    font-weight: 400;
    letter-spacing: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 14px;
    width: 100px;
}

.header_body .menu .menu_item:hover::after{
    position: absolute;
    content: "";
    width: 32px;
    height: 2px;
    bottom: 16px;
    background: rgba(235, 220, 174, 1);
}
.header_body .menu .menu_item:hover{
    color: rgba(235, 220, 174, 1);
    background: rgba(120, 51, 30, 1)    ;
}
.scroll-active-index .menu .menu_item:hover{
    color: rgba(235, 220, 174, 1);
    background: rgba(120, 51, 30, 1);
}
.header_body,.scroll-active .menu .menu_item {
    /*background: white;*/
    color: #ffffff;
}

.menu_item_jpwh{
    position: relative;
}
.jpwh_list{
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
    transition: opacity 0.6s ease, transform 0.6s ease;
    display: flex;
    flex-wrap: wrap;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 10px); /* 初始位移 */
    width: 176px;
    background-color: white;
    padding: 24px 0;
    box-sizing: border-box;
    pointer-events: none; /* 防止 hover 时意外触发 */
}
.jpwh_list .jpwh_item{
    width: 100%;
    height: 3.59375vw;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: var( --hot-news-font-title-size);
    font-weight: 400;
    color: rgba(51, 51, 51, 1);
}
.menu_item_jpwh:hover .jpwh_list{
    opacity: 1;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform: translate(-50%, 0);
    visibility: visible;
    pointer-events: auto;
}
.jpwh_list .jpwh_item:hover{
    background: rgba(120, 51, 30, 0.1);
    color: rgba(120, 51, 30, 1);
}
.menu_item_opt.scroll-active{
    background: #ffffff;
    color: black;
}

.header_box_index .menu .menu_item{
    color: #333333;
}

 .menu .menu_item:hover{
  color: rgba(235, 220, 174, 1)!important;
}

.header_box_index .menu .menu_item_active {
    color: rgba(235, 220, 174, 1) !important;
}

.menu_items .text1{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 7px;
    color: #ffffff;
    font-size: var( --hot-news-font-title-size);
}

.menu_item_opt .text{
    color: #fff;
    font-size: var( --hot-news-font-title-size);
}

.scroll-active-index     .menu_item_opt .text{
    color: #333;
    font-size: var( --hot-news-font-title-size);
}
.header_body .menu .menu_item .menu_item_opt, .header_body .menu .menu_items .menu_item_opt {
    align-items: center;
    width: 100%;
}

.header_body .menu .menu_item .menu_item_opt, .header_body .menu .menu_items .menu_item_opt:focus .login{
    background: #000;
}

.header_body .menu .menu_item .menu_item_opt .login, .header_body .menu .menu_items .menu_item_opt .login {
    display: flex;
    align-items: center;
    width: 100%;
    height: 46px;
    color: #fff;
    border-radius: 5px;
    background-color: var(--main-font-color );
}
.login_img{
    width: 18px;
    height: 17px;
    border-radius: 100%;
}
.header_body .menu .menu_item .menu_item_opt .login .login_img, .header_body .menu .menu_items .menu_item_opt .login .login_img {
    width: 18px;
    height: 17px;
}

.header_body .menu .menu_item .menu_item_opt .register, .header_body .menu .menu_items .menu_item_opt .register {
    margin-left: 12px;
}

.header_body .menu .menu_item .menu_item_opt .search2, .header_body .menu .menu_items .menu_item_opt .search2 {
    display: flex;
    align-items: center;
    opacity: 1;
    margin-left: 24px;
    border-radius: 652px;
    background: #78331e;
    padding: 0px 10px;
}

.header_body .menu .menu_item .menu_item_opt .search2 .search_img, .header_body .menu .menu_items .menu_item_opt .search2 .search_img {
    width: 17px;
    height: 17px;
}

.header_body .menu .menu_item .menu_item_opt .search2 .search_text, .header_body .menu .menu_items .menu_item_opt .search2 .search_text {
    font-size:var( --hot-news-font-title-size);
    font-weight: 400;
    letter-spacing: 0;
    color: white;
}

.header_body .menu .menu_item .menu_item_opt .search_active, .header_body .menu .menu_items .menu_item_opt .search_active {
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    background: rgba(255, 255, 255, 0);
}

.header_body .menu .menu_item .menu_item_opt .search-box, .header_body .menu .menu_items .menu_item_opt .search-box {
    display: none;
    /* 初始隐藏 */
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 64px;
    width: 220px;
}

/* 滚动后 header 反色样式 */
.scroll-inverse {
    background-color: #fff !important;
    color: #000 !important;
}

.scroll-inverse .logo {
    content: url('../img/logo.png'); /* 白底黑logo */
}

.scroll-inverse .menu_item,
.scroll-inverse .menu_item_opt .text ,
.scroll-inverse .menu_item_opt  {
    color: #333  !important;
}

/*.scroll-inverse .login_img {*/
/*    filter: invert(100%);*/
/*}*/
.scroll-inverse {
    transition: all 0.3s ease-in-out;
}

.menu_item_opt .info{
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}
.info .avatar{
    width: 35px;
    height: 35px;
    border-radius: 100%;
}

.info .text{
    margin: 0 0.625vw;
}
.header_body .menu .menu_item .menu_item_opt .search-box input, .header_body .menu .menu_items .menu_item_opt .search-box input {
    height: 50px;
    width: 220px;
    border: none;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 8px;
    flex: 1;
    border-radius: 64px;
    background: rgba(255, 255, 255, 0.15);
}

.header_body .menu .menu_item .menu_item_opt .close-search, .header_body .menu .menu_items .menu_item_opt .close-search {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 5px;
}

.hidden{
    display: none !important;
}



.header_body .menu .menu_item .menu_item_opt .active, .header_body .menu .menu_items .menu_item_opt .active {
    color: #78331e;
}


.header_body .menu .menu_item .menu_item_active, .header_body .menu .menu_items .menu_item_active {
    padding: 0;
}

.header_body,.scroll-active .menu  {
    color: #ffffff;
}

.header_body .menu .menu_item_active {
    color: rgba(235, 220, 174, 1) !important;
    background: rgba(120, 51, 30, 1);
}
.scroll-active-index .menu .menu_item_active {
    color: rgba(235, 220, 174, 1);
    background: rgba(120, 51, 30, 1);
}

.header_body .menu .menu_item_active::after {
    position: absolute;
    content: "";
    width: 32px;
    height: 2px;
    bottom: 16px;
    background: rgba(235, 220, 174, 1);
}
.header_body {
    transition: top 0.3s ease-in-out, background-color 0.3s ease;
}


@media all and (max-width: 1680px) {
    .header_body .menu .menu_item{
        width: 120px;
    }
    .header_body{
        height: 63px;
        padding: 0 100px;
    }

    .header_body .menu{
        height: 63px;
    }
}
@media all and (max-width: 1440px) {
    .header_body .logo {
        width: 160px;
        height: 44px;
        cursor: pointer;
    }


}
@media all and (max-width: 1200px) {

    .header_body .menu .menu_item{
        width: 100px;
    }

    .header_body{
        height: 53px;
        padding: 0 80px;
    }

    .header_body .menu{
        height: 53px;
    }
}
