/**
 * sbom.guru - Print Stylesheet for Security Intelligence Reports
 */

@media print {
  *, *::before, *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 11pt;
    line-height: 1.4;
    background: #fff !important;
  }

  .site-header,
  .site-footer,
  .search-modal,
  .mobile-nav-drawer,
  .article-sidebar,
  .code-copy-btn,
  .heading-anchor,
  .skip-link,
  .newsletter-card,
  .pagination-nav,
  .related-articles-section {
    display: none !important;
  }

  .article-layout {
    display: block !important;
  }

  .article-header,
  .article-content-body,
  .vuln-overview-panel,
  .references-panel {
    border: 1px solid #999 !important;
    padding: 12pt !important;
    margin-bottom: 16pt !important;
    page-break-inside: avoid;
  }

  .article-title {
    font-size: 18pt !important;
    color: #000 !important;
  }

  .badge-severity {
    border: 1px solid #000 !important;
    font-weight: bold;
    padding: 2pt 6pt !important;
  }

  a[href^="http"]:after {
    content: " (" attr(href) ")";
    font-size: 8pt;
    color: #333 !important;
  }

  pre.wp-block-code,
  pre.sbom-code-block {
    border: 1px solid #666 !important;
    background: #f4f4f4 !important;
    color: #000 !important;
    page-break-inside: avoid;
  }

  table {
    border-collapse: collapse !important;
  }

  th, td {
    border: 1px solid #666 !important;
    padding: 4pt 8pt !important;
  }
}
