@charset "utf-8";


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

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

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

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

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

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

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

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



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


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





        }
    }

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

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

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

            @media (max-width: 900px) {
                font-size: 18px;
                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: flex;
        flex-wrap: wrap;
        gap: 64px 18px;

        .webgene-pagination {
            width: 100%;
            margin-top: 80px;
        }

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

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

                ul {
                    padding: 0;
                }
            }
        }
    }


    .webgene-blog:hover {
        filter: none;

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

    .newsItem {
        max-width: 500px;
        width: 32%;

        @media (max-width: 1150px) {
            width: 48%;
        }

        @media (max-width: 767px) {
            width: 100%;
            max-width: none;
        }
    }

    .newsTextWrap {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        height: 100%;

        .News-detail-img {
            max-height: 239px;
            height: 69%;
            margin: auto 0;

            @media (max-width: 820px) {
                max-height: none;
            }

            .webgene-item-main-image {
                width: 100%;
                height: 100%;
                object-fit: contain;
            }
        }
    }

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

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

    .webgene-pagination {

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

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

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

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

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

            }
        }
    }


}

.newsDetail {


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

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

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

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

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

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

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

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

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

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