/**
 * App Shell Global Styles — Blog Lu Jesus (Subetapa B.3A)
 * Estilos globais para cards do blog, artigos e componentes da navegação parcial.
 */

/* Cards do Blog */
.card-post-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius, 8px) var(--radius, 8px) 0 0;
  background: #e2e8f0;
}

.card-post-fallback {
  width: 100%;
  height: 180px;
  border-radius: var(--radius, 8px) var(--radius, 8px) 0 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #3b82f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.card-post-corpo {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-post-meta {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.card-post-titulo {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.card-post-resumo {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

/* Detalhes do Artigo */
.link-voltar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary, #3b82f6);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 1.5rem;
  transition: color 0.2s ease;
}

.link-voltar:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.artigo-capa-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius, 12px);
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.artigo-capa-fallback {
  width: 100%;
  height: 240px;
  border-radius: var(--radius, 12px);
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #3b82f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.artigo-cabecalho {
  margin-bottom: 2rem;
}

.artigo-titulo {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.artigo-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: #64748b;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.artigo-resumo-box {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #334155;
  background-color: #f8fafc;
  border-left: 4px solid var(--primary, #3b82f6);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: 0 var(--radius, 8px) var(--radius, 8px) 0;
  font-style: italic;
}

.artigo-corpo {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #1e293b;
}

.artigo-corpo p {
  margin-bottom: 1.5rem;
}

.artigo-corpo h2, .artigo-corpo h3, .artigo-corpo h4 {
  color: #0f172a;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.artigo-corpo ul, .artigo-corpo ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.artigo-corpo blockquote {
  border-left: 3px solid #cbd5e1;
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: #475569;
  font-style: italic;
}

.artigo-erro {
  text-align: center;
  padding: 4rem 1rem;
  color: #64748b;
}

.artigo-erro h2 {
  font-size: 1.5rem;
  color: #0f172a;
  margin-bottom: 1rem;
}

/* Host Persistente Global de Áudio (Subetapa B.3B - Fase 4 Visual Fix) */
.global-audio-host {
  position: fixed;
  top: -9999px;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  z-index: -9999;
  overflow: hidden;
}

.global-audio-host.mode-radio {
  display: block;
  box-sizing: border-box;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid #cbd5e1;
  background-color: #000000;
}

.global-audio-host iframe,
.global-audio-host #player {
  width: 100% !important;
  height: 100% !important;
  border: none;
}

