/* Print stylesheet for guide PDFs */
@media print {
  /* Hide navigation and print button */
  .print\\:hidden {
    display: none !important;
  }

  /* Page setup */
  @page {
    size: A4;
    margin: 2cm;
  }

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

  h1 {
    font-size: 24pt;
    margin-top: 0;
    page-break-after: avoid;
  }

  h2 {
    font-size: 18pt;
    margin-top: 20pt;
    page-break-after: avoid;
  }

  h3 {
    font-size: 14pt;
    margin-top: 15pt;
    page-break-after: avoid;
  }

  h4 {
    font-size: 12pt;
    margin-top: 12pt;
    page-break-after: avoid;
  }

  /* Avoid breaking inside elements */
  p, ul, ol, div {
    page-break-inside: avoid;
  }

  /* Keep list items together */
  li {
    page-break-inside: avoid;
  }

  /* Keep callout boxes together */
  .bg-green-50,
  .bg-blue-50,
  .bg-yellow-50,
  .bg-red-50,
  .bg-gray-50 {
    page-break-inside: avoid;
    border: 1px solid #ccc;
    padding: 10pt;
  }

  /* Remove shadows and unnecessary decorations */
  * {
    box-shadow: none !important;
    text-shadow: none !important;
  }

  /* Ensure links are visible */
  a {
    text-decoration: underline;
    color: #0066cc;
  }

  /* Remove colored backgrounds for better printing */
  .prose {
    max-width: 100%;
  }
}
