/* Styles de base pour actu-by-category */
.actu-by-category {
  max-width: 1550px;
  margin: 0 auto;
  padding: 2% 1%;
}
.actu-by-category.has-grey-background {
  background-color: #f5f5f5;
  padding: 40px 0;
  max-width: 3000px;
}
.actu-by-category.has-grey-background .essai-fourgon-left-section {
  padding: 3% 20%;
}
/* Modification du conteneur pour gérer le max-width conditionnellement */
.actu-by-category .actu-container {
  margin: 0 auto;
}

.actu-by-category.has-grey-background .actu-container {
  max-width: none;
  padding: 0 40px;
}

.actu-by-category a {
  text-decoration: none;
  color: black;
}

/* Méta-données des articles */
.actu-by-category .article-meta {
  font-size: 0.9rem;
  color: #666;
  margin-top: 5px;
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.article-meta span {
  display: inline-block;
}

.article-meta .article-read-time {
  display: flex;
  align-items: center;
  color: #333;
}

.article-meta .article-read-time i {
  margin-right: 5px;
  color: #ff6600;
}

.article-meta .article-date {
  color: #666;
}

/* Titre de section */
.actu-by-category .section-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 25px;
  position: relative;
  padding-left: 15px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.actu-by-category .section-title::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 85%;
  background-color: #e65f0d;
  position: absolute;
  left: -5px;
  top: 0;
}

/* Layout avec article à la une */
.actu-by-category .actu-container.has-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "articles-list featured-article";
  gap: 3%;
}

/* Article à la une */
.actu-by-category .featured-article {
  grid-area: featured-article;
}

.actu-by-category .featured-thumbnail {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
  position: absolute;
  inset: 0;
}

.actu-by-category .featured-title {
  font-size: 1.8rem;
  line-height: 1.2em;
  font-weight: bold;
  margin: 15px 0 0 0;
  color: #000;
}
.breves-list {
  text-align: center;
}
.breve-content {
  margin-bottom: 5%;
}
/* Liste des articles (avec featured) */
.actu-by-category .has-featured .articles-list {
  grid-area: articles-list;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.actu-by-category .has-featured .article-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.actu-by-category .has-featured .article-thumbnail {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 5px;
  flex-shrink: 0;
}

.actu-by-category .has-featured .article-title {
  font-size: 1.4rem;
  line-height: 1.3;
  font-weight: bold;
  margin: 0;
  width: 100%;
}

/* Liste des articles (sans featured) */
.actu-by-category .no-featured .articles-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.actu-by-category .no-featured .article-thumbnail {
  width: 100%;
  height: 75%;
  object-fit: cover;
  border-radius: 5px;
}

.actu-by-category .no-featured .article-title {
  font-size: 1.3rem;
  line-height: 1.3;
  margin-top: 10px;
  font-weight: bold;
}

/* Layout spécifique pour essai-fourgon */
.actu-by-category.actualite-fourgon-layout {
  max-width: 1550px;
  display: flex;
  flex-direction: row;
  gap: 7rem;
  align-items: center;
  width: 100%;
}

.essai-fourgon-left-section {
  flex: 1;
  order: 1;
}

.essai-fourgon-right-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  width: 25%;
  order: 2;
  background: #f5f5f5;
  padding: 0.5rem;
  color: #000000;
  border-radius: 30px 30px 30px 0;
}

.essai-fourgon-right-section h2 {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 25px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  position: relative;
}

.essai-fourgon-right-section h2::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #e65f0d;
}

.essai-fourgon-image {
  width: 65%;
  height: auto;
  object-fit: contain;
}

.essai-fourgon-cta {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #ff5722;
  color: white !important;
  text-align: center;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: underline !important;
  position: relative;
  padding-left: 3rem;
}

.essai-fourgon-cta::before {
  content: "➜";
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  font-size: 0.6em;
  color: white;
}

.essai-fourgon-cta:hover {
  background-color: #f4511e;
}
.actualite-fourgon-layout .actu-container.no-featured .articles-list {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 2rem;
  width: 100%;
  max-width: 800px;
}
.actualite-fourgon-layout
  .actu-container.no-featured
  .articles-list
  .article-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}

