  *{ font-family: 'Segoe UI', sans-serif;}
  .imagem {
    max-width: 100%;
  }
  img, video, iframe {
    max-width: 100%;

  }
  .autor {
    display: inline-block;
    padding-bottom: 4px;
    margin: 0;
    font-weight: normal;
  }
  .pdf-link {
    background: #e74c3c;
    color: #fff;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    margin: 10px 0;
    width: 300px;
  }
  .tarja-tipo {
    display: inline-block;
    background-color: #25475C;
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 15px;
  }
  .desk {
    border-top: 1px solid #888;
    padding: 10px 0;
    margin: 10px 0;
    text-align: center;
  }
  .desk1 {
    padding: 10px 0;
    margin: 20px 0;
    line-height: 18pt;
    font-size:12pt;
    color: #3e3f40;
  }
  .desk1_obs{
    border-top:1px solid #888;
    padding: 10px 0;
    margin: 10px 0;
    line-height: 18pt;
    font-size:11pt;
    font-style: italic;
    color: #3e3f40;
  }
  .desk1_img {
	  display: table;
    text-align: center;
	margin:0 auto;
  }

  .compartilhar {
    margin-top: 20px;
    font-size: 10pt;
    text-align: center;
  }
  .desk_tit {margin: 20px 0px;font-family:verdana;}
  .compartilhar a {
    display: inline-block;
    margin: 8px 6px;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
  }
  .compartilhar .whatsapp {
    background-color: #25D366;
    color: white;
  }
  .compartilhar .facebook {
    background-color: #3b5998;
    color: white;
  }
  .credito{font-size: 8pt; text-align:right; font-style: italic;}
  .legenda{font-size: 9pt; text-align:left;}

.compartilhar-mobile {
  background-color: #25475C;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  margin: 8px 6px;
}
.legenda::after {
  content: "";
  display: block;
  width: 30%;
  height: 4px;
  background-color: #ccc;
  margin: 10px auto 0 auto;
}

.legenda:empty::after {
  display: none;
}

@media (max-width: 768px) {
    .container {
      padding: 15px;
    }
    .credito{font-size: 8pt; text-align:right; font-style: italic; padding-right:10px;
        
    }
    .legenda{font-size: 9pt; text-align:left; padding-left:10px;
        
    }
    .tarja-tipo {
      font-size: 11px;
      padding: 4px 10px;
      margin-bottom: 12px;
      margin: 10px;
    }
    .autor {
      margin: 10px 0;
    }
    .pdf-link {
      padding: 6px 10px;
      font-size: 14px;
      margin-top: 8px;
    }
	.desk1 {
    padding: 0px 15px;
    margin: 20px 0;
    line-height: 17pt;
    font-size:12pt;
  }
  .desk_tit {
      margin: 15px;font-family:verdana; font-size: 22pt;
      
  }
    .desk1_obs{
    border-top:1px solid #888;
    padding: 10px ;
    margin: 10px ;
    line-height: 18pt;
    font-size:10pt;
    font-style: italic;
    color: #3e3f40;
  }
  .desk1_img {
	  display: table;
	  max-width:100%;
    text-align: center;
	margin:0 auto;
    }
    .desk1_img img{
    display: block;
      max-width: 100%;  /* Reduz apenas se maior que a tela */
      height: auto;     /* Mantém proporção */
      margin: 0 auto;   /* Centraliza se for menor */
  }
}
  
</style>
<style>
/* Estilos gerais para desktop */
#form-comentario {
    margin: 10px 0;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 8px;
}


#form-comentario button {
    background: #25475C;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

#form-comentario button:hover {
    background: #1a3646;
}

#lista-comentarios {
    margin-top: 20px;
}

.comentario {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #888;
}

#comentarios-container {
    margin: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #444;
}


  *{font-family: verdana;}
  .imagem {
    max-width: 100%;
  }
  img, video, iframe {
    max-width: 100%;

  }
  .autor {
    display: inline-block;
    padding-bottom: 4px;
    margin: 0;
    font-weight: normal;

      font-size:10pt;
    
  }
  .pdf-link {
    background: #e74c3c;
    color: #fff;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    margin: 10px 0;
    width: 300px;
  }
  .tarja-tipo {
    display: inline-block;
    background-color: #25475C;
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 15px;
  }
  

  .compartilhar {
    margin-top: 20px;
    font-size: 10pt;
    text-align: center;
  }
  .desk_tit {margin: 20px 0px;font-family:verdana;}
  .desk_tit.poesia {
    text-align: center;
}
  .compartilhar a {
    display: inline-block;
    margin: 8px 6px;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
  }
  .compartilhar .whatsapp {
    background-color: #25D366;
    color: white;
  }
  .compartilhar .facebook {
    background-color: #3b5998;
    color: white;
  }
  .credito{font-size: 9pt; text-align:right; font-style: italic; margin-bottom:5px;}
  .legenda{font-size: 11pt; font-style:italic; text-align:center; margin-top: 5px;}


