.page-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-body > main {
  flex: 1;
}

.site-footer {
  padding: 24px;
  border-top: 1px solid var(--color-border);
}

.site-footer .footer-inner {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.site-footer .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.site-footer .footer-legal {
  gap: 14px;
}

.site-footer li {
  margin: 0;
  padding: 0;
}

.site-footer a {
  font-weight: 400;
  font-size: 11px;
  line-height: 13px;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-block;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--color-link);
  outline: none;
}

.site-footer .footer-copyright {
  font-weight: 400;
  font-size: 12px;
  line-height: 13px;
  color: var(--color-muted);
}

@media (min-width: 601px) {
  .site-footer .footer-inner {
    align-items: center;
    gap: 16px;
  }

  .site-footer .footer-nav {
    gap: 16px;
    align-items: center;
  }

  .site-footer ul {
    flex-direction: row;
    justify-content: center;
  }

  .site-footer a {
    position: relative;
  }

  .site-footer a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
  }

  .site-footer a:hover::after,
  .site-footer a:focus-visible::after {
    width: 100%;
  }
}
