/* ===========================================================
   guia.css — estilos para las guías (silo informacional).
   Se carga DESPUÉS de suite.css y solo añade lo propio de un
   artículo: índice, callouts, CTA inline, prosa enriquecida.
   Reutilizable por todas las guías de /guias/.
   =========================================================== */

/* Cuerpo del artículo: medida de lectura cómoda */
.article { max-width: 760px; margin: 0 auto; }
.article > section { margin-bottom: .5rem; }

/* Meta de la guía (fecha de actualización, tiempo de lectura, autor) */
.guia-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; justify-content: center; font-size: .8rem; color: var(--muted); margin-top: .8rem; }
.guia-meta time { font-weight: 600; }
.guia-meta .by a { color: var(--brand); text-decoration: none; font-weight: 600; }

/* Caja "en resumen" / puntos clave (TL;DR) */
.keypoints { background: var(--ok-soft); border: 1px solid #bfe6d5; border-left: 4px solid var(--ok); border-radius: 12px; padding: 1.1rem 1.3rem; margin: 1.6rem auto; }
.keypoints h2 { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ok); margin: 0 0 .6rem; }
.keypoints ul { margin: 0; padding-left: 1.1rem; }
.keypoints li { margin: .3rem 0; color: #2a3a4f; font-size: .92rem; }

/* Índice de contenidos */
.toc { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.3rem; margin: 1.6rem auto; box-shadow: var(--shadow-sm); }
.toc h2 { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 0 0 .6rem; }
.toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 1.6rem; }
.toc li { margin: .25rem 0; font-size: .9rem; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--brand); text-decoration: underline; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

/* Prosa enriquecida (amplía .prose de suite.css) */
.prose h3 { font-size: 1.08rem; margin: 1.4rem 0 .4rem; }
.prose ul, .prose ol { color: #3a4660; padding-left: 1.3rem; }
.prose li { margin: .35rem 0; }
.prose strong { color: var(--ink); }
.prose a { color: var(--brand); }
.prose table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 1rem 0; }
.prose th, .prose td { padding: .6rem .8rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { background: #fafbfd; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.prose blockquote { margin: 1.2rem 0; padding: .2rem 1.1rem; border-left: 4px solid var(--brand); color: #445066; background: var(--brand-soft); border-radius: 0 10px 10px 0; }

/* Nota / aviso destacado dentro del texto */
.callout { background: #fff8e6; border: 1px solid #f4dca0; border-left: 4px solid var(--yellow); border-radius: 10px; padding: .9rem 1.1rem; margin: 1.2rem 0; font-size: .9rem; color: #5a4a1f; }

/* CTA inline a la herramienta */
.cta-inline { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; justify-content: space-between; background: var(--brand-soft); border: 1px solid #cfe0f6; border-radius: var(--radius); padding: 1.2rem 1.4rem; margin: 1.8rem auto; }
.cta-inline p { margin: 0; font-weight: 600; color: var(--brand-dark); }
.cta-inline .btn { white-space: nowrap; }
