/* CENOVAMX - Main Stylesheet
 * Production-ready CSS implementing INSUMO A and INSUMO B specifications
 * 
 * Decision Hierarchy:
 * 1. Prompt Central (Task Instructions)
 * 2. INSUMO A (Editorial Criteria)
 * 3. INSUMO B (CSS/Grid Rules)
 * 4. Existing Code
 */

@import url('variables.css');
@import url('base.css');
@import url('layout.css');
@import url('components.css');

/* ========================================
   ESTILOS DE IMPRESIÓN (PDF Y PAPEL)
   ======================================== */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  
  /* Ocultar elementos inútiles en papel */
  .header, .footer, .btn, .form-embed-wrapper, .menu-toggle {
    display: none !important;
  }
  
  .section, .section--subtle {
    padding-block: 2rem !important;
    background: transparent !important;
    border: none !important;
  }
  
  .card {
    box-shadow: none !important;
    border: 1px solid #cccccc !important;
    page-break-inside: avoid; /* Evita que la tarjeta se parta en dos hojas */
  }
  
  h1, h2, h3 {
    page-break-after: avoid; /* Evita títulos huérfanos al final de la página */
  }
  
  /* Mensaje alternativo para registrarse */
  #registro::after {
    content: "Para registrarte, visita: cenovamx.com/sesion-informativa";
    display: block;
    font-weight: bold;
    margin-top: 2rem;
    padding: 1rem;
    border: 2px dashed #cccccc;
    text-align: center;
    color: #000;
  }
}