/* This is the shared link treatment, including links styled as buttons. */
a[href],
a.collection-card[href] > :is(strong, span) {
  text-decoration: underline solid currentColor 1px !important;
  text-underline-offset: 0.16em !important;
  text-decoration-skip-ink: auto;
}

/* Put the underline on the card's text once, in each label's own colour. */
a.collection-card[href] {
  text-decoration: none !important;
}

/* Image-only links need a visible rule of their own. */
a[href]:has(> img):not(:has(> :not(img))) {
  box-shadow: 0 2px 0 var(--paper, #f7f7f2), 0 3px 0 currentColor;
}

/* Replace the old border-based underlines with the shared text underline. */
.studio-copy a.text-link,
a.journal-feature-link,
.enquiry-header > a:last-child,
a.direct-email {
  border-bottom-width: 0;
}

.parrot-header nav a[aria-current="page"] {
  font-weight: 700;
}
