.news-block {
    padding: 60px 0px;
}
.news-block .wrapper {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}
.news-block .left-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 49%;
}
.news-block .left-side .news-item {
    height: 170px;
    display: flex;
    justify-content: space-between;
    background: white;
    width: 100%;
}
.news-block .left-side .news-item.hidden {
    display: none;
}
.news-block .left-side .img {
    min-width: 170px;
    width: 170px;
    height: 100%;
    display: flex;
    overflow: hidden;
}
.news-block .left-side .img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.news-block .left-side .right-side {
    display: flex;
    flex-direction: column;
    padding: 40px;
    gap: 10px;
    width: 80%;
}
.news-block .left-side .right-side .data {
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    color: var(--lText);
}
.news-block .left-side .right-side .name {
    font-size: 20px;
    font-weight: 700;
    line-height: 120%;
    transition: 0.3s;
}
.news-block .left-side .news-item:hover .name {
    color: var(--sec);
}
.news-block .block-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    border: 1px solid var(--main);
    font-size: 16px;
    font-weight: 600;
    padding: 19px;
}
.news-block .block-link:hover {
    background: var(--sec);
    color: white;
    border-color: var(--sec);
}
.news-block .main-new  {
    width: 50%;
}
.news-block .main-new .news-item {
    display: flex;
    flex-direction: column;
    transition: 0.3s;
    position: relative;
    height: auto;
    background: white;
}
.news-block .main-new .news-item .gallery {
    width: 100%;
    max-height: 410px;
    display: flex;
}
.news-block .main-new .news-item .gallery-wrapper {
    width: auto;
}
.news-block .main-new .news-item .gallery-img {
    box-sizing: border-box;
}
.news-block .main-new .news-item .gallery-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.news-block .main-new .bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 40px;
    background: white;
    height: auto;
}
.news-block .main-new .bottom-left {
    width: 75%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.news-block .main-new .bottom-left  .data {
    color: var(--lText);
    font-size: 14px;
}
.news-block .main-new .name {
    font-size: 22px;
    font-weight: 700;
    line-height: 135%;
    transition: 0.3s;
}
.news-block .main-new .news-item:hover .name {
    color: var(--sec);
}
.news-block .main-new .link {
    min-width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--main);
    transition: 0.3s;
}
.news-block .main-new .news-item:hover .link{
    background: var(--sec);
}
.news-block .main-new .news-item:hover .link {
    transform: rotate(45deg);
}
.news-block .main-new .category {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 40px;
    left: 40px;
    width: fit-content;
    color: white;
    font-size: 16px;
    font-weight: 400;
    z-index: 10;
    border-radius: 100px;
    padding: 10px 20px;
}
.news-block .main-new .category.news {
    background: var(--main);
}
.news-block .main-new .category.stocks {
    background: var(--sec);
}
.news-block .main-new .swiper-pagination {
    position: absolute;
    top: 50px;
    right: 40px;
    left: unset;
    display: flex;
    gap: 10px;
    width: fit-content;
    z-index: 12;
    height: 10px;
}
.news-block .main-new .swiper-pagination-bullet {
    height: 10px;
    margin: unset;
    background: white;
    width: 10px;
    border-radius: 50px;
    opacity: 1;
    transition: 0.3s;
}
.news-block .main-new .swiper-pagination-bullet:hover {
    background: var(--sec);
}
.news-block .main-new .swiper-pagination-bullet-active {
    width: 35px;
    background: var(--sec);
}


@media (max-width: 1600px) {
    .news-block .left-side .right-side {
        padding: 10px;
    }
}

@media (max-width: 1400px) {
    .news-block .left-side .right-side .name {
        font-size: 16px;
    }
    .news-block .main-new .name {
        font-size: 16px;
    }
    .news-block .main-new .bottom {
        padding: 15px;
    }
    .news-block .wrapper {
        gap: 20px;
    }
    .news-block .main-new .category {
        top: 10px;
        left: 10px;
    }
    .news-block .main-new .swiper-pagination {
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 996px) {
    .news-block .wrapper {
        flex-direction: column;
    }
    .news-block .left-side {
        width: 100%;
        order: 2;
    }
    .news-block .main-new {
        width: 100%;
        order: 1;
    }
}

@media (max-width: 600px) {
    .news-block .main-new .category {
        padding: 5px;
        font-size: 12px;
    }
    .news-block .main-new .bottom {
        flex-direction: column;
    }
    .news-block .main-new .bottom-left {
        width: 100%;
    }
    .news-block .main-new .link {
        margin-left: auto;
        width: 40px;
        min-width: 40px;
        height: 40px;
    }
    .news-block .block-link {
        padding: 10px;
    }
}

@media (max-width: 498px) {
    .news-block .left-side .news-item {
        flex-direction: column;
        height: auto;
    }
    .news-block .left-side .img {
        width: 100%;
        order: 2;
    }
    .news-block .left-side .right-side {
        width: 100%;
        order: 1;
    }
}