.noticias {
    padding: 5% 10%;
    color: #14191f;
}

.all-section-noticas {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* gap: 20px; */
    box-sizing: border-box;
}

.main-noticias {
    width: 70%;
    padding-right: 20px;
    width: 100%;
}

.main-noticias > h1 {
    text-transform: uppercase;
}

.all-noticias {
    /* display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between; */
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    /* max-width: 1250px; */
    /* margin: 150px auto; */
    /* padding: 20px; */
    gap: 20px;
    /* margin-top: 30px; */
}

.noticia-main-card {
    display: flex;
    flex-direction: column;
    /* width: 270px; */
    /* max-width: 300px; */
    box-shadow: 0 0px 16px rgba(0, 0, 0, 0.2);
    /* width: 260px; */
    transition: transform 0.3s;
    margin-top: 20px;
    padding: 12px;
    box-sizing: border-box;
    transition: 0.5s;
}

.titulo {
    text-transform: uppercase;
}

.noticia-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* height: 100%; */
    flex: 1;
}

.ver-outras h3 {
    font-size: 1rem;
}

.ver-outras hr {
    margin: 12px 0;
    border: 1px solid #4ad35c;
}

.ver-outras {
    /* flex: 1; */
    width: 30%;
    /* height: 100vh; */
}

.noticia-categoria {
    text-decoration: none;
    color: #14191f;
    height: 100px;
    overflow: hidden;
    margin: 10px 0;
    display: flex;
    transition: 0.5s;
}

.noticia-categoria div h5,h4 {
    text-transform: uppercase;
}

.noticia-categoria:hover {
    box-shadow: 0 0px 16px rgba(0, 0, 0, 0.2);
}

.noticia-categoria img {
    height: 100px;
    width: 100px;
    object-fit: cover;
}

.noticia-categoria div {
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    margin-left: 10px;
    padding: 10px 0;
    font-size: 0.9rem;
}


@media (max-width: 1380px) {
    .noticia-main-card {
        flex-basis: 48%;
    }

    .main-noticias {
        width: 70%;
    }

    .ver-outras {
        width: 30%;
    }
}

@media (max-width: 980px) {
    .noticias {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .main-noticias {
        padding-right: 0;
        width: 100%;
        margin-bottom: 30px;
    }

    .all-section-noticas {
        flex-direction: column;
    }

    .ver-outras {
        width: 100%;
    }
}

@media (max-width: 730px) {
    .noticia-main-card {
        flex-basis: 100%;
        width: 100%;
    }
}
