/* ============================================================
   articulo.css — CSS no crítico para plantilla de artículo
   chatcristiano.chat | columna 800px, lectura larga
   ============================================================ */

/* ===== ARTÍCULO MAIN ===== */
.article-main {
  background: #f9f7f2;
  padding: 3rem 1.5rem 5rem;
}

.article-container {
  max-width: 800px;
  margin: 0 auto;
}

/* ===== IMAGEN DESTACADA ===== */
.article-featured-img {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: 0 8px 30px rgba(17, 45, 78, 0.12);
}

.article-featured-img img {
  width: 100%;
  height: auto;
  display: block;
}

.article-img-placeholder {
  background: linear-gradient(135deg, #112d4e, #1a4a7a);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: rgba(249, 184, 19, 0.4);
}

/* ===== CUERPO DEL ARTÍCULO ===== */
.article-body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.1rem;
  line-height: 1.85;
  color: #2d3748;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-intro {
  font-size: 1.2rem !important;
  color: #112d4e !important;
  font-weight: 400;
  border-left: 4px solid #f9b813;
  padding-left: 1.25rem;
  margin-bottom: 2rem !important;
}

.article-body h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #112d4e;
  margin: 2.5rem 0 1rem;
  line-height: 1.25;
  text-align: left;
}

/* ===== CITA BÍBLICA ===== */
.article-quote {
  background: rgba(17, 45, 78, 0.04);
  border-left: 4px solid #f9b813;
  border-radius: 0 10px 10px 0;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}

.article-quote p {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
  color: #112d4e;
  margin-bottom: 0.5rem !important;
  line-height: 1.6;
}

.article-quote cite {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f9b813;
  font-style: normal;
  letter-spacing: 0.03em;
}

/* ===== COMPARTIR ===== */
.article-share {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 3rem 0 2rem;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(17, 45, 78, 0.08);
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.05);
}

.share-label {
  font-weight: 700;
  color: #112d4e;
  font-size: 0.92rem;
  margin-right: 0.25rem;
}

.share-btn {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
}

.share-btn:hover { transform: translateY(-2px); opacity: 0.88; }
.share-fb { background: #1877f2; color: #ffffff; }
.share-tw { background: #1da1f2; color: #ffffff; }
.share-wa { background: #25d366; color: #ffffff; }

/* ===== AUTOR ===== */
.article-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(17, 45, 78, 0.08);
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.05);
  margin-bottom: 0;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #112d4e, #1a4a7a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #f9b813;
  flex-shrink: 0;
}

.author-info { display: flex; flex-direction: column; gap: 0.2rem; }
.author-info strong { color: #112d4e; font-size: 0.95rem; }
.author-info span { color: #718096; font-size: 0.83rem; }

/* ===== BOTÓN FLOTANTE (FAB) — Chat en Vivo ===== */
.fab-chat {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  background: #f9b813;
  color: #112d4e;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 1.4rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(249, 184, 19, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.fab-chat:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 28px rgba(249, 184, 19, 0.6);
}

/* ===== CTA FINAL ===== */
.article-cta {
  background: linear-gradient(140deg, #0d2035, #112d4e, #1a4a7a);
  padding: 5rem 2rem;
  text-align: center;
}

.article-cta-inner { max-width: 600px; margin: 0 auto; }

.article-cta h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.article-cta p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.cta-btn {
  display: inline-block;
  background: #f9b813;
  color: #112d4e;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.95rem 2.6rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(249, 184, 19, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(249, 184, 19, 0.55);
  background: #e0a50e;
}

/* ===== FOOTER SIMPLE ===== */
.site-footer {
  background: #112d4e;
  padding: 2rem 1.5rem;
}

.footer-inner-simple {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-inner-simple nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-inner-simple nav a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-inner-simple nav a:hover { color: #f9b813; }

.footer-inner-simple p {
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .article-main { padding: 2rem 1rem 4rem; }
  .article-body { font-size: 1rem; }
  .article-intro { font-size: 1.08rem !important; }
  .fab-chat { bottom: 1.25rem; right: 1.25rem; font-size: 0.85rem; padding: 0.65rem 1.1rem; }
  .article-share { gap: 0.5rem; }
  .article-img-placeholder { height: 200px; }
}

@media (max-width: 480px) {
  .article-share { flex-direction: column; align-items: flex-start; }
  .share-btn { width: 100%; text-align: center; }
  .article-author { flex-direction: column; text-align: center; }
}
