.blog-section {
  position: relative;
  width: 100%;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px;
  margin: 2rem 0;
}

.blog-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.blog-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px);
  transform: scale(1.1); /* évite de voir les bords à cause du blur */
}

.blog-blur-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4); /* assombrit pour plus de lisibilité */
}

.blog-content {
  position: relative;
  text-align: center;
  color: #fff;
  z-index: 2;
}

.blog-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.blog-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}
