/* Styles pour la page article */

#article h1 {
  padding: 6rem 3rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0.5rem;
  margin-bottom: 2rem;

  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--color-cream);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  
  /* Overlay sombre pour améliorer la lisibilité du texte */
  background-blend-mode: overlay;
  background-color: rgba(0, 0, 0, 0.3);
  
  /* Effet de dégradé subtil */
  position: relative;
}

#article h1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  border-radius: 0.5rem;
  z-index: 1;
}

#article h1 span {
  position: relative;
  z-index: 2;
}

/* Responsive */
@media (max-width: 768px) {
  #article h1 {
    padding: 4rem 2rem;
    font-size: 2rem;
  }
}
