#blog-article {}

#blog-article .wrapper {
  max-width: 760px;
  /* largeur contenue, comme un blog */
  margin: 0 auto;
  padding: 0 1rem;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  color: #333;
}

#blog-article .cover {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #eee;
  overflow: hidden;
  border-radius: 8px;
  margin: 0 0 2rem;
}

#blog-article .cover img {
  width: 100%;
}

#blog-article {
  font-size: 1.2rem
}

#blog-article .main {
  margin-bottom: 3rem;
}

#blog-article .main:after {
  content: '';
  display: table;
  width: 100%;
}


#blog-article .meta {
  font-size: 0.9rem;
}

#blog-article .chapeau {
  font-size: 1.4rem;
  color: #888;
  position: relative;
  margin-bottom: 2rem;
  text-wrap: balance;

}

#blog-article .chapeau:after {
  content: ' ';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  border-radius: 4px;
  background-color: var(--blue);



}




#blog-article .article-content h2 {
  font-size: 1.6rem;
  color: #999;
  margin: 1.5rem 0 1rem;
  text-align: center;
}

#blog-article .article-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  position: relative;
  display: block;
  padding-bottom: .3rem;
}

#blog-article .article-content h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--blue, #0077b6);
  /* ta couleur brand */
  border-radius: 2px;
}

#blog-article p {
  margin: 0 0 1rem 0;
}

#blog-article .gallery {
  padding-bottom: 50px;
}

#blog-article .cta {
  text-wrap: balance;
  border-radius: 2rem;
}

#blog-article .cta .btn {
  border: 1px solid white !important;
}

#blog-article .cta h2 {
  font-size: 1.4rem;
  font-weight: 600;
  position: relative;
}

#blog-article-swiper {
  display: none;
  max-width: calc(100% - 2 * var(--swiper-navigation-size));
}

#blog-article-swiper .swiper-slide {
  aspect-ratio: 1;
  overflow: hidden;
  display: flex;
}

#blog-article-swiper .swiper-slide a {
  width: 100%;
  height: 100%;
  display: block;
}

#blog-article-swiper .swiper-slide img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

#blog-article-swiper.ready {
  display: block;
}

#blog-article-swiper .swiper-button-prev {
  left: 0;
}

#blog-article-swiper .swiper-button-next {
  right: 0;
}

#swiper-pagination {
  bottom: 0 !important;
}



/* Card container */
#blog-articles .post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

/* Image */
#blog-articles .post-card__image {

  background: #eee;
}

#blog-articles .post-card__image a {
  aspect-ratio: 1;
  display: block;
}

#blog-articles .post-card__image img {
  width: 100%;
  height: 100% !important;
  display: block;
  object-fit: cover;
  filter: grayscale(30%);
  /* comme ta capture */
}

/* Body */
#blog-articles .post-card__body {
  padding: 16px 18px 18px;
}

/* Title */
#blog-articles .post-card__title {
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0 0 6px;
}

#blog-articles .post-card__title-link {
  color: #111;
  text-decoration: none;
}

#blog-articles .post-card__title-link:hover {
  text-decoration: underline;
}

/* Meta (date | catégories) */
#blog-articles .post-card__meta {
  margin: 0 0 10px;
  font-size: .9rem;
  color: #757575;
}

#blog-articles .post-card__cat {
  color: inherit;
  text-decoration: none;
}

#blog-articles .post-card__cat:hover {
  text-decoration: underline;
}

/* Excerpt */
#blog-articles .post-card__text {
  margin: 0 0 10px;
  color: #444;
  font-size: .95rem;
}

/* Read more link */
#blog-articles .post-card__link {
  /*
  align-self: flex-start;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  */
  color: var(--red);
  text-decoration: none !important;
  /* jaune/orangé façon Material */
}

#blog-articles .post-card__link:hover {}

/* Optionnel: hover lift */
#blog-articles .post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
  transition: .2s ease;
}