.main-news {
    background-color: var(--back-sub-color);
    .news_list {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        .news_item1 {
            width: 5.2rem;
            height: 6.5rem;
            padding: 0.2rem;
            box-sizing: border-box;
            background-color: #FFFFFF;
            margin-top: 1rem;
            &:hover {
                color: #FFFFFF;
                background-color: var(--primary-color);
                .news_date {
                    color: #FFFFFF;
                }
                .news_desc {
                    color: #FFFFFF;
                }
                .news_btn_box {
                    .news_btn {
                        border: 1px solid var(--line-color);
                        background-color: var(--line-color);
                    }
                }
            }
            .news_date {
                color: var(--primary-color);
                font-size: 0.16rem;
            }
            .news_title {
                height: 0.6rem;
                font-size: 0.2rem;
                margin-top: 0.1rem;
            }
            .news_img {
                width: 100%;
                height: 3.36rem;
                object-fit: cover;
                margin-top: 0.1rem;
            }
            .news_desc {
                height: 0.7rem;
                font-size: 0.16rem;
                color: var(--font-sub-color);
                margin-top: 0.15rem;
            }
            .news_line {
                margin: 0.15rem 0;
                width: 100%;
                height: 0.02rem;
                background-color: var(--line-color);
            }
            .news_btn_box {
                display: flex;
                justify-content: flex-end;
                .news_btn {
                    width: 1.45rem;
                    height: 0.42rem;
                    border: 1px solid var(--primary-color);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    .btn_title {
                        font-size: 0.18rem;
                        color: var(--primary-color);
                    }
                    .btn_icon {
                        width: 0.15rem;
                        height: 0.13rem;
                        margin-left: 0.08rem;
                    }
                }
            }
        }
        .news_item2 {
            width: 100%;
            display: flex;
            justify-content: space-between;
            margin-top: 0.3rem;
            background-color: #FFFFFF;
            padding: 0.4rem 0.2rem;
            box-sizing: border-box;
            &:hover {
                color: #FFFFFF;
                background-color: var(--primary-color);
                .news_box {
                    .news_date {
                        color: #FFFFFF;
                    }
                    .news_info {
                        .news_title {
                            color: #FFFFFF;
                        }
                        .news_desc {
                            color: #FFFFFF;
                        }
                    }
                }
                .news_btn {
                    border: 1px solid var(--line-color);
                    background-color: var(--line-color);
                }
            }
            .news_box {
                display: flex;
                .news_date {
                    color: var(--primary-color);
                    font-size: 0.16rem;
                }
                .news_info {
                    width: 11.12rem;
                    margin-left: 0.6rem;
                    .news_title {
                        font-size: 0.2rem;
                    }
                    .news_desc {
                        font-size: 0.16rem;
                        color: var(--font-sub-color);
                        margin-top: 0.2rem;
                    }
                }
            }
            .news_btn {
                width: 1.45rem;
                height: 0.42rem;
                border: 1px solid var(--primary-color);
                display: flex;
                align-items: center;
                justify-content: center;
                .btn_title {
                    font-size: 0.18rem;
                    color: var(--primary-color);
                }
                .btn_icon {
                    height: 0.13rem;
                    margin-left: 0.08rem;
                }
            }
        }
        .news_mobile {
            display: none;
        }
        &:after {
            content: "";
            width: 5.2rem;
        }
    }
    .news_detail {
        width: 100%;
        box-sizing: border-box;
        .news_wrap {
            display: flex;
            justify-content: space-between;
            margin-top: 0.7rem;
            .news_box {
                width: 11.5rem;
                .news_title {
                    width: 100%;
                    color: var(--font-sub-color);
                    font-size: 0.36rem;
                    font-weight: bold;
                }
                .news_info {
                    .news_visit {
                        display: flex;
                        align-items: center;
                        font-size: 0.16rem;
                        color: var(--font-sub-color);
                        padding: 0.25rem 0;
                        border-bottom: 1px solid var(--line-color);
                        .visit_icon {
                            width: 0.2rem;
                            height: 0.2rem;
                            margin-right: 0.05rem;
                        }
                    }
                    .news_content {
                        margin-top: 0.2rem;
                        img {
                            width: 100%;
                        }
                    }
                }
            }
            .news_recommend {
                margin-top: 0.45rem;
                .recommend_wrap {
                    width: 3rem;
                    background-color: var(--back-sub-color);
                    padding: 0.4rem 0.36rem;
                    box-sizing: border-box;
                    .news_date {
                        font-size: 0.4rem;
                        font-weight: bold;
                        color: var(--primary-color);
                        padding-bottom: 0.05rem;
                        position: relative;
                        &:after {
                            content: "";
                            position: absolute;
                            left: 0;
                            bottom: 0;
                            width: 0.25rem;
                            height: 0.03rem;
                            background-color: var(--primary-color);
                        }
                    }
                    .news_years {
                        font-weight: bold;
                        margin-top: 0.2rem;
                    }
                    .news_author {
                        font-size: 0.16rem;
                        margin-top: 0.4rem;
                    }
                    .recommend_title {
                        color: var(--font-sub-color);
                        font-size: 0.22rem;
                        font-weight: bold;
                        margin-top: 0.4rem;
                        padding-bottom: 0.2rem;
                        border-bottom: 1px solid var(--line-color);
                    }
                    .recommend_list {
                        margin-top: 0.3rem;
                        .recommend_item {
                            display: block;
                            margin-top: 0.24rem;
                            .news_img {
                                width: 2.28rem;
                                height: 1.6rem;
                                object-fit: cover;
                            }
                            .news_title {
                                color: var(--font-sub-color);
                                font-size: 0.16rem;
                                margin-top: 0.1rem;
                            }
                        }
                    }
                }
            }
        }
        .news_handle {
            width: 9.17rem;
            margin-top: 0.6rem;
            margin-left: 1.17rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            .handle_item{
                width: 2.7rem;
                height: 0.6rem;
                background-color: var(--back-sub-color);
                display: flex;
                align-items: center;
                cursor: pointer;
                transition: background-color var(--animation-time) ease;
                .item_icon {
                    width: 0.1rem;
                    height: 0.15rem;
                    background-image: url("../images/news_arrow.png");
                }
                .item_title {
                    font-size: 0.16rem;
                }
                &:hover {
                    color: #FFFFFF;
                    background-color: var(--main-color);
                    .item_icon {
                        background-image: url("../images/news_arrow_active.png");
                    }
                }
            }
            .handle_prev {
                .item_icon {
                    margin-left: 0.58rem;
                }
                .item_title {
                    margin-left: 0.38rem;
                }
            }
            .handle_list {
                .item_icon {
                    width: 0.14rem;
                    height: 0.12rem;
                    background-image: url("../images/news_list.png");
                    margin-left: 0.79rem;
                }
                .item_title {
                    margin-left: 0.35rem;
                }
                &:hover {
                    .item_icon {
                        background-image: url("../images/news_list.png");
                    }
                }
            }
            .handle_next {
                .item_icon {
                    background-image: url("../images/news_arrow.png");
                    transform: rotate(180deg);
                    margin-left: 0.37rem;
                }
                .item_title {
                    margin-left: 1.16rem;
                }
            }
            .handle_disable {
                pointer-events: none;
            }
        }
    }
}

/* 屏幕小于1000 - 手机端 */
@media screen and (max-width: 1000px){
    .main-news {
        .news_list {
            .news_item2 {
                padding: 0.4rem;
                .news_box {
                    display: flex;
                    .news_date {
                        color: var(--primary-color);
                        font-size: 0.3rem;
                    }
                    .news_info {
                        width: 11rem;
                        .news_title {
                            font-size: 0.4rem;
                        }
                        .news_desc {
                            font-size: 0.3rem;
                        }
                    }
                }
                .news_btn {
                    width: 2.2rem;
                    height: 0.62rem;
                    font-size: 0.3rem;
                    .btn_title {
                        font-size: 0.3rem;
                    }
                    .btn_icon {
                        height: 0.24rem;
                        margin-left: 0.2rem;
                    }
                }
            }
            .news_pc {
                display: none;
            }
            .news_mobile {
                display: flex;
            }
        }
    }
}