I am trying to create a beamer presentation with a custom frame title (that is compatible with my organization's corporate design). The text should be in white on a blue background, but the background should be only behind the text (i.e. as if the text was markered). I tried to redefine the frametitle macro using \hl from the soul package, but \hl does not work when it contains the \insertframetitle macro. An approach based on \colorbox is not possible with multiline frametitles. Are there any workarounds? Greetings!

