/**
 * Typographie partagée : éditeur TinyMCE (body.wysiwyg-content)
 * et affichage public (.wysiwyg-content).
 * Alignements center/right/justify posés en inline par TinyMCE restent prioritaires.
 */

.wysiwyg-content,
body.wysiwyg-content {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px; /* ~12pt */
  line-height: 1.5;
  color: #000;
  text-align: left;
  box-sizing: border-box;
}

body.wysiwyg-content {
  margin: 12px 16px;
  max-width: 640px;
  background: #fff;
}

.wysiwyg-content p {
  margin: 0 0 1em;
  padding: 0;
}

.wysiwyg-content h1,
.wysiwyg-content h2,
.wysiwyg-content h3,
.wysiwyg-content h4 {
  margin: 0 0 0.6em;
  line-height: 1.3;
  font-weight: 700;
}

.wysiwyg-content ul,
.wysiwyg-content ol {
  margin: 0 0 1em 1.25em;
  padding: 0;
}

.wysiwyg-content li {
  margin: 0 0 0.35em;
}

.wysiwyg-content a {
  color: #0085BF;
  text-decoration: underline;
}

.wysiwyg-content a:hover {
  color: #239091;
}

.wysiwyg-content img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

.wysiwyg-content table {
  max-width: 100%;
  border-collapse: collapse;
}

.wysiwyg-content td,
.wysiwyg-content th {
  vertical-align: top;
}

/* Ne pas laisser les classes « justif » du site écraser le contenu éditorial */
.texte11noirjustif.wysiwyg-content,
.texte12noirjustif.wysiwyg-content,
.texte14noirjustif.wysiwyg-content,
.texte11noirjustif .wysiwyg-content,
.texte12noirjustif .wysiwyg-content,
.texte14noirjustif .wysiwyg-content {
  text-align: left;
  line-height: 1.5;
  font-size: 16px;
}