.actualite-fourgon-layout .actu-container.no-featured .article-thumbnail {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 5px;
  flex-shrink: 0;
}

.actualite-fourgon-layout .actu-container.no-featured .article-title {
  font-size: 1.2rem;
  line-height: 1.3;
  font-weight: bold;
  margin: 0;
}

.actualite-fourgon-layout .actu-container.no-featured .article-content {
  flex: 1;
}

/* Responsive - Tablette */
@media screen and (max-width: 1024px) {
  .actu-by-category .actu-container.has-featured {
    grid-template-columns: 1fr;
    grid-template-areas:
      "featured-article"
      "articles-list";
  }

  .actu-by-category .has-featured .articles-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .actu-by-category .has-featured .article-item {
    flex-direction: column;
  }

  .actu-by-category .has-featured .article-thumbnail {
    width: 100%;
    height: 200px;
  }
}
@media screen and (max-width: 1024px) {
  .actu-by-category {
    padding: 2% 1% 30% 1%;
  }
}
/* Responsive - Mobile */
@media screen and (max-width: 768px) {
  .actu-by-category .no-featured .articles-list {
    gap: 25px;
  }
  .actu-by-category .section-title {
    margin-bottom: 10px;
  }
  .actu-by-category .has-featured .article-title {
    font-size: 1.1rem;
  }
  .actu-by-category .no-featured .article-title {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 0;
  }
  .actu-by-category .featured-title {
    font-size: 1.3rem;
    margin: 0;
  }
  .actu-by-category .no-featured .article-meta {
    margin-bottom: 0;
  }
  .actu-by-category .article-meta {
    margin-bottom: 0;
  }
  .actu-by-category.has-grey-background .essai-fourgon-left-section {
    padding: 0;
  }
  .essai-fourgon-right-section {
    display: none;
  }
  .actu-by-category {
    padding: 2% 1%;
  }
  .actu-by-category.actualite-fourgon-layout {
    flex-direction: column;
    gap: 2rem;
  }

  .essai-fourgon-left-section {
    width: 100%;
  }

  .actu-by-category .section-title {
    font-size: 1.5em;
  }

  .actu-by-category .no-featured .articles-list,
  .actu-by-category .has-featured .articles-list {
    grid-template-columns: 1fr;
  }

  .actu-by-category .featured-thumbnail {
    height: 300px;
  }

  .actu-by-category .has-featured .article-item {
    flex-direction: row;
  }
  .actu-by-category .has-featured .article-item:last-child {
    margin-bottom: 10%;
  }

  .actu-by-category .has-featured .article-thumbnail {
    width: 150px;
    height: 150px;
  }
}
/* Styles pour l'image de l'article en vedette */
.featured-article .nimp {
  width: 100%;
  height: auto;
  max-height: 400px;
  overflow: hidden;
  margin-bottom: 15px;
}

.featured-article .nimp img {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: relative;
}

/* Ajustements spécifiques pour mobile */
@media (max-width: 768px) {
  .featured-article .nimp {
    max-height: 250px;
    display: block !important; /* Force l'affichage */
  }

  .featured-article .nimp img {
    display: block !important; /* Force l'affichage de l'image */
  }
}
/* .actu-container .has-featured #c45321ccf87224f364dbb95bf646a1c26 {
display: none;
  } */
.featured-article {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.featured-link {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.nimp {
  flex: 1;
  overflow: hidden;
  position: relative;
}

/* Style pour l'extrait */
.article-excerpt {
  margin-top: 10px;
  font-size: 0.9em;
  line-height: 1.4;
  color: #666;
  text-align: left;
}

/* Style pour le lien de catégorie */
.category-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.category-link:hover {
  color: #48bcbf;
  /* Couleur au survol - à adapter selon votre charte graphique */
  text-decoration: underline;
}

/* Responsive pour les extraits */
@media (max-width: 768px) {
  .article-excerpt {
    font-size: 0.8em;
    line-height: 1.3;
  }
}
#c4ce755ec4958c673eeab6a0c2751024c {
  margin-top: 3%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
