/* `codelink` role (_ext/code_link.py): a hyperlink whose text is inline code.
   Render it as a link (link colour, hover underline) while keeping the monospace
   code box, so a URL reads as both a code snippet and a clickable link. */
a.reference code.code-link,
a.reference:hover code.code-link {
  color: var(--pst-color-link, inherit);
}

a.reference:hover code.code-link {
  text-decoration: underline;
}
