.news-block {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    flex: 2;
    margin-top: 2rem;
}
footer {
    display: flex;
    justify-content: center;
    align-items: center;
}
.content {
    margin: 150px 0px 90px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.news-block > .slider-container {
    width: 100%;
}
.container {
    max-width: 1400px;
}
.news-block > .text {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.thumbnail img {
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
.image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-block .image img {
    width: 85%;
    height: auto;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

h1, h4, .created_at {
    color: var(--Secondary-color-Dark-grey, #ffffff);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.created_at {
    font-size: 1rem;
    text-align: end;
}

.thumbnail-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /*gap: 2rem;*/
    height: 8rem;
    max-height: 10rem;
    margin: 2rem 0;
    width: calc(100% - 5rem);
    /*padding: 0 5rem;*/

}

.thumbnail {
    width: auto;
    height: 100%;
}
@media only screen and (max-width: 1440px) { 
    .container {
        max-width: 1400px;
        width: 98%;
    }
}
@media only screen and (max-width: 1024px) {
    .news-block {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }

    .news-block > .text {
        padding: 0 5%;
        width: calc(90%);
    }
    .image.main-image a {
        width: 80%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .news-block > .slider-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        align-content: center;
    }
}

@media only screen and (max-width: 768px) {
    .container > .container .image > img {
        width: 90%;
        height: auto;
    }

    .thumbnail-container {
        display: none;

    }
}

@media only screen and (max-width: 425px) {
    .container > .container {
        padding: 0 1rem;
        width: fit-content;
    }
}

@media only screen and (max-width: 375px) {
    .container > .container {
        padding: 0 1rem;
        width: fit-content;
    }
}