@media (min-width: 767px) {
    .last-news-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        margin: -0.5rem -1.5rem -0.5rem -1.5rem;
        justify-content: flex-start;
    }

    .last-news-container.small {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

@media (min-width: 0px)  and (max-width: 766px) {
    .last-news-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        margin: -0.5rem -1.5rem -0.5rem -1.5rem;
        justify-content: center;
    }
}

/* Custom Bootstrap Card Style */
.last-news-container .card {
    border: none;
}

.last-news-container .card .card-body {
    padding: 1rem 0.5rem;
}
/* End of Custom Bootstrap Card Style */

.last-news-container .last-news-container-title {
    font-weight: 700;
    font-size: 24px;
    text-align: left;
}

.last-news-container .last-new-card {
    min-height: 380px;
    max-height: 380px;

    max-width: 370px;
    min-width: 370px;

    transition: box-shadow .3s;
    color: #000;
    text-decoration: none;
    margin: 0.5rem 1.5rem 0.5rem 1.5rem;
}

.last-news-container .last-new-card.small {
    min-height: 290px !important;
    max-height: 290px !important;

    max-width: 270px !important;
    min-width: 270px !important;
}

.last-news-container .last-new-card.hoverable:hover {
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.last-news-container .last-new-card .last-new-card-image {
    max-height: 248px;
    min-height: 248px;
    max-width: 369px;
    min-width: 369px;
}

.last-news-container .last-new-card .last-new-card-image.small {
    max-height: 181px !important;
    min-height: 181px !important;
    max-width: 270px !important;
    min-width: 270px !important;
}

.last-news-container .last-new-card .last-new-card-title {
    font-weight: 700;
    font-size: 20px;

    display: block; /* Fallback for non-webkit */
    display: -webkit-box;
    height: 48px; /* Fallback for non-webkit, line-height * 2 */
    -webkit-line-clamp: 2; /* if you change this, make sure to change the fallback line-height and height */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.last-news-container .last-new-card .last-new-card-excerpt {
    font-size: 12px;

    display: block; /* Fallback for non-webkit */
    display: -webkit-box;
    height: 58px; /* Fallback for non-webkit, line-height * 2 */
    -webkit-line-clamp: 3; /* if you change this, make sure to change the fallback line-height and height */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}