@import url(/css/styles-principal.css);

* Variáveis de Cores e Fontes */:root {
    --vinho: #22080D;
    --dourado: #C18A14;
    --bege: #E7D8CF;
    --marrom-escuro: #4F1905;
    --laranja: #B5390B;
    --bege-claro: #BFA362;
    --fonte-titulo: 'Mate SC', serif;
    --fonte-subtitulo: 'Lugrasimo', cursive;
}

/* Seção de Introdução (Banner) */
.banner {
    display: flex;
    /* width: 100%; */
    justify-content: space-between;
    background-image: var(--vinho-marrom);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 0;

}

.banner img {
    width: 35%;
    height: auto;
}

.text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 100px;
    text-align: center;
}

.banner h1 {
    font-family: Mate Sc;
    font-weight: 400;
    font-size: 5rem;
    line-height: 117.12px;
    color: var(--branco);
    margin: 0;
}

.banner h2 {
    font-family: Lugrasimo;
    font-weight: 400;
    font-size: 5rem;
    line-height: 87.13px;
    background: var(--dourado-branco);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
}

/* Responsividade para o Banner */

@media (max-width: 950px) {
    .banner h1, .banner h2 {
        font-size: 3.5rem;
    }

    .text-container {
        margin-left: 30px;
        padding-bottom: 20px;
    }
}

@media (max-width: 768px) {

    .text-container {
        text-align: center;
        padding-left: 0;
    }

    .banner h1, .banner h2 {
        font-size: 3rem;
    }
   
}
@media (max-width: 650px) {
    .banner img {
        display: none;
    }

    .text-container {
        margin: auto;
    }
}

@media (max-width: 480px) {
    .banner h1, .banner h2 {
        font-size: 3rem;
        padding: 10px;
        margin: 0 auto;
    }
}

/* Seção de Publicações */
/* Seção de Publicações */
.posts-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Layout responsivo */
    gap: 20px;
    /* Espaçamento entre os posts */
    padding: 40px 20px;
    /* Espaçamento interno */
    min-width 1200px
}

.post {
    background-color: #E7D8CF;
    /* Fundo branco */
    border: 1px solid #ddd;
    /* Borda sutil */
    border-radius: 8px;
    /* Cantos arredondados */
    overflow: hidden;
    /* Garantir que a imagem não ultrapasse o container */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Sombra leve */
    display: flex;
    flex-direction: column;
}

.post-image {
    width: 100%;
    height: 200px;
    /* Altura fixa para a imagem */
    object-fit: cover;
    /* Cobrir toda a área */
}

.post-content {
    padding: 20px;
    /* Espaçamento interno */
    flex-grow: 1;
    /* Faz o conteúdo ocupar o espaço restante */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Alinha o conteúdo no topo e o botão no rodapé */

}

.post-content h2 {
    --fonte-subtitulo: 'Lugrasimo', cursive;
    font-size: 24px;
    margin: 0 0 5px;
    color: #B5390B;
    /* Cor do título */
}

.post-content p {
    --fonte-titulo: 'Mate SC';
    font-size: 18px;
    color: #4F1905;
    /* Cor do texto */
    margin: 0 0 15px;
}

.read-more {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4F1905;
    /* Cor de fundo do botão */
    color: white;
    /* Cor do texto do botão */
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    align-self: flex-start;
    /* Alinha o botão à esquerda */
}

.read-more:hover {
    background-color: #BFA362;
    /* Cor ao passar o mouse */
}

/* Responsividade para a seção de publicações */
@media (max-width: 950px) {
    .posts-section {
        grid-template-columns: 1fr;
        /* Uma coluna em dispositivos móveis */
    }

    .post {
        width: 70%;
        height: auto;
        /* Altura automática para dispositivos móveis */
        margin: auto;
    }
}

@media (max-width: 768px) {
    .posts-section {
        grid-template-columns: 1fr;
        /* Uma coluna em dispositivos móveis */
    }

    .post {
        height: auto;
        /* Altura automática para dispositivos móveis */
    }

    .post-content h2 {
        font-size: 20px;
    }

    .post-content p {
        font-size: 14px;
    }
}

/* Estilos da Paginação */
/* Estilos da Paginação */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    /* Espaçamento entre os botões */
    padding: 20px 0;
}

.pagination-button {
    display: inline-block;
    padding: 10px 15px;
    background-color: #BFA362;
    /* Cor de fundo dos botões */
    color: white;
    /* Cor do texto dos botões */
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s ease;
    /* Transição suave */
}

.pagination-button:hover {
    background-color: #4F1905;
    /* Cor ao passar o mouse */
}

.pagination-prev,
.pagination-next {
    background-color: transparent;
    /* Botões "<" e ">" sem fundo */
    color: #BFA362;
    /* Cor do texto */
    font-weight: bold;
    /* Texto em negrito */
}

.pagination-prev:hover,
.pagination-next:hover {
    background-color: (0, 123, 255, 0.1);
    /* Fundo semi-transparente ao passar o mouse */
}

.pagination-ellipsis {
    font-size: 14px;
    color: #BFA362;
    /* Cor do texto da elipsis */
}

