/* Blog Pães Naturallis (CMS em PHP) — escrito à mão; o build.js preserva esta pasta.
   O layout é o do Elementor (assets/css/main.css + assets/blog/blog-lista.css ou
   blog-post.css, gerados). Aqui só o que o CMS acrescenta. */

/* Capa: no WordPress era o FUNDO do container (CSS por post, background-size
   cover e centralizado); aqui é um <img> do banco ocupando o container. */
.blog-capa-host {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.blog-capa {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

/* especificidade acima de ".elementor img{height:auto;max-width:100%}" do Elementor */
.elementor .blog-capa-host .blog-capa__img,
.blog-capa-host .blog-capa .blog-capa__img {
  max-width: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: inherit;
}

.blog-capa-host > .e-con-inner,
.blog-capa-host > .elementor-element {
  position: relative;
  z-index: 1;
}

/* O título do card virou link (no WordPress só o "Saiba mais" levava ao post) */
.e-loop-item .elementor-heading-title a {
  color: inherit;
  font: inherit;
  text-decoration: none;
}

.e-loop-item .elementor-heading-title a:hover {
  color: #975C17;
}

/* Categoria aberta na lateral ("Lista Categoria") */
.wpr-taxonomy.blog-cat-atual > a {
  font-weight: 700;
}

/* Tags do post (só aparecem se o post tiver tags no admin) */
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 28px 0 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 13px;
}

.blog-tags a {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 40px;
  background: #F5E6B8;
  color: #2C1810;
  text-decoration: none;
}

.blog-tags a:hover {
  background: #F4BE7E;
  color: #2C1810;
}

/* Nenhum artigo (categoria vazia, busca sem resultado) */
.blog-vazio {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #5E5E5E;
  margin: 10px 0 30px;
}

.blog-vazio a {
  color: #975C17;
  font-weight: 600;
}
