/* Mobile: Move o título para fora e coloca a imagem separada */
@media screen and (max-width: 768px) {
  /* Categoria com ícone */

  .link-categoria {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
  }

  .link-categoria:hover,
  .link-categoria:focus {
    text-decoration: underline !important;
  }

  .icone-categoria {
    height: 30px;
    width: auto;
  }

  .post-author {
    text-align: center;
  }
  .post-author a {
    display: flex;
    gap: 10px;
    margin: auto;
  }
  .post-author img {
    border-radius: 50%;
    width: 24px;
    height: 24px;
    object-fit: cover;
  }

  .post-header-desktop {
    display: none; /* Esconde a versão do desktop */
  }

  .post-header-image {
    justify-content: center;
    min-height: 200px; /* Define um espaço mínimo para evitar colapsos */
  }

  .post-header-image-container {
    width: 100%; /* ou uma largura fixa, como 400px */
    aspect-ratio: 16 / 9; /* define a proporção 16:9 */
    overflow: hidden; /* oculta os excedentes */
    position: relative;
  }

  .post-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* cobre todo o espaço mantendo o corte */
    object-position: center;
    display: block;
    margin: auto;
    min-height: 1px; /* Remove qualquer min-height definida */
  }

  p.post-meta-description {
    font-size: 0.9rem !important;
  }
}
