/* One Hugo-owned footer for the website and reader shell. */
.site-footer {
  box-sizing: border-box;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 40px 24px;
  background: var(--reader-canvas);
  color: var(--reader-muted);
  font: 1rem/1.6 var(--reader-ui-font);
}

.site-footer-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
}

.site-footer .footer-social {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 32px;
  padding: 22px 0 18px;
}

.site-footer .footer-profile {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  text-decoration: none;
  color: var(--reader-text);
  font: 1.125rem/1.5 var(--reader-ui-font);
}

.site-footer .footer-profile:hover .profile-name {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.site-footer .profile-role {
  display: block;
  color: var(--reader-muted);
  font-size: 1rem;
}

.site-footer svg.interface-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer svg.interface-icon--brand {
  fill: currentColor;
  stroke: none;
}

.site-footer .attribs {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.site-footer .attribs p {
  margin: 0 0 .75rem;
  color: var(--reader-muted);
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
  word-spacing: normal;
  letter-spacing: normal;
}

.site-footer .attribs p:last-child {
  margin-bottom: 0;
}

.site-footer .attribs a {
  color: inherit;
}

.site-footer .inspiration-games {
  white-space: normal;
}

.site-footer .footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-footer .footer-link-group {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 8px;
}

.site-footer .footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

@media (max-width: 700px) {
  .site-footer {
    padding-inline: 24px;
  }
}

@media (max-width: 380px) {
  .site-footer {
    padding-inline: 18px;
  }

  .site-footer .footer-social {
    column-gap: 22px;
  }
}

@media (forced-colors: active) {
  .site-footer {
    background: Canvas;
    color: CanvasText;
  }

  .site-footer .footer-profile,
  .site-footer .attribs a {
    color: LinkText;
  }
}
