/*
Theme Name: Igreja Deus
Theme URI: https://igrejadeus.com.br/
Author: Júlio Fonseca
Description: Tema leve, ultra-rápido e focado em SEO para a Igreja de Deus no Brasil. Desenvolvido sem construtores de páginas para máxima performance.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: igreja-deus
*/

:root {
    --azul-igreja: #0e265c;
    --vermelho-igreja: #e21a22;
    --preto-fundo: #0a0a0a;
    --cinza-claro: #f4f4f4;
    --branco: #ffffff;
    --fonte-principal: 'Montserrat', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--fonte-principal);
    background-color: var(--branco);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Nav */
.site-header {
    background-color: var(--preto-fundo);
    border-bottom: 4px solid var(--vermelho-igreja);
    padding: 20px 0;
    color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 24px;
    color: var(--branco);
    text-transform: uppercase;
}

.logo span { color: var(--vermelho-igreja); }

/* Configuração Responsiva do Menu */
nav ul { 
    list-style: none; 
    display: flex; 
    flex-wrap: wrap; /* Força a quebra de linha quando não couber */
    justify-content: center; /* Centraliza o menu em telas menores */
    padding: 0;
    margin: 0;
}

nav ul li { 
    margin: 10px 15px; /* Ajusta o espaçamento entre as palavras */
}

nav ul li a { 
    color: white; 
    text-decoration: none; 
    font-weight: 700; 
    transition: 0.3s; 
    display: inline-block;
}

/* Banner / Hero Section */
.hero {
    background-color: var(--preto-fundo);
    color: white;
    padding: 80px 20px;
    text-align: center;
    border-bottom: 5px solid var(--azul-igreja);
}

.hero h2 {
    font-size: 42px;
    margin-bottom: 10px;
    color: var(--branco);
}

.hero p {
    font-size: 18px;
    color: var(--cinza-claro);
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn-cta {
    background-color: var(--vermelho-igreja);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
}

/* Content */
.main-content { padding: 60px 0; }

/* Footer */
.site-footer {
    background-color: var(--azul-igreja);
    color: white;
    padding: 40px 0;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-info h4 { border-left: 4px solid var(--vermelho-igreja); padding-left: 10px; margin-bottom: 15px; }

@media (max-width: 768px) {
    .header-flex { flex-direction: column; text-align: center; }
    nav ul { margin-top: 20px; }
    .hero h2 { font-size: 30px; }
}
/* Grid de Postagens */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.post-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border-bottom: 3px solid var(--azul-igreja);
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.placeholder-img {
    width: 100%;
    height: 200px;
    background: var(--azul-igreja);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.post-info {
    padding: 20px;
}

.post-date {
    font-size: 12px;
    color: var(--vermelho-igreja);
    font-weight: bold;
    text-transform: uppercase;
}

.post-info h4 {
    margin: 10px 0;
    font-size: 20px;
}

.post-info h4 a {
    color: var(--azul-igreja);
    text-decoration: none;
}

.post-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    color: var(--vermelho-igreja);
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}
/* Layout dos botões da página inicial */
.hero-botoes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px; /* Espaço entre os botões */
    margin-top: 25px;
}

/* Garante que os botões fiquem padronizados e responsivos */
.btn-cta {
    background-color: var(--vermelho-igreja);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s ease;
    text-align: center;
    min-width: 120px; /* Mantém os botões com um tamanho visual parecido */
}

.btn-cta:hover {
    background-color: #c0151c; /* Um vermelho um pouco mais escuro para o hover */
}
/* --- Paginação --- */
.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 50px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background-color: var(--cinza-claro);
    color: var(--azul-igreja);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover {
    background-color: var(--azul-igreja);
    color: var(--branco);
}

/* Destaca a página atual em vermelho */
.pagination .page-numbers.current {
    background-color: var(--vermelho-igreja);
    color: var(--branco);
    cursor: default;
    pointer-events: none;
}
/* Layout das 3 Colunas do Rodapé */
.site-footer {
    background-color: var(--azul-igreja);
    color: white;
    padding: 60px 0 0;
    margin-top: 50px;
}

.footer-widgets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Colunas no desktop */
    gap: 40px;
}

.footer-widget-title {
    color: var(--vermelho-igreja);
    margin-bottom: 20px;
    font-size: 18px;
    text-transform: uppercase;
    border-left: 3px solid var(--vermelho-igreja);
    padding-left: 10px;
}

.footer-widget-item {
    margin-bottom: 20px;
}

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
    opacity: 0.8;
}

/* Responsividade para Celular */
@media (max-width: 768px) {
    .footer-widgets-grid {
        grid-template-columns: 1fr; /* No celular, fica uma embaixo da outra */
        text-align: center;
    }
    
    .footer-widget-title {
        border-left: none;
        border-bottom: 2px solid var(--vermelho-igreja);
        display: inline-block;
        padding: 0 10px 5px;
    }
}
/* --- Cores dos Links no Rodapé --- */
.site-footer a {
    color: var(--vermelho-igreja);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--branco);
    text-decoration: underline;
}

/* Garante que os itens de listas (como menus e categorias) nos widgets fiquem organizados */
.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer ul li {
    margin-bottom: 10px;
}