body {
    max-width: 800px; /* limite élégante sur desktop */
    width: 90%; /* largeur fluide sur mobile */
    margin: 0 auto;
    font-family: serif;
    counter-reset: figures;
}
.sitetitle {
    text-align: center;
}
nav ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    /*justify-content: space-between;*/
    justify-content: flex-start;
    padding-left: 0px;
    padding-bottom: 1rem;
    border-bottom: 2px solid black;
}
nav ul li {
    padding: 0pt 0pt;
}

.articles-list a {
    text-decoration: none;
    color: inherit;
}

article {
    border: 1px solid black;
    border-radius: 10px;
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 2%;
    display: flex;
}
article h2 {
    margin-bottom: -1ex;
}
.article-abstract {
    /*border-bottom: 1px solid black;*/
    padding-bottom: 3px;
}

.headerimage {
    width: 20%;
    display: flex;
    align-items: center;
}

img {
    max-width: 100%;
}

.headerimage img {
  max-height: 80%;
  object-fit: cover;
}

figcaption {
    counter-increment: figures;
    max-width: 60%;
    margin: 0 auto;
    text-align: center;
}
figcaption::before {
    content: 'Figure ' counter(figures) ' : ';
}

.info {
	background-color: #d3eaff;
	border: 1px solid #8585ff;
	padding: 3px;
}

footer {
    border-top: 2px solid black;
}
footer p {
    text-align: center;
}
.citation-info {
    background-color: #e9e9e9;
}