.news-post-grid {
    display: flex;
    justify-content: space-between;
}

.large-post {
    width: 50%;
}
.large-post-image{
    width: 100%;
    aspect-ratio: 8 / 5;
    object-fit: contain;
}
.large-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.large-post-content{
    margin: 15px 0;
}
.large-post-content h2 {
    font-size: 20px;
}

.small-posts-slider {
    width: 45%; 
}
.small-posts-slider a{
    display: flex !important;
    flex-direction: row;
}

.small-post {
    display: flex !important;
    margin-bottom: 20px;
}

.small-post-image {
    width: 40%;
}

.small-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.small-post-content {
    width: 60%;
    padding-left: 10px;
    display: flex;
    flex-direction: column;
}
.small-post-content h3 p{
    display: inline-flex;
}
@media (max-width: 1234px) {
    .large-post {
    width: 100%;
    }
    .small-posts-slider {
    width: 100%; 
    }
    .news-post-grid {
        flex-direction: column;
    }

    .small-posts {
        display: flex;
        flex-direction: row;
        overflow-x: scroll;
    }

    .small-post {
        width: 100%;
        flex: 0 0 auto;
    }
}

