/* =========================================================
   BLOG DIVI - Preset "single-article-fullwidth"
   ========================================================= */

/* Carte fullwidth container */
.single-article-fullwidth .et_pb_post {
  background: #eff4ff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  margin: 0 auto 2.5rem;
  max-width: 1080px;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.single-article-fullwidth .et_pb_post:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.14);
  border-color: #4267b2;
}

/* Image fullwidth + marge intérieure */
.single-article-fullwidth .entry-featured-image-url {
  padding: 20px 20px 0 20px !important;
  border-radius: 4px;
  overflow: hidden;
}

/* Image elle-même */
.single-article-fullwidth .entry-featured-image-url img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid #dddddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    filter 0.18s ease;
}

/* Zoom léger au survol */
.single-article-fullwidth .et_pb_post:hover .entry-featured-image-url img {
  transform: scale(1.03);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-color: #4267b2;
  filter: brightness(0.97);
}

/* Titre */
.single-article-fullwidth .et_pb_post .entry-title {
  padding: 0 1rem;
  margin: 0;
  line-height: 1.15;
}

/* Métas */
.single-article-fullwidth .et_pb_post .post-meta {
  padding: 0.9rem 1rem 1rem;
  margin: 0;
  font-size: 0.9rem;
  color: #555555;
}

/* Pas d'extrait pour ce preset */
.single-article-fullwidth .et_pb_post .post-content {
  display: none !important;
}

/* Petite icône devant les métas */
.single-article-fullwidth .et_pb_post .post-meta::before {
  content: "\f02b";
  font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro",
               "Font Awesome 5 Free", "FontAwesome";
  font-weight: 900;
  display: inline-block;
  margin-right: 0.45rem;
  color: #888888;
}

.single-article-fullwidth .et_pb_post .post-meta a {
  margin-right: 0.25rem;
}

/* Mobile - resserrer un peu les paddings */
@media (max-width: 768px) {
  .single-article-fullwidth .et_pb_post {
    margin-bottom: 2rem;
    border-radius: 4px;
  }

  .single-article-fullwidth .et_pb_post .entry-title,
  .single-article-fullwidth .et_pb_post .post-meta {
    padding-left: 1.4rem;
    padding-right: 1.4rem;
  }
}

/* =========================================================
   HARDENING - single-article-fullwidth (Divi/Theme Builder safe)
   Objectif: hover du titre fluide, poids stable, pas de jump
   ========================================================= */

#page-container .single-article-fullwidth .et_pb_post{
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
}

/* Option: cursor uniquement sur éléments cliquables */
#page-container .single-article-fullwidth .et_pb_post{
  cursor: default;
}
#page-container .single-article-fullwidth .et_pb_post a,
#page-container .single-article-fullwidth .entry-featured-image-url{
  cursor: pointer;
}

/* Titre: verrouiller poids + transition couleur */
#page-container .single-article-fullwidth .et_pb_post .entry-title a{
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: color 0.18s ease !important;
}

/* Hover: via hover carte + hover lien */
#page-container .single-article-fullwidth .et_pb_post:hover .entry-title a,
#page-container .single-article-fullwidth .et_pb_post .entry-title a:hover{
  color: #4267b2 !important;
  font-weight: 700 !important;
}

/* Eviter qu'un style global Divi impose un hover différent */
#page-container .single-article-fullwidth .et_pb_post a:hover{
  text-decoration: none !important;
}
