* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

ul,
li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #333;
    color: inherit;
}

:root {
    --main-inner-width: 1380px;
    --main-color: #9e2b4c;

}

/* 公共样式 */

.font-none {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.font-none2 {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.icon-left {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url(../image/index/more/more_01.png) no-repeat;
    background-size: contain;
    transform: rotate(180deg)
}

.icon-right {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url(../image/index/more/more_01.png) no-repeat;
    background-size: contain;
}

.icon-right1 {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: url(../image/index/more/more_01.png) no-repeat;
    background-size: contain;
}

a:hover .icon-right {
    background-image: url(../image/index/more/more_02hover.png);
}

.icon-right2 {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url(../image/index/more/more_03.png) no-repeat;
    background-size: contain;
}

.icon-right3 {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url(../image/index/more/more_04.png) no-repeat;
    background-size: contain;
}

a:hover .icon-right3 {
    background-image: url(../image/index/more/more_04hover.png);
}

.icon-right4 {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url(../image/index/more/more_05.png) no-repeat;
    background-size: contain;
}

a:hover .icon-right4 {
    background-image: url(../image/index/more/more_06.png);
}

.icon-right5 {
    display: inline-block;
    transform: rotate(90deg);
    width: 16px;
    height: 16px;
    background: url(../image/index/more/more_01.png) no-repeat;
    background-size: contain;
}

/* 标题 */
.title {
    font-size: 36px;
    font-weight: bold;
    color: #000;
    position: relative;
    margin-bottom: 20px;
}

.title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #014d98;
    position: absolute;
    bottom: -8px;
    margin-left: 30px;

}


/* 更多按钮 */
.btn-more {
    border: 1px solid #333;
    font-size: 12px;
    border-radius: 999px;
    padding: 2px 10px;
    margin-right: 5px;
    line-height: 1;
}



/* 导航条 */
header {
    padding: 0px 10vw;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    transition: all 0.3s ease;
    position: relative;
    z-index: 9;
}

.nav-white {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 0;
}

h1 img {
    height: 90px;
}


nav {
    display: flex;
    align-items: center;
    height: 90px;
    gap: 10px;
}

nav>li {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-grow: 1;
    white-space: nowrap;
}

nav>li>a {
    color: #333333;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 18px;
}

nav>li>a>i {
    display: none !important;
}

nav>li>ul {
    display: none;
    text-align: center;
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 10px;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

nav>li:hover>a {
    /*background-color: #fff;*/
   /* color: #b7080f; */
}

nav>li:hover>ul {
    display: block;
}

nav>li>ul>li {
    padding: 10px 30px;
    position: relative;
}

nav>li>ul>li:hover {
    color: #9e2b4c;
}

.hamburger {
    display: none;
}

.search {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 12px;
    padding: 16px 16px 0 0;
}

@media (max-width: 992px) {
    :root {
        --main-inner-width: 90%;
    }

    html {
        font-size: 14px;
    }

    header {
        padding: 20px;
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
        background-color: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        align-items: center;
    }

    .top-header {
        box-shadow: none;
    }

    h1 {
        flex: 1;
    }

    h1 img {
        width: 40vw;
        height: auto;
    }

    body.nav-scroll-lock {
        overflow: hidden;
        height: 100%;
        width: 100%;
    }

    nav {
        position: fixed;
        top: 110px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: #1663b3;
        transition: 0.3s;
        flex-direction: column;
        padding: 20px 0;
        gap: 0;
        overflow: auto;
        z-index: 9;
    }

    header nav>li {
        height: auto;
        width: auto;
        flex-grow: 0;
    }

    header nav>li:hover {
        background: transparent;
    }

    header nav>li>a {
        color: #fff;
        padding: 20px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: 0;
    }

    nav>li>a>i {
        display: block !important;
    }

    nav>li:hover>ul {
        display: none;
    }


    nav.active {
        left: 0;
        align-items: normal;
        overflow: auto;

    }

    .nav-li-active {
        flex-direction: column;
    }

    nav>li:hover>a,
    .nav-li-active>a {
        background-color: #00428a;
        color: #fff;
    }

    .nav-li-active>ul {
        display: block !important;
        position: static;
        transform: none;
        width: 100%;
        border-radius: 0;
        background-color: transparent;
        box-shadow: none;
        color: #ccc;
    }

    nav>li.nav-li-active>a>i {
        transform: rotate(90deg);
    }

    nav>li>ul>li {
        text-align: left;
    }

    nav>li>ul>li>a {
        display: block;
    }

    .search {
        padding: 0;
    }

    .search>a {
        display: none;
    }



    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        cursor: pointer;
        z-index: 100;
    }

    .hamburger span {
        width: 100%;
        height: 3px;
        background: #FFF;
        transition: 0.3s;
    }

    /* 激活状态 */
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    header input {
        width: 24vw;
        margin-right: 40px;
    }

 .banner {
        width: 100%;
        max-width: 100%;
        height: auto;
        padding-bottom: 0;
    }

    .banner_box {
        height: auto;
    }

    .banner_box li {
        list-style: none;
        height: auto;
    }

    .banner_box img {
        width: 100%;
        height: 235px;
        object-fit: cover;
    }


}