/* Amani V12 — presentation éditoriale des articles.
   Bandeau panoramique par défaut : un cadre maîtrisé, responsive, sans déformation. */
body.single .theme-body .content.content-singular .post-header-big {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin: 0 auto 34px;
  padding: 0 22px;
  text-align: center;
}
body.single .theme-body .content.content-singular .post-header-big > .post-header {
  width: 100%;
  max-width: 860px;
  margin: 0 auto 24px;
}
body.single .theme-body .content.content-singular .post-header-big h1.post-title {
  width: 100%;
  max-width: 810px;
  margin: 0 auto;
  padding: 12px 0 16px;
  line-height: 1.18;
  overflow-wrap: break-word;
  box-sizing: border-box;
}
body.single .theme-body .content.content-singular .post-header-big .post-meta {
  padding: 0 !important;
  margin: 0 !important;
}
/* Neutraliser la vieille image Amani en pleine largeur d'écran. */
body.single .theme-body .content.content-singular .post-header-big > figure.singular-featured {
  display: block;
  width: 100%;
  max-width: var(--amani-featured-width, 860px);
  height: var(--amani-featured-height, 320px);
  margin: 0 auto !important;
  padding: 0;
  transform: none;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-sizing: border-box;
}
body.single .theme-body .content.content-singular .post-header-big > figure.singular-featured > img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  object-position: var(--amani-featured-position, center bottom);
  border-radius: 0;
}
/* Une variante est disponible dans Personnaliser pour montrer toute la photo. */
body.single .theme-body .content.content-singular .post-header-big > figure.singular-featured[data-amani-featured-fit="natural"] {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  max-height: var(--amani-featured-height, 320px);
}
body.single .theme-body .content.content-singular .post-header-big > figure.singular-featured[data-amani-featured-fit="natural"] > img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: var(--amani-featured-height, 320px) !important;
  object-fit: contain;
}
/* Lecture resserrée : le texte commence juste après l'image. */
body.single .theme-body .content.content-singular > article {
  width: calc(100% - 44px);
  max-width: 700px;
  min-width: 0;
  margin: 0 auto;
  box-sizing: border-box;
}
@media (max-width: 740px) {
  body.single .theme-body .content.content-singular .post-header-big {
    padding: 0 16px;
    margin-bottom: 26px;
  }
  body.single .theme-body .content.content-singular .post-header-big > .post-header {
    margin-bottom: 20px;
  }
  body.single .theme-body .content.content-singular .post-header-big h1.post-title {
    padding: 10px 0 12px;
    line-height: 1.2;
  }
  body.single .theme-body .content.content-singular .post-header-big > figure.singular-featured {
    height: clamp(185px, 53vw, 270px);
    border-radius: 8px;
  }
  body.single .theme-body .content.content-singular > article {
    width: calc(100% - 32px);
  }
}
