/* ============================================================
   PRINT STYLES
   @package NewsBlaze
   ============================================================ */

@media print {
  /* Hide non-essential elements */
  #site-header,
  #site-footer,
  .sidebar,
  .social-share,
  .related-posts-section,
  .ad-container,
  .floating-buttons,
  .breadcrumb-bar,
  #scroll-to-top,
  .post-card-read-more,
  nav,
  .hero-section,
  .social-community-section,
  .category-grid-section,
  .web-stories-section,
  .pagination,
  .mobile-nav,
  .tag-cloud,
  button,
  .comments-area {
    display: none !important;
  }

  /* Force full-width layout */
  .content-with-sidebar,
  .container {
    display: block !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Typography for print */
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }

  h1 { font-size: 22pt; page-break-after: avoid; }
  h2 { font-size: 18pt; page-break-after: avoid; }
  h3 { font-size: 14pt; page-break-after: avoid; }

  p { margin-bottom: 1em; orphans: 3; widows: 3; }

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

  a { color: #000; text-decoration: none; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 10pt; color: #555; }

  /* Don't print external link targets for common URLs */
  a[href^="#"]::after,
  a[href^="javascript"]::after { content: ""; }

  blockquote {
    border-left: 3pt solid #000;
    padding-left: 10pt;
    margin: 1em 0;
    font-style: italic;
  }

  pre, code { font-size: 10pt; }

  table { border-collapse: collapse; width: 100%; page-break-inside: avoid; }
  th, td { border: 1pt solid #000; padding: 6pt; }
  th { background: #eee; }

  /* Show URL of post for reference */
  .post-content a[href]::after { content: ""; } /* suppress in article body */

  .site-branding .site-name { display: block; font-size: 18pt; font-weight: bold; }
}
