/* ============================
   BLOCO DAS CATEGORIAS
   ============================ */
.home-block {
  text-align: center;
  margin-bottom: 60px;
}

/* ============================
   TÍTULO DAS CATEGORIAS
   ============================ */
.home-block h2 {
  text-align: center;
  color: #ffcc00; /* Amarelo */
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 3px solid #ffcc00;
  display: inline-block;
  padding-bottom: 8px;
  margin-bottom: 35px;
}

/* ============================
   GRID DOS POSTS (em linha)
   ============================ */
.posts-grid {
  display: flex;
  flex-wrap: nowrap; /* mantém em linha */
  justify-content: center; /* centraliza os 4 cards */
  align-items: stretch;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================
   CARD DOS POSTS
   ============================ */
.post-card {
  flex: 1 1 22%; /* 4 cards lado a lado */
  max-width: 260px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 15px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ============================
   IMAGEM DOS POSTS
   ============================ */
.post-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* ============================
   TÍTULO DOS POSTS
   ============================ */
.post-card h3 {
  font-size: 0.95rem;
  margin: 10px 0;
}

.post-card h3 a {
  color: #3c0061; /* Roxo */
  text-decoration: none;
  font-weight: bold;
}

.post-card h3 a:hover {
  text-decoration: underline;
}

/* ============================
   TEXTO / EXCERPT
   ============================ */
.post-card p {
  color: #333;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* ============================
   RESPONSIVIDADE
   ============================ */
@media (max-width: 992px) {
  .posts-grid {
    flex-wrap: wrap; /* quebra em 2x2 */
    justify-content: center;
  }

  .post-card {
    flex: 1 1 45%;
    max-width: 45%;
  }
}

@media (max-width: 600px) {
  .post-card {
    flex: 1 1 90%;
    max-width: 90%;
  }
}

/* --- Títulos das notícias em amarelo na home --- */
.home .post-title a,
.archive .post-title a,
.blog .post-title a,
.home h2.entry-title a,
.archive h2.entry-title a,
.blog h2.entry-title a {
  color: #FFD700 !important;
  text-decoration: none;
}

.home .post-title a:hover,
.archive .post-title a:hover,
.blog .post-title a:hover,
.home h2.entry-title a:hover,
.archive h2.entry-title a:hover,
.blog h2.entry-title a:hover {
  color: #FFC300 !important;
}

/* --- Títulos das notícias em amarelo (página inicial) --- */
.post-card h3 a {
  color: #FFD700 !important; /* amarelo */
  text-decoration: none;
  font-weight: bold;
}

.post-card h3 a:hover {
  color: #FFC300 !important; /* amarelo mais forte no hover */
  text-decoration: underline;
}

/* --- TÍTULOS DAS NOTÍCIAS: alinhados à esquerda com o mesmo tamanho e amarelos --- */
.post-card {
  text-align: left;
}

.post-card h3 {
  margin-top: 10px;
  margin-bottom: 8px;
  line-height: 1.3em;
}

.post-card h3 a {
  color: #FFD700 !important; /* amarelo */
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}

.post-card h3 a:hover {
  color: #FFC300 !important; /* amarelo mais forte ao passar o mouse */
  text-decoration: underline;
}

/* ===== Layout geral da home ===== */
.home-sections {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* ===== Título de cada categoria ===== */
.home-block > h2 {
  color: #f6b800;
  font-size: 1.8rem;
  margin: 40px 0 20px;
  text-align: left;
  border-bottom: 2px solid #f6b800;
  display: inline-block;
  padding-bottom: 4px;
}

/* ===== Grid dos posts ===== */
.posts-grid {
  display: flex; /* força layout em linha */
  justify-content: space-between; /* distribui igualmente */
  align-items: stretch;
  flex-wrap: nowrap; /* impede quebra */
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== Cada card de notícia ===== */
.post-card {
  flex: 1 1 calc(25% - 20px); /* 4 cards exatamente lado a lado */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* ===== Imagem ===== */
.post-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* ===== Título ===== */
.post-card h3 {
  font-size: 1.1rem;
  font-weight: bold;
  color: #222;
  margin: 15px 15px 10px;
  line-height: 1.3;
}

.post-card h3 a {
  text-decoration: none;
  color: inherit;
}

.post-card h3 a:hover {
  color: #f6b800;
}

/* ===== Texto (resumo) ===== */
.post-card p {
  flex-grow: 1;
  font-size: 0.95rem;
  color: #444;
  margin: 0 15px 15px;
  line-height: 1.5;
  text-align: justify;
}

/* ===== Responsividade ===== */
@media (max-width: 600px) {
  .home-block > h2 {
    font-size: 1.4rem;
  }

  .post-card h3 {
    font-size: 1rem;
  }

  .post-card img {
    height: 160px;
  }
}
/* ===== Layout padrão (desktop/tablet) ===== */
.noticias-container,
.posts-grid,
.lista-cidades {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  justify-content: center;
}

/* ===== Layout no celular: 1 card por linha ===== */
@media (max-width: 768px) {
  .noticias-container,
  .posts-grid,
  .lista-cidades {
    grid-template-columns: 1fr !important; /* uma coluna só */
    gap: 20px !important;
    padding: 0 15px !important;
  }

  .noticias-container article,
  .posts-grid article,
  .lista-cidades article {
    width: 100% !important;
    max-width: 600px;
    margin: 0 auto; /* centraliza */
  }

  .noticias-container img,
  .posts-grid img,
  .lista-cidades img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
  }
}
.pagination .page-numbers {
  color: #FFD700;
  padding: 8px 12px;
  border: 1px solid #FFD700;
  border-radius: 4px;
  margin: 0 5px;
  text-decoration: none;
}

.pagination .page-numbers:hover,
.pagination .current {
  background: #FFD700;
  color: #000;
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 6px 10px;
  border: 2px solid #FFD700;
  border-radius: 6px;
  color: #FFD700;
  text-decoration: none;
  min-width: 36px;
  text-align: center;
}

.pagination .current {
  background-color: #FFD700;
  color: #000;
}

@media (max-width: 480px) {
  .pagination {
    gap: 6px;
  }

  .pagination a,
  .pagination span {
    font-size: 14px;
    padding: 5px 8px;
  }
}

/* === ESTILO DO RODAPÉ === */
.footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  margin-top: 60px;
  border-top: 3px solid #FFD700;
}

/* BLOCO DE CONTATO */
.footer-contato {
  margin-bottom: 25px;
}

.footer-contato h2 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #FFD700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-contato a {
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

.footer-contato a:hover {
  color: #FFD700;
}

/* REDES SOCIAIS */
.footer-redes {
  margin-top: 15px;
}

.footer-redes a {
  display: inline-block;
  margin: 0 12px;
  color: #fff;
  font-size: 24px;
  transition: color 0.3s ease, transform 0.2s ease;
}

.footer-redes a:hover {
  color: #25D366;
  transform: scale(1.15);
}

/* COPYRIGHT */
.footer-copy {
  font-size: 14px;
  color: #ccc;
  margin: 0;
};
/* ==== FORÇA EXIBIÇÃO DO CONTEÚDO DO POST ==== */
.entry-content,
.entry-content * {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/* Corrige blocos do Gutenberg */
.wp-block,
.wp-block-group,
.wp-block-column,
.wp-block-image,
.wp-block-paragraph {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
}

/* Remove possíveis travas de tema */
article,
.site-main,
.site-content,
.content-area {
  overflow: visible !important;
  height: auto !important;
}

/* Evita que anúncios quebrem layout */
ins,
.adsbygoogle {
  display: block !important;
  min-height: 1px;
}
/* === CORREÇÃO DE ALINHAMENTO GERAL DO CONTEÚDO === */

.site,
.site-content,
.content-area,
.site-main {
  max-width: 1200px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

/* Garante alinhamento correto dos blocos */
.home-block,
.posts-grid {
  margin-left: auto;
  margin-right: auto;
}

/
/* Libera clique abaixo do header fixo */
.site-header {
    pointer-events: none !important;
}

/* Mantém clicáveis apenas os elementos do header */
.site-header a,
.site-header button,
.site-header input,
.site-header nav {
    pointer-events: auto !important;
}