/* Outbound links rendered as <button class="cg-out"> (inc/out-buttons.php) */

/* outbound links rendered as <button>: behave like the <a> they replace.
 * button:where(.cg-out) has the specificity of a plain "button": it beats normalize.css
 * (same specificity, loaded later) and loses to every theme class rule, like "a" does.
 * Theme rules written for <a> are repeated in out-buttons-a-compat.css. */
button.cg-out[type="button"] {
  -webkit-appearance: none;
  appearance: none;
}

button:where(.cg-out) {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-align: inherit;
  cursor: pointer;
}

/* plain text links (post content, footer logos) */
button:where(.cg-out:not(.btn-default)) {
  display: inline;
  color: LinkText;
}
