.text-rotate {
  display: flex;
  flex-wrap: wrap;
  white-space: pre-wrap;
  position: relative;
}

.text-rotate-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-rotate-word {
  display: inline-flex;
}

.text-rotate-lines {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.text-rotate-element {
  display: inline-block;
}

.text-rotate-space {
  white-space: pre;
}

.text-rotate-highlight {
  box-sizing: content-box;
  flex-wrap: nowrap;
  justify-content: center;
  overflow: hidden;
  padding: 0.1em 0.28em;
  border-radius: 0.16em;
}

.text-rotate-highlight-content {
  display: flex;
  flex-shrink: 0;
  white-space: pre;
}

/* ── Ajouts pour un site sans Tailwind ── */

/* Le texte qui tourne reste sur la même ligne que le reste du titre */
#rotating-text,
.rotating-main {
  display: inline-flex;
  vertical-align: bottom;
}

/* Remplace les classes Tailwind "overflow-hidden pb-0.5 sm:pb-1 md:pb-1" :
   cache les lettres pendant qu'elles glissent */
.rotating-split {
  overflow: hidden;
  padding-bottom: 0.15em;
}