/* Kodza License: free to use, client work included. Not to resell or redistribute, ported or not: https://kodza.dev/docs/#print-license */
/* Kodza — Arrow Button
   The arrow draws itself in from the left and nudges the label aside.
   On the way out it does not rewind: it carries on and leaves through the right.
   Everything is tuned with the --kz-arrow-* variables. */
.kodza-arrow-button {
  --kz-arrow-bg: #0a0a0a;
  --kz-arrow-fg: #ffffff;
  --kz-arrow-border: transparent;
  --kz-arrow-height: 52px;
  --kz-arrow-pad-x: 28px;
  --kz-arrow-radius: 999px;
  --kz-arrow-shift: 17px;
  --kz-arrow-duration: 0.6s;
  --kz-arrow-ease: cubic-bezier(0.22, 1, 0.36, 1);

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--kz-arrow-height);
  padding: 0 var(--kz-arrow-pad-x);
  border: 0;
  border-radius: var(--kz-arrow-radius);
  background: var(--kz-arrow-bg);
  box-shadow: inset 0 0 0 1.5px var(--kz-arrow-border);
  color: var(--kz-arrow-fg);
  font: inherit;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s var(--kz-arrow-ease);
}

.kodza-arrow-button:active {
  transform: scale(0.97);
}

.kodza-arrow-button:focus-visible {
  outline: 2px solid var(--kz-arrow-bg);
  outline-offset: 3px;
}

.kodza-arrow-button--ghost {
  --kz-arrow-bg: transparent;
  --kz-arrow-fg: #0a0a0a;
  --kz-arrow-border: rgba(10, 10, 10, 0.9);
}

.kodza-arrow-button--ghost:focus-visible {
  outline-color: var(--kz-arrow-fg);
}

.kodza-arrow-button__label {
  display: block;
  transition: transform var(--kz-arrow-duration) var(--kz-arrow-ease);
}

/* The arrow sits in the left padding; the button never changes size */
.kodza-arrow-button__arrow {
  position: absolute;
  top: 50%;
  left: calc(var(--kz-arrow-pad-x) - var(--kz-arrow-shift) + 1px);
  width: 22px;
  height: 11px;
  margin-top: -5.5px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.kodza-arrow-button.is-hover .kodza-arrow-button__label,
.kodza-arrow-button:focus-visible .kodza-arrow-button__label {
  transform: translateX(calc(var(--kz-arrow-shift) / 2 + 6px));
}

/* Without JavaScript the arrow simply draws in and out */
.kodza-arrow-button:not(.is-ready) .kodza-arrow-button__arrow {
  transition: stroke-dashoffset var(--kz-arrow-duration) var(--kz-arrow-ease);
}

.kodza-arrow-button:not(.is-ready):hover .kodza-arrow-button__arrow {
  stroke-dashoffset: 0;
}

.kodza-arrow-button:not(.is-ready):hover .kodza-arrow-button__label {
  transform: translateX(calc(var(--kz-arrow-shift) / 2 + 6px));
}

@media (prefers-reduced-motion: reduce) {
  .kodza-arrow-button,
  .kodza-arrow-button__label,
  .kodza-arrow-button__arrow {
    transition-duration: 0.01ms !important;
  }
}

/* Theming example — on a dark background:
.dark-section .kodza-arrow-button {
  --kz-arrow-bg: #ffffff;
  --kz-arrow-fg: #0a0a0a;
}
*/

/* kodza-guard dc70ddf3f35b — 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-arrow-button):not(#_) {
  outline: revert;
  outline-offset: revert;
}

:where(.kodza-arrow-button__arrow):not(#_) {
  transition: revert;
}

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

.kodza-arrow-button:not(#_) {
  list-style: revert;
  box-sizing: revert;
  appearance: revert;
  max-height: revert;
  text-transform: revert;
  text-underline-offset: revert;
  text-align: revert;
  text-indent: revert;
  text-shadow: revert;
  vertical-align: revert;
  min-height: revert;
}

.kodza-arrow-button__arrow:not(#_) {
  border: revert;
  padding: revert;
  border-radius: revert;
  outline: revert;
  text-decoration: revert;
  list-style: revert;
  box-sizing: revert;
  float: revert;
  margin-right: revert;
  margin-bottom: revert;
  margin-left: 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-arrow-button__label:not(#_) {
  box-sizing: revert;
}

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

.kodza-arrow-button__arrow: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-arrow-button:not(#_) {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--kz-arrow-height);
  padding: 0 var(--kz-arrow-pad-x);
  border: 0;
  border-radius: var(--kz-arrow-radius);
  background: var(--kz-arrow-bg);
  box-shadow: inset 0 0 0 1.5px var(--kz-arrow-border);
  color: var(--kz-arrow-fg);
  font: inherit;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s var(--kz-arrow-ease);
}

.kodza-arrow-button:active:not(#_) {
  transform: scale(0.97);
}

.kodza-arrow-button:focus-visible:not(#_) {
  outline: 2px solid var(--kz-arrow-bg);
  outline-offset: 3px;
}

.kodza-arrow-button--ghost:focus-visible:not(#_) {
  outline-color: var(--kz-arrow-fg);
}

.kodza-arrow-button__arrow:not(#_) {
  position: absolute;
  margin-top: -5.5px;
}

.kodza-arrow-button:not(.is-ready) .kodza-arrow-button__arrow:not(#_) {
  transition: stroke-dashoffset var(--kz-arrow-duration) var(--kz-arrow-ease);
}

@media (prefers-reduced-motion: reduce) {
  .kodza-arrow-button:not(#_) {
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kodza-arrow-button__arrow:not(#_) {
    transition-duration: 0.01ms !important;
  }
}
