/* noticias.css — o texto de uma notícia do site (22/10/2026, `site_noticia_html()` em `app/site/portal.php`), o mesmo nos
 * dois temas: as cores vêm do quadro em volta (`currentColor`), então serve no creme do tema 2.0 e no escuro do 1.0. Os
 * selos dos itens ([Novo], [Melhoria], [Correção]...) têm cor própria, legível nos dois fundos. */
.noticia-texto { line-height: 1.7; overflow-wrap: anywhere; }
.noticia-texto > :first-child { margin-top: 0; }
.noticia-texto p { margin: 0 0 .9em; }
.noticia-texto h2 { font-size: 1.22em; line-height: 1.3; margin: 1.5em 0 .55em; padding-bottom: .3em; border-bottom: 2px solid color-mix(in srgb, currentColor 18%, transparent); }
.noticia-texto h3 { font-size: 1.06em; line-height: 1.35; margin: 1.2em 0 .45em; }
.noticia-texto ul, .noticia-texto ol { margin: 0 0 1em; padding-left: 1.35em; }
.noticia-texto ul { list-style: none; padding-left: 0; }
.noticia-texto ul > li { position: relative; padding: .38em 0 .38em 1.1em; border-bottom: 1px dashed color-mix(in srgb, currentColor 14%, transparent); }
.noticia-texto ul > li:last-child { border-bottom: 0; }
.noticia-texto ul > li::before { content: ''; position: absolute; left: .15em; top: 1.02em; width: .4em; height: .4em; border-radius: 50%; background: #e8742a; }
.noticia-texto ul > li:has(> .noticia-selo:first-child) { padding-left: 0; }
.noticia-texto ul > li:has(> .noticia-selo:first-child)::before { display: none; }
.noticia-texto ol > li { padding: .2em 0; }
.noticia-texto strong { font-weight: 700; }
.noticia-texto code { font: .9em/1 Consolas, monospace; padding: .12em .35em; border-radius: 4px; background: color-mix(in srgb, currentColor 10%, transparent); }
.noticia-texto a { color: #d4561c; text-decoration: underline; text-underline-offset: 2px; }
.noticia-texto blockquote { margin: 0 0 1em; padding: .7em 1em; border-left: 4px solid #e8742a; border-radius: 0 6px 6px 0; background: color-mix(in srgb, #e8742a 10%, transparent); }
.noticia-texto blockquote p { margin: 0; }
.noticia-texto hr { border: 0; border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent); margin: 1.4em 0; }
.noticia-texto figure { margin: 0 0 1em; }
.noticia-texto figure img { display: block; max-width: 100%; height: auto; border-radius: 6px; }
/* os selos do começo dos itens */
.noticia-selo { display: inline-block; min-width: 5.9em; margin-right: .45em; padding: .12em .5em; border-radius: 4px; font-size: .74em; font-weight: 700; line-height: 1.55; text-align: center; text-transform: uppercase; letter-spacing: .03em; color: #fff; vertical-align: .08em; }
.noticia-selo-novo { background: #2f9e44; }
.noticia-selo-melhoria { background: #1c7ed6; }
.noticia-selo-correcao { background: #e8590c; }
.noticia-selo-evento { background: #ae3ec9; }
.noticia-selo-ajuste { background: #5c7cfa; }
.noticia-selo-removido, .noticia-selo-encerrado { background: #868e96; }
/* o selo da versão e a capa, na página de uma notícia */
.noticia-versao { display: inline-block; padding: .1em .55em; border-radius: 999px; font-size: .8em; font-weight: 700; color: #fff; background: #c24f15; vertical-align: .1em; }
.noticia-capa { display: block; width: 100%; height: auto; max-height: 300px; object-fit: cover; object-position: center 22%; border-radius: 6px; margin: 0 0 16px; background: #f3dcc0; }
@media (max-width: 600px) {
  .noticia-selo { min-width: 0; }
  .noticia-capa { max-height: 190px; }
}
