/* ==========================================================================
   Arrow link — underlined text link with a small ↘ arrow
   .arrow-link           primary blue (on light backgrounds)
   .arrow-link--light    white (on the blue band)
   .arrow-link--sky      light blue (on the dark navy band)
   The arrow is a CSS mask, so it always takes the text colour.
   ========================================================================== */

.arrow-link {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  color: var(--color-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  line-height: var(--leading-title);
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.arrow-link::after {
  width: 10px;
  height: 10px;
  flex: none;
  background: currentColor;
  content: "";
  -webkit-mask: url("../../assets/icons/arrow-down-right.svg") center / contain no-repeat;
  mask: url("../../assets/icons/arrow-down-right.svg") center / contain no-repeat;
  transition: transform var(--transition-fast);
}

.arrow-link:hover::after {
  transform: translate(2px, 2px);
}

.arrow-link--light {
  color: var(--white);
}

.arrow-link--sky {
  color: var(--color-link-on-dark);
}
