.ultimasNoticias{
    display: flex;
    grid-column: span 4;
    grid-row: span 4;
    border-radius: 20px;
    padding: 24px;
    flex-direction: column;
    background-color: white;
    gap: 15px;
}
.ultimasNoticias header {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}
.ultimasNoticias header h2{
    font-size: 18px;
    color: #4A4A4A;
    font-family: "NunitoSans-Black";
    text-transform: uppercase;
    white-space: nowrap;
}

.last-news-h3 {
    font-family: "NunitoSans-Bold";
    text-transform: uppercase;
    font-size: 12px;
}
.ultimasNoticias header .row {
    width: 215px;
    height: 1px;
    background-color: #C4C4C4;
}
.ultimasNoticias header > a{
    border-radius: 20px;
    border: 2px solid #B7B7B7;
    padding: 10px 20px;
    color: #B7B7B7;
    font-family: "NunitoSans-ExtraBold";
    font-size: 16px;
    white-space: nowrap;
}
.ultimasNoticias .ultimasNoticias-wrapper{
    display: flex;
    width: 100%;
    gap: 20px;
}
.ultimasNoticias .ultimasNoticias-wrapper figure{
    width: 190px;
    height: 125px;
}
.ultimasNoticias .ultimasNoticias-wrapper figure img{
    width: inherit;
    height: inherit;
    border-radius: 20px;
    object-fit: cover;
}
.ultimasNoticias .ultimasNoticias-wrapper .ultimasNoticias-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}
.ultimasNoticias .ultimasNoticias-wrapper .ultimasNoticias-text h2{
    font-size: 18px;
    line-height: 22px;
    font-family: "NunitoSans-Black";
    color: #4A4A4A;
}
@media (max-width:1024px){
    .ultimasNoticias{
        grid-column: span 2;
        padding: 20px;
        gap: 20px;
    }
    .ultimasNoticias header{
        justify-content: space-between;
    }
    .ultimasNoticias .ultimasNoticias-wrapper {
        align-items: center;
    }
    .ultimasNoticias header .row {
        display: none;
    }
    .ultimasNoticias header h2 {
        font-size: 16px;
    }
    .ultimasNoticias header > a {
        border: 2px solid #B7B7B7;
        font-size: 14px;
    }
    .ultimasNoticias .ultimasNoticias-wrapper .ultimasNoticias-text{
        margin-top: unset;
        height: 120px;
        gap: 5px;

    }
    .ultimasNoticias .ultimasNoticias-wrapper .ultimasNoticias-text h2 {
        font-size: 16px;
        line-height: 20px;
        padding: 0 5px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        -webkit-line-clamp: 4;
    }
    .ultimasNoticias .ultimasNoticias-wrapper figure {
        width: 115px;
        height: 120px;
    }
    .ultimasNoticias-text .chapeu-widget{
        font-size: 11px !important;
        padding: 5px 5px !important;
    }
}
@media (max-width:1024px){
.ultimasNoticias .ultimasNoticias-wrapper figure img{
    max-width: 130px !important;
    max-height: 120px !important;
}
}

@media (max-width:500px){
    .last-news-h2 {
        font-size: 20px !important;
    }

    .last-news-wrapper {
        flex-direction: column !important;
    }

    .header-line {
        display: none;
    }

    .mais-lidas-btn {
        padding: 10px 10px !important;
    }

    .mais-lidas-btn a {
        font-size: 13px !important;
    }

    .mw-maisLidas-card {
        border-bottom: 1px solid gainsboro;
        padding-bottom: 10px;
    }
}