.footer-content :has([i18nkey="footer.poweredBy.label"]) { display: none; } .footer-content > :has(+ li [i18nkey="footer.poweredBy.label"])::after { content: none; }