.news-list{
    list-style: none;
    position: relative;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    padding: 0;
    margin: 0;
    z-index: 1;
}
.news-item{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    height: 100%;
    width: 100%;
    padding: 10px;
    border: 1px solid var(--theme-border-color);
    border-radius: 4px;
    transition: all 0.25s ease-in;
}
.news-item__body{
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.news-item__picture-wrap{
    display: block;
    aspect-ratio: 300/226;
}
.news-item__picture{
    height: auto;
    aspect-ratio: 300/226;
    object-fit: contain;
    border: none;
}
.news-item__price{
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    color: var(--theme-base-color);

    font-size: 14px;
    font-weight: 700;
    line-height: 16.41px;
}
.news-item__price *{
    white-space: nowrap;
}
.news-item__button{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 13px 20px;
    background-color: var(--theme-bottom-color);;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid transparent;
    border-radius: 4px;
    text-align: center;
}
.news-item:hover, .news-item:focus-visible{
    border-color: var(--theme-color-primary);
}
.news-item__label{
    position: absolute;
    font-size: 14px;
    font-weight: 700;
    line-height: 14.06px;
    padding: 4px 8px;
    text-transform: initial;
    border-radius: 40px;
    color: var(--theme-base-color);
    background-color: #FFD8D0;
    z-index: 2;
}
@media (min-width: 380px) {
    .news-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 768px) {
    .news-list{
        grid-template-columns: repeat(3, 1fr);
    }
    .news-item__price{
        font-size: 16px;
        font-weight: 700;
        line-height: 18px;
    }
}
@media (min-width: 1024px) {
    .news-list{
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    .news-item__price{
        font-size: 20px;
        font-weight: 700;
        line-height: 23.44px;
    }
}
@media (min-width: 1600px) {
    .news-list{
        grid-template-columns: repeat(6, 1fr);
    }
}
