.cenex-footer {
  background-color: var(--wp--custom--color--primary);
  color: var(--wp--preset--color--white);
  display: flex;
  flex-direction: column;
  padding: 1.6rem 2.4rem;
  row-gap: 2.4rem;

  @media screen and (min-width: 768px) {
    flex-direction: row;
    justify-content: space-between;
    padding: 2.4rem;
  }
}

.cenex-footer-social-links {
  align-items: center;
  display: flex;
  justify-content: center;
  gap: 2.4rem;
  min-width: 22.8rem;
  width: 100%;

  @media screen and (min-width: 768px) {
    width: auto;
  }
}

/* Core icons are 1em; override the "huge" (48px) size to 32px. */
.cenex-footer .wp-block-social-links.cenex-footer-socials {
  font-size: 3.2rem;
}

.cenex-footer-middle-section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cenex-footer-links .wp-block-navigation {
  flex-direction: column;
  gap: 0.8rem;

  @media screen and (min-width: 768px) {
    flex-direction: row;
    gap: 2.4rem;
  }
}

.cenex-footer-links .wp-block-navigation a.wp-block-navigation-item__content {
  padding: .5rem 1rem;
}

.cenex-footer-copyright-desktop {
  display: none;
  @media screen and (min-width: 768px) {
    display: block;
  }
}

.cenex-footer-site-logo {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-width: 22.8rem;
  width: 100%;

  @media screen and (min-width: 768px) {
    justify-content: center;
    width: auto;
  }
}

.cenex-footer-logo {
  margin: 0;
}

.cenex-footer-logo img {
  display: block;
  height: auto;
  width: 12.5rem;

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

.cenex-footer-copyright-mobile {
  display: block;
  flex: 1;
  @media screen and (min-width: 768px) {
    display: none;
  }
}