/* Final normalization for the WordPress-owned header/footer shell. */
/* Legacy pages use either `show` or `lx-show` for their reveal animation. */
#lexuan-foundation-site main .lx-reveal.show,
#lexuan-foundation-site main .lx-reveal.lx-show {
  opacity: 1;
  transform: none;
}

#lexuan-foundation-site > .lx-footer .lx-footer-brand .lx-brand {
  display: flex;
  width: auto;
  min-width: 0;
  margin-bottom: 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#lexuan-foundation-site > .lx-footer .lx-footer-brand .lx-footer-site-title {
  color: #fff;
}

#lexuan-foundation-site > .lx-footer .lx-footer-brand .lx-footer-site-title small {
  color: #93a6b5;
}

/* Contact links and the LINE QR code are one footer unit, so menu changes remain dynamic. */
#lexuan-foundation-site > .lx-footer .lx-footer-contact-col {
  min-width: 245px;
}

#lexuan-foundation-site > .lx-footer .lx-footer-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 18px;
  align-items: start;
}

#lexuan-foundation-site > .lx-footer .lx-footer-contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#lexuan-foundation-site > .lx-footer .lx-footer-qrcode {
  color: #93a6b5;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-align: center;
}

#lexuan-foundation-site > .lx-footer .lx-footer-qrcode img {
  display: block;
  width: 104px;
  height: 104px;
  margin: 0 0 7px;
  padding: 5px;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

@media (max-width: 720px) {
  #lexuan-foundation-site > .lx-footer .lx-footer-contact-col {
    min-width: 0;
  }

  #lexuan-foundation-site > .lx-footer .lx-footer-contact-layout {
    grid-template-columns: minmax(0, 1fr) 96px;
    max-width: 300px;
  }

  #lexuan-foundation-site > .lx-footer .lx-footer-qrcode img {
    width: 96px;
    height: 96px;
  }
}
