body {
  background-color: var(--soutien-parentalite-bg);
}

/* -------- ARTICLES (aligné sur la_thérapie_ICV.css) -------- */

article {
  max-width: 1050px;
  margin: auto;
}

article h3,
.carousell-container .quoteContainer h3 {
  margin: 0 0 30px 0;
  text-align: center;
  font-family: "Diphylleia", serif;
}

article h4 {
  margin: 0;
}

article p {
  text-align: justify;
  margin-bottom: 16px;
  line-height: 1.6;
}

/* -------- IMAGES (hors blocs flex : pas de hauteur fixe type ICV) -------- */

article > img {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}

/* -------- CONTAINER IMAGE + TEXTE -------- */

.container-img-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 900px;
  margin: 40px auto;
  box-sizing: border-box;
}

.container-img-text * {
  font-family: "Oxygen", sans-serif;
}

.container-img-text .text {
  max-width: 500px;
}

.container-img-text .text * {
  text-align: start;
}

.container-img-text .text p {
  max-width: 100%;
}

/* Blocs image + texte dans les articles : même gabarit que la page ICV */
article .container-img-text {
  max-width: 86%;
  width: 100%;
  margin: 24px auto;
  padding: 0;
  gap: 24px;
  box-sizing: border-box;
  justify-content: flex-start;
}

article .container-img-text .text {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
}

article .container-img-text .img {
  flex-shrink: 0;
}

article .container-img-text .text,
article .container-img-text .text * {
  text-align: justify;
}

/* Intro & « Comment la thérapie agit ? » : image centrée verticalement avec le texte */
article .schemas-intro-bloc.container-img-text,
article .schemas-therapy-agit-bloc.container-img-text {
  align-items: center;
}

article .schemas-intro-bloc .img,
article .schemas-therapy-agit-bloc .img {
  align-self: center;
}

/* Plus spécifique que css/blocs-texte-image.css */
main article .container-img-text.schemas-intro-bloc .img img,
main article .container-img-text.schemas-therapy-agit-bloc .img img {
  align-self: center;
}

.container-img-text h4 {
  font-size: 1.2em;
}

.container-img-text a {
  display: inline-block;
  text-decoration: underline;
  color: navy;
}

.container-img-text a:hover {
  text-decoration: none;
  color: rgb(43, 43, 239);
}

/* « Pour aller plus loin » : titre centré ; texte + liens alignés à gauche sur le même axe */
article.pour-aller-plus-loin-schemas h3.icv-pour-aller-plus-loin {
  margin: 24px 0 20px;
  text-align: center;
  font-family: "Diphylleia", serif;
}

article.pour-aller-plus-loin-schemas p {
  font-family: "Oxygen", sans-serif;
  text-align: left;
  text-indent: 0;
}

article.pour-aller-plus-loin-schemas a {
  display: inline;
  text-decoration: underline;
  color: navy;
  overflow-wrap: anywhere;
  word-break: break-word;
}

article.pour-aller-plus-loin-schemas a:hover {
  text-decoration: none;
  color: rgb(43, 43, 239);
}

/* -------- LISTES (article-with-list + liste dans le bloc « Comment la thérapie agit ? ») -------- */

/* Listes au sein d’un <article> : même largeur que les <p> (80 % centrés) pour ne pas partir trop à gauche */
article .article-with-list {
  padding: 0;
  max-width: 80%;
  margin: 12px auto 0;
  box-sizing: border-box;
}

.article-with-list {
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 clamp(56px, 7vw, 88px);
  box-sizing: border-box;
}

.article-with-list .text {
  margin: 0;
  width: 100%;
}

.article-with-list-intro,
.article-with-list .text > p {
  max-width: 100%;
  margin-left: 0;
  margin-right: auto;
  margin-bottom: 16px;
  padding-left: 0;
  text-indent: 0;
  line-height: 1.6;
  box-sizing: border-box;
  font-family: "Oxygen", sans-serif;
}

.article-with-list-intro {
  margin-top: 0;
  text-align: start;
}

.article-with-list .text > p {
  margin-top: 0;
  text-align: justify;
}

.article-with-list ul,
article .schemas-therapy-agit-bloc .text ul {
  max-width: 100%;
  margin: 16px 0;
  padding-left: 0;
  padding-right: 0;
}

.article-with-list ul li,
article .schemas-therapy-agit-bloc .text ul li {
  list-style-type: disc;
  text-align: justify;
  font-family: "Oxygen", sans-serif;
  margin: 0 55px;
}

.article-with-list ul li strong,
article .schemas-therapy-agit-bloc .text ul li strong {
  font-family: inherit;
  font-weight: 700;
}

@media only screen and (min-width: 768px) {
  .article-with-list ul li,
  article .schemas-therapy-agit-bloc .text ul li {
    margin: 0 0 0 40px;
  }
}

/* -------- EN SAVOIR PLUS (même bloc que ICV si utilisé plus tard) -------- */

.en-savoir-plus {
  font-size: 1.2em;
  text-align: end;
  max-width: 900px;
  margin: 30px auto;
}

/* -------- RESPONSIVE (aligné sur ICV) -------- */

@media only screen and (max-width: 768px) {
  article {
    padding: 40px 5px;
  }

  .article-with-list {
    padding: 0 clamp(12px, 4vw, 20px);
  }

  article .article-with-list {
    max-width: 95%;
    margin: 12px auto 0;
  }

  .article-with-list ul li,
  article .schemas-therapy-agit-bloc .text ul li {
    margin: 0 15px;
  }

  .container-img-text {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  article .container-img-text {
    max-width: 92%;
    margin-left: auto;
    margin-right: auto;
  }

  article .container-img-text .text,
  article .container-img-text .text * {
    text-align: justify;
  }

  .container-img-text .text p {
    max-width: 95%;
  }

  article > img {
    width: 90%;
  }

  .container-text-img-under {
    max-width: 95%;
  }

  .container-text-img-under .text li {
    margin: 0 15px;
  }
}
