/**
 * Marcin Tomczyk — Print Styles
 * @package marcin-tomczyk
 */

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

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.75em;
    font-weight: normal;
  }

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

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

  h1, h2, h3, h4 {
    page-break-after: avoid;
  }

  p, li, blockquote {
    orphans: 3;
    widows: 3;
  }

  .site-nav,
  .hero-section,
  footer,
  #floating-cta,
  .hero-particles-canvas,
  .hero-gradient,
  .hero-portrait-glow,
  .hero-portrait-container,
  .hero-side-rail,
  .hero-bottom-fade,
  .grain,
  .find-path-quiz button,
  .find-path-quiz .quiz-step button {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-content {
    opacity: 1 !important;
    padding: 1rem 0;
  }

  section {
    padding-block: 2rem !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  @page {
    margin: 2cm;
  }
}
