body {
  font-family: "ProdigySans";
  color : var(--textcolor);
  background-color: var(--backgroundcolor);
  line-height: 1.45;
margin : 1em 2em .5em 2em;
}

/* ------------------------------------------------------------ navigation */
.top-nav { 
  border-bottom: 1px solid var(--bordercolor);
  padding: 1em;
  text-transform: uppercase;
  position: sticky;
  top: 0;
  background: var(--backgroundcolor);
}
.top-nav a {
  text-decoration: none;
  letter-spacing: .05em;
}

/* ------------------------------------------------------------ thème clair & sombre */
/* Thème clair */
:root,
:root[data-force-color-mode="light"] {
  color-scheme: light dark;
  --textcolor: black;
  --bordercolor: hsl(38, 100%, 88%);
  --backgroundcolor: hsl(39, 100%, 94%);
  --accentcolor : grey;
  
}


/* Thème sombre : obligation de dupliquer dans @media les règles ci-dessus */
@media (prefers-color-scheme: dark) {
  :root {
    --textcolor: white;
    --bordercolor: grey;
    --backgroundcolor: black;
    --font-weight: 280;
  }
}

/* Thème sombre */
:root[data-force-color-mode="dark"] {
  --textcolor: white;
  --bordercolor: grey;
  --backgroundcolor: rgb(67, 67, 67);
  --font-weight: 280;
}

a {
  color: currentColor;
  font-weight : 300;
  font-style : italic;
}

nav {
  font-weight: 400;
  font-style: italic;
}


main {
    font-weight: 400;
  font-style: italic;
}

header h1 {
   font-weight: 600;
  font-style: normal;
}

.authors {
  font-weight: 500;
  font-style: normal;
  font-size: 0.90em;
}

.keywords {
  font-weight: 300;
  font-style: italic;
  font-size: 0.80em;
}

.keywords a {
   font-weight : 300;
  font-style : italic;
}

.epigraphe {
  font-weight: 300;
  font-style: italic;
  line-height: 1.45;
  max-width: 70ch;
  max-width: 40em;
}

.text {
  font-weight: 400;
  font-style: normal;
}

.text p {

  font-weight: 400;
  font-style: normal;
  line-height: 1.50;
  max-width: 70ch;
  max-width: 40em;
}

.text .quote {

  font-weight: 300;
  font-style: italic;
  line-height: 1.45;
  max-width: 70ch;
  max-width: 40em;
}

.text p:first-of-type::first-letter {
  float: left;
  font-size: 5.2em;
  line-height: 0.8;
  margin: 0.08em 0.12em 0 0;
  font-weight: 400;
  letter-spacing: -0.05em;
}

p {
  font-weight: 400;
  font-style: normal;
}

h1 {
  font-weight: 700;
  font-style: normal;
  text-align: center;
  background: var(--bordercolor);
  padding: 1em;
}

h2 {
  font-weight: 500;
  font-style: normal;
  background:  var(--bordercolor);
  padding:1em;
}

h3 {
  font-weight: 600;
  font-style: normal;
  font-size: 1.25em;
  background: var(--bordercolor);
  padding: 1em;
}

.readmore {
  font-weight: 400;
  font-style: normal;
  font-size: 0.80em;
  max-width: 70ch;
  max-width: 40em;
}

.biography{
  font-weight: 400;
  font-style: italic;
  font-size: 0.93em;
  max-width: 70ch;
  max-width: 40em;
}

.footnotes {
  font-weight: 300;
  font-style: normal;
  font-size: 0.75em;
  max-width: 70ch;
  max-width: 40em;
}

table {
  border-collapse: collapse;
}
th { --font-wght: 600}
td, th {
  padding-block: .5em;
  vertical-align: top;  
  text-align: left;
  border-bottom: 1px solid var(--bordercolor);
}
td:not(:first-child),
th:not(:first-child) { padding-left: .5em; border-left: 1px solid var(--bordercolor);}
td:not(:last-child),
th:not(:last-child) { padding-right: .5em; border-right: 1px solid var(--bordercolor);}
tbody tr:last-child td, tbody tr:last-child th {
  border-bottom: none;
}

/* ------------------------------------------------------------ footer */
#footer {
  display: flex;
  flex-direction: column;
}
#footer > * {
  padding: 1.6em 1em;
}

.articles-prev-next {
  display: flex;
  gap: 1em;
  justify-content: space-between;
  border-bottom: 1px solid var(--bordercolor);
}

.declaration {
 font-weight: 500;
  font-style: italic;
  font-size: 0.90em;
}

.monimage {
  margin: 2em -1em;
  width: 100%;
  aspect-ratio: 16/4;
  width: calc(100% + 2em);
}
.monimage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figcaption {
  font-weight: 400;
  font-style: italic;
}




