/* 菜单部分 */
.menu {
    width: 100%;
    height: 80px;
    background: #B4141B;
    border-radius: 20px;
    color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3.125rem;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 200;
    /* 添加过渡效果使变化更平滑 */
    transition: all 0.3s ease;
}

.get-active {
    a {
        opacity: 1 !important;
        font-weight: 600;
    }
}

.sticky {
    background: white !important;
    /* 背景变白 */
    top: 20px;
    box-shadow: 0px 12px 48px 16px rgba(0, 0, 0, 0.03), 0px 9px 28px 0px rgba(0, 0, 0, 0.05), 0px 6px 16px -8px rgba(0, 0, 0, 0.08);

    .nav ul {
        a {
            color: #000;
            opacity: 0.8;
            /* 文字变红 */
        }
    }

    .method4::before {
        background: url('../../../static/images/sear2.png') no-repeat center;
        background-size: contain;
    }

    input {
        background: #F8F8F8;
        color: #000;
    }

    input::placeholder {
        color: #BFBFBF;
    }

    .get-active {
        a {
            color: #B4141B !important;
            opacity: 1 !important;
        }
    }

    .active {
        background: #B4141B;
    }
}

.menu-phone {
    display: none;
}

.logo img {
    width: 74px;
    height: 50px;
}

.nav ul {
    display: flex;
    margin: 0;

    li {
        list-style: none;
        padding: 0 .9375rem;
        font-size: 20px;
        line-height: 37px;
        position: relative;
    }

    a {
        text-decoration: none;
        color: #FFFFFF;
        opacity: 0.8;
        /* color: #e4e0e0; */
    }
}




.active {
    margin: 0 auto;
    width: 2.9rem;
    height: .1875rem;
    background: #FFFFFF;
    opacity: 0.8;
}

.inp {
    width: 17.5rem;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    /* opacity: 0.3; */
    padding-left: 10px;
    box-sizing: border-box;
    border: none;
    color: #FFFFFF;
}

.inp::placeholder {
    color: #FFFFFF;
    opacity: 0.5;
}

.inp:focus {
    outline: none;
}

@media (max-width: 1024px) {
    .menu {
        height: 55px;
    }

    .menu>div:first-child img:first-child,
    .menu> :first-child>img:first-child {
        width: 60px;
    }
}