.news-content {
    overflow-x: hidden;
}

.news-content__title {
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 28px;
    margin: 0 0 1.25rem 0;
    padding: 0 1.25rem;
}

.news-post {
    min-height: 250px;
    padding: 0 1.25rem;
}

.news-post__info {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 0;
}

.news-post__title {
    font-family: "Alegreya Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    width: 70%;
}

.news-post__date {
    font-family: "Alegreya Sans", sans-serif;
    font-size: 18px;
    color: black;
    padding-right: 1.875rem;
}

.news-post__img {
    width: 15.625rem;
    height: 13.75rem;
    box-sizing: border-box;
    object-fit: contain;
    object-position: center;
    background: #F8F8F8;
    padding: 0.75rem;
    border-radius: 0.5rem;
    float: left;
    margin-right: 1.25rem;
}

.news-post__text {
    font-family: "Alegreya Sans", sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: black;
    background: #fff;
}

@media screen and (max-width: 700px) {

    .news-post__img {
        margin-right: 1rem;
    }
}
@media screen and (max-width: 768px){
    .news-content__title{
        font-size: 27px;
    }
    .news-post__title{
        font-size: 19px;
    }
    .news-post__date{
        font-size: 17px;
    }
    .news-post__text{
        font-size: 17px;
    }
}
@media screen and (max-width: 600px) {
    .news-post {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .news-post__date {
        padding-right: 0;
    }

    .news-post__img {
        width: 18.75rem;
        height: 15.625rem;
        object-fit: contain;
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .news-post__text {
        text-align: justify;
    }
}

@media screen and (max-width: 480px) {
    .news-content__title{
        font-size: 25px;
    }
    .news-post__info {
        flex-wrap: wrap;
    }

    .news-post__title {
        font-size: 18px;
        width: 100%;
    }

    .news-post__date {
        width: 100%;
        text-align: end;
        font-size: 16px;
        padding: 0.625rem 1.25rem 0 0;
    }

    .news-post__text {
        line-height:22px;
        font-size: 16px;
    }
}

@media screen and (max-width: 380px) {
    .news-content__title {
        text-align: center;
    }

    .news-post__title {
        text-align: center;
    }
}
