/* === Reset / Base === */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #f9fafb;
  color: #1f1f1f;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* === Header du Blog === */
.blog-header {
  background-color: #137C8B;
  background: url('../images/heroblog.png') no-repeat center center/cover;
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.blog-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.blog-header p {
  font-size: 1.1rem;
  font-weight: 300;
}

/* === Section Blog === */
.blog-section {
  padding: 4rem 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* === Carte d'article === */
.blog-post {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-5px);
}

.blog-post img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-post h2 {
  font-size: 1.4rem;
  margin: 1rem;
  color: #344D59;
}

.blog-post p {
  margin: 0 1rem 1rem 1rem;
  font-size: 0.95rem;
  color: #444;
}

.read-more {
  display: inline-block;
  margin: 0 1rem 1rem 1rem;
  color: #137C8B;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.read-more:hover {
  color: #0b5864;
}

/* === Footer === */
.footer-blog {
  background-color: #344D59;
  color: white;
  text-align: center;
  padding: 2rem 0;
}

.footer-blog p {
  margin: 0;
  font-size: 0.9rem;
}


.blog-header {
  margin-top: 92px; /* Ajustable selon la hauteur réelle de ta navbar */
}
