* {
    padding: 0;
    margin: 0;
}

html,
body {
    font-family: PingFangSC !important;
    position: relative;
    height: 100%;
    min-width: 1430px;
}


body {
    background-color: #FFFFFF;
    color: #000;
    margin: 0;
    padding: 0;
}

@media only screen and (max-width: 1600px) {
    html {
        font-size: 8px !important;
    }
}

@media screen and (min-width: 1601px) and (max-width: 25000px) {
    html {
        font-size: 10px !important;
    }
}

.toTop {
    transform: translateX(1rem);
    display: none;
    position: fixed;
    width: 6rem;
    height: 6rem;
    bottom: 2rem;
    right: 0.8rem;
    z-index: 1000;
    background-image: url("../assets/H5/toTop.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 6rem;
    border-radius: 2.6rem;
}

header {
    font-size: 1.8rem;
    position: absolute;
    z-index: 99;
    width: 100%;
    height: 9rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-left: 11.8%;
    padding-right: 10rem;
    box-sizing: border-box;
    color: rgba(255, 255, 255, 1);
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));

    .logo {
        z-index: 110;
        width: 14.2rem;
        height: 4.17rem;

        img {
            width: 14.2rem;
            height: auto;
        }
    }

    .menu {
        z-index: 110;
        display: flex;
        flex-direction: row;
        margin-left: -15rem;

        .menuDiv {
            display: flex;
            flex-direction: column;
            text-align: center;
            margin-right: 8rem;
            min-width: 8rem;
            cursor: pointer;

            a {
                text-decoration: none;
                color: rgba(255, 255, 255, 1);
            }

            img {
                width: 2.2rem;
                height: auto;
                margin: 0.2rem auto;
                opacity: 0;
                translate: 0 -5px;
                transition: translate 0.5s;
            }

            &:hover {
                img {
                    opacity: 1;
                    translate: 0 2px;
                }
            }

            &.active {
                img {
                    opacity: 1;
                    translate: 0 2px;
                }
            }

        }
    }


    .login {
        z-index: 110;
        width: 10rem;
        min-width: 10rem;
        height: 4.2rem;
        border-radius: 3.5rem;
        background: rgba(255, 255, 255, 0.32);
        line-height: 4.2rem;
        text-align: center;
        letter-spacing: 2px;

        a {
            text-decoration: none;
            color: rgba(255, 255, 255, 1);
        }
    }
}

