html {
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    padding: 0;
    margin: 0;
}

.header {
    width: 100%;
    height: 547px;
    background: url('./top-bg.png') no-repeat center;
    background-size: cover;
    box-sizing: border-box;
    padding-top: 27px;
}

.detailHeader {
    display: none;
    background: url('./detail-bg.png') no-repeat center;
    background-size: cover;
}

.noneSearch {
    display: none;
}

.detailHeader .logo {
    margin: 0;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    padding-top: 45px;
    padding-bottom: 35px;
}

.detailHeader .logo .logoImg {
    width: 332px;
}

.detailHeader .logo .search {
    margin-top: 0;
}

.littleTit {
    padding: 0 calc(50% - 600px);
    display: flex;
    justify-content: space-between;
    font-family: PingFang SC;
    font-weight: 500;
    font-size: 14px;
    color: #FFFFFF;
}

.logo {
    padding:0 calc(50% - 600px);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    margin-top: 157px;
    margin-bottom: 209px;
}

.logoImg {
    width: 513px;
}

.logo .search {
    width: 605px;
    position: relative;
    margin-top: 24px;
}

.logo .search input {
    width: 100%;
    height: 49px;
    line-height: 49px;
    border-radius: 25px;
    background: #fff;
    opacity: 0.6;
    padding: 0 26px;
    box-sizing: border-box;
}

.logo .search .searchBtn {
    width: 98px;
    height: 45px;
    text-align: center;
    line-height: 45px;
    background: #990009;
    border-radius: 23px;
    color: #FFF;
    font-size: 14px;
    position: absolute;
    bottom: 2px;
    right: 3px;
    cursor: pointer;
}

.header-menu {
    width: 100%;
    height: 80px;
    padding:0 calc(50% - 600px);
    background: #990009;
    display: flex;
    justify-content: space-between;
}

.header-menu div {
    color: #FFFFFF;
    flex: 1;
    text-align: center;
    position: relative;
}

.header-menu div:hover {
    background: #D71617;
}

.header-menu div a {
    font-family: Source Han Sans CN;
    font-weight: 400;
    font-size: 20px;
    line-height: 80px;
}

.header-menu .active {
    font-weight: bold;
}

.header-menu .active::before,
.header-menu .active::after {
    display: inline-block;
    content: ''; /* 这里定义了要显示的具体内容 */
    width: 20px; /* 图标的宽度 */
    height: 20px; /* 图标的高度 */
    background-image: url('./active.png'); /* 替换为你自己的图标路径 */
    background-size: contain; /* 确保背景图适应容器大小 */
    background-repeat: no-repeat;
    margin: -6px 0; /* 添加一些间距使得布局更加美观 */
}

.header-menu .submenu {
    width: 120%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    position: absolute;
    top: 90px;
    right: -10%;
    background: #990009;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(-10px);
    z-index: 100;
    list-style: none;
}

.header-menu .submenu a {
    font-family: PingFang SC;
    font-weight: 500;
    font-size: 16px;
    color: #FFFFFF;
    line-height: 36px;
    overflow: hidden;
    display: block;
    width: 100%;
    height: 100%;
}

.header-menu .submenu a:hover {
    background: #D71617;
}

/* 鼠标悬停时显示下拉菜单 */
.header-menu div:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-menu .submenu li {
    height: 40px;
    line-height: 40px;
}

.header-menu a {
    color: #FFF;
}
/* 处理鼠标移入效果 */

.listBar a:hover {
    color: #D71617 !important;
}

.list .right .listBox a:hover p {
    color: #D71617 !important;
}


/* 底部 */
.footer ul {
    display: flex;
    flex: 1;
}

.outLine {
    padding:0 calc(50% - 600px);
    display: flex;
    align-items: center;
    border-top: 1px solid #eaeaea;
}

.outLine select {
    max-width: 150px;
    padding: 25px 15px 25px 0;
    border: none;
    -webkit-appearance: none; /* Webkit 浏览器 */
    -moz-appearance: none;    /* Firefox 浏览器 */
    appearance: none;
    outline: none;
    margin-left: 38px;
    font-size: 14px;
    position: relative; /* 父容器相对定位 */
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 7"><polygon points="6,6 11,1 1,1" fill="%23666"/></svg>') no-repeat right center;
    background-size: 12px 7px; /* 图标的大小 */
    color: #666666;
}

