/* Homepage: existing and future cards in this Blog Posts element only. */
#top .bv-ultimos-artigos .slide-entry .slide-image {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    padding: 0;
    overflow: hidden;
}
#top .bv-ultimos-artigos .slide-entry .slide-image > img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

/* Approved title ellipsis and mobile spacing; this section only. */
#top .bv-ultimos-artigos .slide-entry-title {
    min-width: 0;
}
#top .bv-ultimos-artigos .slide-entry-title > a {
    display: -webkit-box;
    max-width: 100%;
    white-space: normal;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}
}
#top .bv-ultimos-artigos .av-vertical-delimiter {
    display: none;
}
@media only screen and (max-width: 767px) {
    #top .bv-ultimos-artigos {
        --bv-card-gap: 24px;
        --bv-title-top-gap: 8px;
    }
    #top .bv-ultimos-artigos .slide-entry-wrap {
        margin-bottom: 0;
    }
    #top .bv-ultimos-artigos .slide-entry {
        margin-bottom: var(--bv-card-gap) !important;
    }
    #top .bv-ultimos-artigos .slide-entry-title {
        padding-top: var(--bv-title-top-gap);
        padding-bottom: 0;
        margin-bottom: 0;
    }
    #top .bv-ultimos-artigos .slide-entry-wrap:last-child .slide-entry:last-child {
        margin-bottom: 0 !important;
    }
}

/* Portrait phones only: replace the existing gap, never add to it. */
@media only screen and (max-width: 767px) and (orientation: portrait) {
    #top .bv-ultimos-artigos {
        --bv-card-gap: 40px;
        --bv-title-top-gap: 0px;
    }
    #top .bv-ultimos-artigos .blog-categories {
        display: block;
        top: 0 !important; /* Neutralize Enfold relative offset in portrait only. */
        line-height: 1.2;
        margin-top: 12px;
        margin-bottom: 8px;
    }
}
