/* QRivel documentary photography — locally stored, license-checked Wikimedia assets. */
.qr-editorial-photo{width:min(100% - 36px,1110px);margin:18px auto 38px;border-radius:20px;overflow:hidden;
  background:#f3f5f9;border:1px solid #dfe5ef;box-shadow:0 16px 48px rgba(18,31,53,.09);position:relative}
.qr-editorial-photo img{display:block;width:100%;height:clamp(240px,29vw,400px);object-fit:cover;
  object-position:50% 45%;background:#f2f4f7}
.qr-editorial-photo.is-portrait{background:linear-gradient(120deg,#eeeaf9 0%,#eef4fa 100%)}
.qr-editorial-photo.is-portrait img{height:min(430px,63vh);object-fit:contain}
.qr-editorial-photo figcaption{display:flex;justify-content:flex-end;align-items:center;gap:7px;
  min-height:42px;padding:10px 16px;background:#fff;color:#556278;font-size:14px;font-weight:600;line-height:1.45;font-family:inherit;flex-wrap:wrap}
.qr-editorial-photo figcaption a{color:#4b3ac4;text-decoration:underline;text-underline-offset:3px}
.qr-editorial-photo figcaption a:hover{color:#29198e}
.qr-editorial-photo figcaption a:focus-visible{outline:3px solid #6658e8;outline-offset:2px}
.content .qr-editorial-photo{width:100%;max-width:900px;margin:18px 0 27px}
.content .qr-editorial-photo img{height:clamp(220px,26vw,360px)}
.content .qr-editorial-photo.is-portrait img{height:min(390px,58vh)}
@media(max-width:580px){.qr-editorial-photo{width:calc(100% - 22px);margin:10px auto 25px;border-radius:14px}
 .qr-editorial-photo img{height:225px}.qr-editorial-photo.is-portrait img{height:275px}
 .content .qr-editorial-photo img{height:230px}.content .qr-editorial-photo.is-portrait img{height:275px}
 .qr-editorial-photo figcaption{justify-content:flex-start;padding:10px 12px;font-size:14px}}
@media print{.qr-editorial-photo{display:none!important}}
@media(prefers-reduced-motion:reduce){.qr-editorial-photo{scroll-behavior:auto}}

/* Portrait photos use a restrained editorial column, avoiding upscaling
   lower-resolution licensed originals on wide desktop layouts. */
.qr-editorial-photo.is-portrait,
.content .qr-editorial-photo.is-portrait {
  max-width:500px;
}
