@layer blocks {
  .footer {
    --footer-color-focus: var(--theme-focus-primary);
    --footer-color-primary: var(--theme-text-primary);
    --footer-color-secondary: var(--theme-text-secondary);
    --footer-color-separator: var(--theme-border-secondary);
    --footer-focus-offset: 0.125rem;
    --footer-focus-outline: 0.125rem solid var(--footer-color-focus);
  }
  .footer__content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    background-color: var(--theme-surface-secondary);
    padding-top: 4rem;
    padding-bottom: 1.5rem;
  }
  @media (min-width: 1024px) {
    .footer__content {
      padding-top: 5rem;
      padding-bottom: 5rem;
    }
  }
  .footer__separator {
    border: none;
    border-top: 1px solid var(--footer-color-separator);
    margin: 0;
  }
  .footer__nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 0.5rem;
  }
  @media (min-width: 768px) {
    .footer__nav {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  @media (min-width: 1024px) {
    .footer__nav {
      grid-template-columns: repeat(6, 1fr);
    }
  }
  .footer__nav-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  @media (min-width: 1024px) {
    .footer__nav-group {
      gap: 2rem;
    }
  }
  .footer__nav-title {
    color: var(--footer-color-primary);
  }
  .footer__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .footer__nav-link {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
  }
  .footer__nav-link:hover {
    color: var(--footer-color-primary);
    text-decoration-color: currentcolor;
  }
  .footer__nav-link:focus-visible {
    color: var(--footer-color-primary);
  }
  .footer__bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  @media (min-width: 1024px) {
    .footer__bottom {
      grid-template-columns: 1fr auto;
      align-items: center;
    }
  }
  .footer__copyright-text {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    color: var(--footer-color-primary);
  }
  @media (min-width: 1024px) {
    .footer__copyright {
      order: 0;
    }
  }
  .footer__legal {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  @media (min-width: 1024px) {
    .footer__legal {
      flex-flow: row wrap;
      order: 2;
    }
  }
  .footer__legal-link {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
  }
  @media (min-width: 1024px) {
    .footer__legal-link {
      line-height: 1.2;
    }
  }
  .footer__legal-link {
    color: var(--footer-color-secondary);
  }
  .footer__social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-flow: row wrap;
    gap: 1rem;
  }
  @media (min-width: 1024px) {
    .footer__social {
      flex-wrap: nowrap;
      order: 1;
    }
  }
  .footer__social-item {
    display: flex;
    margin: 0;
  }
  .footer__social-link {
    --background-color: transparent;
    --border-color: transparent;
    border-radius: 6rem;
  }
  .footer__social-link .icon {
    --icon-color: var(--footer-color-primary);
  }
  .footer__social-link:hover, .footer__social-link:focus-visible {
    --background-color: transparent;
  }
  .footer__brand {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
  @media (min-width: 1024px) {
    .footer__brand {
      flex-direction: row-reverse;
      align-items: center;
      justify-content: space-between;
    }
  }
  .footer__logo-link {
    display: inline-flex;
    align-items: center;
  }
  .footer__logo-link img {
    width: 10rem;
    height: auto;
  }
  @media (min-width: 1024px) {
    .footer__logo-link img {
      width: 14.1875rem;
    }
  }
  .prefooter {
    background-color: var(--theme-surface-primary);
  }
}