/*Carroussel  */
/* Container geral */
.mais-noticias-container {
  overflow-x: auto;
  position: relative;
  margin-top: 30px;
  padding: 0 25px; /* deixa espaço para as setas */
}

/* Título */
.mais-noticias-container h3 {
  font-family: Arial, sans-serif;
  color: #25475C;
  margin-bottom: 10px;
}

/* Setas de navegação (desktop only) */
.seta {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #25475C;
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 10;
}
.seta:hover {
  opacity: 1;
}
.seta-esquerda {
  left: 0;
}
.seta-direita {
  right: 0;
}

.scroll-noticias {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 10px 0;
  margin-top: 5px;
  scrollbar-width: thin;             /* Firefox */
  scrollbar-color: #ccc transparent; /* Firefox */
}

/* Scroll invisível padrão */
.scroll-noticias::-webkit-scrollbar {
  height: 6px;
}
.scroll-noticias::-webkit-scrollbar-track {
  background: transparent;
}
.scroll-noticias::-webkit-scrollbar-thumb {
  background-color: #bbb;
  border-radius: 10px;
}
.scroll-noticias:hover::-webkit-scrollbar-thumb {
  background-color: #888; /* aparece no hover/uso */
}

.item-noticia {
  flex: 0 0 auto;
  width: 200px;
  height: auto; /* deixa altura crescer conforme conteúdo */
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  background-color: #f9f9f9;
  box-shadow: 1px 1px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.item-noticia:hover {
  transform: scale(1.03);
}

.item-noticia img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: top; 
}

.item-noticia h4 {
  margin: 8px;
  font-size: 10pt;
  color: #25475C;
}

.autor-poesia {
  margin: 0 8px 8px 8px; 
  font-size: 9pt;
  line-height: 12pt;
  color: #666;
  font-style: italic;
}

.item-noticia a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Exibe as setas em telas maiores */
@media (min-width: 768px) {
  .seta {
    display: block;
  }
    .desk1_img {
	  display: table;
	  max-width:75%;
    text-align: center;
	margin:0 auto;
    }
    /* Quando destaque for 1 */
  .desk1_img.destaque-ativo {
    max-width: 100%;
  }
}


  @media (max-width: 768px) {
    .container {
      padding: 10px;
    }
    .tarja-tipo {
      font-size: 11px;
      padding: 4px 10px;
      margin-bottom: 12px;
      margin: 10px;
    }
    .autor {
      margin: 10px 0;
      font-size:10pt;
    }
    .pdf-link {
      padding: 6px 10px;
      font-size: 14px;
      margin-top: 8px;
    }
	.desk1 {
    padding: 0px 15px;
    margin-bottom: 20px;
  }
  .desk_tit {margin: 15px;font-family:verdana; font-size: 22pt;}
  
  .mais-noticias-container {
  position: relative;
  margin-top: 30px;
  padding: 0 0px; /* deixa espaço para as setas */
  }
.scroll-noticias {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 5px;
    scrollbar-width: thin;             
    scrollbar-color: #ccc transparent;
    -webkit-overflow-scrolling: touch; /* iOS scroll suave */
  }

  .scroll-noticias::-webkit-scrollbar {
    height: 6px; /* barra fininha */
  }

  .scroll-noticias::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
  }

  .item-noticia {
    flex: 0 0 auto;
    width: 160px;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f9f9f9;
  }

  .item-noticia img {
    width: 100%;           /* melhor ocupar toda a largura */
    height: 120px;         /* altura proporcional */
    object-fit: cover;
  }

  .item-noticia h4 {
    margin: 5px 5px 2px 5px;  /* menos espaço embaixo */
    font-size: 9pt;
    color: #25475C;
    height: auto;             /* REMOVE altura fixa */
    overflow: hidden;
  }

  .autor-poesia {
    margin: 0 5px 5px 5px;    /* encosta no título */
    font-size: 8pt;
    color: #666;
    font-style: italic;
    line-height: 10pt;
  }
	.data-view{
        margin-left: 15px;
    }
    .linhafina {
    padding-left: 15px;
    padding-right: 15px;
  }
 }
 
.data-view{
    font-size: 10pt; color: #555; margin-bottom:15px;
}
.linhafina {
  font-size: 1.2rem;
  font-style: italic;
  font-family: 'Merriweather', serif;
  font-weight: normal;
  color: #777;
  margin: 10px 0;
}
/* Estilo para telas pequenas (mobile) */
@media (max-width: 768px) {
  .linhafina {
    font-size: 1.1rem;   /* menor para caber na tela */
    margin: 8px 0;       /* margens reduzidas */
  }
}

/* Estilo para telas muito pequenas (smartphones) */
@media (max-width: 480px) {
  .linhafina {
    font-size: 1.1rem;   /* ainda menor */
    margin: 6px 0;
  }
}
/* Estilo principal da área de comentário editável */


.editable-comentario {
  min-height: 50px;
  border: 1px solid #999;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.4;
  outline: none;
  background-color: #fff;
}

/* Placeholder visível quando a div estiver vazia */
.editable-comentario:empty::before {
  content: attr(data-placeholder);
  color: #aaa;
  pointer-events: none;
  display: block;
}

