@import url(reset.css);

/* =========================================================
   PRINCIPAL
========================================================= */

.principal {
    position: relative;

    width: 100%;
    height: 400px;

    margin: 60px auto 0;

    overflow: hidden;
}


/* =========================================================
   IMAGEM
========================================================= */

.principal .img {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;
}


/* =========================================================
   IMAGEM
========================================================= */

.principal .img img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================================================
   OVERLAY / DEGRADÊ
========================================================= */

.principal .img::after {
    content: "";

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    background: linear-gradient(
        to bottom,
        rgba(12, 52, 73, 0.05) 0%,
        rgba(14, 27, 54, 0.9) 100%
    );

    z-index: 1;

    pointer-events: none;
}


/* =========================================================
   CONTEÚDO
========================================================= */

.principal .conteudo {
    position: absolute;
    text-align: center;

    z-index: 2;

    left: 0;
    bottom: 0;

    width: 100%;

    padding: 40px 8%;

    box-sizing: border-box;

    color: var(--corBranca);
}


/* =========================================================
   TÍTULO
========================================================= */

.principal .conteudo h2 {
    margin: 0 0 5px;

    color: var(--corBranca);

    font-size: var(--esp-1);
    line-height: 1.2;

    font-weight: var(--peso-1);
}


/* =========================================================
   TEXTO
========================================================= */


.principal .conteudo p {
    max-width: 650px;

    margin: 0 auto;

    color: var(--corBranca);

    font-size: .8rem;
    line-height: 1.3;

    font-weight: var(--peso-3);

    text-align: center;
}


/* =========================================================
   DESTAQUE
========================================================= */

.destaque {
    width: 100%;

    min-height: 330px;

    padding: 80px 55px;

    box-sizing: border-box;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #d9d9d9;
}


/* =========================================================
   BLOCO CENTRAL
========================================================= */

.destaque .conteudos {
    width: 80%;
    max-width: 1100px;

    min-height: 310px;

    padding: 3px ;

    box-sizing: border-box;

    display: grid;

    grid-template-columns: 50% 50%;

       align-items: center;
    background: var(--corBranca);

}


/* =========================================================
   ÁREA DA IMAGEM
========================================================= */

.destaque .imagem {
    width: 100%;
    height: 280px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    
}


.destaque .imagem img {
    width: 460px;
    height: 300px;

    display: block;

    object-fit: cover;


}


/* =========================================================
   CONTEÚDO
========================================================= */

.destaque .conteudo {
    padding: 8px 30px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;
}


/* =========================================================
   TÍTULO PRINCIPAL
========================================================= */

.destaque .conteudo h2 {
    margin: 0 0 60px;

    color: var(--corPrincipal);

    font-size: var(--esp-5);

    font-weight: var(--peso-1);
}


/* =========================================================
   TÍTULO DO ARTIGO
========================================================= */

.destaque .conteudo h3 {
    margin: 0 0 4px;

    color: var(--corPrincipal);

    font-size: 1.2rem;

    font-weight: var(--peso-2);
}


/* =========================================================
   DATA / CATEGORIA
========================================================= */

.destaque .conteudo span {
    margin-bottom: 20px;

 color: var(--corPrincipal);

    font-size: .7rem;
     font-weight: var(--peso-3);

    font-style: italic;
}


/* =========================================================
   DESCRIÇÃO
========================================================= */

.destaque .conteudo p {
    max-width: 600px;

    margin: 0 0 8px;

  color: var(--corPrincipal);

    font-size: var(--esp-7);
     font-weight: var(--peso-3);

    line-height: 1.3;
}


/* =========================================================
   LINK
========================================================= */

.destaque .conteudo a {
    padding: 0;

    color: var(--corPrincipal);

    background: transparent;

    border: none;

    font-size: .7rem;

    font-weight: var(--peso-1);

    text-decoration: none;

    transition: .3s ease;
}

.destaque .conteudo a[hidden] {
    display: none !important;
}


.destaque .conteudo a:hover {
    text-decoration: underline;
}

/* =========================================================
   NOTÍCIAS
========================================================= */

.noticias {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 70px;
    box-sizing: border-box;
}

/* =========================================================
   FILTRO
========================================================= */

.filtro {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 15px;
}


/* =========================================================
   PESQUISA
========================================================= */

.pesquisa {
    width: 40%;
    height: 38px;

    display: flex;
    align-items: center;

    background: #fff;

    border: 1px solid #ddd;
    border-radius: 25px;

    overflow: hidden;
}


/* =========================================================
   INPUT
========================================================= */

.pesquisa input {
    flex: 1;

    width: 100%;
    height: 100%;

    padding: 0 20px;

    border: none;
    outline: none;

    background: transparent;

    color: #1d3056;

    font-family: inherit;
    font-size: .8rem;
    font-weight: 300;
}


/* =========================================================
   BOTÃO
========================================================= */

.pesquisa button {
    width: 120px;
    height: 34px;

    margin-right: 3px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 0;

    border: none;
    border-radius: 25px;

    background: #1d3056;
    color: #fff;

    font-family: inherit;
    font-size: .8rem;
    font-weight: 300;

    cursor: pointer;

    transition: .3s ease;
}

.pesquisa button:hover {
    background: #3798CA;
}


/* =========================================================
   ÍCONE
========================================================= */

.pesquisa button img {
    width: 10px;
    height: 10px;

    object-fit: contain;
}


