@media print {
  @page {
    size: A4 landscape;
    margin: 1cm;
    margin-bottom: 2cm;

    @bottom-right {
      font-family: 'Karrik';
      /* text-transform: uppercase; */
      content: counter(page) "/"counter(pages);
    }

    @bottom-left {
      font-family: 'Karrik';
      /* text-transform: uppercase; */
      content: "Manger le soleil";
    }
  }

  body {
    --max-width: calc(28.7cm/12*8);
  }

  .pagedjs_margin-content {
    padding: calc(var(--padding)/2) 0;
    border-top: var(--border);
  }


  body.limited-img section:not(#medias) .texte-paragraphe figure {
    display: inherit;
  }


  h2 {
    string-set: section-name content(text);
  }

  .base-grid {
    display: unset;
  }

  nav.nav-site {
    display: none;
  }

  .img-header:nth-of-type(2) {
    display: none;
  }

  h2 {
    break-before: page;
    line-height: 1;
  }

  .scroll-margin {
    scroll-margin-top: unset;
  }

  nav.sous-nav {
    break-after: page;
  }

  .collapsible .picto {
    display: none;
  }

  .collapsible h3 {
    column-span: all;
  }

  .collapsible {
    /* column-count: 2; */
    break-after: page;
    /* column-fill: auto; */
    max-width: var(--max-width);
  }

  .collapsible>*:not(:first-child) {
    display: unset;
  }

  .texte-paragraphe figure figcaption {
    left: unset;
    text-align: start;
    right: calc(100vw/-6 - var(--padding));
  }

  .img-header~h1 {
    display: none;
  }

  section#l-equipe figure {
    position: absolute;
    left: var(--max-width);
    top: 0px;
    width: calc(28.7cm/12)
    bottom: unset;
    /* left: unset; */
    /* right: calc((100vw/-6 - var(--padding))/2); */
  }

  section#l-equipe .collapsible h4{
    break-before: page;
  }

  section#medias .collapsible:first-child div {
    gap: calc(28.7cm / 12)

  }

  footer {
    display: none!important;
  }

  .star{
    display: none;
  }
}
