/* =============================================================================
   SIGE Ajuda — print.css
   Estilos de impressão
   ============================================================================= */

@media print {
  /* Ocultar elementos desnecessários */
  .site-header,
  .site-footer,
  .article-sidebar,
  .article-feedback,
  .article-share,
  .article-navigation,
  .related-posts,
  .support-cta,
  .toc,
  .breadcrumbs,
  .menu-toggle,
  .skip-link,
  .hero-suggestions,
  .pagination,
  .site-nav,
  [aria-hidden="true"] {
    display: none !important;
  }

  /* Base */
  body {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 12pt;
    line-height: 1.6;
    color: #000;
    background: #fff;
  }

  /* Links */
  a { color: #000; text-decoration: underline; }
  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 9pt;
    color: #555;
  }
  a[href^="#"]::after,
  a[href^="javascript"]::after { content: ''; }

  /* Logo no topo */
  .print-logo {
    display: block;
    margin-bottom: 24pt;
    padding-bottom: 12pt;
    border-bottom: 2pt solid #000;
  }

  /* Título */
  .article-title { font-size: 22pt; margin-bottom: 12pt; }
  h2 { font-size: 16pt; margin-top: 18pt; }
  h3 { font-size: 13pt; margin-top: 12pt; }

  /* Imagens */
  img { max-width: 100%; page-break-inside: avoid; }

  /* Evitar quebra de página dentro de elementos */
  article, figure, table, pre { page-break-inside: avoid; }
  h2, h3, h4 { page-break-after: avoid; }

  /* URL no rodapé */
  .article-print-url {
    display: block;
    margin-top: 24pt;
    padding-top: 12pt;
    border-top: 1pt solid #ccc;
    font-size: 9pt;
    color: #555;
  }
  .article-print-url::before {
    content: 'URL: ' attr(data-url);
  }

  /* Container */
  .container { max-width: 100%; padding: 0; }
  .article-layout { display: block; }
}
