body > footer {
  grid-area: footer;

  position: relative;
  z-index: 2;

  display: flex;
  flex-flow: column nowrap;
  place-content: start;
  place-items: center;
  gap: 4rem;

  min-block-size: var(--docs--footer--min-height);
  padding: 4.8rem 8rem;

  color: var(--docs--footer--color);
  background-color: var(--docs--footer--background-color);
  box-shadow: var(--docs--footer--box-shadow);

  @media screen and (width >= 1024px) {
    flex-flow: row nowrap;
    place-content: start;
    place-items: start;

    gap: 14.2rem;
  }

  [logo] {
    --wcag-t--font-size: 2.4rem;
    --wcag-t--text-decoration: none;

    color: var(--docs--footer--logo--color);

    &[logo="wcag-ui"] {
      --wcag-t--font-size: 7.2rem;
    }
  }

  [credits] {
    display: flex;
    flex-flow: column nowrap;
    place-content: start;
    place-items: start;
    gap: 3.2rem;

    section {
      display: flex;
      flex-flow: column nowrap;
      place-content: start;
      place-items: start;
      gap: 1.2rem;
    }
  }

  [links] {
    display: flex;
    flex-flow: column nowrap;
    place-content: start;
    place-items: start;
    gap: 3rem;
    flex-grow: 1;

    @media screen and (width >= 768px) {
      flex-flow: row wrap;
    }

    @media screen and (width >= 1024px) {
      flex-flow: row nowrap;
    }

    section {
      display: flex;
      flex-flow: column nowrap;
      place-content: start;
      place-items: start;
      gap: 1.6rem;

      flex-grow: 1;
    }

    nav {
      display: flex;
      flex-flow: column nowrap;
      place-content: start;
      place-items: start;
      gap: 1.6rem;
    }

    a {
      display: inline-flex;
      place-content: start;
      place-items: center;
      gap: 0.4rem;

      color: var(--docs--footer--color);

      &:has(i + span) {
        --wcag-t--text-decoration: none;

        i {
          --wcag-t--font-size: 2rem;
        }

        span {
          --wcag-t--text-decoration: underline;
        }

        &:hover {
          span {
            --wcag-t--text-decoration: none;
          }
        }
      }
    }
  }
}
