/*:root {
  font-size: 16px;
  --background: transparent;
}

@page {
  size: A5;
  margin: 1cm;
  font-family: sans-serif;
}

section.level1 {
  page: default;
  break-before: page;
  padding-right: calc(var(--footnote-w) + 16px);
}

section.level1:has([data-template-type="chapter"]) {
  page: chapter;
}

section.level1:has([data-template-type="bib"]) {
  page: bib;
}

@page chapter {
  size: A5;
  margin: 1cm;
  font-family: sans-serif;
  margin-top: 20mm;
  margin-bottom: 20mm;
  bleed: 60mm;

  @top-center {
    content: "This is a chapter";
  }
}



@page bib {
  size: A5;
  margin: 1cm;
  font-family: sans-serif;
  margin-top: 20mm;
  margin-bottom: 20mm;
  bleed: 6mm;

  text-align: right;
  @top-center {
    content: "This is the bibliography";
  }
}

.no-print {
  display: none;
}

p {
  break-inside: avoid;
}

article h1 {
  margin-top: 0;
}
*/