/* Estilo para o corpo da página */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* Estilo para o contêiner principal */
main {
    max-width: 1280px;
    margin: 9rem auto;
    padding: 20px;
}

main section {
    padding-block: 0;
    padding-inline: 0;
}

/* Estilo para a seção centralizada */
.centralize {
    display: flex;
    gap: 100px;
}

@media (max-width: 500px) {
    .centralize {
        flex-direction: column;
    }    
}



/*========================
Estilo para a coluna A 
=========================*/

.column-a {
    width: 30%;
    margin-right: 20px;
}

@media (max-width: 500px) {
    .column-a {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }    
}



/* Estilo para o campo de pesquisa */
.search-field {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}

.search {
    width: 100%;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 50px;
    box-shadow: 1px 5px 10px #b9b9b9;
    margin-bottom: 0;
}

.search::placeholder {
    color: #B9B1B1; 
    font-weight: 600;
    font-family: inter;
    font-size: 15px;
}

.search:focus {
    outline: none; /* Remove a borda de foco */
    border-color: #ff8dc2; /* Cor da borda quando em foco */
    box-shadow: 1px 5px 10px #ff8dc2;

}


/* Remover o botão de limpar (X) para navegadores WebKit (Chrome e Safari) */
.search::-webkit-search-cancel-button {
    -webkit-appearance: none; /* Remove o estilo padrão do navegador */
    appearance: none;
    display: none; /* Esconde o botão */
}

/* Remover o botão de limpar (X) para navegadores baseados em Gecko (Firefox) */
.search::-ms-clear {
    display: none; /* Esconde o botão */
}


.icon-search {
    position: absolute;
    top: 50%;
    right: 25px; /* Ajuste conforme necessário */
    transform: translateY(-50%);
    color: #a4a4a4; /* Cor do ícone */
    cursor: pointer;
}




/* Estilo para a lista de categorias */
.container-categories {
    background-color: #fff;
    width: 100%;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 20px;
    position: relative;
}

.container-categories .title-categories {
    margin-bottom: 20px;
    font-weight: 900;
    color: #595959;
    font-family: inter;
    font-size: 20px;
    text-align: start;
}

.container-categories ul {
    list-style: none;
    padding-left: 0;
}

.container-categories li {
    margin-bottom: 5px;
    border-bottom: 1px solid #cecece;
    font-weight: bold;
    color: #818181;
    font-family: inter;
    font-size: 15px;
    text-align:start;
}

.container-categories li:hover {
    color:#000;
    cursor: pointer;
}

.container-categories .active {
    font-weight: 900;
    color: #000;
}


.clear-category {
    position: absolute;
    top: 24px;
    right: 22px;
    display: none;
}

.clear-category.active {
    display: block; 
}




/* Estilo para os principais posts */
.container-top-posts {
    margin-bottom: 20px;
    width: 100%;
    background-color: #fff;
    padding: 20px;
    border-radius: 20px;
}

.container-top-posts .title-top-posts {
    margin-bottom: 20px;
    font-family: inter;
    font-weight: 900;
    color: #595959;
    text-align: start;
    font-size: 23px;
}

.container-top-posts a {
    text-decoration: none;
    color: inherit;
}



.top-post {
    margin-bottom: 10px;
    display: flex;
}

.top-post:hover {
    background-color: #fbfbfb;
    cursor: pointer;
    border-radius: 10px;
}


.top-post .classification {
    margin-right: 10px;
    font-weight: bold;
    font-size: 35px;
    margin-top: -10px;

}


.top-post h5 {
    font-family: inter;
    font-size: 11px;
    text-align: start;
}

.top-post .data-local {
    color: #ccc;
    font-size: 10px;
    text-transform: capitalize;
    text-align: start;
}

/* Estilo para o Instagram */
.container-instagram {
    margin-bottom: 20px;
}

