/* Crédit Wikijeff — animation Tampon */
.wikijeff-credit {
  --wikijeff-icon-size: 22px;
  --wikijeff-text-size: 9px;
  --wikijeff-gap: 6px;
  --wikijeff-duration: 440ms;
  display: inline-flex;
  align-items: center;
  gap: var(--wikijeff-gap);
  min-height: 44px;
  box-sizing: border-box;
  vertical-align: middle;
  flex-shrink: 0;
  color: var(--wikijeff-color, inherit);
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.wikijeff-credit:link,
.wikijeff-credit:visited,
.wikijeff-credit:hover {
  color: var(--wikijeff-color, inherit);
  text-decoration: none;
}

.wikijeff-credit .wikijeff-credit__icon {
  display: block;
  flex: 0 0 auto;
  width: var(--wikijeff-icon-size);
  height: var(--wikijeff-icon-size);
  overflow: visible;
}

.wikijeff-credit .wikijeff-credit__square,
.wikijeff-credit .wikijeff-credit__letter {
  transform-box: fill-box;
  transform-origin: center;
}

.wikijeff-credit .wikijeff-credit__label,
.wikijeff-credit .wikijeff-credit__name {
  display: block;
  margin: 0;
  color: inherit;
  font-size: var(--wikijeff-text-size);
  line-height: 1.25;
  letter-spacing: normal;
  text-transform: none;
}

.wikijeff-credit .wikijeff-credit__label {
  font-weight: 400;
}

.wikijeff-credit .wikijeff-credit__name {
  color: var(--wikijeff-brand-color, currentColor);
  font-weight: 700;
}

@media (prefers-reduced-motion: no-preference) {
  .wikijeff-credit:focus-visible .wikijeff-credit__square {
    animation: wikijeff-credit-tampon-square var(--wikijeff-duration) ease-out both;
  }

  .wikijeff-credit:focus-visible .wikijeff-credit__letter {
    animation: wikijeff-credit-tampon-letter var(--wikijeff-duration) ease-out both;
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .wikijeff-credit:hover .wikijeff-credit__square {
    animation: wikijeff-credit-tampon-square var(--wikijeff-duration) ease-out both;
  }

  .wikijeff-credit:hover .wikijeff-credit__letter {
    animation: wikijeff-credit-tampon-letter var(--wikijeff-duration) ease-out both;
  }
}

@keyframes wikijeff-credit-tampon-square {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(.90); }
  65% { transform: scale(1.045); }
}

@keyframes wikijeff-credit-tampon-letter {
  0%, 15%, 100% { transform: scale(1); }
  40% { transform: translateY(3px) scale(.9); }
  75% { transform: scale(1.045); }
}

/* Adaptation au pied de page de Chef Ian Perreault. */
.footer .copyright .wikijeff-credit-wrap {
  display: inline-block;
  margin: 0 0 0 12px;
  vertical-align: middle;
}

.footer .copyright a.wikijeff-credit {
  --wikijeff-color: #d3cfca;
  --wikijeff-brand-color: #f5f2ef;
  color: var(--wikijeff-color);
  text-align: left;
}

.footer .copyright .wikijeff-credit > span {
  display: block;
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .footer .copyright .wikijeff-credit-wrap {
    display: block;
    margin: 5px 0 0;
  }

  .footer p.copyright {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    white-space: nowrap;
  }

  .footer p.copyright > .wikijeff-credit-wrap {
    margin: 0;
    flex-shrink: 0;
  }
}
