
.script-doctoring-page {
  overflow-x: clip;
}

#script-doctoring-widget .tt-sdWrap,
#script-doctoring-widget .tt-sdHero,
#script-doctoring-widget .tt-sdHeroPhotos,
#script-doctoring-widget .tt-sdNotebookWrap,
#script-doctoring-widget .tt-sdFaqWrap,
#script-doctoring-widget .tt-sdBigCtaRow {
  max-width: var(--page-hero-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Hero harmonisé avec les autres pages internes. */
#script-doctoring-widget .tt-sdH1 {
  font-size: var(--page-hero-size) !important;
  line-height: var(--page-hero-line) !important;
  letter-spacing: var(--page-hero-letter) !important;
  max-width: none !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

/* Les autres titres gardent leur hiérarchie propre. */
#script-doctoring-widget .tt-sdH2,
#script-doctoring-widget .tt-sdFaqTitle {
  max-width: none !important;
}

/* Le widget décalait artificiellement les photos à gauche sur desktop. */
@media (min-width: 980px) {
  #script-doctoring-widget .tt-sdHeroPhotos {
    transform: none !important;
  }
}

/* Un peu moins de vide sous la FAQ sur desktop, proche de la capture de référence. */
#script-doctoring-widget .tt-sd {
  padding-bottom: 44px !important;
}

@media (max-width: 900px) {
  #script-doctoring-widget .tt-sdH1 {
    max-width: none !important;
  }
}


/* V35 — Script-doctoring : photos du hero plus discrètes */
@media (min-width: 901px) {
  #script-doctoring-widget .tt-sdHeroPhotos {
    max-width: 760px !important;
    gap: 42px !important;
    justify-content: center !important;
  }

  #script-doctoring-widget .tt-sdHeroPhotos > * {
    max-width: 350px !important;
    flex: 0 1 350px !important;
  }

  #script-doctoring-widget .tt-sdHeroPhotos img {
    width: 100% !important;
    height: auto !important;
    max-height: 300px !important;
    object-fit: cover !important;
  }
}
