.news-list-header{
    margin-bottom: 24px;
}

@media(min-width: 768px){
    .news-list-header{
        margin-bottom: 40px;
    }
}
.news-list-more{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.005em;
    color: var(--heading-color);
    text-decoration: none;
    white-space: nowrap;
}

.news-list-more:hover svg{
    stroke: var(--primary-color);
}

.news-item{
    position: relative;
    display: inline-block;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    margin-bottom: 28px;
}

@media(min-width: 992px){
    .news-item{
        padding-top: calc(83.1%);
        margin-bottom: 0px;
    }
    .news-item:before{
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        display: inline-block;
        width: 100%;
        height: 100%;
        background: var(--heading-color);
        opacity: 0.5;
        transition: 0.2s;
    }
    .news-item:hover:before{
        display: none;
        transition: 0.2s;
    }
}

.news-item img{
    width: 100%;
    object-fit: cover;
    aspect-ratio: 3 / 2;
}

@media(min-width: 992px){
    .news-item img{
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        aspect-ratio: auto;
        z-index: -1;
    }
}

@media(min-width: 992px){
    .news-item-info{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding: 30px 16px;
    }
}

.news-item-date{
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    color: var(--secondary-color);
}

@media(min-width: 992px){
    .news-item-date{
        font-weight: 700;
        color: #fff;
    }
}

.news-item-name{
    font-size: 18px;
    font-weight: 400;
    line-height: 25px;
    color: var(--text-color);
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

@media(min-width: 992px){
    .news-item-name{
        font-weight: 700;
        color: #fff;
        margin-bottom: 0;
    }
}