/* kodza-guard 39d6c57a59c1 — generated by Kodza, do not edit.
   Theme guard: keeps a site's own CSS (WordPress themes, Bootstrap, CSS resets…) off this
   component. :not(#_) is always true and weighs as much as an id, so these lines win over
   theme rules made of classes and tags. Customise the component through its --kz-* variables. */

/* What the browser gives, where the component sets it only in some states: at the lowest weight, so its own rules below put it back */

:where(.kodza-external-link):not(#_) {
  border-radius: revert;
  outline: revert;
  outline-offset: revert;
}

/* What the browser gives, on everything the component leaves to it */

.kodza-external-link:not(#_) {
  border: revert;
  list-style: revert;
  box-sizing: revert;
  position: revert;
  padding-top: revert;
  padding-right: revert;
  padding-left: revert;
  box-shadow: revert;
  appearance: revert;
  max-height: revert;
  font-family: revert;
  font-size: revert;
  font-weight: revert;
  font-style: revert;
  line-height: revert;
  letter-spacing: revert;
  text-transform: revert;
  text-underline-offset: revert;
  text-align: revert;
  text-indent: revert;
  text-shadow: revert;
  vertical-align: revert;
}

.kodza-external-link__icon:not(#_),
.kodza-external-link__shaft:not(#_),
.kodza-external-link__head:not(#_),
.kodza-external-link__sr:not(#_) {
  box-sizing: revert;
}

.kodza-external-link__icon svg:where(:not([class*="kodza-"])):not(#_) {
  border: revert;
  margin: revert;
  padding: revert;
  border-radius: revert;
  outline: revert;
  text-decoration: revert;
  transition: revert;
  list-style: revert;
  box-sizing: revert;
  float: revert;
  position: revert;
  background-color: revert;
  background-image: revert;
  box-shadow: revert;
  outline-offset: revert;
  appearance: revert;
  max-width: revert;
  max-height: revert;
  color: revert;
  font-family: revert;
  font-size: revert;
  font-weight: revert;
  font-style: revert;
  line-height: revert;
  letter-spacing: revert;
  text-transform: revert;
  text-underline-offset: revert;
  text-align: revert;
  text-indent: revert;
  text-shadow: revert;
  vertical-align: revert;
}

.kodza-external-link:not(#_):where(:not([hidden])) {
  display: revert;
}

.kodza-external-link:not(#_):where([hidden]) {
  display: none;
}

/* The component's own rules, one step stronger: real buttons and fields, what it sets on tags themes style (links, lists, headings, images…), and the root width (a theme may narrow it, never widen it) */

.kodza-external-link:not(#_) {
  color: var(--kz-external-text);
  text-decoration: none;
  background: linear-gradient(var(--kz-external-ink), var(--kz-external-ink)) 0 100% / 0% var(--kz-external-thickness) no-repeat,
    linear-gradient(var(--kz-external-line), var(--kz-external-line)) 0 100% / 100% var(--kz-external-thickness) no-repeat;
  padding-bottom: 0.08em;
  transition: background-size 0.5s var(--kz-external-ease);
}

.kodza-external-link:hover:not(#_),
.kodza-external-link:focus-visible:not(#_) {
  background-size: 100% var(--kz-external-thickness), 100% var(--kz-external-thickness);
}

.kodza-external-link__icon svg:not(#_) {
  display: block;
}

.kodza-external-link:focus-visible:not(#_) {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .kodza-external-link:not(#_) {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
