/* Lecture des guides et exercices élargie sans allonger les cartes produit. */
body .editorial-article .editorial-prose.bt-custom-html p,
body .editorial-article .editorial-prose.bt-custom-html li { max-width:min(100%,900px) }
.bt-exercise-lot {line-height:1.74}
.bt-exercise-lot h2 {margin:2.1rem 0 .7rem}
.bt-exercise-lot h3 {font-size:1.25rem;margin:1.2rem 0 .55rem}
.bt-exercise-lot ol,.bt-exercise-lot ul {max-width:900px}
.bt-exercise-lot li {margin:.4rem 0}
@media(max-width:760px){.bt-exercise-lot ol,.bt-exercise-lot ul{max-width:100%}}

.bt-exercise-lot .bt-exercise-figure{margin:1.5rem 0 1.85rem}
.bt-exercise-lot .bt-exercise-figure img{display:block;width:100%;height:auto;max-width:840px;object-fit:contain;border-radius:14px;background:#f2f2ef}
.bt-exercise-lot .bt-exercise-figure figcaption{font-size:.84rem;line-height:1.52;color:#58616c;margin:.55rem 0 0}

/* Photographies contextualisées ajoutées uniquement aux guides longs. */
.editorial-prose .bt-editorial-extra-photo{margin:1.6rem 0 1.85rem;max-width:100%}
.editorial-prose .bt-editorial-extra-photo img{display:block;width:100%;height:auto;max-width:100%;border-radius:14px;object-fit:contain}
.editorial-prose .bt-editorial-extra-photo figcaption{font-size:.84rem;line-height:1.5;color:#5b6570;margin:.5rem 0 0}

/* Guides et exercices : colonne de lecture réglable alignée sur le bord gauche du conteneur.
   Figures, illustrations et tableaux conservent la pleine largeur du conteneur.
   Le mobile et les autres types de pages sont inchangés. */
@media (min-width: 901px) {
  body .editorial-article.bt-wide-reading .editorial-prose,
  body .editorial-article.bt-wide-reading .editorial-figure,
  body .editorial-article.bt-wide-reading .editorial-callout,
  body .editorial-article.bt-wide-reading .editorial-faq,
  body .editorial-article.bt-wide-reading .bt-library-figure {
    width: 100%;
    max-width: 100%;
  }

  body .editorial-article.bt-wide-reading .editorial-subhead,
  body .editorial-article.bt-wide-reading .editorial-prose :is(p,h2,h3,h4,ul,ol,blockquote) {
    max-width: min(100%, var(--bt-editorial-reading-width, 920px));
    margin-left: 0;
    margin-right: 0;
  }

  /* Un paragraphe contenant une image ne doit pas réduire cette image. */
  body .editorial-article.bt-wide-reading .editorial-prose p:has(img),
  body .editorial-article.bt-wide-reading .editorial-prose :is(figure,table,.bt-guide-table,.bt-accessory-table,.bt-editorial-extra-photo,.bt-exercise-figure) {
    width: 100%;
    max-width: 100%;
  }

  body .editorial-article.bt-wide-reading .bt-exercise-lot .bt-exercise-figure img {
    max-width: 100%;
  }
}

/* Rapprocher la première photo de la date sur les guides/exercices avec couverture.
   Avant : 46px + 78px ; après : 24px + 50px (soit 50px de moins).
   Aucun changement pour le haut du titre, les autres pages ou les écrans <=900px. */
@media (min-width: 901px) {
  body .editorial-hero.bt-compact-cover-gap { padding-bottom: 24px; }
  body .section.section-cream.bt-compact-cover-gap { padding-top: 50px; }
}
