/* print.css */

/* Ensure background colors/images are not printed */
* {
  background: none !important;
  color: black !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

/* Hide unnecessary elements for print */
header,
nav,
footer,
aside,
button,
input,
.form,
.video,
.print-hidden {
  display: none !important;
}

/* Ensure the main content fills the page */
body, html {
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: 12pt;
  line-height: 1.5;
  color: black;
  background: white;
}

/* Images: resize to fit page and remove unnecessary styling */
img {
  max-width: 100% !important;
  height: auto !important;
  page-break-inside: avoid;
}

/* Prevent page breaks inside important elements */
article, section, table, figure {
  page-break-inside: avoid;
}

/* Links: show URLs after link text */
a::after {
  content: " (" attr(href) ")";
  font-size: 10pt;
}

/* Remove underlines from links */
a {
  text-decoration: none;
  color: black;
}

/* Page breaks after major sections */
h1, h2, h3 {
  page-break-after: avoid;
  margin-top: 1.5em;
}
