/* Footer part styles scoped to the shared footer structure. */
.temba-footer-wrapper.wp-block-group {
  padding-bottom: 0;
}

.temba-footer-top .wp-block-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  font-size: 0.875rem;
  line-height: 1.4;
}

.temba-footer-top .wp-block-list li {
  margin-top: 0.25rem;
}

.temba-footer-col-left .wp-block-list a {
  text-decoration: none;
}

.temba-footer-col-left .wp-block-list a:hover,
.temba-footer-col-left .wp-block-list a:focus-visible {
  text-decoration: none;
}

.temba-footer-top .temba-footer-title.wp-block-heading {
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  font-weight: var(--wp--custom--font-weight--extra-bold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.temba-footer-top {
  gap: clamp(20px, 3vw, 36px);
}

.temba-footer-col-left,
.temba-footer-col-right {
  align-self: flex-start;
}

.temba-footer-col-right {
  text-align: right;
}

.temba-footer-col-middle {
  display: flex;
  justify-content: center;
}

.temba-footer-alt-logo {
  width: min(460px, 100%);
  min-height: 82px;
  aspect-ratio: 5 / 1;
  background-image: url("../images/logo-title-small.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.temba-footer-social {
  gap: 0.4rem;
}

.temba-footer-col-right .temba-footer-social {
  justify-content: flex-end;
}

.temba-footer-social .wp-social-link {
  color: var(--wp--preset--color--primary);
}

.temba-footer-social .wp-social-link svg {
  width: 2rem;
  height: 2rem;
}

.temba-footer-bottom {
  position: relative;
  overflow: hidden;
  color: var(--wp--preset--color--secondary-text);
  aspect-ratio: 1801 / 301;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(8px, 1vw, 14px);
}

.temba-footer-bottom::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/footer-bck.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.temba-footer-bottom-grid {
  width: 100%;
  padding-left: var(--wp--custom--spacing--gap);
  padding-right: var(--wp--custom--spacing--gap);
  gap: 0.75rem;
  align-items: flex-end;
}

.temba-footer-bottom-grid .wp-block-column {
  display: flex;
  align-items: flex-end;
}

.temba-footer-bottom-grid .wp-block-column:last-child {
  justify-content: flex-end;
}

.temba-footer-bottom > * {
  position: relative;
  z-index: 1;
  margin: 0;
}

.temba-footer-meta a {
  color: inherit;
}

@media (max-width: 781px) {
  .temba-footer-top > .wp-block-column {
    flex-basis: 100% !important;
  }

  .temba-footer-col-middle {
    justify-content: flex-start;
  }

  .temba-footer-bottom {
    aspect-ratio: 1801 / 420;
    text-align: center;
  }

  .temba-footer-bottom-grid .wp-block-column:last-child {
    justify-content: center;
  }

  .temba-footer-bottom .has-text-align-right {
    text-align: center;
  }
}
