
  /* Reset background and text color to save ink */
  body {
    background: none !important;
    color: #000 !important;
    font-size: 12pt;
    line-height: 1.5;
    margin: 0;
  }

  body, 
  main,
  div,
  section {
    display: block !important;
    float: none !important;
  }

  /* Hide navigation, sidebars, forms, and buttons */
  nav, aside, header, footer, .sidebar, .no-print, button, input {
    display: none !important;
  }

  /* Optimize container widths for paper */
  body, .container, .wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
  }

  /* Ensure links are fully visible as text */
  a:not([href^="#"]):after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    font-style: italic;
  }

  /* Prevent awkward page breaks in the middle of text blocks */
  p, h1, h2, h3, h4, blockquote, pre {
    orphans: 3;
    widows: 3;
  }

  /* Force elements to start on a new page to avoid orphans */
  .page-break, h1, h2 {
    page-break-before: always;
  }

  /* Prevent images from being sliced in half */
  img {
    page-break-inside: avoid;
    max-width: 100% !important;
  }

  /* Prevent multi-page list items and tables from splitting across pages */
  ul, ol, table {
    page-break-inside: avoid;
  }


/* Custom */
.summary, .highlight-section, .sub-intro {
    min-height: unset;
    background: none !important;
}
.sub-intro {
  -webkit-text-fill-color: unset;
}
.summary::before, .btn {
  display: none !important;
}
h1, h2, h3, h4, h5, h6, .my-method h2, .intro p, .intro, .sub-intro, figure figcaption {
  color: #000 !important;
}
h1, .portfolio-detail h1 {
      font-size: 24pt;
}
h2 {
    font-size: 18pt;
}
h3, .intro, .sub-intro {
    font-size: 15pt;
}
h4 {
    font-size: 13pt;
}
h5 {
  font-size: 12pt;
}
h6 {
  font-size: 12pt;
}
.content {
    padding: 0;
}
.content-text.intro-box {
  margin-bottom: 1rem;
}
.portfolio-detail h1 {
    margin: 2rem 0 1rem;
}
.portfolio-detail h2:before {
  margin: 4rem auto 2rem;
}
.highlight-section {
    padding: 0;
}
