/**
 * Uncutbee Print Stylesheet
 * Ensures clean, high-contrast, uncluttered print media output.
 */

@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
    background: #ffffff !important;
  }

  /* Hide interactive, navigational, and ephemeral elements */
  .ub-site-header,
  .ub-site-footer,
  .ub-age-bar,
  .ub-consent-banner,
  .ub-sticky-tool-cta,
  .ub-input-tabs,
  .ub-dropzone,
  .ub-privacy-toggle,
  .ub-chat-input-bar,
  .ub-skip-link,
  .ub-btn,
  .ub-copy-btn,
  .screen-reader-text,
  nav,
  aside,
  form {
    display: none !important;
  }

  /* Expand result cards and content */
  .ub-tool-wrapper,
  .ub-result-card,
  .ub-card {
    border: 1px solid #cccccc !important;
    border-radius: 0 !important;
    padding: 1rem 0 !important;
    margin-bottom: 2rem !important;
    page-break-inside: avoid;
  }

  .ub-result-card {
    display: block !important;
  }

  /* Display link destinations */
  a[href^="http"]:after {
    content: " (" attr(href) ")";
    font-size: 80%;
  }

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

  /* Headings & page break control */
  h1, h2, h3, h4 {
    page-break-after: avoid;
  }

  blockquote, pre {
    border-left: 2pt solid #666666 !important;
    page-break-inside: avoid;
  }

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