/* Estilo da grade dos arquivos */
.grid-archive-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
  padding: 40px 0;
}

/* Card limpo */
.card-archive {
  background: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.2s ease;
}

/* Thumbnail com hover */
.thumb-wrapper {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
}

.thumb-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease;
  max-height: 180px;
}

.thumb-wrapper:hover .thumb-img {
  transform: scale(1.05);
}

/* Categoria sobre a imagem */
.badge-categoria {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #0078d7;
  color: #fff;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
  z-index: 2;
}

.badge-categoria a {
  color: #fff;
  text-decoration: none;
}

/* Conteúdo do card */
.card-content {
  margin-top: 12px;
}

.card-title {
  font-size: 18px;
  margin: 0 0 6px;
  line-height: 1.4;
  font-weight: 700;
}

.card-title a {
  color: #111;
  text-decoration: none;
}

.card-title a:hover {
  text-decoration: none;
}

.card-meta {
  font-size: 13px;
  color: #555;
}

/* Página sem fundo colorido */
.site-main.fullwidth-archive {
  background: #f9f9f9;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}


/* pagination */

.pagination-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-numbers {
  display: inline-block;
  padding: 10px 15px;
  margin: 0 5px;
  background-color: #f4f4f4;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.page-numbers:hover {
  background-color: #0078d7;
  color: #fff;
}

.page-numbers.current {
  background-color: #0078d7;
  color: #fff;
  font-weight: bold;
}
