It’s not CSS related, but the fact the <div class="w3eden">
is added.
Some threads here point me to a possible solution (see https://www.wpdownloadmanager.com/support/topic/custom-link-template-3/, https://www.wpdownloadmanager.com/support/topic/w3eden-div-is-forcing-link-to-a-new-line/ and https://www.wpdownloadmanager.com/support/topic/remove-the-w3eden-div-2/) where the last one sounds the most promising one:
You can use simple jquery with the theme to remove the div with the class name. But you need to run the code only for the page you want to hide the div.
var title = $(".w3eden").contents();
$(".w3eden").replaceWith(title);
Thanks
Applying the suggestion above, I added the following line in my scripts.js file:
$("div.w3eden").contents().unwrap();
but WordPress automatically adds </p> and <p> tags around the shortcode. https://wp-mix.com/wordpress-disable-extra-p-tags-shortcodes/ seems to tackle this but I wasn’t able to achieve this yet.