body,
html {
  overflow: visible;
  background-color: black;
}

main {
  color: white;
  background-color: transparent;
}

/* Le header est en position:fixed (voir navbar.css) : il ne pousse pas le
   contenu suivant dans le flux normal. Sur les pages articles, <main> ne
   compensait ce vide qu'avec son padding par défaut (py-12 = 48px), ce qui
   correspond par coïncidence à la hauteur du header en mobile (48px) mais
   pas du tout à sa hauteur en md+ (120px, le logo grossit) -- le titre se
   retrouvait caché sous le header dès la largeur tablette. On force un
   padding-top qui matche exactement la hauteur réelle du header à chaque
   palier. Ciblé via .max-w-3xl : classe commune à toutes les pages
   articles (existantes et celles générées par le pipeline blog, voir
   lib/article-template.js), absente de contact/news/projects. */
main.max-w-3xl {
  padding-top: 3rem; /* 48px, hauteur du header en mobile */
}
@media (min-width: 768px) {
  main.max-w-3xl {
    padding-top: 7.5rem; /* 120px, hauteur du header à partir de md */
  }
}

/* ARTISTE */

.card {
  max-width: 605px;
  max-height: 800px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-slide {
  animation: slide 30s linear infinite;
}

/* ===== corps d'article (pages articles/*.html, y compris celles générées
   automatiquement par le pipeline blog) =====
   Le contenu injecté ici n'a volontairement aucune classe Tailwind -- le
   style visuel est appliqué ici plutôt que délégué à l'IA. */
.article-body h1 {
  font-size: 2.25rem;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .article-body h1 {
    font-size: 3rem;
  }
}
.article-body h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.article-body p {
  margin-bottom: 1rem;
  color: #d1d5db; /* gray-300 */
  line-height: 1.6;
}
.article-body ul {
  list-style-type: disc;
  list-style-position: inside;
  color: #e5e7eb; /* gray-200 */
  margin-bottom: 1rem;
}
.article-body ul li + li {
  margin-top: 0.25rem;
}
.article-body strong {
  color: #ffffff;
  font-weight: 600;
}
.article-body a {
  color: var(--color-nova-red);
  text-decoration: underline;
}
.article-body a:hover {
  color: var(--color-nova-red-light);
}
