:root,
:root[data-force-color-mode="light"] {
  color-scheme: light dark;
  --textcolor: rgb(44, 63, 41);
  --bordercolor: rgb(99, 99, 99);
  --accentcolor: #1da840;
  --backgroundcolor: rgb(148, 179, 159);
}


/* print.css */

@media print {

  /* ------------------------------------------------------------ reset & typographie */
  body {
    background: white !important;
    color: black !important;
    font-family: "Degheest", monospace;
    line-height: 1.4;
    margin: 0;
  }

  *, *::before, *::after {
    font-variation-settings: "wght" 400, "wdth" 100 !important;
  }

  h1, h2, h3, p, ul, li, blockquote {
    color: black !important;
    background: none !important;
    page-break-inside: avoid;
  }

  h1 { font-size: 2rem; line-height: 1.2; }
  h2 { font-size: 1.5rem; line-height: 1.3; }
  h3 { font-size: 1.25rem; line-height: 1.3; }
  p { margin-bottom: 1em; }

  ul {
    padding-left: 1.5em;
    list-style-type: disc;
  }
  ul li { padding: 0; }

  blockquote {
    text-indent: 0;
    border-left: 3px solid black;
    padding-left: 1em;
    overflow: visible;
    height: auto;
    width: auto;
  }

  /* ------------------------------------------------------------ masquer les éléments inutiles */
  nav, .top-nav, .menu, #togglemenu, footer, .footnotes, .readmore, .articles-prev-next {
    display: none !important;
  }

  header {
    border: none;
    padding: 1em 0;
    height: auto;
    background: none;
    color: black;
  }

  header h1, .subtitle {
    font-size: 1.5rem !important;
    color: black !important;
    background: none !important;
  }

  .keywords, .authors, .text > *, .biography > * {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  table {
    border: 1px solid black;
    border-collapse: collapse;
    page-break-inside: avoid;
  }
  th, td {
    border: 1px solid black !important;
    padding: 0.3em;
  }

  /* ------------------------------------------------------------ images et couleurs vives */
  img, svg {
    max-width: 100%;
    height: auto;
    page-break-inside: avoid;
  }

  * {
    background: none !important;
    color: black !important;
  }

  /* ------------------------------------------------------------ flex/grid */
  .text, .text .quote {
    display: block !important;
    flex-direction: unset !important;
    gap: 0 !important;
  }
}


