/* ============================================================
   assets/css/print.css — Print Stylesheet for Articles
   ============================================================ */

@media print {
  /* Hide non-content elements */
  .breaking-bar,
  .site-header,
  .category-nav,
  .share-buttons,
  .sidebar-widget,
  .newsletter-section,
  .site-footer,
  .tag-cloud,
  #backToTop,
  #readProgress,
  .comment-form,
  .post-card,
  nav[aria-label="Pagination"],
  .header-search,
  .dark-toggle,
  .rss-btn,
  .pagination { display: none !important; }

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

  .content-layout {
    display: block !important;
    grid-template-columns: none !important;
  }

  .container { max-width: 100% !important; padding: 0 !important; }

  /* Article title */
  h1 {
    font-size: 22pt !important;
    margin-bottom: 10pt !important;
    color: #000 !important;
  }

  h2 { font-size: 16pt !important; margin-top: 20pt !important; }
  h3 { font-size: 14pt !important; }

  /* Featured image */
  .hero-post img,
  figure img { max-width: 100% !important; page-break-inside: avoid; }

  /* Article body */
  .article-body { font-size: 11pt; }
  .article-body a::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  .article-body blockquote {
    border-left: 3px solid #333;
    padding-left: 12pt;
    font-style: italic;
    color: #333;
    background: none;
  }

  /* Post meta line */
  .post-meta { font-size: 9pt; color: #555; }

  /* Page break hints */
  h2, h3 { page-break-after: avoid; }
  p, li   { orphans: 3; widows: 3; }
  figure  { page-break-inside: avoid; }

  /* Print header */
  .site-main::before {
    content: "Printed from " attr(data-sitename);
    display: block;
    font-size: 9pt;
    color: #888;
    border-bottom: 1px solid #ccc;
    padding-bottom: 8pt;
    margin-bottom: 16pt;
  }
}
