/* =================================================================
   Loya · content.css
   Estilos pras páginas de texto (termos, privacidade) e posts do blog.
   ================================================================= */

/* ---------- Cabeçalho de página interna ---------- */
.page-hero {
  background: var(--orange-bg);
  border-bottom: 1px solid var(--orange-border);
  padding: 3.5rem 0 2.5rem;
}
.page-hero .container { max-width: 760px; }
.page-hero .eyebrow { margin-bottom: .75rem; }
.page-hero h1 { font-size: 38px; line-height: 1.15; }
.page-hero .page-meta { margin-top: .85rem; font-size: 14px; color: var(--text-secondary); }
.page-hero .page-meta a { color: var(--orange-dark); text-decoration: none; }

/* ---------- Corpo de texto (prose) ---------- */
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}
.prose h2 { font-size: 24px; margin: 2.25rem 0 .85rem; }
.prose h3 { font-size: 19px; margin: 1.75rem 0 .65rem; }
.prose p,
.prose li { font-size: 16px; line-height: 1.75; color: var(--text-dark); }
.prose p { margin-bottom: 1.1rem; }
.prose ul,
.prose ol { margin: 0 0 1.1rem 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.prose li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose a { color: var(--orange-dark); text-decoration: underline; }
.prose strong { font-weight: 500; color: var(--text-dark); }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius-md); margin: 1.5rem 0; }
.prose blockquote {
  border-left: 3px solid var(--orange);
  padding: .25rem 0 .25rem 1.1rem;
  margin: 1.5rem 0;
  color: var(--text-secondary);
  font-style: italic;
}
.prose hr { border: none; border-top: 1px solid var(--border-light); margin: 2.5rem 0; }
.prose code {
  background: var(--bg-light);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 14px;
}

/* Aviso editorial (texto provisório a confirmar) */
.editorial-note {
  background: #FFF8E6;
  border: 1px solid #F2D98A;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 14px;
  color: #7A5B00;
  margin-bottom: 2rem;
}

/* ---------- Listagem do blog ---------- */
.blog-list {
  max-width: 920px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.post-card {
  background: white;
  border: 0.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.post-card:hover {
  border-color: var(--orange-border);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(15,26,46,.07);
}
.post-card .post-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--orange-dark);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.post-card h2 { font-size: 20px; margin: .6rem 0 .5rem; color: var(--text-dark); }
.post-card p { font-size: 14px; line-height: 1.6; color: var(--text-secondary); flex: 1; }
.post-card .post-date { font-size: 13px; color: var(--text-muted); margin-top: 1rem; }

.blog-empty { text-align: center; color: var(--text-secondary); padding: 2rem; }

/* Voltar */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--orange-dark);
  text-decoration: none;
  margin-bottom: 1.5rem;
}
.back-link:hover { text-decoration: underline; }

@media (max-width: 700px) {
  .blog-list { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 30px; }
}
