/*
 * Pages legales / informatives (texte long) : lisibilite.
 * CMS 1 Livraison, 2 Mentions legales, 3 Conditions (CGV), 11 Politique de confidentialite.
 * Contenus nettoyes par _migration/clean-cms.php (h2/h3, p, ul, blockquote).
 */
body.page-cms:is(.cms-id-1, .cms-id-2, .cms-id-3, .cms-id-11) #content.page-content {
  max-width: 820px;
  margin: 0 auto 60px;
  color: #3f3a33;
  font-size: 16px;
  line-height: 1.7;
}

body.page-cms:is(.cms-id-1, .cms-id-2, .cms-id-3, .cms-id-11) #content.page-content p {
  margin: 0 0 1em;
  font-size: inherit;
  line-height: inherit;
}

/* Titres de section : respiration au-dessus, filet discret dessous. */
body.page-cms:is(.cms-id-1, .cms-id-2, .cms-id-3, .cms-id-11) #content.page-content h2 {
  margin: 2.4em 0 0.8em;
  padding-bottom: 0.45em;
  border-bottom: 1px solid #e3ddd3;
  color: #2b3824;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

body.page-cms:is(.cms-id-1, .cms-id-2, .cms-id-3, .cms-id-11) #content.page-content h3 {
  margin: 1.8em 0 0.6em;
  color: #2b3824;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
}

body.page-cms:is(.cms-id-1, .cms-id-2, .cms-id-3, .cms-id-11) #content.page-content > :is(h2, h3):first-child {
  margin-top: 0;
}

body.page-cms:is(.cms-id-1, .cms-id-2, .cms-id-3, .cms-id-11) #content.page-content strong {
  color: #2b3824;
  font-weight: 600;
}

body.page-cms:is(.cms-id-1, .cms-id-2, .cms-id-3, .cms-id-11) #content.page-content ul {
  margin: 0 0 1.3em;
  padding: 0 0 0 1.4em;
}

/* Phrase d'introduction collee a la liste qu'elle annonce. */
body.page-cms:is(.cms-id-1, .cms-id-2, .cms-id-3, .cms-id-11) #content.page-content p:has(+ ul) {
  margin-bottom: 0.5em;
}

body.page-cms:is(.cms-id-1, .cms-id-2, .cms-id-3, .cms-id-11) #content.page-content li {
  margin-bottom: 0.5em;
  padding-left: 0.2em;
  line-height: inherit;
}

body.page-cms:is(.cms-id-1, .cms-id-2, .cms-id-3, .cms-id-11) #content.page-content li::marker {
  color: #a57140;
}

/* Encadre (ex. garantie legale de conformite). */
body.page-cms:is(.cms-id-1, .cms-id-2, .cms-id-3, .cms-id-11) #content.page-content blockquote {
  margin: 1.6em 0;
  padding: 1.3em 1.5em;
  border-left: 3px solid #a57140;
  background: #f4f1ec;
  font-size: inherit;
}

body.page-cms:is(.cms-id-1, .cms-id-2, .cms-id-3, .cms-id-11) #content.page-content blockquote > :last-child {
  margin-bottom: 0;
}

body.page-cms:is(.cms-id-1, .cms-id-2, .cms-id-3, .cms-id-11) #content.page-content a {
  color: #8a5a2e;
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  body.page-cms:is(.cms-id-1, .cms-id-2, .cms-id-3, .cms-id-11) #content.page-content {
    font-size: 15px;
    line-height: 1.65;
  }

  body.page-cms:is(.cms-id-1, .cms-id-2, .cms-id-3, .cms-id-11) #content.page-content h2 {
    margin-top: 2em;
    font-size: 20px;
  }

  body.page-cms:is(.cms-id-1, .cms-id-2, .cms-id-3, .cms-id-11) #content.page-content h3 {
    font-size: 17px;
  }

  body.page-cms:is(.cms-id-1, .cms-id-2, .cms-id-3, .cms-id-11) #content.page-content blockquote {
    padding: 1em 1.1em;
  }
}

/* --- FAQ (CMS 10, bloc "Editeur de texte" Elementor) ------------------------
   h2 = rubrique, h3 = question, p / ul = reponse, hr = separation de rubriques. */
body.page-cms.cms-id-10 #content .elementor-text-editor {
  max-width: 820px;
  margin: 0 auto;
  color: #3f3a33;
  font-size: 16px;
  line-height: 1.7;
}

body.page-cms.cms-id-10 #content .elementor-text-editor :is(p, li) {
  font-size: inherit;
  line-height: inherit;
}

body.page-cms.cms-id-10 #content .elementor-text-editor p {
  margin: 0 0 0.9em;
}

/* Rubrique */
body.page-cms.cms-id-10 #content .elementor-text-editor h2 {
  margin: 2.6em 0 0.4em;
  padding-bottom: 0.45em;
  border-bottom: 1px solid #e3ddd3;
  color: #2b3824;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
}

body.page-cms.cms-id-10 #content .elementor-text-editor > h2:first-child {
  margin-top: 0;
}

/* Question */
body.page-cms.cms-id-10 #content .elementor-text-editor h3 {
  margin: 1.7em 0 0.45em;
  color: #2b3824;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

body.page-cms.cms-id-10 #content .elementor-text-editor h2 + h3 {
  margin-top: 1.1em;
}

/* Les traits de separation font doublon avec le filet des rubriques. */
body.page-cms.cms-id-10 #content .elementor-text-editor hr {
  display: none;
}

body.page-cms.cms-id-10 #content .elementor-text-editor ul {
  margin: 0 0 1em;
  padding: 0 0 0 1.4em;
}

body.page-cms.cms-id-10 #content .elementor-text-editor li {
  margin-bottom: 0.45em;
  padding-left: 0.2em;
}

body.page-cms.cms-id-10 #content .elementor-text-editor li::marker {
  color: #a57140;
}

body.page-cms.cms-id-10 #content .elementor-text-editor p:has(+ ul) {
  margin-bottom: 0.5em;
}

body.page-cms.cms-id-10 #content .elementor-text-editor strong {
  color: #2b3824;
  font-weight: 600;
}

body.page-cms.cms-id-10 #content .elementor-text-editor a {
  color: #8a5a2e;
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  body.page-cms.cms-id-10 #content .elementor-text-editor {
    font-size: 15px;
    line-height: 1.65;
  }

  body.page-cms.cms-id-10 #content .elementor-text-editor h2 {
    margin-top: 2.1em;
    font-size: 20px;
  }

  body.page-cms.cms-id-10 #content .elementor-text-editor h3 {
    font-size: 16.5px;
  }
}

/* Titres et questions : lignes equilibrees (evite un "?" seul en fin de titre). */
body.page-cms:is(.cms-id-1, .cms-id-2, .cms-id-3, .cms-id-11) #content.page-content :is(h2, h3),
body.page-cms.cms-id-10 #content .elementor-text-editor :is(h2, h3) {
  text-wrap: balance;
}
