/* Estilos comunes de artículo (articulo). Los enlazan los artículos del blog y la plantilla automation/templates/articulo.html. */
  .page-wrapper { display: grid; grid-template-columns: 1fr 300px; gap: 48px; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
  @media(max-width:900px) { .page-wrapper { grid-template-columns: 1fr; } .sidebar { display: none; } }
  article { padding: 32px 0 80px; }
  .article-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-dim); border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent); border-radius: 6px; padding: 4px 12px; font-family: var(--font-mono); font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; }
  h1 { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 46px); line-height: 1.15; margin-bottom: 18px; }
  .article-meta { display: flex; align-items: center; gap: 20px; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); padding-bottom: 24px; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
  .article-content h2 { font-family: var(--font-serif); font-size: clamp(20px, 2.5vw, 28px); margin: 40px 0 16px; }
  .article-content h3 { font-family: var(--font-serif); font-size: clamp(17px, 2vw, 22px); margin: 28px 0 12px; color: var(--text-soft); }
  .article-content p { font-size: 15.5px; line-height: 1.8; color: var(--text-soft); margin-bottom: 18px; }
  .article-content ul, .article-content ol { padding-left: 22px; margin-bottom: 18px; }
  .article-content li { font-size: 15px; line-height: 1.8; color: var(--text-soft); margin-bottom: 6px; }
  .formula-box { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 12px; padding: 22px 24px; margin: 28px 0; }
  .info-box { background: color-mix(in srgb, var(--accent) 4%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent); border-radius: 12px; padding: 20px 24px; margin: 24px 0; }
  .warning-box { background: rgba(245,200,66,0.05); border: 1px solid rgba(245,200,66,0.25); border-radius: 12px; padding: 20px 24px; margin: 24px 0; }
  .semaphore-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
  .semaphore-table thead tr { background: var(--surface2); border-bottom: 2px solid var(--accent); }
  .semaphore-table th, .semaphore-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border); }
  .dot-green { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-right: 6px; }
  .dot-yellow { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); margin-right: 6px; }
  .dot-red { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--red); margin-right: 6px; }
  .sidebar { padding-top: 32px; position: sticky; top: 80px; }
  .sidebar-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
  .toc-list { list-style: none; padding: 0; }
  .toc-list li { padding: 5px 0; border-bottom: 1px solid var(--border); }
  .toc-list li:last-child { border-bottom: none; }
  .toc-list a { font-size: 12.5px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
  .toc-list a:hover { color: var(--accent); }
  .services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
  @media(max-width:600px) { .services-grid { grid-template-columns: 1fr; } }
  .service-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
  .service-card .service-name { font-family: var(--font-mono); font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
  .service-card .service-margin { font-family: var(--font-serif); font-size: 26px; color: var(--text); margin-bottom: 4px; }
  .service-card .service-desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }

/* ─── Ajustes comunes de artículo (auditoría de diseño) ─── */
header.article-header { border: 0 !important; padding: 0 !important; background: none !important; position: static !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; box-shadow: none !important; }
.article-meta { margin-bottom: 0 !important; }
.formula-text { white-space: pre-line; }
.article-content table { width: 100%; }
