@charset "utf-8";


.news_section {
    .webgene-blog:hover {
        filter: none;
    }

    .w1536 {
        max-width: 1536rem;
        width: 90%;
        margin: 0 auto;
        padding-bottom: 160rem;

        @media (max-width: 1023px) {
            padding: 80rem 0 63rem;
        }
    }

    .w960 {
        max-width: 960rem;
        width: 90%;
        margin: 0 auto;
    }
}

.cat-list {
    display: flex;
    align-items: center;
    gap: 40rem;
    margin-bottom: 80rem;

    @media (max-width: 1023px) {
        flex-wrap: wrap;
        gap: 16rem;
    }

    .webgene-blog {
        display: flex;
        gap: 40rem;

        @media (max-width: 1023px) {
            flex-wrap: wrap;
            gap: 16rem;
        }



        .webgene-item a {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 5rem 60rem;
            border-radius: 24rem;
            border: 2px solid #fff;
            transition: all .4s ease;
            font-family: var(--font-main);
            font-weight: 500;
            font-size: 24rem;
            color: #FFF;


            @media (max-width: 900px) {
                height: 36rem;
                padding: 0 30rem;
                font-family: var(--font-main);
                font-weight: 500;
                font-size: 18rem;
                color: #FFF;
            }





        }
    }

    a {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 5rem 60rem;
        border-radius: 24rem;
        border: 2px solid #fff;
        transition: all .4s ease;

        @media (max-width: 900px) {
            height: 36rem;
            padding: 0 30rem;
        }

        p {
            font-family: var(--font-main);
            font-weight: 500;
            font-size: 24rem;
            color: #FFF;

            @media (max-width: 900px) {
                font-size: 18rem;
                line-height: 1;
            }
        }
    }

    a:hover {
        filter: opacity(50%);
        transition: all .4s ease;
    }
}




.cat-list .catitem:hover {
    filter: opacity(50%);
    transition: all .4s ease;
}


.newswrap {
    .webgene-blog {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16rem 64rem;

        .webgene-pagination {
            margin-top: 80rem;
            grid-area: 2 / 1 / 3 / 4;
        }

        @media (max-width: 900px) {
            display: flex;
            flex-direction: column;

            .webgene-pagination {
                margin-top: 40rem;

                ul {
                    padding: 0;
                }
            }
        }
    }


    .webgene-blog:hover {
        filter: none;

        .yajibtn {
            filter: none;
            transform: none;
        }
    }

    .newsItem {
        transition: all .4s ease;
        max-width: 500rem;
        width: 100%;



        .newsLink {
            .newsCatch {
                max-width: 436rem;
                width: 100%;
                height: 239rem;

                @media (max-width: 1023px) {
                    height: 203rem;
                    max-width: 100%;
                }

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }


        }
    }

    .newsItem:hover {
        filter: opacity(50%);
        transition: all .4s ease;

        .yajibtn {
            transform: translateX(4px);
            transition: all .4s ease;
        }
    }

    .webgene-pagination {

        ul {
            display: flex;
            gap: 34rem;
            list-style: none;
            justify-content: center;

            @media (max-width: 1023px) {
                gap: 8rem;
            }

            .number {
                font-family: var(--font-main);
                font-weight: 700;
                font-size: 32rem;
                color: #fff;
                padding-bottom: 3rem;

                @media (max-width: 1023px) {
                    font-size: 16rem;
                }
            }

            .number.selected {
                border-bottom: 2px solid #FFF;
                border-radius: 1px;

            }
        }
    }


}

.newsDetail {


    .newsDetail-wrap-title {
        margin-bottom: 39rem;

        .newsDetailTit {
            font-family: var(--font-main);
            font-weight: 700;
            font-size: 24rem;
            color: #fff;
        }
    }

    .newsDetail-wrap {
        padding-bottom: 72rem;
        border-bottom: 1px solid #FFF;
        margin-bottom: 72rem;

        .News-detail-img {
            height: 559rem;
            width: 100%;
            margin-bottom: 45rem;

            @media (max-width: 1023px) {
                height: 203rem;
                margin-bottom: 24rem;
            }

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

        .newsDetailTxt {
            font-family: var(--font-main);
            font-weight: 400;
            font-size: 16rem;
            line-height: 32rem;
            color: #fff;
        }
    }

    .secbtn {
        margin: 0 auto;
        display: flex;
        justify-content: center;

        .inWorksKiziBtn {
            border: 1px solid #FFF;
            border-radius: 50rem;
            position: relative;
            display: inline-block;
            height: 58rem;
            padding: 16rem 56rem;
            justify-content: center;
            align-items: center;
            font-family: var(--font-main);
            font-weight: 700;
            font-size: 18rem;
            text-align: center;
            color: #fff;
            cursor: pointer;
            transition: all .4s ease;
        }

        .inWorksKiziBtn:hover {
            filter: opacity(50%);
            transition: all .4s ease;
        }
    }
}