.news-block-gradient {
    background: rgba(94, 166, 251, 0.25);
    /* transition: all 0.2s ease-in; */
}

.news-block-gradient:hover {
    background: linear-gradient(0deg, rgba(94, 166, 251, 1) 0%, rgba(94, 166, 251, 0.25) 75%, rgba(94, 166, 251, 0.25) 100%);
    /* transition: all 0.2s ease-out; */
}


#news_anchor .news-box .custom-fade {
    width: 100%;
}

.news-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    margin-right: -48px;
    margin-bottom: 74px;

    position: relative;
    z-index: 10;

    & .news-and-blogs-wrapper {
        display: flex;
        width: 100%;
        height: 100%;
        opacity: 0;
        transform: translateX(-120px);
        transition: all 1s ease;

        &.visible {
            opacity: 1;
            transform: translateX(0px);
        }

        & .news-desktop-wrapper {
            width: 50%;

            &::before {
                content: '';
                position: absolute;
                /* width: 1px; */
                border-color: rgb(255, 255, 255, 0.15);
                border-right-width: 1px;
                height: 750px;
                z-index: -10;
                right: 51.6%;
                top: 127px;
            }

            & .news-blogs-header {
                margin-left: 28%;
            }


            & .go-to-button {
                margin-left: 26%;
            }
        }

        & .blogs-desktop-wrapper {
            width: 50%;

            & .news-blogs-header {
                margin-left: 37%;
            }


            & .go-to-button {
                margin-left: 27.6%;
                gap: 35px;
            }
        }

        & .blogs-results-wrapper,
        & .news-results-wrapper {
            height: 695px;
            overflow: hidden;
            display: flex;
            flex-wrap: wrap;
            column-gap: 31px;
            margin-bottom: 75px;

            & .news-block:nth-child(1) {
                border-top-left-radius: 40px;
            }

            & .news-block:nth-child(2) {
                border-top-right-radius: 40px;
            }
        }

        & .blogs-results-wrapper {
            margin-left: 10px;

            &::before {
                content: '';
                position: absolute;
                /* width: 1px; */
                border-color: rgb(255, 255, 255, 0.15);
                border-right-width: 1px;
                height: 695px;
                z-index: -10;
                right: 76.9%;
                top: 127px;
            }

            & .news-block:nth-child(3) {
                border-bottom-left-radius: 40px;
            }
        }

        & .news-results-wrapper {

            &::before {
                content: '';
                position: absolute;
                /* width: 1px; */
                border-color: rgb(255, 255, 255, 0.15);
                border-right-width: 1px;
                height: 695px;
                z-index: -10;
                right: 26.3%;
                top: 127px;
            }

            & .news-block:nth-child(3) {
                border-bottom-right-radius: 40px;
            }
        }


        & .news-blogs-header {
            font-size: 60px;
            font-weight: 700;

            background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(172, 199, 254, 1) 55%, rgba(172, 199, 254, 1) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 37px;
        }

        & .news-block {
            width: 320px;
            height: 340px;
            padding-top: 25px;
            padding-left: 28px;
            padding-right: 11px;
            margin-bottom: 15px;
            overflow: hidden;
            display: block;

            & .news-item-heading {
                display: flex;
                justify-content: space-between;

                & :nth-child(1) {
                    color: white;
                    font-size: 14px;
                    margin-bottom: 15px;
                }

                & :nth-child(2) {
                    padding-right: 14px;
                }

                & img {
                    width: 16px;
                }
            }

            & .news-item-title {
                height: 75px;

                font-size: 20px;
                color: white;
                font-weight: 600;

                padding-right: 15px;
                margin-top: 12px;
                margin-bottom: 39px;
                line-height: 24px;
                overflow: hidden;

                word-break: break-word;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 3;
                line-clamp: 3;
                overflow: hidden;
            }

            & .news-item-description-wrapper {
                height: 138px;
                display: flex;
                align-items: start;
                overflow: hidden;

                & .news-desc>* {
                    padding-right: 18px;
                    line-height: 17px;
                    font-size: 14px;
                    height: fit-content;
                    max-height: 138px;
                    width: 100%;
                }
            }

        }
    }
}

