.aeries-blog-container {
    display: flex;
    font-family: 'Nunito Sans', Nunito, Helvetica, Arial, Lucida, sans-serif;
    flex-wrap: wrap;
}

.aeries-blog-container h3,
.aeries-blog-container h2 {
    font-family: 'Nunito Sans', Nunito, Helvetica, Arial, Lucida, sans-serif;
    padding: 0;
    margin: 0;
}

.aeries-blog-container p {
    padding: 0;
    margin: 0;
}

.aeries-blog-container .latest-post {
    flex: 0.8;
    margin-right: 20px;
    /* background: linear-gradient(90deg, #1B304D 0.51%, #0C192D 99.94%); */
    color: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.aeries-blog-container .latest-post>a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: white;
    padding: 30px;
    height: 100%;
    justify-content: flex-end;
    position: relative;
    border-radius: 8px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.aeries-blog-container .latest-post-overlay {
    border-radius: 8px;
    opacity: 0.7;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, #000 100%);
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.aeries-blog-container .latest-post .latest-post-content {
    z-index: 2;
    display: flex;
    flex-direction: column;
}

/* .aeries-blog-container .latest-post .latest-post-image {
    overflow: hidden;
} */
/* .aeries-blog-container .latest-post>a {
    display: flex;
    flex: 1 0 auto;
} */

/* .aeries-blog-container .latest-post .latest-post-content {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    padding: 30px;
    gap: 16px;
} */

.aeries-blog-container .latest-post .latest-post-title {
    font-family: 'Aeries Sans Bold', Helvetica, Arial, Lucida, sans-serif;
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.aeries-blog-container .latest-post .latest-post-date {
    font-size: 16px;
    font-style: italic;
    margin: 0;
    margin-top: 5px;
    margin-bottom: 10px;
}

.aeries-blog-container .latest-post .latest-post-excerpt {
    font-family: 'Nunito Sans', Nunito, Helvetica, Arial, Lucida, sans-serif;
    color: white;
    font-size: 18px;
    line-height: 1.7em;
    margin: 0;
}

.aeries-blog-container .latest-post .latest-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0px 0px;
}

.aeries-blog-container .previous-posts {
    flex: 1.2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-content: space-between;
    gap: 20px;
}

.aeries-blog-container .previous-post {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 0px 45px -5px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.aeries-blog-container .previous-post .previous-post-date {
    font-size: 14px;
    font-style: italic;
    margin: 0;
}

.aeries-blog-container .previous-post .previous-post-title {
    font-family: 'Aeries Sans Bold', Helvetica, Arial, Lucida, sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    /* overflow: hidden; */
    text-overflow: ellipsis;
    max-width: 100%;
}

.aeries-blog-container .previous-post .previous-post-excerpt {
    font-family: 'Nunito Sans', Nunito, Helvetica, Arial, Lucida, sans-serif;
    font-size: 16px;
    line-height: 1.4em;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.aeries-blog-container .previous-post .previous-post-read {
    color: #BE212F;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.7em;
    text-decoration-line: underline;
}

.previous-post .column-1 {
    /* aspect-ratio: 4/3; */
    overflow: hidden;
    flex: 1;
    width: 100%;
}

.previous-post .column-1 img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.previous-post .column-2 {
    padding: 10px 20px;
    flex: .8;
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-evenly;
}

.previous-post .column-2 h2 {
    font-size: 24px;
    margin: 0;
}

.previous-post .column-2 p {
    margin: 0;
}

@media (min-width: 768px) and (max-width:1249px) {
    .aeries-blog-container {
        flex-direction: column;
    }

    .aeries-blog-container .latest-post {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .aeries-blog-container .latest-post .latest-post-content {
        padding: 15px;
    }

    .aeries-blog-container .previous-posts {
        gap: 20px;
    }

    .aeries-blog-container .previous-post .previous-post-title {
        font-size: 24px;
    }

    .aeries-blog-container .previous-post .previous-post-excerpt {
        font-size: 18px;
    }
    .aeries-blog-container .latest-post-overlay {
        opacity: .4;
        background: black;
    }
}

@media (max-width:767px) {
    .aeries-blog-container {
        flex-direction: column;
    }

    .aeries-blog-container .latest-post {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .aeries-blog-container .latest-post>a {
        padding: 30px 20px;
    }

    .aeries-blog-container .previous-posts {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }

    .aeries-blog-container .latest-post .latest-post-date{
        margin: 0;
    }

    /* .previous-post .column-1 {
        flex: 1.5;
    } */
    .aeries-blog-container .latest-post-overlay {
        opacity: .4;
        background: black;
    }

}