/* Keep the existing 840 × 560 diagram; prevent upscaling and distortion. */
@media (min-width: 761px) {
  body:has(#page-content.subpage-content-location.about-html-content) .subpage-layout {
    width: min(1400px, calc(100% - 24px));
  }

  #page-content.subpage-content-location.about-html-content .rich-table-scroll:last-child tr {
    grid-template-columns: 840px minmax(0, 1fr);
  }

  #page-content.subpage-content-location.about-html-content .rich-table-scroll:last-child td:first-child {
    padding: 0 !important;
    border: 0 !important;
  }
}

#page-content.subpage-content-location.about-html-content img[src*="location-diagram.svg"] {
  display: block !important;
  position: static !important;
  width: var(--location-diagram-width, 100%) !important;
  max-width: 840px !important;
  height: auto !important;
  aspect-ratio: 3 / 2;
  object-fit: contain !important;
  object-position: center;
  margin: 0 !important;
  transform: none !important;
  filter: none !important;
  image-rendering: auto;
}
