.site-footer {
  margin-top: auto;
  padding-top: 8rem;
  padding-bottom: 2rem;
  background-color: var(--dark-blue);
  color: white;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.site-footer a {
  color: white;
}

.site-footer img {
  height: 1.5rem;
}

.site-footer .copyright {
  text-align: center;
}

.site-footer .links {
  display: grid;
  --column-number: 5;
  grid-template-columns: repeat(var(--column-number), minmax(0px, 1fr));
  gap: 1rem 2rem;
}

@media screen and (max-width: 1080px) {
  .site-footer .links {
    --column-number: 4;
  }
}

@media screen and (max-width: 800px) {
  .site-footer .links {
    --column-number: 3;
  }
}

@media screen and (max-width: 640px) {
  .site-footer .links {
    --column-number: 2;
  }
}

@media screen and (max-width: 480px) {
  .site-footer .links {
    --column-number: 1;
  }
}

/* .links > div:last-child {
  grid-column: 1 / calc(var(--column-number) + 1);
} */

.site-footer h2 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
  max-width: none;
}

.site-footer .links a {
  display: block;
  text-decoration: none;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  line-height: 1.25;
  transition: 0.2s;
}

.site-footer .links div:hover > a {
  color: var(--yellow);
}

.site-footer .links a:hover {
  color: var(--yellow);
}

.site-footer ul {
  list-style: none;
  margin: 0;
}

.site-footer address > a {
  margin: 0;
  text-decoration: none;
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.5rem;
  font-style: normal;
}

.site-footer address > a:not(.social) {
  font-weight: 600;
  opacity: 0.5;
}

.site-footer address > a.social {
  margin-right: 0.5rem;
  height: 2.5rem;
  aspect-ratio: 1 / 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--blue);
  border-radius: 50%;
}
