.footer-moon {
  background-color: #fff;
  border-top: 1px solid var(--color-border-subtle);
  padding: 40px 0 24px;
  margin-top: 60px;
  font-family: var(--font-body);
  color: var(--color-text-muted);
}

.footer-moon__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.footer-moon__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.footer-moon__copyright {
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.footer-moon__rights,
.footer-moon__ordering,
.footer-moon__published,
.footer-moon__illustration,
.footer-moon__pub-details {
  font-size: 13px;
  line-height: 1.6;
}

.footer-moon__pub-details {
  margin-top: 28px;
}

.footer-moon__credits {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.footer-moon__fsc {
  width: 72px;
  height: auto;
  flex-shrink: 0;
}

.footer-moon__heading {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0 0 8px;
}

.footer-moon__ordering,
.footer-moon__published {
  margin-bottom: 12px;
}

.footer-moon__illustration {
  margin-bottom: 28px;
}

.footer-moon__illustration b {
  color: var(--color-text-primary);
}

.footer-moon a {
  color: var(--color-brand-green);
  text-decoration: underline;
}

.footer-moon__right-bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-subtle);
}

.footer-moon__social {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-moon__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--color-brand-surface);
  border-radius: 50%;
  transition: all 0.2s ease;
}

.footer-moon__social-link:hover {
  background-color: var(--color-brand-green);
  transform: translateY(-2px);
}

.footer-moon__social-icon {
  width: 20px;
  height: 20px;
  display: block;
}

.footer-moon__legal {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-moon__legal-link {
  font-size: 13px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  .footer-moon__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
