/* ==========================================================
   LATEST POSTS GRID
========================================================== */

.card-grid-row--latest-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}


/* ==========================================================
   WORDPRESS QUERY
========================================================== */

.latest-post-query {
    width: 100%;
    min-width: 0;
    max-width: none;

    display: flex;

    margin: 0 !important;
    padding: 0 !important;
}

.latest-post-query .wp-block-post-template,
.latest-post-query .wp-block-post-template > li,
.latest-post-query .wp-block-query-no-results {
    width: 100%;
    min-width: 0;

    display: flex;

    margin: 0 !important;
    padding: 0 !important;
}

.latest-post-query .wp-block-post-template {
    list-style: none;
}


/* ==========================================================
   LATEST POSTS – SPECIFIC
========================================================== */

.latest-post-card .wp-block-post-excerpt__excerpt {
    display: -webkit-box;
    overflow: hidden;

    -webkit-box-orient: vertical;

    line-clamp: 3;
    -webkit-line-clamp: 3;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 900px) {

    .card-grid-row--latest-posts {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }
}