/* shortcut: Match Virtenia URLs by substring. Use hostname matching if an
 * off-site link containing virtenia.com needs an icon. */
:is(
  .md-content__inner a:not(:has(img, svg)),
  a.md-tabs__link,
  a.md-nav__link,
  a.md-footer__link
):is([href^="https://" i], [href^="http://" i], [href^="//"]):not([href*="virtenia.com" i]) {
  &:not(.md-nav__link, .md-footer__link)::after,
  &:is(.md-nav__link, .md-footer__link) .md-ellipsis::after {
    content: "";
    display: inline-block;
    inline-size: 0.9em;
    block-size: 0.9em;
    margin-inline-start: 0.2em;
    vertical-align: -0.1em;
    background-color: currentColor;
    mask: url("../icons/open-in-new.svg") center / contain no-repeat;
  }
}