/* Estilo quando o campo está em foco */
.editable-comentario:focus {
  border-color: #007bff;
  box-shadow: 0 0 3px rgba(0,123,255,0.5);
}

/* Para esconder o input oculto que será preenchido no submit */
#comentarioOculto {
  display: none;
}

.desk_tit.poesia {
  font-family: 'Playfair Display', serif;
  font-size: 2.2em;
  font-weight: 700;
  line-height: 1.2;
}

.compartilhar {
  display: none; /* Esconde por padrão */
}

@media (max-width: 768px) {
  .compartilhar {
    display: block; /* Mostra apenas no mobile */
  }
}
.social-share {
  display: flex;
  justify-content: center;
            gap: 15px;
            margin: 20px 0;
}
.share-btn {
  background: #25475C;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.whatsapp-desk{ display:flex; color:#fff;}
.facebook-desk{ display:flex; color:#fff;}

@media (max-width: 768px) {
  .social-share {
    display: none; /* Esconde no mobile */
  }
}

.tarja-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  margin-left: 10px;
  margin-bottom: 28px;
}

.tarja-tipo-poesia {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 4px;
  background-color: #eee;
}

.poesia-tarja {
  background-color: #c45d00; /* fundo suave opcional */
}

.icone-poesia {
  height: 25px;
  width: auto;
}

.poesia-chapeu {
  color: #c45d00; /* laranja escuro */
  font-family: 'Dancing Script', cursive;
  font-size: 1.5rem;
  font-weight: bold;        
}

.conteudo-imagem.poesia .desk1_img {
  display: none;
}
@media (min-width: 769px) {
  .poesia-chapeu {
    font-size: 1.1rem; /* desktop */
  }
}

/**pagina index **/


 .tags-materia {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap; /* Permite quebra para próxima linha */
}

.tag {
  display: inline-block;
  background-color: #25475C;
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 13px;
  margin: 5px 8px; /* vertical = 5px | horizontal = 8px */
  text-transform: capitalize;
  text-decoration:none;
}

.tags-materia {
    margin-left:20px;
  margin-top: 20px;
  padding: 10px 0;
  border-top: 1px solid #ddd;
}



.leia-mais {
  width: 100%;
  font-weight: bold;
  font-size: 14px;
  color: #25475C;
  margin-bottom: 8px;
}

.leia-mais a{
  color: #000;
}


.tags-materia .tag:hover {
  background: #000;
}


.lista-mais-vistos {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 colunas no desktop */
  gap: 10px; /* Espaço entre os itens */
}


.item-mais-visto {
  display: flex;
  align-items: center; /* Garante alinhamento vertical */
  padding: 8px;
  border: 1px solid #999;
  background: #fff;
  border-radius: 5px;
}

.link-mais-visto {
  display: flex;
  align-items: center; /* Centraliza ícone e texto */
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.icone-mais-visto {
  height: auto;           /* Proporcional */
  max-height: 20px;       /* Tamanho máximo */
  width: auto;            /* Mantém proporção */
  margin-right: 15px;
  margin-left: 8px;
  flex-shrink: 0;
}

.texto-mais-visto {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Garante centralização do texto */
  flex: 1;
}


.antetitulo {
  font-size: 0.9rem;
  color: #25475C;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom:5px;
}

.titulo {
  font-size: 1rem;
  color: #222;
  line-height: 1.2;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.data {
  font-size: 0.8rem;
  color: #777;
  line-height:1.2rem;
}

/* -------- Responsivo para mobile -------- */
@media (max-width: 600px) {
  .lista-mais-vistos {
    grid-template-columns: 1fr; /* 1 coluna no mobile */
  }

  .item-mais-visto {
    padding: 6px;
  }

  .icone-mais-visto {
    margin-right: 15px;
    max-height: 20px;     /* Menor no mobile */
    margin-left: 8px;
  }

  .antetitulo {
    font-size: 0.7rem;
  }

  .titulo {
    font-size: 1rem;
  color: #222;
  line-height: 1.2;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  }

  .data {
    font-size: 0.8rem;
  color: #777;
  line-height:1.2rem;
  }
}

.destaque-texto {
  display: inline-block;           /* ajusta largura ao conteúdo */
  border-left: 4px solid #25475C;  /* azul do site */
  padding: 5px 10px;               /* recuo à esquerda menor */
  margin: 15px 0;                  /* espaçamento acima e abaixo */
  background-color: #E7ECF0;       /* fundo suave */
  line-height: 130%;
  max-width: 100%;                 /* evita ultrapassar contêiner */
}
.recuo-bloco {
  margin-left: 20px;
  line-height:150%;
  border-left:1px solid #999;
  padding-left:10px;
}

@media (max-width: 768px) {
  .mais-vistos {
    padding: 0 10px; /* margem/padding lateral de 10px no mobile */
  }
}
.menu-perfil a {
  color: #fff;
  text-decoration: none;
}
.menu-perfil a:hover {
  text-decoration: underline; /* opcional */
}

