/* Text links use the publication's legible gold, including visited links.
   Low specificity lets navigation, cards and CTA buttons keep their own styles. */
:root { --link-color: var(--gold-deep, #8b6508); }

a:where(:link, :visited) {
  color: var(--link-color);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

:where(a[href]):hover { text-decoration-thickness: 2px; }
:where(a[href]):focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* Scope: approved text links only; never card/nav/CTA colours. */
:root[data-theme="ink"]{--link-color:#e2b43e}
.entry__lead a,.avg__note a,.consent-brief a,.faq__answer a,.source-panel a,
.footer__legal a,.doc a:not(.btn),.referral-rewards a,.guide-version a,.lead a,
.mm-policy-links a,.mm-privacy a,.mm-policy a:not(.mm-button),.rm-inline-citations a,
.rm-consent a,.rm-source-list a,.rt-jump a,.paper-related a,.mm-exit__privacy a,
a.rm-text-link,a.rm-text-link:hover,.rm-inline-citations a:hover,.rm-source-list a:hover,
.paper-related a:hover,.paper-materials a:hover strong{color:var(--link-color)}
.rm-source-list a{text-decoration:underline;text-underline-offset:4px}
.rm-source-list a:hover,.paper-related a:hover{text-decoration-thickness:2px}
