@layer components {
  footer.simple {
    position: relative;
    background: var(--color-elk-blue-950);
    color: var(--color-base-50);
    padding: 2rem 1rem;

    .wave {
      position: absolute;
      left: 0;
      top: -0.4rem;
      width: 100%;
      border-radius: 0;
      transform: translateY(-1px);
    }

    .content {
      position: relative;
      z-index: 1;
      max-width: 76rem;
      margin-inline: auto;

      display: grid;
      grid-template-columns: 1fr;
      gap: 1.25rem;
      align-items: center;
      text-align: center;
    }

    .social {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
    }

    .social a {
      color: var(--color-elk-blue-200);
      display: inline-flex;
      align-items: center;
      justify-content: center;

      &:hover {
        color: var(--color-elk-blue-500);
      }
    }

    .social svg {
      width: 1.5rem;
      height: 1.5rem;
    }

    .legal {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
    }

    .legal a {
      color: var(--color-base-50);
      font-size: 0.875rem;
      line-height: 1.75rem;

      &:hover {
        color: var(--color-elk-blue-300);
        text-decoration: underline;
      }
    }

    .copyright  {
      font-size: 0.875rem;
      line-height: 1.25rem;
      color: var(--color-base-50);
      text-align: center;
    }
  }
  @media (width >= 1024px) {
    footer.simple {
      padding-top: 2.25rem;

      .content {
        grid-template-columns: repeat(3, 1fr);
      }

      .copyright {
        order: 1;
        text-align: left;
      }

      .social {
        order: 2;
        justify-content: center;
      }

      .legal {
        order: 3;
        display: flex;
        gap: 1.5rem;
        flex-direction: row;
        justify-content: flex-end;
      }
    }
  }
}
