/* Native image viewer and responsive embedded media; no jQuery needed. */
.site-image-dialog {
  width: min(95vw, 1160px); max-height: 94vh; padding: 22px 18px 17px;
  border: 1px solid #c4d7d7; border-radius: 12px;
  color: #153747; background: #fff;
  box-shadow: 0 25px 65px rgba(0,0,0,.23);
}
.site-image-dialog::backdrop { background: rgba(7,26,39,.76); }
.site-image-dialog figure { margin: 0; display: grid; place-items: center; }
.site-image-dialog img { display: block; max-width: 100%; max-height: 82vh; object-fit: contain; }
.site-image-dialog-close {
  display: block; margin: 0 0 10px auto; cursor: pointer;
  padding: 6px 13px; min-height: 34px;
  border: 1px solid #c6dbd9; border-radius: 7px;
  background: #eef6f5; color: #1a4c53; font: 700 .8rem/1.3 system-ui,sans-serif;
}
iframe[src*="youtube.com"], iframe[src*="youtube-nocookie.com"],
iframe[src*="vimeo.com"] {
  max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0;
}
