/*
 * LINKS
 * =====
 */

/* Links in text content. */
body .text-content a:where(:not(.button)),
body .cke_editable a:where(:not(.button)),
body .text-content a:where(:not(.btn)),
body .cke_editable a:where(:not(.btn))  {
  position: relative;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--color-echo-yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
  z-index: 1;
  overflow: hidden;
  box-shadow: unset;
}
body .text-content a:where(:not(.button))::before,
body .cke_editable a:where(:not(.button))::before,
body .text-content a:where(:not(.btn))::before,
body .cke_editable a:where(:not(.btn))::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-echo-yellow);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease-out;
  z-index: -1;
}
body .text-content a:where(:not(.button)):hover,
body .cke_editable a:where(:not(.button)):hover,
body .text-content a:where(:not(.btn)):hover,
body .cke_editable a:where(:not(.btn)):hover {
  text-decoration-color: transparent;
  box-shadow: unset;
}
body .text-content a:where(:not(.button)):hover::before,
body .cke_editable a:where(:not(.button)):hover::before,
body .text-content a:where(:not(.btn)):hover::before,
body .cke_editable a:where(:not(.btn)):hover::before {
  transform: scaleY(1);
}

/* Links in secondary menu. */
.secondary-nav__menu-link {
  color: var(--color-echo-green) !important;
}
