/* ===== HIGHLIGHT : classe hlight-t (fonctionne avec le JS) ===== */
/* le module devient transparent une fois la couleur récupérée par le JS */
.hlight-t.hlight-ready {
  background-color: transparent !important;
}

/* titres : le fond est porté par le span ajouté par le JS */
.vc_custom_heading.hlight-t {
  line-height: 1.6; /* à ajuster, une valeur définie dans le module reste prioritaire */
}
.vc_custom_heading.hlight-t .hl-inner {
  background-color: var(--hl-bg, transparent);
  padding: 0.1em 0.4em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* blocs de texte : le fond est porté par chaque paragraphe */
.wpb_text_column.hlight-t > .wpb_wrapper > p {
  display: inline;
  background-color: var(--hl-bg, transparent);
  padding: 0.2em 0.4em;
  line-height: 1.6; /* à ajuster */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* plusieurs paragraphes : retour à la ligne entre chaque */
.wpb_text_column.hlight-t > .wpb_wrapper > p + p::before {
  content: "\A";
  white-space: pre;
}

/* alignement défini dans l'éditeur du bloc de texte */
.wpb_text_column.hlight-t > .wpb_wrapper:has(> p[style*="text-align: center"]),
.wpb_text_column.hlight-t > .wpb_wrapper:has(> p[style*="text-align:center"]) {
  text-align: center;
}
.wpb_text_column.hlight-t > .wpb_wrapper:has(> p[style*="text-align: right"]),
.wpb_text_column.hlight-t > .wpb_wrapper:has(> p[style*="text-align:right"]) {
  text-align: right;
}
/* ===== HIGHLIGHT : FIN ===== */

/* ===== HEADINGS ===== */
/* headings > harmonisation texte sub */
.uvc-sub-heading {
line-height: 1.3 !important; /* ne pas mettre unite -calcul proportionnel- */
font-weight: 500 !important;
font-size: 15px;
}

/* ===== POLICE OUTLINE ===== / le clamp defini une limite si trop petit */
/* Texte en contour (outline), épaisseur proportionnelle */
@supports (-webkit-text-stroke: 1px) {
  .uvc-heading.titre-outline .uvc-main-heading > * {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: clamp(1px, 0.03em, 4px) currentColor; /* couleur du module */
  }
}

/* Filets de part et d'autre du chiffre */
.uvc-heading.titre-outline .uvc-main-heading > * {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-left: -15px;  /* = padding intérieur de .vc_column-inner, en négatif */
  margin-right: -15px;
}

.uvc-heading.titre-outline .uvc-main-heading > *::before,
.uvc-heading.titre-outline .uvc-main-heading > *::after {
  content: "";
  flex: 1;
  height: clamp(1px, 0.06em, 10px);
  background: currentColor; /* couleur du module */
}

.titre-outline .uvc-sub-heading p {
  font-size: 16px !important;
}
/* ==== FIN POLICE OUTLINE ==== */