/* Contact page: let the campus mapping occupy the full visual column. */
div:has(> img[src*="contact-campus-sketch"]):has(> img[src*="contact-logo"]) {
  display: flex;
  align-items: center;
  justify-content: center;
}

img[src*="contact-logo"] {
  display: none;
}

img[src*="contact-campus-sketch"] {
  width: 100%;
  height: auto;
  transform: none;
}

/* Match the Weixin copy button to the surrounding contact account text. */
html.wue-contact-page main aside button[type="button"][class*="underline"] {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}

@media (min-width: 1024px) {
  img[src*="contact-campus-sketch"] {
    width: auto;
    height: min(78svh, 900px);
    max-width: 100%;
    object-fit: contain;
    transform: translateY(5.375rem);
  }
}
