.news-container {
    padding:0px 20px;
    max-width: var(--max-screen-width);
    margin: 0 auto;
}
.news-container h3 {
    text-align: center;
    margin-bottom: 25px;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: dense;
    grid-auto-rows: 300px;
    gap: 20px;
    /*padding-inline-end: 20px;*/
}

.news-item-1 {
    grid-column: 1;
    grid-row: auto / span 2;
}
.hidden-news {
    display:none;
}

.news-meer-wrapper {
    max-width: var(--max-screen-width);
    margin:0 auto;
    text-align:center;
    padding-bottom:20px;
    padding-top:20px;
}

.news-item {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    cursor:pointer;
    min-height:300px;
}

.news-item:hover .news-bg {
    transform: scale(1.1);
}

.news-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
    z-index: 1;
}

.news-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(
                    to bottom,
                    rgba(0,0,0,0.25) 0px,
                    rgba(0,0,0,0.05)   50px
            ),
            linear-gradient(
                    to top,
                    rgba(0,0,0,0.25) 0px,
                    rgba(0,0,0,0.05)   50px
            );
    z-index: 2;
    pointer-events: none;
}



.news-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    height: 100%;
    align-items: center;
    color: var(--color-wit);
    text-transform: uppercase;
}

.news-tag {
    margin-bottom: 1rem;
    font-size: var(--font-size-tag);
}

.news-title {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: var(--font-size-h3);
    max-width:80%;
    line-height:1.1;
}

.news-link {
    margin-top: auto;
    font-size: var(--font-size-p-caps);
}

.news-link a {
    color:inherit;
    text-decoration:none;
}

@media (max-width: 1260px) {
    .news-container {
        /*padding:100px 20px 60px 20px;*/
    }
}


@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .news-item {
        grid-row: auto;
    }
}
