@charset "UTF-8";

/* ===== Print Styles ===== */
@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }

  a, a:visited {
    text-decoration: underline;
    color: #000;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    word-wrap: break-word;
  }

  a[href^="javascript:"]::after,
  a[href^="#"]::after {
    content: "";
  }

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

  table {
    page-break-inside: avoid;
    border-collapse: collapse;
  }

  th, td {
    border: 1px solid #000;
    padding: 6pt;
  }

  pre, blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    page-break-inside: avoid;
    color: #000;
  }

  p {
    orphans: 3;
    widows: 3;
  }

  /* Hide elements for print */
  .header,
  .footer,
  .banner,
  .sidebar,
  .back-to-top,
  .menu-toggle,
  .btn,
  .banner-dots,
  .contact-q-btn,
  .pagination,
  .article-nav,
  .related-articles,
  .article-tags {
    display: none !important;
  }

  /* Page layout for print */
  .container {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .page-content,
  .article-body,
  .article-header {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .article-body {
    font-size: 11pt;
    line-height: 1.6;
  }

  .article-body h2 {
    font-size: 14pt;
    border-bottom: 1pt solid #000;
  }

  .article-body h3 {
    font-size: 12pt;
  }

  .main-content {
    width: 100% !important;
    margin: 0 !important;
  }

  /* Print URL references for internal links */
  .page-content a::after,
  .article-body a::after {
    content: "";
  }

  /* Page breaks */
  .section {
    page-break-before: auto;
  }

  .page-title {
    page-break-after: avoid;
  }

  .article-page {
    padding: 0 !important;
  }
}
