.news_slider {
    padding: 118px 0 156px;
}

.news_slider .h2 {
    margin-bottom: 48px;
}

.news_all_slides {
    display: flex;
    justify-content: space-between;
}

.news_slide {
    width: min-content;
    min-height: 464px;
    position: relative;
}

.news_slide_data {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #818181;
    margin: 24px 0 8px;
}

.news_slide_title {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #333;
    line-height: 130%;
}

.news_slide_picture {
    border-radius: 4px;
}

.news_link {
    opacity: 0;
    transition: 0.3s;
}

.news_slide:hover .news_link {
    opacity: 1;
}

.news_link {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    position: absolute;
    bottom: 0;
}

.news_link:before {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0px;
    left: 0;
    background-color: var(--yellow);
    transition: width 0.3s ease-out;
}

.news_link:hover:before {
    width: 100%;
}

/*для скролла*/

.news_all_slides {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 16px;
}

.news_all_slides::-webkit-scrollbar {
    display: none;
}

.news_slide {
    flex: 0 0 auto;
}

/*АДАПТИВ*/

@media screen and (max-width: 1500px) {
    .news_all_slides {
        justify-content: normal;
        gap: 20px;
    }
}

@media screen and (max-width: 1250px) {
}

@media screen and (max-width: 950px) {
}

@media screen and (max-width: 650px) {
}
