/* FOOTER */

.site-wrapper > main {
  position: relative;
  z-index: 1;
  background-color: var(--white);
}

footer,
.site-wrapper > footer {
  position: sticky;
  bottom: 0;
  /* overflow: hidden; */
  padding: var(--outside-padding-inner);

  display: grid;
  grid-template-columns: 4fr 3fr auto;
  grid-template-rows: 1fr 1fr;
  gap: 2em;
  column-gap: var(--gap, 5em);
  z-index: 0;
}

.site-wrapper > footer.static {
  position: relative;
}

footer > * {
    gap: 2em;
}

footer .social-media-menu-wrapper ~ * {
    align-self: end;
}

footer ul {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  gap: 0;
  padding: 0;
}

.footer-web-links ul a {
  text-decoration: none;
}

.footer-web-links li:not(:last-child):after {
  content: "|";
  /* margin: 0 0 0 2rem; */
}

footer .wrap {
  display: flex;
  Flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
}

footer .wrap nav,
footer .wrap nav ul {
    gap: inherit;
    justify-content: space-between;
}

.footer-web-links {
    grid-column-end: span 2;
}

footer::after {
    content: "";
    position: absolute;
    right: calc(var(--outside-padding-inner) * 0.5);
    bottom: calc(var(--outside-padding-inner) * 0.5);
    width: 80rem;
    max-width: 100%;
    height: 60rem;
    max-height: 100%;
    background-image: url("../images/creart_logo_white.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right bottom;
    opacity: .08;
    pointer-events: none;
}

/* footer .social-media-menu-wrapper ul, */
footer nav.production ul,
.site-wrapper > .icons {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.site-wrapper > .icons {
  bottom: var(--outside-padding-inner);
  position: fixed;
  right: var(--outside-padding-inner);
  z-index: 100;
}

.site-wrapper > .icons .btn {
  border-radius: 50%;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.site-wrapper > .icons img {
  aspect-ratio: 1;
  width: 1em;
  height: auto;
  object-fit: contain;
  object-position: center;
}

footer [role="heading"] {
  margin-bottom: 1.5em;
}


.footer_menu {
  width: max-content;
}


@media (max-width: 1080px) {
    footer, .site-wrapper > footer {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        gap: 3em;
    }

    .social-media-menu-wrapper {
      justify-content: center;
    }

    footer .social-media-menu-wrapper ~ * {
      width: 100%;
    }

    footer nav ul,
    .footer-web-links,
    footer .wrap nav,
    footer .wrap nav ul,
    footer nav.production ul, .site-wrapper > .icons {
      display: flex;
      flex-direction: column;
      gap: .5em;
      z-index: 20;
    }

    .footer-web-links li:not(:last-child):after {
      content: none;
    }
}