// Printing
@media print {
  :root {
    color-scheme: light;
  }

  * {
    print-color-adjust: exact;
  }

  body {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    font-size: 11pt;

    &::before,
    &::after {
      display: none;
    }
  }

  .heading-permalink,
  body > header,
  body > footer > .copyleft,
  body > footer > .theme-constellation {
    display: none;
  }

  main > article > section > :is(h2, h3, h4) {
    break-after: avoid;
  }

  body > footer > .print-site-link {
    display: block;
  }
}

@view-transition {
  navigation: auto;
}
