/* Blog Justiça & Política (usa as cores e fontes de /assets/style.css) */

.blog-hero {
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 60%, #13273a 100%);
  color: #e9edf2; padding: 84px 0 76px; text-align: center; position: relative; overflow: hidden;
}
.blog-hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}
.blog-hero h1 { font-size: clamp(42px, 7vw, 76px); color: #fff; letter-spacing: -.01em; }
.blog-hero h1 span { font-style: italic; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.blog-hero__sub { max-width: 620px; margin: 20px auto 0; color: #b9c2cd; font-size: 18px; }

.blog-list { padding-top: 64px; }
.blog-vazio { text-align: center; color: var(--muted); font-size: 18px; padding: 40px 0; }
.blog-vazio h1 { color: var(--navy-900); font-size: 34px; margin-bottom: 18px; }

.post-meta { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 12px; }

.post-destaque {
  display: block; text-decoration: none; background: var(--paper); border: 1px solid var(--line);
  border-left: 4px solid var(--gold-500); border-radius: var(--radius); padding: 40px 44px; margin-bottom: 28px;
  box-shadow: 0 18px 40px rgba(10,22,34,.06); transition: transform .2s, box-shadow .2s;
}
.post-destaque:hover { transform: translateY(-3px); box-shadow: 0 24px 50px rgba(10,22,34,.1); }
.post-destaque h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--navy-900); margin-bottom: 14px; }
.post-destaque p { color: var(--muted); font-size: 18px; margin: 0 0 20px; max-width: 46em; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  display: flex; flex-direction: column; text-decoration: none; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(10,22,34,.08); border-color: var(--gold-400); }
.post-card h3 { font-size: 22px; color: var(--navy-900); margin-bottom: 10px; }
.post-card p { color: var(--muted); font-size: 15px; margin: 0 0 18px; flex: 1; }
.post-card .link-arrow { font-size: 14px; }

.paginacao { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 44px; color: var(--muted); }
.paginacao a { color: var(--gold-600); font-weight: 600; text-decoration: none; }

/* Artigo */
.artigo-wrap { padding-top: 48px; }
.voltar { display: inline-block; color: var(--gold-600); font-weight: 600; text-decoration: none; margin-bottom: 28px; font-size: 14px; }
.artigo__titulo { font-size: clamp(32px, 4.6vw, 50px); color: var(--navy-900); letter-spacing: -.01em; }
.artigo__resumo { font-size: 20px; line-height: 1.55; color: var(--muted); margin: 18px 0 26px; }
.artigo__autor { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.artigo__autor img { width: 46px; height: auto; }
.artigo__autor strong { display: block; color: var(--navy-900); }
.artigo__autor span { font-size: 14px; color: var(--muted); }

.artigo__corpo { font-size: 19px; line-height: 1.75; color: #232c38; margin-top: 34px; }
.artigo__corpo p { margin: 0 0 1.2em; }
.artigo__corpo h2 { font-size: 30px; color: var(--navy-900); margin: 1.6em 0 .6em; }
.artigo__corpo h3 { font-size: 24px; color: var(--navy-900); margin: 1.4em 0 .5em; }
.artigo__corpo a { color: var(--gold-600); text-underline-offset: 3px; }
.artigo__corpo blockquote {
  margin: 1.6em 0; padding: 6px 0 6px 24px; border-left: 3px solid var(--gold-500);
  font: italic 400 22px/1.55 var(--serif); color: var(--navy-800);
}
.artigo__corpo ul, .artigo__corpo ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.artigo__corpo li { margin-bottom: .4em; }

.artigo__fontes { margin-top: 40px; padding: 24px 28px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.artigo__fontes h2 { font: 700 12px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 12px; }
.artigo__fontes ul { margin: 0; padding-left: 1.1em; font-size: 15px; }
.artigo__fontes li { margin-bottom: 6px; }
.artigo__fontes a { color: var(--navy-800); }
.artigo__fontes span { color: var(--muted); }
.artigo__aviso { font-size: 13px; color: var(--muted); margin-top: 22px; font-style: italic; }

.compartilhar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 34px 0; }
.compartilhar span { font-weight: 600; color: var(--navy-900); margin-right: 4px; }
.compartilhar a {
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
  text-decoration: none; font-size: 14px; font-weight: 600; color: var(--navy-800);
}
.compartilhar a:hover { border-color: var(--gold-500); color: var(--gold-600); }

.artigo-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--navy-900); color: #dfe4ea; border-radius: 18px; padding: 32px 34px; margin-top: 12px;
}
.artigo-cta h2 { color: #fff; font-size: 26px; }
.artigo-cta p { margin: 6px 0 0; color: #aab4c0; }

/* Revisão */
.revisao__barra {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 14px 20px; border-radius: 12px;
  margin-bottom: 22px; font-size: 15px; background: #fff7e0; border: 1px solid #f0d89a;
}
.revisao__barra--publicado { background: #e8f6ec; border-color: #a9d8b6; }
.revisao__barra--descartado { background: #f3f3f3; border-color: #ddd; }
.revisao__dica { background: #fff; border: 1px dashed var(--gold-400); border-radius: 12px; padding: 14px 18px; color: var(--muted); }
.revisao [contenteditable="true"] { outline: 1px dashed transparent; border-radius: 6px; transition: outline-color .2s, background .2s; }
.revisao [contenteditable="true"]:hover { outline-color: var(--gold-400); }
.revisao [contenteditable="true"]:focus { outline: 2px solid var(--gold-500); background: #fffdf6; }
.revisao__acoes {
  position: sticky; bottom: 0; display: flex; flex-wrap: wrap; gap: 12px; padding: 18px 0;
  background: linear-gradient(transparent, var(--ivory) 30%); margin-top: 20px; z-index: 5;
}
.btn--linha { border-color: var(--navy-800); color: var(--navy-800); background: #fff; }
.btn--perigo { border-color: #c0392b; color: #c0392b; background: #fff; margin-left: auto; }

@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-destaque { padding: 28px 22px; }
  .artigo__corpo { font-size: 18px; }
  .btn--perigo { margin-left: 0; }
  .revisao__acoes .btn { flex: 1; }
}