.outLine a {
    max-width: 150px;
    padding: 25px 15px 25px 0;
    font-size: 14px;
    margin-left: 38px;
    line-height: 66px;
    color: #666666;
}

.footer .message {
    box-sizing: border-box;
    width: 100%;
    height: 113px;
    background: #BB2830;
    padding:24px calc(50% - 600px) 39px;
    position: relative;
}

.footer .message .logoImg {
    width: 53px;
    position: absolute;
    right: calc(50% - 600px);
    bottom: calc(50% - 26px);
}

.footer .message .police {
    width: 18px;
    position: relative;
    top: -2px;
}

.footer .message .right {
    font-weight: 400;
    font-size: 16px;
    color: #FFFFFF;
    text-align: center;
}

.footer .message .right span {
    margin-right: 20px;
}

.footer .message .right div {
    margin-bottom: 16px;
}

.footer .message .right a {
    color: #FFFFFF;
}

.footer .leftTit {
    font-size: 16px;
    color: #666666;
}

/* 分页组件 */

/* 分页 */

.pages {
    display: flex;
    justify-content: flex-end;
    margin: 20px 0;
}

.pages ul {
    display: flex;
}

.pages ul .disabled {
    display: none;
}

.pages ul li a {
    display: block;
    padding: 8px 18px;
    text-align: center;
    font-size: 16px;
    border-radius: 6px;
    color: #333;
    margin: 0 4px;
    border: 1px solid #ddd;
}

.pages ul li a:hover {
    background: #DDD;
}

.pages1 a {
    margin: 0;
}

.pages ul li .active {
    background: #D64444 !important;
    color: white;
}


@media screen and (max-width: 768px) {

    body {
        padding: 0;
        margin: 0;
        max-width: 100%;
        overflow: hidden;
    }


    .logo {
        display: block;
        margin-top: 1.57rem;
        margin-bottom: 1.87rem;
        text-align: center;
    }

    .logoImg {
        width: 5.13rem;
        margin: .2rem 0;
    }

    .logo .search {
        width: 6.5rem;
        margin: .24rem auto;
    }

    .littleTit {
        line-height: .62rem;
        text-align: center;
    }

    .header {
        height: 8rem;
    }

    .detailHeader .logo {
        margin: 0;
        display: block;
        text-align: center;
    }
    
    .littleTit {
        display: block;
    }

    .detailHeader .logo .logoImg {
        width: 3.32rem;
    }

    .header-menu {
        height: .8rem;
        padding: 0;
        overflow-x: scroll;
        overflow-y: hidden;
        white-space: nowrap;
    }

    .header-menu div a {
        font-size: 0.2rem;
        line-height: .8rem;
    }

    .header-menu .active::before, .header-menu .active::after {
        width: .2rem;
        height: .2rem;
        margin: -.06rem 0;
    }

    .header-menu div {
        flex: none;
        margin: 0 .1rem;
        flex-shrink: 0;
    }

    .logo .logo-right input {
        width: 2rem;
        font-size: .18rem;
    }

    .logo .logo-right .search {
        line-height: .6rem;
    }

    .header-menu .submenu a {
        font-size: .16rem;
        line-height: .36rem;
    }

    .pages {
        margin: .2rem 0;
    }

    .pages ul {
        flex-wrap: wrap;
    }

    .footer ul {
        display: flex;
        justify-content: space-between;
        overflow-x: scroll;
        overflow-y: hidden;
        white-space: nowrap;
    }

    .footer .message {
        height: auto;
        padding: .2rem;
    }

    .footer .message .right {
        width: 80%;
        font-size: .16rem;
        color: #FFF;
        text-align: center;
        line-height: .36rem;
    }

    .footer .message .logoImg {
        width: .8rem;
        position: absolute;
        right: .1rem;
        bottom: .2rem;
    }

    .footer .message .wxImg {
        width: 3rem;
    }

    .pages ul li a {
        padding: .08rem .2rem;
        font-size: .2rem;
        margin: 2px 4px;
    }
}