/* =============================================================================
 * Site Footer
 * ============================================================================= */

.md-footer,
.md-footer-meta {
  color: var(--lupaxa-white);
  background: linear-gradient(180deg, var(--lupaxa-card-bg-raised), var(--lupaxa-card-bg));
}

.md-footer-meta {
  padding: 0.7rem 1rem 0;
  border-top:
    1px solid
    color-mix(
      in srgb,
      var(--lupaxa-white) 12%,
      transparent
    );
}

.md-footer-meta__inner {
  display: flex;
  justify-content: center;
}

.md-copyright {
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--lupaxa-white);
  text-align: center;
}

.md-copyright__highlight {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  align-items: center;
}

.footer-copyright {
  color: var(--lupaxa-white);
  font-weight: 600;
  line-height: 1.25;
  opacity: 0.9;
  letter-spacing: -0.02em;
}

.footer-tagline {
  color: var(--lupaxa-white);
  font-weight: 300;
  line-height: 1.25;
}

.footer-copyright,
.footer-tagline {
  font-size: clamp(0.7rem, 0.68rem + 0.1vw, 0.8rem);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.28rem;
  width: calc(100% + 2rem);
  margin: 0.7rem -1rem 0;
  padding: 0 1rem calc(0.7rem + 0.2rem);
}

.footer-links-sep {
  color: var(--lupaxa-white);
  font-size: clamp(0.58rem, 0.56rem + 0.05vw, 0.65rem);
  font-weight: 400;
  line-height: 1.25;
  opacity: 0.7;
}

html .md-footer-meta .footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  color: var(--lupaxa-white);
  font-size: clamp(0.58rem, 0.56rem + 0.05vw, 0.65rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  opacity: 0.9;
  text-decoration: none;
}

html .md-footer-meta .footer-links-icon {
  display: inline-flex;
  flex: none;
}

html .md-footer-meta .footer-links-icon svg {
  width: 1.15em;
  height: 1.15em;
  fill: currentcolor;
}

html .md-footer-meta .footer-links a:hover,
html .md-footer-meta .footer-links a:focus-visible {
  color: var(--lupaxa-light-blue);
  opacity: 1;
}

@media screen and (max-width: 30em) {
  .footer-links {
    flex-wrap: nowrap;
    column-gap: 0.16rem;
  }

  .footer-links-label-extra {
    display: none;
  }

  .footer-links-sep,
  html .md-footer-meta .footer-links a {
    font-size: clamp(0.42rem, 2.55vw, 0.58rem);
  }
}