.header-group {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.header-group .title-insta {
    font-family: inter;
    font-weight: 900;
    color: #595959;
    font-size: 20px;

}

.header-group .AT-insta {
    font-family: inter;
    font-weight: 900;
    color: #9A9A9A;
    font-size: 10px;
    margin-bottom: 0;
}



.grid-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.grid-photos img {
    cursor: pointer;
    width: 100px;
    height: 100px;
    margin-right: 10px;
    margin-bottom: 10px;
}








/* Estilo para a coluna B */
.column-b {
    width: 70%;
}

@media (max-width: 500px) {
    .column-b {
        width: 100%;
    }    
}


.main-title {
    margin-bottom: 20px;
    font-size: 40px;
    font-family: inter;
    font-weight: 800;
    text-decoration: underline;
    color: #000;
    text-align: start;
}


/* Estilo para os posts */
.grid-layout-posts {
    display: grid;
    grid-template-columns: repeat(2, 43%);
    grid-gap: 20px;
}

@media (max-width: 500px) {
    .grid-layout-posts {
        grid-template-columns: repeat(1, 100%);
    }    
}


.post {
    background-color: #fff;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid #ccc;
    box-shadow: -2px 7px 17px #e9e9e9;
    height: 100%;
    cursor: pointer;
    position: relative;
}


/* Estilo para a camada de sobreposição */
.post::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0); /* Cor preta transparente */
    transition: background-color 0.3s ease; /* Transição suave */
    pointer-events: none; /* Garante que o pseudoelemento não interfira com eventos do mouse */
    z-index: 1;
}

/* Estilo para o card de post ao passar o mouse */
.post:hover::before {
    background-color: rgba(0, 0, 0, 0.5); /* Cor preta transparente quando em hover */
}


/* Estilo para o ícone no meio do card */
.icon-visualization {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background-color: #fff;
    border-radius: 50%;
    padding: 10px 15px; 
    font-size: 30px;
    opacity: 0; /* Inicialmente oculta o ícone */
    transition: opacity 0.3s ease; /* Transição suave para a opacidade */
}

.post:hover .icon-visualization {
    opacity: 1; /* Torna o ícone visível ao passar o mouse sobre o card */
}

.icon-visualization:hover {
    background-color: #000;
    transition: background 0.3s ease; 
}

.icon-visualization:hover i {
    color: #fff;
    transition: color 0.3s ease; 
}

.post a {
    text-decoration: none;
    color: inherit;
}


.container-imagem {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 70%; 
    overflow: hidden;
}

.container-imagem img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.informacoes-post {
    padding: 14px 22px;

}

.informacoes-post .data-local {
    color: #ccc;
    font-size: 12px;
    text-transform: capitalize;
    text-align: start;
}

.informacoes-post .title-post {
    font-weight: 800;
    color:#000;
    font-size: 12px;
    text-align: start;
}

.informacoes-post .content-text {
    margin: 10px 0;
    font-size: 12px;
    color: #a3a3a3;
    text-align: start;
}

    .informacoes-post .content-text {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }




    .post .view-more {
        font-size: 13px;
        margin-top: -18px;
        margin-bottom:13px;
        display: block;
        margin-left: 66%;
        color: #7c7c7c;
    }

/*
font-size: 13px;
margin-top: -18px;
display: block;
margin-left: 66%;
color: #7c7c7c;*/


.no-post-category {
    text-align: start;
}





/* Estilo para a paginação */

.pagination {
    display: flex;
    justify-content: flex-start; /* Centraliza os elementos horizontalmente */
    margin-top: 20px;
}

@media (max-width: 500px) {
    .pagination {
        justify-content: center;
    }    
}


.pagination div {
    padding: 5px 12px;
    margin: 0 5px;
    /* border: 1px solid #ccc; */
    background-color: #fff;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 800;
    box-shadow: 0px 4px 4px #cbcbcb;
}

.pagination div:hover {
    background-color: #6E96E0;
    color: #fff;
}

.pagination div.active {
    background-color: #6E96E0;
    color: #fff;
}









.post-completo .content-text-completo {
    margin: 10px 0;
    font-size: 17px;
    text-align: justify;
    color: #000000;
}

.post-completo .data-local {
font-size: 15px;
}

.post-completo .title-post {
    font-size: 25px;
}


.post-completo .post::before {
    display: none;
}

.post-completo .post {
    cursor: auto;
}


#btnBack {
    background-color: #ffffff; 
    color: #000000; 
    border: none; 
    padding: 10px 20px; 
    border-radius: 5px; 
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 0px 2px 3px #000;
}

.icon-back {
    text-decoration: none; 
    color: inherit;
}


