footer.wp-block-template-part {
  margin: 0;
}

footer .site-footer {
  padding: var(--wp--preset--spacing--70) 0;
}

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

.upper-site-footer {
  margin-block-end: var(--wp--preset--spacing--70);
  padding-inline: var(--wp--preset--spacing--50);
}

.upper-site-footer__columns {
  gap: var(--wp--preset--spacing--50);
}

.upper-site-footer__column {
  font-size: 1.4rem;
  text-align: center;

  @media screen and (min-width: 768px) {
    font-size: 1.8rem;
    text-align: left;
  }
}

.upper-site-footer__column nav {
  align-items: center;
  margin-block-start: var(--wp--preset--spacing--50);

  @media screen and (min-width: 768px) {
    align-items: flex-start;
  }
}

footer ul.wp-block-navigation {
  gap: 0;
  width: 100%;
}

footer li.wp-block-navigation-item {
  text-align: center;
  width: 100%;

  @media screen and (min-width: 768px) {
    text-align: left;
  }
}

footer li.wp-block-navigation-item a.wp-block-navigation-item__content {
  font-size: 1.4rem;
  font-weight: 400;
  text-decoration: underline;
  width: 100%;

  @media screen and (min-width: 768px) {
    font-size: 1.8rem;
  }
}

footer li.wp-block-navigation-item a.wp-block-navigation-item__content:hover {
  color: var(--wp--preset--color--sky);
}

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

.middle-site-footer-wrapper {
  margin-block: var(--wp--preset--spacing--70);
}

.middle-site-footer {
  position: relative;
  max-width: 100%;
}

.footer-art-frame {
  position: relative;
  z-index: 1;
}

.footer-art-frame-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(3, 1fr);
  place-items: center;
  gap: 2px;
}

.footer-art-icon {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  perspective: 1000px;
}

.footer-art-card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 600ms ease-in-out;
}

.footer-art-card.is-flipped {
  transform: rotateY(180deg);
}

.footer-art-card__front,
.footer-art-card__back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--wp--preset--spacing--20);
}

.footer-art-card__back {
  transform: rotateY(180deg);
}

.footer-art-icon svg,
.footer-art-icon__svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.footer-art-icon-1 {
  grid-column: 6 / span 1;
  grid-row: 1 / span 1;
}

.footer-art-icon-1 svg path,
.footer-art-icon-1 .footer-art-icon__svg path {
  fill: var(--wp--preset--color--sky);
}

.footer-art-icon-2 {
  grid-column: 5 / span 1;
  grid-row: 2 / span 1;
}

.footer-art-icon-2 svg path,
.footer-art-icon-2 .footer-art-icon__svg path {
  fill: var(--wp--preset--color--sky);
}

/* Icon 3 — Bottom Left */
.footer-art-icon-3 {
  grid-column: 7 / span 1;
  grid-row: 2 / span 1;
}

.footer-art-icon-3 svg path,
.footer-art-icon-3 .footer-art-icon__svg path {
  fill: var(--wp--preset--color--sky);
}

/* Icon 4 — Bottom Right */
.footer-art-icon-4 {
  grid-column: 3 / span 1;
  grid-row: 3 / span 1;
}

.footer-art-icon-4 svg path,
.footer-art-icon-4 .footer-art-icon__svg path {
  fill: var(--wp--preset--color--marine);
}

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

.bottom-site-footer {
  padding-inline: var(--wp--preset--spacing--70);
}

.bottom-site-footer__columns {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}

.bottom-site-footer__column--logo {
  order: 2;
  width: 50%;

  @media screen and (min-width: 768px) {
    order: 1;
    width: 33.333%;
  }
}

.bottom-site-footer__column--copyright {
  order: 3;
  width: 50%;

  @media screen and (min-width: 768px) {
    order: 2;
    width: 33.333%;
  }
}

.bottom-site-footer__column--copyright .wp-block-paragraph {
  font-size: 14px;

  @media screen and (min-width: 768px) {
    font-size: 18px;
  }
}

.bottom-site-footer__column--social {
  order: 1;
  width: 100%;

  @media screen and (min-width: 768px) {
    order: 3;
    width: 33.333%;
  }
}

.bottom-site-footer__social-links {
  justify-content: center;
}

.bottom-site-footer__social-links .wp-social-link svg {
  height: 2em;
  width: 2em;
}