.news-list {
    display: flex;
    flex-direction: column;
    row-gap: 25px;
    align-items: center;
}

@media (min-width: 1024px) {
    .news-list {
        flex-direction: row;
        column-gap: 25px;
        margin: 0 30px;
    }
}

.news-list__item {
    position: relative;
    width: 280px !important;
    height: 235px !important;
    max-height: 100%;
    border-radius: 35px;
}

@media (min-width: 768px) {
    .news-list__item {
        width: 380px !important;
        height: 300px !important;
    }
}

.news-list__item--img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 1;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    border-radius: 35px 35px 50px 50px;
}

.news-list__item--heading {
    position: absolute;
    top: 35%;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: #F7F9FB;
    border-radius: 12px 12px 35px 35px;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 375px) {
    .news-list__item--heading {
        padding: 20px;
    }
}

@media (min-width: 768px) {
    .news-list__item--heading {
        top: 50%;
    }
}


.news-list__item--heading-title {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}

@media (min-width: 768px) {
    .news-list__item--heading-title {
        font-size: 18px;
    }
}

.news-list__item--heading-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-accent);
    text-decoration: none;
}

@media (min-width: 768px) {
    .news-list__item--heading-link {
        font-size: 18px;
    }
    
}

.news-list__item--heading-date {
    font-size: 14px;
    font-weight: 300;
    margin: 0;
}