/*
 * Notícias do site (23/11/2026): lista da home (no lugar do widget do Instagram),
 * /noticias e a página de cada notícia. Prefixo bh2n- para não esbarrar no modelo
 * skin-2017. Conteúdo gerenciado no bblarea (Gerenciar Notícias).
 */

/* ---------- Abas da home (mesmo visual das abas do modelo, mais compactas) ---------- */
#outer main #main-content .posts .posts__tabs.bh2n-abas-home > li { margin-right: 6px; }
#outer main #main-content .posts .posts__tabs.bh2n-abas-home > li > a {
    display: inline-block; height: auto; line-height: 20px; padding: 5px 12px; font-size: 13px;
    border-radius: 15px; text-decoration: none; cursor: pointer;
}
#outer main #main-content .posts .posts__tabs.bh2n-abas-home > li:not(.active):not(:hover) > a { background: transparent; color: #878787; }

/* ---------- Card ---------- */
.bh2n-card {
    display: flex; flex-direction: column; background: #fff; border: 1px solid #ececec; border-radius: 10px;
    overflow: hidden; color: inherit; text-decoration: none !important; box-sizing: border-box;
    transition: box-shadow .15s ease, transform .15s ease;
}
.bh2n-card:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .10); transform: translateY(-2px); }
.bh2n-capa { display: block; position: relative; width: 100%; padding-top: 100%; background: #f3f3f3; overflow: hidden; }
.bh2n-capa img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
.bh2n-info { display: block; padding: 9px 10px 11px; }
.bh2n-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; font: 11px/1 Roboto, Arial, sans-serif; color: #a3a3a3; }
.bh2n-cat {
    display: inline-block; padding: 3px 7px; border-radius: 20px; font-weight: bold; font-size: 10px; line-height: 1.2;
    letter-spacing: .03em; text-transform: uppercase; color: #fff; background: #fe8126;
}
.bh2n-cat--evento { background: #8b5cf6; }
.bh2n-cat--atualizacao { background: #0ea5e9; }
.bh2n-titulo {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    min-height: 38px; font: bold 14px/19px Roboto, Arial, sans-serif; color: #3b3a39;
}
.bh2n-card:hover .bh2n-titulo { color: #fe8126; }

/* Curtidas (23/11/2026): coração no canto do card e botão Curtir na notícia. */
.bh2n-curtidas { margin-left: auto; color: #e0245e; font-weight: bold; white-space: nowrap; }
.bh2n-curtidas .fa { font-size: 11px; }
.bh2n-curtir {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid #f3b6c8; border-radius: 16px;
    background: #fff; color: #e0245e; font-size: 13px; font-weight: bold; cursor: pointer; transition: background .15s, transform .1s;
}
.bh2n-curtir:hover { background: #fff0f4; }
.bh2n-curtir:active { transform: scale(.96); }
.bh2n-curtir.curtido { background: #e0245e; border-color: #e0245e; color: #fff; cursor: default; }
.bh2n-curtir:not([data-curtir]) { cursor: default; }
.bh2n-separa { flex: 0 0 1px; height: 18px; margin: 0 4px; background: #e5e5e5; }

/* ---------- Lista da home (uma abaixo da outra, capa à esquerda) ---------- */
.bh2n-lista { display: flex; flex-direction: column; gap: 12px; padding: 4px 0 10px; }
.bh2n-item {
    display: flex; align-items: stretch; gap: 16px; padding: 10px; background: #fff; border: 1px solid #ececec;
    border-radius: 10px; color: inherit; text-decoration: none !important; box-sizing: border-box;
    transition: box-shadow .15s ease, border-color .15s ease;
}
.bh2n-item:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .10); border-color: #f5d2b6; }
.bh2n-item-capa { flex: 0 0 140px; width: 140px; height: 140px; border-radius: 8px; overflow: hidden; background: #f3f3f3; }
.bh2n-item-capa img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.bh2n-item-info { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; padding: 2px 4px 2px 0; }
.bh2n-item-info .bh2n-meta { margin-bottom: 7px; }
.bh2n-item-titulo {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    font: bold 17px/22px Roboto, Arial, sans-serif; color: #3b3a39;
}
.bh2n-item:hover .bh2n-item-titulo { color: #fe8126; }
.bh2n-item-resumo {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    margin-top: 5px; font: 13px/19px Roboto, Arial, sans-serif; color: #7a7a7a;
}
.bh2n-item-ler { margin-top: auto; padding-top: 6px; font: bold 12px/1 Roboto, Arial, sans-serif; color: #fe8126; }
.bh2n-esqueleto { display: flex; flex-direction: column; gap: 12px; padding: 4px 0 10px; }
.bh2n-esqueleto > span {
    display: block; height: 162px; border-radius: 10px;
    background: linear-gradient(90deg, #f2f2f2 25%, #fafafa 50%, #f2f2f2 75%); background-size: 200% 100%;
    animation: bh2n-brilho 1.2s infinite linear;
}
@keyframes bh2n-brilho { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- Páginas /noticias ---------- */
/* Fundo branco próprio: o topo da coluna fica sobre a arte do cabeçalho (na home quem
   cobre essa parte são os botões de download e o banner). */
.bh2n-pagina {
    margin: 8px 0 20px; padding: 18px 18px 26px; font-family: Roboto, Arial, sans-serif;
    background: #fff; border-radius: 12px; box-shadow: 0 2px 14px rgba(0, 0, 0, .12);
}
.bh2n-trilha { font-size: 13px; color: #a3a3a3; margin: 0 0 14px; }
.bh2n-trilha a { color: #fe8126; text-decoration: none; }
.bh2n-trilha span { margin: 0 4px; }
.bh2n-abas { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 16px; padding: 0 0 10px; border-bottom: 1px solid #eee; }
.bh2n-abas li a {
    display: inline-block; padding: 5px 14px; border-radius: 15px; font-size: 13px; text-transform: uppercase;
    color: #878787; text-decoration: none;
}
.bh2n-abas li.ativa a, .bh2n-abas li a:hover { background: #fe8126; color: #fff; }
.bh2n-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bh2n-vazio { padding: 40px 0; text-align: center; color: #a3a3a3; font-size: 15px; }
.bh2n-paginas { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 22px 0 0; font-size: 14px; }
.bh2n-paginas a { color: #fe8126; text-decoration: none; font-weight: bold; }
.bh2n-paginas .desligado { color: #ccc; }
.bh2n-paginas .atual { color: #878787; }

/* ---------- Página da notícia ---------- */
.bh2n-aviso-previa { margin: 0 0 14px; padding: 10px 12px; border-radius: 8px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; font-size: 14px; }
.bh2n-artigo-titulo { margin: 0 0 8px; font: bold 24px/1.3 Roboto, Arial, sans-serif; color: #2f2e2d; }
.bh2n-artigo-meta { font-size: 13px; margin-bottom: 16px; }
.bh2n-artigo-capa { display: block; max-width: 100%; max-height: 560px; width: auto; height: auto; margin: 0 auto 18px; border-radius: 10px; }
.bh2n-conteudo { font-size: 16px; line-height: 1.65; color: #3b3a39; word-wrap: break-word; }
.bh2n-conteudo p { margin: 0 0 .9em; }
/* O reset do modelo skin-2017 (subpage.css) faz "font: inherit" em strong/b/em/i/small/sup
   e o negrito do editor sumia na notícia (24/11/2026). Devolve a formatação só no texto. */
.bh2n-conteudo strong, .bh2n-conteudo b { font-weight: bold; }
.bh2n-conteudo em, .bh2n-conteudo i:not(.fa) { font-style: italic; }
.bh2n-conteudo u { text-decoration: underline; }
.bh2n-conteudo s, .bh2n-conteudo del, .bh2n-conteudo strike { text-decoration: line-through; }
.bh2n-conteudo small { font-size: 85%; }
.bh2n-conteudo sup { vertical-align: super; font-size: 75%; }
.bh2n-conteudo sub { vertical-align: sub; font-size: 75%; }
.bh2n-conteudo h1, .bh2n-conteudo h2, .bh2n-conteudo h3, .bh2n-conteudo h4 { margin: 1.2em 0 .5em; font-weight: bold; line-height: 1.3; color: #2f2e2d; }
.bh2n-conteudo h1, .bh2n-conteudo h2 { font-size: 20px; color: #fe8126; }
.bh2n-conteudo h3 { font-size: 18px; }
.bh2n-conteudo h4 { font-size: 16px; }
.bh2n-conteudo ul, .bh2n-conteudo ol { margin: 0 0 .9em; padding-left: 24px; }
.bh2n-conteudo ul { list-style: disc; }
.bh2n-conteudo ol { list-style: decimal; }
.bh2n-conteudo li { margin: 0 0 .3em; }
.bh2n-conteudo a { color: #0e7fd8; text-decoration: underline; }
.bh2n-conteudo img { display: block; max-width: 100%; height: auto; margin: 12px auto; border-radius: 8px; }
.bh2n-conteudo figure { margin: 12px auto; text-align: center; }
.bh2n-conteudo figcaption { font-size: 13px; color: #8a8a8a; }
.bh2n-conteudo blockquote { margin: 1em 0; padding: 6px 14px; border-left: 4px solid #fe8126; background: #fff7f0; color: #555; }
.bh2n-conteudo table { width: 100%; margin: 1em 0; border-collapse: collapse; font-size: 14px; }
.bh2n-conteudo th, .bh2n-conteudo td { padding: 6px 10px; border: 1px solid #e5e5e5; }
.bh2n-conteudo th { background: #fff3e8; }
.bh2n-conteudo hr { border: 0; border-top: 1px solid #eee; margin: 1.4em 0; }
/* Caixas de destaque do editor (mesmas da wiki: Aviso, Atenção, Cuidado). */
.bh2n-conteudo .wiki-callout { margin: 1.1em 0; padding: 10px 14px; border-radius: 10px; border: 1px solid #e0f2fe; border-left: 4px solid #0ea5e9; background: #f0f9ff; }
.bh2n-conteudo .wiki-callout.warn { border-color: #fef3c7; border-left-color: #f59e0b; background: #fffbeb; }
.bh2n-conteudo .wiki-callout.danger { border-color: #fee2e2; border-left-color: #ef4444; background: #fef2f2; }
.bh2n-conteudo .wiki-callout p:last-child { margin-bottom: 0; }
.bh2n-compartilhar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; padding-top: 14px; border-top: 1px solid #eee; font-size: 14px; color: #878787; }
.bh2n-botao {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid #ddd; border-radius: 16px;
    background: #fff; color: #555; font-size: 13px; text-decoration: none !important; cursor: pointer;
}
.bh2n-botao:hover { border-color: #fe8126; color: #fe8126; }
.bh2n-botao--whats { border-color: #25d366; color: #128c7e; }
.bh2n-subtitulo { margin: 26px 0 12px; font: bold 18px/1.3 Roboto, Arial, sans-serif; color: #fe8126; text-transform: uppercase; }
.bh2n-voltar { margin: 22px 0 0; font-size: 14px; }
.bh2n-voltar a { color: #fe8126; text-decoration: none; font-weight: bold; }

/* ---------- Celular (a página é escalada a partir de 480 px de largura) ---------- */
@media (max-width: 768px) {
    .bh2n-item { gap: 12px; padding: 8px; }
    .bh2n-item-capa { flex-basis: 110px; width: 110px; height: 110px; }
    .bh2n-item-titulo { font-size: 16px; line-height: 21px; }
    .bh2n-item-ler { display: none; }
    .bh2n-esqueleto > span { height: 128px; }
    .bh2n-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .bh2n-pagina { padding: 14px 12px 22px; border-radius: 10px; }
    .bh2n-artigo-titulo { font-size: 21px; }
    #outer main #main-content .posts .posts__tabs.bh2n-abas-home > li > a { padding: 4px 10px; font-size: 12px; }
}
