html:is(.translated-ltr, .translated-rtl) :is(h1, h2, h3, h4):not([translate="no"])::first-letter {
  text-transform: uppercase;
}

/* A translation marker stays part of its sentence, including inside
   headings whose decorative spans normally start a separate line. */
html body .translation-term[translate="no"] {
  display: inline;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}
