body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.max-800px {
    max-width: 800px;
}

.author-image {
    object-fit: cover;
    border-radius: 50%;
    width: 48px;
    height: 48px;
}

.title-image {
    padding-bottom: 1.5em;
}

.logo {
	width: 50px;
	height: 50px;
  	background-image: url("/images/logo.png");
  	background-repeat: no-repeat;
  	background-size: cover;
  	background-position: left center;
  	padding-left: 50px; /* espace pour le logo */
 	/* v2 */
 	object-fit: contain;
	flex-shrink: 0;

}

.navbar-item {
  font-size: 16px;
/*  font-family: system-ui, -apple-system, sans-serif; */
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 2px;
  text-align: left;
  color: #1a5fb4;
}

.navbar-item h1 {
  font-size: 16px;
/*  font-family: system-ui, -apple-system, sans-serif; */
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 2px;
  text-align: left;
  color: #000000;
}

/* articles section */

/* ==========================================================================
   section-listing-book.css
   Style neutre inspiré du thème Hugo "Book" (hugo-book)
   Typographie sobre façon documentation, accents discrets, listes aérées.
   ========================================================================== */

:root {
  --book-bg: #ffffff;
  --book-bg-alt: #fafafa;
  --book-border: #e6e6e6;
  --book-text: #333333;
  --book-text-muted: #6f6f6f;
  --book-accent: #4054b2;
  --book-accent-hover: #2f3f94;
  --book-radius: 4px;
  --book-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica,
    Arial, sans-serif;
  --book-font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo,
    monospace;
}

.section-listing {
  font-family: var(--book-font);
  color: var(--book-text);
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
  line-height: 1.6;
}

.section-listing__header {
  margin-bottom: 1.75rem;
}

.section-listing__title {
  font-size: 1.85rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
  color: var(--book-text);
  letter-spacing: -0.01em;
}

.section-listing__intro {
  color: var(--book-text-muted);
  font-size: 0.95rem;
}

/* Liste des fichiers, façon table des matières du thème Book */

.file-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--book-border);
}

.file-list__item {
  border-bottom: 1px solid var(--book-border);
  padding: 0.9rem 0;
}

.file-list__link {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--book-accent);
  font-weight: 500;
  font-size: 1rem;
  font-family: var(--book-font-mono);
}

.file-list__link:hover {
  color: var(--book-accent-hover);
  text-decoration: underline;
}

.file-list__icon {
  font-size: 0.9rem;
  opacity: 0.7;
}

.file-list__name {
  color: inherit;
}

.file-list__desc {
  margin: 0.35rem 0 0;
  color: var(--book-text-muted);
  font-size: 0.875rem;
  font-family: var(--book-font);
}

.file-list__meta {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: var(--book-text-muted);
  font-family: var(--book-font);
}

.file-list__date {
  font-variant-numeric: tabular-nums;
}

.file-list__weight {
  background: var(--book-bg-alt);
  border: 1px solid var(--book-border);
  border-radius: var(--book-radius);
  padding: 0 0.4rem;
}

.file-list__empty {
  color: var(--book-text-muted);
  font-style: italic;
}

/* Mode sombre, cohérent avec le thème Book qui propose un toggle clair/sombre */
@media (prefers-color-scheme: dark) {
  :root {
    --book-bg: #1e1e1e;
    --book-bg-alt: #262626;
    --book-border: #363636;
    --book-text: #e0e0e0;
    --book-text-muted: #9a9a9a;
    --book-accent: #8c9eff;
    --book-accent-hover: #aab8ff;
  }
}