/* =========================================================
   SELECT
========================================================= */

.destaque .titulo-mobile-destaque {
    display: none;
}

.filtro-linha {
    display: flex;
    align-items: center;
    width: 25%;
    height: 38px;
}

.filtro-linha .label-filtro {
    display: none;
}

.filtro-linha .select-personalizado {
    width: 100%;
}

.select-personalizado {
    width: 25%;
    height: 38px;

    flex-shrink: 0;
}


/* =========================================================
   SELECT
========================================================= */

.select-personalizado select {
    width: 100%;
    height: 100%;

    padding: 0 20px;

    border: 1px solid #ddd;
    border-radius: 25px;

    outline: none;

    background: #fff;

    color: #1d3056;

    font-family: inherit;
    font-size: .9rem;
    font-weight: 300;

    cursor: pointer;
}


/* =========================================================
   ARTIGOS / NOTÍCIAS
========================================================= */

.livros {
    width: 90%;
    margin: 20px 0;
    padding: 0;
}


/* =========================================================
   LISTA DE NOTÍCIAS
========================================================= */

.livros .lista-livros {
    width: 100%;
    margin: 0 auto 30px;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 30px 22px;
}

.livros .lista-vazia {
    grid-column: 1 / -1;
    margin: 0;
    padding: 24px;
    color: var(--corPrincipal);
    text-align: center;
}


/* =========================================================
   CARD DA NOTÍCIA
========================================================= */

.livros .livro {
    width: 100%;
    overflow: hidden;

    background: #F5F6F7;

    transition: .3s ease;
}

.livros .livro.oculto {
    display: none !important;
}


/* =========================================================
   HOVER DO CARD
========================================================= */

.livros .livro:hover {
    transform: translateY(-3px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, .12);
}


/* =========================================================
   IMAGEM
========================================================= */

.livros .livro > img {
    width: 100%;
    height: 220px;

    display: block;

    margin: 0;

    object-fit: cover;
}


/* =========================================================
   DATA / CATEGORIA
========================================================= */

.livros .categoriaAno {
    width: 100%;

    padding: 5px 20px 5px;

    display: flex;
    align-items: center;
}


/* =========================================================
   TEXTO DA DATA
========================================================= */

.livros .categoriaAno p {
    margin: 0;

    color: var(--corPrincipal);

    font-size: .6rem;
    font-weight: var(--peso-2);

    line-height: 1.3;

    font-style: italic;
}


/* =========================================================
   CONTEÚDO
========================================================= */

.livros .livro .conteudo {
    padding: 5px 20px 20px;
}


/* =========================================================
   TÍTULO
========================================================= */

.livros .livro .conteudo h4 {
    margin: 0 0 8px;

    color: var(--corPrincipal);

    font-size: var(--esp-6);
    font-weight: var(--peso-1);

    line-height: 1.2;
}


/* =========================================================
   DESCRIÇÃO
========================================================= */

.livros .livro .conteudo p {
    margin: 0 0 8px;

    color: var(--corPrincipal);

    font-size: .72rem;
    font-weight: 400;

    line-height: 1.4;
}


/* =========================================================
   LINK — LER ARTIGO
========================================================= */

.livros .livro .conteudo a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 5px;

  color: var(--corPrincipal);

    text-decoration: none;

    font-size: .7rem;
    font-weight: 600;

    transition: .3s ease;
}


/* =========================================================
   SETA
========================================================= */

.livros .livro .conteudo a img {
    width: 10px;
    height: 10px;

    display: block;

    object-fit: contain;
}


/* =========================================================
   HOVER DO LINK
========================================================= */

.livros .livro .conteudo a:hover {
    color: #3798CA;

    transform: translateX(3px);
}
/* =========================================================
   PAGINAÇÃO
========================================================= */

.paginacao {

    width: 100%;

    margin-top: 2F0px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 10px;

}


/* =========================================================
   CONTADOR
========================================================= */

.contador-paginacao {

    color: var(--corPrincipal);

    font-size: 1.2rem;

    font-weight: 500;

    line-height: 1;
}


/* =========================================================
   BOTÕES
========================================================= */

.paginacao-botoes {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

}


/* =========================================================
   BOTÃO DAS SETAS
========================================================= */

.paginacao button {

    width: 40px;

    height: 40px;

    padding: 0;

    margin: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border: none;

    outline: none;

    border-radius: 50%;

    background-color: var(--corPrincipal);

    cursor: pointer;

    transition:
        background-color .3s ease,
        transform .2s ease;

}


/* =========================================================
   ÍCONE
========================================================= */

.paginacao button img {

    width: 10px;
    height: 10px;

    display: block;

    object-fit: contain;

    background: transparent;

    filter: brightness(0) invert(1);

    transition: transform .3s ease;
}

/* =========================================================
   SETA ANTERIOR
========================================================= */

.pagina-anterior img {

    transform: rotate(180deg);

}


/* =========================================================
   SETA PRÓXIMA
========================================================= */

.pagina-proxima img {

    transform: rotate(0deg);

}


/* =========================================================
   HOVER
========================================================= */

.paginacao button:not(:disabled):hover {

    background-color: var(--azulClaro);

    transform: scale(1.05);

}


/* =========================================================
   BOTÃO DESATIVADO
========================================================= */

.paginacao button:disabled {

    background-color: #d9d9d9;

    opacity: 1;

    cursor: default;

    transform: none;

}