.go-to-button {
    width: fit-content;
    border-radius: 40px;
    padding: 7px 7px 7px 30px;
    gap: 30px;

    display: flex;
    justify-content: center;
    align-items: center;

    border: 2px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;

    opacity: 1;
    transform: translateY(0);
    transition: all 0.2s ease-in;

    &.mobile-version {
        display: none;
    }

    &:hover {
        background-color: white;
    }

    &>:nth-child(1) {
        font-size: 16px;
        font-weight: 500;
        color: white;
        background-color: transparent;
        transition: all 0.2s ease-out;
    }

    &>:nth-child(2) {
        transform: rotate(180deg);
        background-color: #3953b0;

        justify-content: center;
        align-items: center;
        display: flex;

        transition: all 0.2s ease-out;
    }

    &:hover>:nth-child(1) {
        border: unset;
        color: var(--primary-color)
    }

    &:hover>:nth-child(2) {
        border: unset;
    }


    & .go-to-button-text {
        font-size: 16px;
        font-weight: 500;
    }


    & .go-to-button-arrow-box {
        width: 40px;
        height: 40px;
        border-radius: 40px;

        & .go-to-button-img {
            width: 15px;
        }
    }
}

/* .news-box>div:nth-child(1)::before {
    content: '';
    position: absolute;
    width: 343px;
    border-color: rgb(255, 255, 255, 0.15);
    border-right-width: 1px;
    height: 700px;
    z-index: -10;
}

.news-box>div:nth-child(2)::before {
    content: '';
    position: absolute;
    width: 343px;
    border-color: rgb(255, 255, 255, 0.15);
    border-right-width: 1px;
    height: 766px;
    z-index: -10;
}

.news-box>div:nth-child(3)::before {
    content: '';
    position: absolute;
    width: 343px;
    border-color: rgb(255, 255, 255, 0.15);
    border-right-width: 1px;
    height: 700px;
    z-index: -10;
}

.news-box>div:nth-child(1) {
    margin-right: 19px;
}

.news-box>div:nth-child(2) {
    margin-right: 19px;
}

.news-box>div:nth-child(3) {
    margin-right: 19px;
}

.news-box>div:nth-child(4) {
    margin-right: 19px;
}

.news-box>div:nth-child(5) {
    margin-left: 352px;
    margin-right: 19px;
}

@-moz-document url-prefix() {
    .news-box>div:nth-child(5) {
        margin-left: 363px;
    }
}

.news-box>div:nth-child(1) .news-block {
    border-top-left-radius: 40px;
}

.news-box>div:nth-child(4) .news-block {
    border-top-right-radius: 40px;
}

.news-box>div:nth-child(5) .news-block {
    justify-self: center;
    border-bottom-left-radius: 40px;
}

.news-box>div:nth-child(6) .news-block {
    justify-self: center;
    border-bottom-right-radius: 40px;
} */

.news-title {
    opacity: 0;
    transform: translateY(-80px);
    transition: all 1s ease;
}

.news-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.news-block-fade {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease;
}

.news-block-fade.visible {
    opacity: 1;
    transform: translateX(0);
}

/* .news .go-to-button {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
    display: block;
    margin: 0 auto;
} */


.news .news-mobile-box {
    opacity: 0;
    transform: translateY(300px);
    transition: all 1s ease;
}

.news .news-mobile-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.news .news-mobile-box,
.ital-news-information-open-box .open-blog-main-box {
    display: none;
}

.open-blog-main-box:not(.active) {
    transform: translateX(1194px);
    transition: all 0.23s ease-in;
    visibility: hidden;
}


.open-blog-main-box::-webkit-scrollbar {
    display: none;
}

