@charset "UTF-8";

/*Typical Devices Breakpoints
-----------------------------
Pequenas telas: até 600px
Celular: 600px até 768px
Tablet: 769px até 992px
desktop: 993 até 1200px
Grandes telas: 1201px e acima
*/

.anuncio-google {
    width: 100%;
    height: min-content;
}

#carregarMaisNoticias {
    display: none;
}

#carregarMaisNoticiasLabel {
    width: fit-content;
    font-size: 20px;
    color: white;
    background-color: #25BD34;
    margin: auto;
    padding: 20px;
    display: block;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: #ffffff00;
    box-shadow: 5px 15px 18px #000000b7;
    border-radius: 15px;
}


#carregandoNoticias {
    width: fit-content;
    font-size: 20px;
    color: gray;
    margin: auto;
    padding: 0 0 20px 0;
    display: block;
}

#noticias {
    padding-top: 180px;
    padding-bottom: 40px;
    width: 80%;
    margin: auto;
}

#tituloNoticias {
    display: flex;
    gap: 10px;
    width: fit-content;
    color: #484848;
    background-color: #fff;
    padding: 12px 15px;
    align-items: center;
    font-weight: normal;
    font-size: 18px;
}

#noticiaMaisRecente .noticia, #outrasNoticias .noticia {
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: #ffffff00;
}

#noticiaMaisRecente {
    width: 100%;
    height: fit-content;
    display: block;
}

#noticiaMaisRecente > .noticia {
    margin: auto;
    height: fit-content;
    background-color: white;
    overflow: hidden;
    padding: 10px;
}

#noticiaMaisRecente img {
    width: 100%;
    height: auto;
}

#noticiaMaisRecente h1 {
    font-size: 16px;
    padding: 10px 0;
    text-align: justify;
    color: #2D2D2D;
}

#noticiaMaisRecente p {
    font-size: 14px;
    text-align: justify;
    color: #2D2D2D;
}

#noticiaMaisRecente .lerMais {
    font-size: 18px;
    color: #00A8FC;
    margin: 16px 0 6px 0;
}

#outrasNoticias {
    padding: 40px 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#outrasNoticias > .noticia {
    height: min-content;
    background-color: white;
    margin: auto;
    padding: 10px;
    overflow: hidden;
    position: relative;
}

#outrasNoticias img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    float: left;
}

#outrasNoticias h1 {
    font-size: 16px;
    padding: 10px 0;
    text-align: justify;
    color: #2D2D2D;
}

#outrasNoticias p {
    font-size: 14px;
    max-height: 3em;
    overflow: hidden;
    position: relative;
    text-align: justify;
    color: #2D2D2D;
}

#outrasNoticias .lerMais {
    font-size: 18px;
    color: #00A8FC;
    margin: 16px 0 6px 0;
}

@media screen and (max-width: 599px) {
    #outrasNoticias p::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 20px;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, white 100%);
    }
}


@media screen and (min-width: 600px) and (max-width: 768px) {
    #noticias {
        width: 499px;
    }

    #noticiaMaisRecente > .noticia {
        width: 100%;
    }
    
    #outrasNoticias > .noticia {
        width: 100%;
    }

    #outrasNoticias img {
        width: 200px;
        height: auto;
        margin-right: 10px;
        margin-bottom: 0px;
        float: left;
    }

    #outrasNoticias p {
        display: flex;
        max-height: 4em;
    }

    #outrasNoticias p::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 40px;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, white 100%);
    }

    #outrasNoticias .lerMais {
        font-size: 18px;
        color: #00A8FC;
        margin: 0px 0 4px 0;
    }
}

@media screen and (min-width: 769px) and (max-width: 992px) {
    #noticias {
        width: 600px;
    }

    #noticiaMaisRecente {
        width: 100%;
    }
    
    #noticiaMaisRecente > .noticia {
        width: 100%;
    }
    
    #noticiaMaisRecente img {
        width: 50%;
        height: auto;
        float: left;
        margin-right: 10px;
        margin-bottom: 0;
    }

    #noticiaMaisRecente h1 {
        font-size: 16px;
    }

    #noticiaMaisRecente p {
        font-size: 14px;
    }

    #noticiaMaisRecente .lerMais {
        margin: 6px 0 4px 0;
    }
    
    #outrasNoticias {
        width: 100%;
        padding: 40px 0 20px 0;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        margin: auto;
    }
    
    #outrasNoticias > .noticia {
        width: 193.34px;
        height: fit-content;
        background-color: white;
        margin: 0;
    }
    
    #outrasNoticias img {
        width: 100%;
        height: auto;
        float: unset;
        margin-bottom: 0;
    }
    
    #outrasNoticias h1 {
        font-size: 16px;
        height: 33px;
        max-height: 33px;
        overflow: hidden;
        padding: 0;
        margin: 10px 0;
        text-overflow: ellipsis;
        position: relative;
    }

    #outrasNoticias h1::after {
        content: "\00a0\00a0[...]"; /* Ou "[...]" */
        position: absolute;
        bottom: 0;
        right: 0;
        background: white; /* Defina a cor de fundo desejada */
    }
    
    #outrasNoticias p {
        font-size: 14px;
        height: max-content;
        max-height: 6em;
        position: relative;
        text-overflow: ellipsis;
    }

    #outrasNoticias p::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 20px;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, white 100%);
    }
}

@media screen and (min-width: 993px) {

    #carregarMaisNoticiasLabel {
        font-size: 1.5vw;
        padding: 1vw;
        box-shadow: 0.14vw 0.14vw 0.14vw #000000b7;
        border-radius: 0.8vw;
    }

    #noticias {
        padding-top: 15vw;
        padding-bottom: 5vw;
        width: 70vw;
        margin: auto;
    }

    #tituloNoticias {
        gap: 1vw;
        padding: 0.81vw 1.3vw;
        font-size: 1.5vw;
    }
    
    #noticiaMaisRecente > .noticia {
        width: 100%;
        padding: 1vw;
    }

    #noticiaMaisRecente img {
        width: 37vw;
        height: auto;
        float: left;
        margin-right: 1vw;
        margin-bottom: 0;
    }
    
    #noticiaMaisRecente h1 {
        font-size: 2.2vw;
        padding: 1vw 0;
    }
    
    #noticiaMaisRecente p {
        font-size: 1.3vw;
    }

    #noticiaMaisRecente .lerMais {
        font-size: 1.3vw;
    }
    
    #outrasNoticias {
        padding: 2vw 0 2vw 0;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(22.667vw, 1fr));
        gap: 1vw;
        width: 70vw;
        margin: auto;
    }
    
    #outrasNoticias > .noticia {
        width: 22.667vw;
        margin: 0;
        padding: 0.8vw;
    }
    
    #outrasNoticias img {
        width: 100%;
        height: auto;
        margin-right: 0;
        margin-bottom: 0vw;
        float: unset;
    }
    
    #outrasNoticias h1 {
        font-size: 1.2vw;
        height: 2.7vw;
        margin: 1vw 0;
        padding: 0;
        overflow: hidden;
        position: relative;
    }

    #outrasNoticias h1::after {
        content: "\00a0[...]"; /* Ou "[...]" */
        position: absolute;
        margin-top: 0.5vw;
        bottom: 0;
        right: 0;
        background: white; /* Defina a cor de fundo desejada */
    }
    
    #outrasNoticias p {
        font-size: 1.2vw;
        max-height: 8vw;
        position: relative;
    }
    
    #outrasNoticias p::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 4vw;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, white 100%);
    }

    #outrasNoticias .lerMais {
        font-size: 1.3vw;
    }
}