@import url("footer-design.css");

body {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
}

body > main {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
}

.footer-main {
  grid-template-columns: 1.35fr 1fr 0.75fr;
}

.footer-bottom .copyright a {
  color: var(--color-text);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.footer-bottom .copyright a:hover,
.footer-bottom .copyright a:focus-visible {
  color: var(--color-primary-strong);
}

@media (max-width: 980px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand-panel {
    grid-column: auto;
  }
}