.open-blog-main-box {
    border-top-left-radius: 40px;
    z-index: 240;
    position: fixed;

    right: 0;
    top: 0;
    width: 1193px;
    height: 100%;

    & .open-blog-top-box {
        background-color: #7088a1;
        overflow: hidden;
        z-index: 2;
        height: 426px;
        border-top-left-radius: 40px;
        padding-left: 78px;
        padding-bottom: 38px;
        padding-right: 253px;
        position: relative;

        &>*:first-child {
            min-width: 100%;
            min-height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;
        }

        &>img:first-child {
            filter: brightness(0.65);
        }

        &>div:first-child {
            background-color: var(--primary-color);
        }

        & .open-blog-top-buttons-box {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 115px;
            position: fixed;
            padding-left: 78px;
            left: 0;
            padding-top: 17px;
            padding-bottom: 17px;
            width: calc(100% - 253px);
            transition: all 0.12s ease-in;

            &.scrolling {
                width: 100%;
                padding-right: 78px;
                background-color: rgba(0, 0, 0, 0.6);
            }

            & .open-blog-top-close-button {
                width: 179px;
                height: 54px;
                border-radius: 40px;
                margin-right: 1px;
                color: #fff;
                font-size: 16px;
                font-weight: 500;
                padding-left: 28px;
                padding-right: 6px;
                display: flex;
                align-items: center;
                justify-content: space-between;
                border: 2px solid rgba(255, 255, 255, 0.3);
                transition: all 0.12s ease-in;

                &:hover {
                    cursor: pointer;
                    border: 2px solid #fff;
                }


                & .open-blog-top-close-button-icon {
                    width: 40px;
                    height: 40px;
                    border-radius: 40px;
                    background-color: rgba(255, 255, 255, 0.1);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                }
            }

            & .open-blog-top-arrows-box {
                display: flex;
                gap: 10px;
                width: fit-content;
                position: relative;
            }

            & .open-blog-top-arrow {
                width: 56px;
                height: 56px;
                border-radius: 40px;
                display: flex;
                justify-content: center;
                align-items: center;
                cursor: pointer;
                border: 2px solid rgba(255, 255, 255, 0.3);
                transition: all 0.12s ease-in;

                &:hover {
                    cursor: pointer;
                    border: 2px solid #fff;
                }

                &.open-blog-top-arrow-previous>img {
                    transform: rotate(180deg);
                }

                & .open-blog-top-arrow-img {
                    width: 18px;
                    height: 14px;
                    cursor: pointer;
                }

            }

            & .open-blog-top-arrow-text {
                position: absolute;
                top: 17px;
                width: max-content;
                left: 130px;
                font-size: 16px;
                font-weight: 500;
                color: #fff;
            }
        }


        & .open-blog-top-sticker-box {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            height: 31px;
            overflow-y: hidden;
            margin-bottom: 34px;

            & .ital-information-category-sticker {
                min-width: 133px;
                height: 31px;
                background-color: rgba(255, 255, 255, 0.5);
                border: 1px solid white;
                border-radius: 40px;
                display: flex;
                justify-content: center;
                align-items: center;
            }
        }

        & .open-blog-top-title-box {
            padding-top: 188px;

            & .open-blog-top-title {
                font-weight: 600;
                font-size: 32px;
                color: white;
                overflow: hidden;
                margin-bottom: 28px;
                line-height: 36px;
                height: 74px;

                word-break: break-word;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
                line-clamp: 2;
            }
        }

        & .ital-information-item-date-box {
            border-top: 1px solid #fff;
            padding-top: 15px;
            display: flex;
            gap: 316px;

            & .ital-information-item-date-text {
                color: #fff;
            }
        }
    }

    & .open-blog-bottom-content {
        min-height: calc(100% - 300px);
        height: fit-content;
        background-color: white;

        padding-left: 78px;
        padding-right: 224px;
        padding-top: 30px;
        padding-bottom: 30px;
        letter-spacing: -0.19px;
    }

    & .open-blog-bottom-socials {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 41px;

        & .open-blog-bottom-social-item {
            filter: brightness(0) saturate(100%) invert(97%) sepia(1%) saturate(1250%) hue-rotate(194deg) brightness(107%) contrast(63%);
            height: 30px;
            width: 30px;

            &:hover {
                filter: var(--primary-color-filter);
            }
        }
    }

    & .open-blog-bottom-short-description {
        font-style: italic;
        font-size: 18px;
        line-height: 22px;
        margin-bottom: 49px;
    }

    & .open-blog-scrollable-container {
        height: 100%;
        overflow-y: scroll;
        overflow-x: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
}

.ital-information-item {
    & .ital-information-item-date-page-link {
        display: flex;
        justify-content: space-between;

        & .ital-information-item-date-box {
            display: flex;
            gap: 7px;
            
            & .ital-information-item-date-text {
                font-size: 14px;
            }
        }

        & .ital-information-item-go-to-page {
            padding: 2px;
            text-decoration: underline;
            text-underline-offset: 2px;
            font-size: 14px;


            &:hover {
                cursor: unset;
                color: white;
            }
        }
    }
}

@media(max-width: 1440px) {

    .open-blog-main-box {
        & .open-blog-bottom-content {
            padding-right: 15px;
            padding-left: 15px;
            padding-top: 20px;
            padding-bottom: 20px;
        }
    }
}

@media(max-width:1024px) {

    .news .news-box,
    .ital-news-information-open-box .open-blog-top-arrow .open-blog-top-arrow-text {
        display: none;
    }

    .news .news-mobile-box,
    .ital-news-information-open-box .open-blog-top-arrow:hover .open-blog-top-arrow-text {
        display: block;
    }

    .ital-news-main-block .news-mobile-information-box.active {
        display: flex;
    }


    .news .ital-information-item-title {
        word-break: break-word;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }

    .open-blog-top-title {
        word-break: break-word;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }

    .news .ital-news-main-block {
        min-width: 100%;
        width: 100%;
        max-width: 100%;
    }

    .news .ital-news-main-block .news-title {
        color: #fff;
        font-size: 18px;
        width: 100%;
        text-align: center;
        margin-bottom: 32px;
        font-weight: 600;
    }

    .news-mobile-box .ital-news-switch-box .ital-news-switch-item.active {
        background-color: #fff;
        color: var(--primary-color);
        font-size: 13px;
        font-weight: 700;
    }

    .ital-news-main-block .news-mobile-box .news-mobile-information-box {
        width: 87.5%;
        margin: 0 auto;
        margin-bottom: 40px;
    }

    .veil .news {
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
        padding-top: 34px;
        padding-bottom: 217px;
    }

    .ital-news-main-block .news-mobile-box .ital-news-switch-box {
        transform: translateX(-1px);
    }

    .ital-information-item .ital-information-item-sub-box .ital-information-item-arrow {
        background: url(../../image/ital/arrow.png) no-repeat center center;
        background-size: cover;
    }

    .news-mobile-box .news-mobile-information-box .ital-information-item:after {
        content: "";
        position: absolute;
        width: 100vw;
        height: 1px;
        bottom: -20px;
        background: #626d9b;
        left: -6.25vw;
    }

    .news-mobile-box .news-mobile-information-box .ital-information-item:last-child:after {
        content: unset;
    }

    .news .ital-news-main-block .news-button {
        height: 56px;
    }

    .ital-news-main-block .news-button .news-button-text {
        padding-top: 1px;
        padding-right: 4px;
    }

    .ital-news-main-block .news-button .news-button-arrow-box {
        right: 6px;
    }



    .news-mobile-box .ital-information-category-sticker-text-wrapper {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin: 0 10px;
    }

    .news-mobile-information-box .ital-information-item .ital-information-img-link {
        aspect-ratio: 420 / 211;
        height: auto;
    }

    .ital-news-information-open-box .open-blog-main-box:not(.active) {
        transform: translateX(959px);
        transition: all 0.23s ease-in;
        visibility: hidden;
    }

    .ital-news-information-open-box .open-blog-main-box.active {
        transition: all 0.23s ease-in;
        transform: translateX(0);
        visibility: visible;
        height: 100%;
    }

    .ital-news-information-open-box .open-blog-main-box {
        display: block;
    }

    /* .veil .open-blog-main-box .open-blog-bottom-content {
        padding-bottom: 37px;
        height: calc(100% - 307px);
    } */

    .open-blog-main-box .open-blog-bottom-content .open-blog-bottom-description h2 {
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 0;
        margin-bottom: 19px;
    }

    .open-blog-main-box .open-blog-bottom-content .open-blog-bottom-description p,
    .open-blog-main-box .open-blog-bottom-content .open-blog-bottom-description ul li {
        font-size: 12px;
        line-height: 20px;
        word-spacing: 0.8px;
        margin-bottom: 20px;
        letter-spacing: 0;
        font-weight: 500;
    }

    .open-blog-main-box .open-blog-bottom-content .open-blog-bottom-description ul li {
        text-indent: 17px;
        word-spacing: 6.7px;
    }

    .open-blog-main-box .open-blog-bottom-content .open-blog-bottom-description ul li::before {
        left: 1px;
        top: 11px;
    }

    /* .open-blog-main-box .open-blog-bottom-content::-webkit-scrollbar {
        width: 0;
        height: 0;
    } */




    .open-blog-main-box {
        /* border-right: 10px solid transparent; */

        /* background-color: white; */
        border-top-left-radius: unset;
        width: 100%;
        height: 100%;

        & .open-blog-top-box {
            height: 307px;
            border-top-left-radius: unset;
            padding-left: 15px;
            padding-right: 15px;
            height: 307px;

            position: relative;

            & .open-blog-top-buttons-box {
                margin-bottom: 115px;
                padding-right: 15px;
                padding-left: 15px;
                width: 100%;

                &.scrolling {
                    padding-right: 15px;
                }

                & .open-blog-top-close-button {
                    width: 148px;
                    height: 45px;
                    font-size: 14px;
                    padding-left: 22px;
                    padding-right: 5px;

                    & .open-blog-top-close-button-icon {
                        width: 33px;
                        height: 33px;
                    }
                }

                & .open-blog-top-arrow {
                    width: 45px;
                    height: 45px;

                    & .open-blog-top-arrow-img {
                        width: 15px;
                        height: 11px;
                    }
                }

                & .open-blog-top-arrow-text {
                    display: none;
                }
            }


            & .open-blog-top-sticker-box {
                margin-bottom: 26px;
            }

            & .open-blog-top-title-box {
                padding-top: 134px;

                & .open-blog-top-title {
                    font-size: 18px;
                    margin-bottom: 17px;
                    line-height: 24px;
                    height: 48px;
                }
            }

            & .ital-information-item-date-box {
                border-top: 1px solid #fff;
                padding-top: 10px;
                gap: 0;
                justify-content: space-between;

                & .ital-information-item-date-text {
                    color: #fff;
                }
            }
        }

        & .open-blog-bottom-socials {
            gap: 12px;
            margin-bottom: 26px;

            & .open-blog-bottom-social-item {
                height: 36px;
                width: 36px;
            }
        }

        & .open-blog-bottom-short-description {
            font-size: 16px;
            line-height: 20px;
            letter-spacing: -0.13px;
            margin-bottom: 36px;
        }

        & .blog-custom-scrollbar {
            display: none;
        }
    }

    .go-to-button {
        &.mobile-version {
            margin: auto;

            &.news-button {
                display: none;

                &.active {
                    display: flex;
                }
            }

            &.blogs-button {
                display: none;

                &.active {
                    display: flex;
                }
            }
        }
    }
}

@media(min-width: 800px) and (max-width:1024px) {
    .news-mobile-box .news-mobile-information-box .ital-information-item {
        width: 48%;
    }

    .ital-news-main-block .news-mobile-box .news-mobile-information-box {
        width: 90%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .veil .news {
        min-height: auto;
    }

    .news-mobile-box .news-mobile-information-box .ital-information-item:nth-last-child(2):after {
        content: unset;
    }
}

@media(min-width: 930px) and (max-width:1024px) {
    .veil .open-blog-main-box .open-blog-bottom-content {
        height: calc(100vh - 307px);
    }

    .news .ital-news-main-block .news-title {
        font-size: 22px;
    }
}

@media(min-width: 1025px) and (max-width: 1412px) {
    .news .ital-news-main-block {
        width: 1200px;
        min-width: unset;
        max-width: unset;
    }

    .news .ital-news-main-block .news-box {
        justify-content: center;
        column-gap: 16px;
        width: 100%;
    }

    .ital-news-main-block .news-box .custom-fade {
        position: relative;
        width: 24%;
        margin: 0px;
    }

    .news-box {
        & .news-and-blogs-wrapper {
            & .news-results-wrapper {
                justify-content: center;

                &::before {
                    border-right-width: 0px;
                }
            }

            & .blogs-results-wrapper {
                justify-content: center;
                margin-left: 0;

                &::before {
                    border-right-width: 0px;
                }
            }

            & .blogs-results-wrapper,
            & .news-results-wrapper {
                & .news-block:nth-child(1) {
                    border-top-left-radius: 0px;
                }

                & .news-block:nth-child(2) {
                    border-top-right-radius: 0px;
                }
            }


            & .news-desktop-wrapper {
                &::before {
                    right: 50%;
                }
            }
        }
    }

    /* .ital-news-main-block .news-box .news-block-fade {
        width: 100%;
    } */

    .news-box>div::before {
        content: unset;
    }

    .ital-news-main-block .news-box .news-block {
        width: 91%;
    }

    .news-box>div:nth-child(1)::before,
    .news-box>div:nth-child(2)::before,
    .news-box>div:nth-child(3)::before {
        width: calc(100% + 9px);
    }

    #news_anchor.news {
        min-height: fit-content;
        padding-bottom: 203px;
    }
}

@media(min-width: 1025px) and (max-width: 1200px) {
    .news .ital-news-main-block {
        width: 1024px;
        min-width: unset;
        max-width: unset;
    }

    .news-box>div:nth-child(1)::before,
    .news-box>div:nth-child(2)::before,
    .news-box>div:nth-child(3)::before {
        content: none;
    }

    .news-box>div:nth-child(3) .news-block {
        border-top-right-radius: 40px;
    }

    .news-box>div:nth-child(4) .news-block {
        border-radius: unset;
        border-bottom-left-radius: 40px;
    }

    .news-box>div:nth-child(5) .news-block {
        border-radius: unset;
    }

    .news-box .news-block-fade {
        transform: unset;
    }

    .ital-news-main-block .news-box .news-block-fade {
        transform: translateY(100px) translateX(0);
        opacity: 0;
        transition: all 2s ease;
    }

    .ital-news-main-block .news-box .news-block-fade.visible {
        transform: unset;
        opacity: 1;
    }
}