/*
* Content pages (page templates only), per the content page mockup:
* rich-text intros and the page editor content (main-page).
* Homepage and collection rich-text sections are not affected.
*/

/* Rich text: section heading as on the homepage (Arvo 22px uppercase), readable intro */
.template-page .section-rich-text {
  .majortitle {
    font-size: 22px;
    line-height: 1.3;
  }

  /* moneshop-main.css sets rich-text paragraphs to 18px site-wide */
  .rte,
  .rte.large-text,
  .lightly-spaced-row p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
  }
}

/* Page editor content (CGV, Livraison & retour, Conseils d'entretien…):
   the page title keeps the section heading style, sub-headings become readable sentence-case titles. */
.template-page .page-section-spacing .container--reading-width .rte {
  font-size: 15px;
  line-height: 1.7;

  h1 {
    font-size: 22px;
    line-height: 1.3;
  }

  h2,
  h3,
  h4 {
    margin: 32px 0 12px;
    font-family: var(--heading-font-family);
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0;
    text-transform: none;
    color: rgb(var(--heading-color));
  }

  h2 {
    font-size: 20px;
  }

  h3,
  h4 {
    font-size: 17px;
  }

  a {
    text-decoration: underline;
  }
}

@media (max-width: 767.98px) {
  .template-page .section-rich-text .majortitle {
    font-size: 18px;
  }

  .template-page .page-section-spacing .container--reading-width .rte {
    h2 {
      font-size: 18px;
    }

    h3,
    h4 {
      font-size: 16px;
    }
  }
}
