/* Print Styles */
@media print {
  /* Hide navigation and non-essential elements */
  header,
  .hamburger,
  .mobile-nav,
  .mobile-overlay,
  aside,
  .content-index,
  .contact-section,
  footer {
    display: none !important;
  }

  /* Remove background watermark */
  body::before {
    display: none !important;
  }

  /* Optimize layout for printing */
  body {
    background: white;
    color: black;
    font-size: 10pt;
    line-height: 1.3;
  }

  main {
    max-width: 100%;
    margin: 0;
    padding: 0.3cm 0.5cm;
  }

  /* Ensure articles don't break across pages */
  article {
    page-break-inside: avoid;
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
    margin-bottom: 0.3cm;
    padding: 0.3cm 0.4cm;
    background: white !important;
  }

  /* Optimize text for print with smaller sizes */
  h1 {
    font-size: 16pt;
    page-break-after: avoid;
    margin-bottom: 0.2cm;
  }

  h1::after {
    margin: 0.2cm auto;
    height: 2px;
  }

  h2 {
    font-size: 13pt;
  }

  h3 {
    font-size: 11pt;
  }

  .section-title {
    margin-top: 0.1cm;
    padding-top: 0.1cm;
    margin-bottom: 0.15cm;
  }

  article h3 {
    font-size: 11pt;
  }

  .intro {
    box-shadow: none;
    border: 1px solid #ddd;
    padding: 0.3cm 0.4cm;
    margin-bottom: 0.4cm;
  }

  .intro p {
    font-size: 10pt;
    line-height: 1.3;
  }

  .content p {
    font-size: 9pt;
    line-height: 1.3;
    margin-top: 0.15cm;
  }

  .content ul {
    margin: 0.1cm 0 0.1cm 0.5cm;
    font-size: 9pt;
  }

  .content li {
    margin-bottom: 0.1cm;
    line-height: 1.3;
  }

  .date {
    font-size: 9pt;
    margin-top: 0.1cm;
  }

  .section-title {
    font-size: 13pt;
  }

  /* Print links as text with URL */
  a[href]:after {
    content: " (" attr(href) ")";
    font-size: 8pt;
    color: #666;
  }

  /* Don't print URL for internal links */
  a[href^="#"]:after,
  a[href^="tel:"]:after,
  a[href^="mailto:"]:after {
    content: "";
  }
}
