
@media print {


  @page {
    size: A4;
    margin: 20mm 40mm 25mm;

    @bottom-center {
      content: counter(page);
      font-family: "Teletext";
      font-size: 11px;
    }
  }



  :root {
    --fontFamily: 'Routed Gothic', sans-serif;
    --fontTitle: "Teletext";

    --unit: 70px;
    --indent: 7mm;

    --font-size: 14px;
    --baseline: 18px;
    --fs-infos: 11px;
    --fs-notes: 11px;
    --fs-title: 22px;
    --lh-notes: 14px;

    --color-text: #000;
    --color-bg: #fff;

    --sign-family: var(--fontTitle);
    --sign-size: 14px;
    --sign-baseline: 18px;
    --sign-spacing: 7.5px;
    --sign-color: var(--color-text);
  }

  html,
  body,
  [data-typeof] {
    background: var(--color-bg);
    color: var(--color-text);
  }

  main {
    margin: 0;
  }



  header nav,
  .header-symb,
  #sommaire-popup,
  .nav-bottom,
  #bg-overlay,
  .cover-wrap,
  .home-cards,
  .margin-ascii,
  .terminal__cursor,
  .fig-titlebar,
  .before-blockquote_container,
  .after-blockquote_container,
  .block-type-ascii,
  .block-type-video,
  .glightbox-container {
    display: none !important;
  }

  .print,
  .print-image,
  .nav-title,
  .nav-author,
  .nav-type,
  .nav-decor,
  .faux-titre,
  .page-titre,
  .toc,
  .interpage {
    display: none !important;
  }



  header {
    margin-bottom: calc(var(--baseline) * 3);
  }

  header .site-name {
    font-family: var(--fontTitle);
    font-size: var(--fs-infos);
    letter-spacing: 0.02rem;
    text-transform: uppercase;
    text-align: center;
    text-indent: 0;
  }

  header .site-name::before {
    content: "----";
    letter-spacing: var(--sign-spacing);
    padding-right: 0.5ch;
  }

    header .site-name ::after {
    content: "----";
    letter-spacing: var(--sign-spacing);
    padding-left: 0.5ch;
  }

    header a:first-of-type::after {
    content: "\00a0----";
    letter-spacing: var(--sign-spacing);
    padding-left: 0.5ch;
    padding-right: 0.5ch;
    display: inline-block;
  }



  .chapter-header {
    margin-top: 0;
    width: 100%;
  }

  .chapter-header p {
    text-indent: 0;
    margin-block: 0;
  }

  .chapter-header h1,
  .chapter-header .author {
    text-wrap: balance;
  }

  .chap-id {
    margin-bottom: calc(var(--baseline) * 2);
  }

  .cluster-infos a {
    text-decoration: none;
  }

  .chapter-content {
    margin-top: calc(var(--baseline) * 3);
  }

  .chapter-content .block:first-of-type p:first-of-type{
    text-indent: 0;
  }

  .block-type-heading + .block-type-text p:first-of-type{
    text-indent: 0;
  }



  p {
    margin-block: 0;
    text-indent: var(--indent);
    orphans: 2;
    widows: 2;
  }

  p br {
    display: none;
  }

  sup {
    line-height: 0;
  }

  .chapter-content a:not(.note__num) {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
  }

  h3,
  h4 {
    font-family: var(--sign-family);
    font-size: var(--font-size);
    position: relative;
    padding-left: calc(var(--indent) + 1ch);
    margin-top: calc(var(--baseline) * 2);
    margin-bottom: var(--baseline);
    break-after: avoid;
    break-inside: avoid;
  }

  .chapter-content h3 {
    text-transform: uppercase;
  }

  .chapter-content h3::before,
  h4::before {
    content: "///";
    position: absolute;
    left: 0;
    letter-spacing: 0;
  }

  h5,
  h6 {
    text-indent: 0;
    margin-top: var(--baseline);
  }

  h5 + p, 
  h6 + p{
    text-indent: 0;
  }

  h5::before,
  h6::before {
    position: static;
    display: inline;
    margin-right: 0.5ch;
  }

  h5::after,
  h6::after {
    content: none;
  }

  blockquote {
    padding-inline: var(--indent);
    break-inside: avoid;
  }



  .note-call {
    font-size: 0.7em;
    line-height: 0;
    vertical-align: super;
  }

  .note-list,
  .inline-note {
    margin-block: calc(var(--baseline) * 0.5);
    padding-left: var(--indent);
    font-size: var(--fs-notes);
    line-height: var(--lh-notes);
  }

  .inline-note {
    display: block;
  }

  .note-list .note {
    padding-left: 2.4em;
    text-indent: -2.4em;
    break-inside: avoid;
    max-width: 56ch;
  }

  .note-list .note p {
    display: inline;
    text-indent: 0;
  }

  .note__num::before { content: "{"; }
  .note__num::after { content: "} "; }



  .chapter-content figure {
    transform: none !important;
    margin-block: calc(var(--baseline)*2);
    break-inside: avoid;
  }

  .chapter-content figure img {
    width: auto;
    max-width: 100%;
    max-height: 110mm;
  }

  figcaption {
    margin-top: 4px;
    font-size: var(--fs-notes);
    line-height: var(--lh-notes);
  }

  figcaption p::before{
    content: "// ";
    font-family: var(--sign-family);
    font-size: var(--font-size);
  }

  figcaption p {
    text-indent: 0;
  }

.gallery{
    display: flex;
    gap: 1rem;
     margin-block: calc(var(--baseline)*2);
     flex-wrap: wrap;
  }

  .gallery figure{
    margin: 0;
  }

  .gallery figcaption{
    width: 100%;
  }




  .piece {
    font-family: 'Mono', monospace;
    font-size: var(--fs-notes);
    line-height: var(--lh-notes);
    border: 1px solid currentColor;
    padding: calc(var(--baseline) * 0.75);
    margin-block: var(--baseline);
  }

  .piece p {
    text-indent: 0;
    margin-block: calc(var(--baseline) * 0.5);
  }

  .block-type-bibliographie p {
    font-size: var(--fs-notes);
    line-height: var(--lh-notes);
    font-weight: 500;
    text-align: left;
    margin-block: var(--lh-notes);
    padding-left: calc(var(--unit) * 0.25);
    /* text-indent: calc(var(--unit) * -0.5); */
    text-indent: 0;
    position: relative;
    break-inside: avoid;
    max-width: 56ch;
  }

  .block-type-bibliographie p::before {
    content: none;
  }

  .block-type-bibliographie p::after {
    content: "+";
    position: absolute;
    left: 0;
    top: 2px;
    text-indent: 0;
    font-size: var(--sign-size);
    font-family: var(--sign-family);
    line-height: var(--lh-notes);
  }




  .print-url {
    margin-top: calc(var(--baseline) * 3);
    font-family: var(--fontTitle);
    font-size: var(--fs-infos);
    text-align: center;
    text-indent: 0;
    break-before: avoid;
  }

  .print-url::before {
    content: "/ /";
    display: block;
    margin-bottom: 4px;
  }


  /* article gauguet montigné */
  .piece{
    break-inside: avoid;
    position: relative;
    overflow: hidden;
  }

  .piece::before {
      content: "";
      display: block;
      position: absolute;
      top: 0;
      left: -20%;
      width: 150%;
      height: 100%;
      background-image: url(../images/filigrane.png);
      background-size: cover;
      opacity: 0.04;
      transform: rotate(30deg);
      pointer-events: none;
  }

  .piece h3 {
      font-family: 'Mono', monospace;
      font-size: var(--fs-notes);
      font-weight: normal;
      text-transform: none;
      text-decoration: underline 1px;
      text-indent: 0;
      padding-left: 0;
      margin-top: 0;
      margin-bottom: calc(var(--baseline) * 1);
      text-transform: uppercase;
  }

  .piece h3:before{
    content: none;
  }

  .piece blockquote {
    margin-block: calc(var(--baseline) * 0.5);
    padding-left: 1.5em;
    padding-right: 0;
  }

  .piece blockquote p {
    position: relative;
    padding-left: 0 !important;
    text-indent: 0 !important;
    margin-block: 0;
  }

  .piece blockquote p::before {
    content: ">" !important;
    display: block !important;
    position: absolute;
    left: -1.5em;
    top: 0;
  } 

}



#gallery-jean-noel-lafargue-1 figure{
    width: 200px;

}

#angels-front br{ display: none; }



