/* ==========================================================================
   Hunter — blog.css
   Página Insights, artigos e bloco de inscrição.
   ========================================================================== */

/* Categorias */
.filter-bar { background: var(--paper); border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.filter-bar .container { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { display: inline-flex; gap: .45rem; align-items: baseline; padding: .45rem .95rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.chip strong { font-weight: 600; color: var(--muted); }
.chip:hover { border-color: var(--gold); }
.chip[aria-current="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.chip[aria-current="true"] strong { color: #DCE7F7; }

/* Cartões de artigo */
.post-meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin: 0 0 .75rem; font-size: .9rem; font-weight: 600; color: var(--steel); }
.post-meta span + span::before, .post-meta a + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 1rem; vertical-align: middle; background: var(--gold); border-radius: 50%; }
.post-card { padding-top: 1.25rem; border-top: 2px solid var(--navy-900); }
.post-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; line-height: 1.2; letter-spacing: -.01em; margin-bottom: .75rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--steel); }
.post-resumo { color: var(--muted); margin-bottom: 0; }

.featured { display: grid; grid-template-columns: 7fr 5fr; gap: 3rem; }
.post-card-principal h3 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.post-card-principal .post-resumo { font-size: 1.1rem; }
.featured-side { display: grid; gap: 2rem; align-content: start; }
.post-card-lateral h3 { font-size: 1.35rem; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem 2.25rem; }

.blog-empty { max-width: 44rem; border-left: 3px solid var(--gold); padding-left: 1.5rem; }

.pager { display: flex; align-items: center; justify-content: space-between; margin-top: 3rem; }
.pager-info { color: var(--muted); font-size: .95rem; }
.btn-ghost-dark { --bs-btn-color: var(--ink); --bs-btn-border-color: var(--line); --bs-btn-hover-bg: var(--navy-900); --bs-btn-hover-color: var(--white); --bs-btn-hover-border-color: var(--navy-900); --bs-btn-border-radius: 999px; font-weight: 600; }

/* Artigo */
.draft-banner { background: #FFF3CD; border-bottom: 1px solid #FFE08A; padding: .75rem 0; color: #5C4400; }
.draft-banner a { margin-left: .5rem; color: #5C4400; font-weight: 700; }
.article-hero h1 { max-width: 24ch; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.post-meta-dark { color: var(--gold-soft); }
.post-meta-dark a { color: var(--gold-soft); text-decoration: none; }
.post-meta-dark a:hover { color: var(--white); }
.byline { margin-top: 1.5rem !important; font-size: .98rem !important; color: #C9DAF2 !important; }

.article-end { max-width: 44rem; margin: 3.5rem auto 0; padding-top: 2rem; border-top: 1px solid var(--line); }

/* Inscrição */
.newsletter .form-control, .newsletter .form-select { border-radius: 10px; padding: .75rem .9rem; }
.newsletter-note { margin: 1rem 0 0; font-size: .92rem; color: #D0DEF3; max-width: 36rem; }
.newsletter-note a { color: var(--gold-soft); }

@media (max-width: 991.98px) {
  .featured { grid-template-columns: 1fr; gap: 2.5rem; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  .post-grid { grid-template-columns: 1fr; }
}
