/* ANTEO V7.59.8 — /mentions-legales, affichage du titre sur ordinateur.
 * Les versions 7.57.8, 7.58.2 et 7.59.6 corrigeaient uniquement les
 * viewports <= 1024px. Sur les fenêtres de bureau >1024px, le H1 Odoo peut
 * conserver une présentation flex/grille avec un mot par ligne et un
 * espacement vertical excessif après récupération du titre depuis le CMS.
 *
 * Ce correctif rétablit le flux de texte normal, sans modifier le H1 ni les
 * .char générés par l'animation native (GSAP, survol, etc.).
 * Le marqueur data-* n'est posé que sur la route /mentions-legales.
 */
@media screen and (min-width: 1025px) {
  html[data-anteo-mentions-page-v7578="1"] body h1 {
    display: block !important;
    flex-direction: initial !important;
    justify-content: initial !important;
    align-items: initial !important;
    align-content: initial !important;
    gap: 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    white-space: normal !important;
    line-height: 1.05 !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  html[data-anteo-mentions-page-v7578="1"] body h1 .word:not(.space) {
    display: inline-block !important;
    float: none !important;
    clear: none !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: inherit !important;
    vertical-align: baseline !important;
    white-space: nowrap !important;
  }

  /* Les espaces natifs ne doivent jamais devenir des éléments de ligne. */
  html[data-anteo-mentions-page-v7578="1"] body h1 .word.space {
    display: inline !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: inherit !important;
  }

  /* Repli CSS si cette page ne reçoit pas le découpage natif. */
  html[data-anteo-mentions-page-v7578="1"] body h1[data-anteo-mentions-fallback-v7577="1"] > span:not(.anteo-mentions-char-v7577) {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: baseline !important;
    white-space: nowrap !important;
    line-height: inherit !important;
  }
}
