.custom-content-wrapper {
  position: relative;
  clear: both; /* Limpa os flutuadores */
  overflow: hidden; /* Limite de altura para conter flutuadores */
}

.custom-content-text {
  overflow: hidden; /* Limite de altura para conter flutuadores */
  margin-top: 0; /* Remove a margem superior padrão */
}
.custom-content-wrapper {
  overflow: hidden;
}

.figure-pai p {
  text-align: justify;
}

.custom-featured-figure {
  float: left; /* Faz a imagem flutuar à esquerda, permitindo que o texto flua ao redor */
  margin-right: 20px; /* Adiciona um pouco de espaço entre a imagem e o texto */
  width: auto; /* Ajuste a largura conforme necessário, ou remova esta linha para usar a largura da imagem */
}

.custom-featured-image {
  max-width: 100%; /* Garante que a imagem não ultrapasse o tamanho do contêiner */
  height: auto; /* Mantém a proporção da imagem ao ajustar a largura */
}

.custom-featured-caption {
  text-align: center; /* Centraliza a legenda se desejado */
}

.ct-featured-image figcaption {
  background-color: #f3f3f3;
  font-size: 13px;
  text-align: center;
  margin-top: 0px;
}

.entry-content figcaption {
  margin-block: 0 !important; /* Remove a margem superior e inferior */
  background-color: #f3f3f3;
  margin-top: -1px;
  font-size: 13px;
}

.custom-featured-image-link {
  position: relative;
  display: inline-block;
}

/* Estilo básico do Lightbox */
.custom-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.custom-lightbox img {
  max-width: 90%;
  max-height: 90%;
}