.content {
    width: 100%;

    .bannerTop {
        width: 100%;
        height: auto;
        min-height: 47rem;
        background: url("../assets/newsBg.jpg") top no-repeat;
        background-size: 100%;
        padding: 16.8rem 11.8%;
        box-sizing: border-box;

        .bannerTitle {
            font-size: 4.2rem;
            color: rgba(255, 255, 255, 1);
            position: relative;
            letter-spacing: 0.3rem;
            font-weight: bold;

            &::before {
                content: '';
                display: block;
                width: 8rem;
                height: 0.5rem;
                position: absolute;
                bottom: -2rem;
                left: 0;
                background-color: #fff;
            }
        }

        .bannerContent {
            font-size: 2.5rem;
            margin-top: 4rem;
            color: #FFFFFF;
            letter-spacing: 0.15rem;
            line-height: 3rem;
        }
    }

    .newsList {
        width: 100%;
        height: auto;
        padding: 7rem 25rem;
        box-sizing: border-box;

    }

    .newsHead {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        height: 3.2rem;
        line-height: 3.2rem;

        .title {
            width: 100%;
            font-weight: bold;
            font-size: 2.8rem;
            color: #000000;
            position: relative;
            z-index: 10;

            &::before {
                content: '';
                display: block;
                width: 11.2rem;
                height: 0.8rem;
                opacity: 0.64;
                background: linear-gradient(270deg, rgba(24, 206, 166, 0.26) 0%, rgba(10, 159, 109, 1) 100%);
                position: absolute;
                bottom: 0rem;
                left: 0;
                z-index: 1;
            }
        }

        .searchDiv {
            width: 100%;
            min-width: 46rem;
            max-width: 50rem;
            height: 3.2rem;
            line-height: 3.2rem;
            border: 0.1rem solid rgba(0, 0, 0, 0.25);
            box-sizing: border-box;
            border-radius: 0.6rem;
            background-color: #FFFFFF;
            position: relative;
            padding: 0 3.2rem 0 1rem;

            img {
                width: 2rem;
                height: 2rem;
                position: absolute;
                top: 0.6rem;
                right: 0.6rem;
            }

            input {
                width: 100%;
                height: 3rem;
                border: none;
                font-size: 1.6rem;
                color: rgba(0, 0, 0);
            }

            input::placeholder {
                color: rgba(0, 0, 0, 0.25);
                opacity: 1;
            }

            input:focus {
                outline: none;
            }
        }
    }

    .list {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        flex-wrap: wrap;
        width: 100%;
        position: relative;
        margin-top: 20px;
        gap:20px;

        .new {
            height: 100%;
            position: relative;
            border-radius: 0.6rem;
            padding: 13rem 2rem 3rem 2rem;
            box-sizing: border-box;
            overflow: hidden;
            box-shadow: 0 0.4rem 2rem 0 rgba(17, 19, 48, 0.13);
            color: #FFFFFF;
            z-index: 100;

            img {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                border-radius: 0.6rem;
                z-index: -1;
            }

            .date {
                width: 100%;
                font-size: 1.4rem;
            }

            .title {
                width: 100%;
                margin-top: 1rem;
                font-size: 1.8rem;
                font-weight: bold;
            }


        }

        .old {
            height: 100%;
            display: flex;
            flex-direction: column;
            background-color: #F6F6F9;
            border-radius: 0.6rem;
            box-shadow: 0 0.4rem 2rem 0 rgba(17, 19, 48, 0.13);
            position: relative;
            img {
                border-top-left-radius: 0.6rem;
                border-top-right-radius: 0.6rem;
            }

            .oldDetail {
                padding: 3rem 3rem 0;
                box-sizing: border-box;
                width: 100%;
                .date {
                    font-size: 1.4rem;
                    color: #8a8a8a;
                    display: -webkit-box; /* 使用弹性盒子布局 */
                    -webkit-line-clamp: 2; /* 限制行数为2 */
                    -webkit-box-orient: vertical; /* 设置垂直方向上的盒子排列 */
                    overflow: hidden; /* 隐藏超出的内容 */
                }

                .title {
                    width: 100%;
                    margin-top: 1rem;
                    font-size: 1.8rem;
                    color: #101E32;

                    display: -webkit-box; /* 使用弹性盒子布局 */
                    -webkit-box-orient: vertical; /* 垂直排列 */
                    overflow: hidden; /* 隐藏超出部分 */
                    -webkit-line-clamp: 2; /* 最多显示两行 */
                    line-height: 1.2em; /* 行高 */
                    max-height: 2.4em; /* 最大高度 */
                    transition: color 0.3s;
                }


                .toDetail {
                    width: 100%;
                    font-size: 1.3rem;
                    height: 3rem;
                    line-height: 3rem;
                    color: #01B58C;
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    position: absolute;
                    bottom:30px;
                    left:30px;
                    cursor: pointer;
                    img {
                        width: 1rem;
                        height: 1rem;
                        margin-left: 0.5rem;
                        transform: rotate(180deg);
                    }
                }
            }
            &:hover{
                .oldDetail{
                    .title{
                        color: #01B58C;
                    }
                }
            }
        }
    }

    .list .old{
        width: 320px;
        margin-top: 2.4rem;
        height: 460px;
        img{
            width: 100%;
            height: 246px;
            object-fit: cover;
        }
    }
    .list .new {
        width: 700px;
        height: 460px;
        margin-top: 2.4rem;
        position: relative;
        cursor: pointer;
        img{
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .date{
            position: absolute;
            left:20px;
            bottom:100px;
        }
        .title{
            position: absolute;
            left:20px;
            bottom:50px;
            font-size: 1.8rem;
        }

    }
    .list div:first-child {
    }

    .list div:nth-child(2), .list div:nth-child(3) {
        width: 339px;
    }
    .list div:nth-child(4), .list div:nth-child(5), .list div:nth-child(6) {
        width: 460px;
        img{
            height: 300px;
        }
    }


    .emptyDiv {
        display: flex;
        flex-direction: column;
        text-align: center;
        margin-top: 6rem;
        font-size: 2.4rem;
        color: rgba(0, 0, 0, 0.25);

        img {
            width: 36rem;
            height: 22rem;
            margin: 3rem auto;
        }
    }

    .toNext {
        position: absolute;
        margin-top: 1rem;
        left: 50%;
        transform: translateX(-50%);

        height: 4rem;
        line-height: 4rem;
        text-align: center;
        color: #000000;
        font-size: 1.4rem;
        display: flex;
        flex-direction: row;
        align-items: center;

        img {
            width: 1.1rem;
            height: 1.1rem;
            margin-left: 0.6rem;
        }
    }
}
/*章小鱼*/
.zjhContent {
    width: 100%;
    overflow-x: auto;

    .bannerTop {
        width: 100%;
        height: auto;
        min-height: 47rem;
        background: url("../assets/newsBg.jpg") top no-repeat;
        background-size: 100%;
        padding: 16.8rem 11.8%;
        box-sizing: border-box;

        .bannerTitle {
            font-size: 4.2rem;
            color: rgba(255, 255, 255, 1);
            position: relative;
            letter-spacing: 0.3rem;
            font-weight: bold;

            &::before {
                content: '';
                display: block;
                width: 8rem;
                height: 0.5rem;
                position: absolute;
                bottom: -2rem;
                left: 0;
                background-color: #fff;
            }
        }

        .bannerContent {
            font-size: 2.5rem;
            margin-top: 4rem;
            color: #FFFFFF;
            letter-spacing: 0.15rem;
            line-height: 3rem;
        }
    }
    .newsHead {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        height: 3.2rem;
        line-height: 3.2rem;
        margin-bottom: 30px;

        .title {
            width: 100%;
            font-weight: bold;
            font-size: 2.8rem;
            color: #000000;
            position: relative;
            z-index: 10;

            &::before {
                content: '';
                display: block;
                width: 11.2rem;
                height: 0.8rem;
                opacity: 0.64;
                background: linear-gradient(270deg, rgba(24, 206, 166, 0.26) 0%, rgba(10, 159, 109, 1) 100%);
                position: absolute;
                bottom: 0rem;
                left: 0;
                z-index: 1;
            }
        }

        .searchDiv {
            width: 100%;
            min-width: 46rem;
            max-width: 50rem;
            height: 3.2rem;
            line-height: 3.2rem;
            border: 0.1rem solid rgba(0, 0, 0, 0.25);
            box-sizing: border-box;
            border-radius: 0.6rem;
            background-color: #FFFFFF;
            position: relative;
            padding: 0 3.2rem 0 1rem;

            img {
                width: 2rem;
                height: 2rem;
                position: absolute;
                top: 0.6rem;
                right: 0.6rem;
            }

            input {
                width: 100%;
                height: 3rem;
                border: none;
                font-size: 1.6rem;
                color: rgba(0, 0, 0);
            }

            input::placeholder {
                color: rgba(0, 0, 0, 0.25);
                opacity: 1;
            }

            input:focus {
                outline: none;
            }
        }
    }
    .newsList {
        max-width: 1400px;
        width: 100%;
        margin: 0 auto;
        height: auto;
        padding: 40px 0;
        box-sizing: border-box;
        .emptyDiv {
            display: flex;
            flex-direction: column;
            text-align: center;
            margin-top: 6rem;
            font-size: 2.4rem;
            color: rgba(0, 0, 0, 0.25);

            img {
                width: 36rem;
                height: 22rem;
                margin: 3rem auto;
            }
        }
        .news{
            display: flex;
            flex-direction: row;
            align-items: center;
            margin-bottom: 30px;
            &.one{
                margin-bottom: 20px;
                cursor: pointer;
                justify-content: flex-start;
                gap: 19px;
                >div:nth-child(1){
                    width: 49%;
                    height: 459px;
                    position: relative;
                    border-radius: 6px;
                    overflow: hidden;
                    img{
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                    .timeTitle{
                        position: absolute;
                        left: 20px;
                        bottom: 30px;
                        color:#fff;
                        .time{
                            font-weight: 400;
                            font-size: 14px;
                            color: #FFFFFF;
                            margin-bottom: 20px;
                        }
                        .title{
                            font-weight: 500;
                            font-size: 18px;
                            color: #FFFFFF;
                        }
                    }
                }
                >div:nth-child(2),>div:nth-child(3){
                    width: 24%;
                    height: 459px;
                    cursor: pointer;
                    background: #F6F6F9;
                    border-radius: 6px;
                    overflow: hidden;
                    position: relative;
                    img.newimg{
                        width: 100%;
                        height: 55%;
                        object-fit: cover;
                        border-radius: 6px;
                    }
                    img.bgimg{
                        width: 100%;
                        height: 45%;
                        object-fit: cover;
                        position: absolute;
                        bottom: 0;
                        left:0;
                        opacity: 0;
                        transition: opacity 0.5s;
                    }
                    &:hover .bgimg{
                        opacity: 1;
                    }
                    .timeTitle{
                        padding: 30px;
                        box-sizing: border-box;
                        .time{
                            font-weight: 400;
                            font-size: 14px;
                            color: #666666;
                            margin-bottom: 12px;
                        }
                        .title{
                            font-weight: 400;
                            font-size: 18px;
                            color:#101E32;
                            transition: color 0.3s;
                        }
                    }
                    &:hover .title{
                        font-weight: 400;
                        font-size: 18px;
                        color: #039170;
                    }
                    a{
                        position: absolute;
                        bottom:40px;
                        left:30px;
                        font-weight: 400;
                        font-size: 14px;
                        color: #039170;
                        text-decoration: none;
                    }
                }
            }
            &.two{
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: flex-start;
                gap: 27px;
                height: 546px;
                .new{
                    width: 32%;
                    height: 100%;
                    cursor: pointer;
                    background: #F6F6F9;
                    border-radius: 6px;
                    overflow: hidden;
                    position: relative;
                    img.newimg{
                        width: 100%;
                        height: 55%;
                        object-fit: cover;
                        border-radius: 6px;
                    }
                    img.bgimg{
                        width: 100%;
                        height: 45%;
                        object-fit: cover;
                        position: absolute;
                        bottom: 0;
                        left:0;
                        opacity: 0;
                        transition: opacity 0.5s;
                    }
                    &:hover .bgimg{
                        opacity: 1;
                    }
                    .timeTitle{
                        padding: 30px;
                        box-sizing: border-box;
                        .time{
                            font-weight: 400;
                            font-size: 14px;
                            color: #666666;
                            margin-bottom: 20px;
                        }
                        .title{
                            font-weight: 400;
                            font-size: 18px;
                            color:#101E32;
                            transition: color 0.3s;
                        }
                    }
                    &:hover .title{
                        font-weight: 400;
                        font-size: 18px;
                        color: #039170;
                    }
                    a{
                        position: absolute;
                        bottom:40px;
                        left:30px;
                        font-weight: 400;
                        font-size: 14px;
                        color: #039170;
                        text-decoration: none;
                    }
                }
            }
        }
        .pages{
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: flex-end;
            gap: 10px;
            div{
                width: 30px;
                height: 30px;
                line-height: 30px;
                text-align: center;
                color: #666666;
                cursor: pointer;
                border-radius: 5px;
                border:1px #DDDDDD solid;
                transition: all 0.5s;
                &.active{
                    color:#01B58C;
                    border:1px #01B58C solid;
                }
                &:hover{
                    color:#01B58C;
                    border:1px #01B58C solid;
                }
                &.all{
                    width: auto;
                    padding: 0 5px;
                    box-sizing: border-box;
                }
            }
        }
    }
}


/*底部栏*/
.banner {
    width: 100%;
    height: 20rem;
    background: url("../assets/banner04.png");
    background-size: 100% 100%;
    font-size: 3.6rem;
    color: #FFFFFF;
    letter-spacing: 2px;
    text-align: center;
    font-weight: 600;
    line-height: 20rem;
}

.bottomDiv {
    width: 100%;
    height: 6rem;
    line-height: 6rem;
    color: rgba(255, 255, 255, 0.36);
    background: rgba(47, 47, 47, 1);
    box-sizing: border-box;
    font-size: 1.6rem;
    text-align: center;

    a {
        color: rgba(255, 255, 255, 0.36);
        text-decoration: none;
    }
}
