html {
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    padding: 0;
    margin: 0;
}

.header {
    width: 100%;
    height: 166px;
    background: url('./head-bg.png') no-repeat center;
    background-size: cover;
    box-sizing: border-box;
    padding-top: 36px;
}

.noneSearch {
    display: none;
}

.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;
    justify-content: space-between;
    align-items: end;
}

.header .logoImg {
    width: 376px;
    height: 107px;
    margin-left: 90px;
}

.logo .search {
    width: 190px;
    height: 39px;
    position: relative;
    margin-top: 8px;
}

.logo .search input {
    width: 100%;
    height: 39px;
    line-height: 39px;
    border-radius: 20px;
    padding: 0 14px;
    box-sizing: border-box;
    border: 1px solid #850000;
    background: rgba(255,255,255,0.7);
}

.logo .search .search-icon {
    width: 20px;
    height: 20px;
    position: absolute;
    bottom: 10px;
    right: 10px;
    cursor: pointer;
}

.header-menu {
    width: 100%;
    height: 45px;
    padding:0 calc(50% - 600px);
    background: #CA0008;
    display: flex;
    justify-content: space-between;
}

.header-menu div {
    color: #FFFFFF;
    margin: 0 10px;
    text-align: center;
    position: relative;
}

.header-menu div a {
    font-family: Source Han Sans CN;
    font-weight: 400;
    font-size: 18px;
    line-height: 45px;
    letter-spacing: 2px;
}

.header-menu div .submenu a {
    letter-spacing: 0;
}

.header-menu .activeMenu {
    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: 215px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    position: absolute;
    top: 50px;
    right: calc(50% - 107px);
    background: #CA0008;
    visibility: hidden;
    transition: all 0.2s 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;
    display: block;
    width: 100%;
    height: 100%;
}

/* 鼠标悬停时显示下拉菜单 */
.header-menu div:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-menu a {
    color: #FFF;
}

.header-menu .submenu a:hover {
    background: #f14949;
}


/* 处理鼠标移入效果 */

.listBar a:hover {
    color: #D71617 !important;
}

.list .right .listBox a:hover p {
    color: #D71617 !important;
}

/* 导航栏 */

.local {
    line-height: 53px;
    padding: 0 calc(50% - 600px);
    background: #F8F8F8;
    color: #666666;
    font-size: 14px;
    font-weight: 500;
}

.local a {
    color: #666666;
    font-size: 14px;
    font-weight: 500;
}


/* 底部 */
.footer ul {
    display: flex;
}

.footer ul li {
    margin-right: 30px;
}

.footer ul li:last-child {
    margin-right: 0;
}

.outLine {
    padding:0 calc(50% - 600px);
    border-top: 4px solid #D64444;
}

.outLine select {
    max-width: 200px;
    padding: 20px 20px 20px 0;
    border: none;
    -webkit-appearance: none; /* Webkit 浏览器 */
    -moz-appearance: none;    /* Firefox 浏览器 */
    appearance: none;
    outline: none;
    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: #000;
    margin-right: 10px;
}

.outLine select:last-of-type {
    margin-right: 0;
}

.footer .message {
    box-sizing: border-box;
    width: 100%;
    height: 185px;
    background: #D64444;
    padding:32px calc(50% - 600px) 30px;
    display: flex;
    justify-content: space-between;
}

.footer .message .left {
    width: auto;
    height: 123px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 42px;
}

.footer .message .left .messageText {
    font-weight: 500;
    font-size: 16px;
    color: #FFFFFF;
}

.footer .message .left .messageText a {
    font-weight: 500;
    font-size: 16px;
    color: #FFFFFF;
}

.code {
    height: 100px;
    padding-left: 84px;
    border-left: 2px solid #DE6969;
}

.footer .message .logoImg {
    width: 96px;
    height: 100px;
}

.footer .message .logoImg {
    width: 98px;
    height: 96px;
}

.footer .message p {
    width: 98px;
    font-size: 14px;
    color: #FFFFFF;
    margin: 7px 0;
    text-align: center;
}

/* 分页组件 */

/* 分页 */

.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: 2px 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;
}

/* 统一处理鼠标移入效果 */
.newsList-tab a:hover {
    color: #CE0010 !important;
}

.leader:hover p {
    color: #CE0010 !important;
}

.leader-name:hover {
    color: #CE0010 !important;
}


@media screen and (max-width: 768px) {

    body {
        padding: 0;
        margin: 0;
        max-width: 100%;
        overflow: hidden;
    }


    .logo {
        display: block;
        text-align: center;
    }

    .header .logoImg {
        width: 3rem;
        height: auto;
        margin-left: 0;
    }

    .logoImg {
        width: 2rem;
        margin: 0;
        height: auto;
    }

    .logo .search {
        width: 4rem;
        margin: .2rem auto;
        height: .4rem;
    }

    .littleTit {
        line-height: .62rem;
        text-align: center;
    }

    .header {
        height: 1.6rem;
        padding-top: .1rem;
    }

    .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 .search input {
        height: .4rem;
        line-height: .4rem;
    }

    .logo .search .search-icon {
        width: .2rem;
        height: .2rem;
        bottom: .08rem;
        right: .1rem;
    }

    .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;
    }

    .local {
        padding: 0 .2rem;
    }

    .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: 2rem;
        padding: .2rem;
    }

    .footer .message .right {
        width: 80%;
        font-size: .16rem;
        color: #FFF;
        text-align: center;
        line-height: .36rem;
    }

    .footer .message .logoImg {
        width: 1rem;
        height: 1rem;
    }

    .footer .message p {
        width: 1rem;
        font-size: .18rem;
        margin: .07rem 0;
    }

    /* 统一处理列表字体大小 */

    .wrapper .rightMessage .leader .leader-name {
        font-size: .26rem !important;
    }

    .wrapper .rightMessage .leader span {
        font-size: 0.2rem !important;
    }

    .footer .message .left {
        margin-left: .4rem;
        height: 1.3rem;
    }

    .footer .message .left .messageText {
        font-size: .2rem;
    }

    .footer .message .left .messageText a {
        font-size: .2rem;
        color: #FFFFFF;
    }

    .code {
        height: 1rem;
        padding-left: .84rem;
    }
}

@media screen and (min-width: 769px) {
    html {
        transform-origin: top left;
        transform: scale(var(--scale-factor));
        width: 100vw;
        height: 100vh;
        overflow-x: hidden;
        box-sizing: border-box;
    }
}