.cpm-gallery a,.cpm-lead a{cursor:zoom-in}
.cpmv{position:fixed;inset:0;background:#2b2b2b;display:none;z-index:2147483600;font:16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.cpmv.open{display:flex}
.cpmv-stage{position:relative;flex:1 1 auto;display:flex;align-items:center;justify-content:center;min-width:0;padding:24px}
.cpmv-stage img{max-width:100%;max-height:88vh;object-fit:contain;display:block}
.cpmv-count{position:absolute;top:18px;left:26px;color:#fff;font-size:22px;font-weight:600;text-shadow:0 1px 4px rgba(0,0,0,.6)}
.cpmv-nav{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border:0;border-radius:999px;background:rgba(0,0,0,.4);color:#fff;font-size:26px;line-height:1;cursor:pointer}
.cpmv-nav:hover{background:rgba(0,0,0,.75)}
/* sit just inside the image edge with ~5px clearance (stage padding 24 + 5) so
   the arrows never straddle/protrude past it; full mode has 0 stage padding ->
   they sit a touch further inside the image there, which is fine */
.cpmv-prev{left:29px}.cpmv-next{right:29px}
.cpmv-panel{flex:0 0 360px;width:360px;padding:64px 32px 32px;color:#eee;overflow:auto}
.cpmv-title{font-size:21px;font-weight:700;line-height:1.3;margin:0 0 10px;color:#fff}
.cpmv-cap{font-size:16px;line-height:1.55;margin:0 0 14px;color:#e2e2e2}
.cpmv-credit{font-size:14px;color:#9a9a9a;margin:0}
.cpmv-link{display:inline-block;margin:0 0 14px;color:#7db3ff;text-decoration:underline;font-weight:600;font-size:15px}
.cpmv-bottom .bl{display:inline-block;margin-left:10px;color:#7db3ff;text-decoration:underline;font-weight:600}
.cpm-inline-side .lk{display:inline-block;margin:0 0 12px;color:#7db3ff;text-decoration:underline;font-weight:600;font-size:14.5px}
.cpmv-x,.cpmv-max{position:absolute;top:14px;width:42px;height:42px;border:0;border-radius:8px;background:rgba(0,0,0,.5);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:3}
.cpmv-x:hover,.cpmv-max:hover{background:rgba(0,0,0,.85)}
.cpmv-x{right:18px;font-size:28px}
.cpmv-max{right:70px}
.cpmv-max svg{width:20px;height:20px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cpmv-bottom{position:absolute;left:0;right:0;bottom:0;padding:26px 34px;color:#fff;background:linear-gradient(to top,rgba(0,0,0,.85),rgba(0,0,0,0));display:none;font-size:15px;line-height:1.5}
.cpmv-bottom .t{font-weight:700}
.cpmv-bottom .c{color:#bdbdbd}
.cpmv.full .cpmv-panel{display:none}
.cpmv.full .cpmv-count,.cpmv.full .cpmv-max{display:none}
.cpmv.full .cpmv-bottom{display:block}
.cpmv.full .cpmv-stage{padding:0}
.cpmv.full .cpmv-stage img{max-height:100vh;max-width:100vw}
@media(max-width:760px){
  .cpmv.open{flex-direction:column}
  .cpmv-stage{padding:12px}
  .cpmv-panel{flex:0 0 auto;width:auto;max-height:42vh;padding:18px 20px}
  .cpmv-count{font-size:18px;top:12px;left:16px}
  .cpmv-title{font-size:18px}.cpmv-cap{font-size:15px}
}
.cpm-inline{display:flex;margin:0 0 1.2em;background:#2b2b2b;border-radius:12px;overflow:hidden}
.cpm-inline-stage{position:relative;flex:1 1 auto;min-width:0;display:flex;align-items:center;justify-content:center;background:#161616}
.cpm-inline-img{display:none;width:100%}
.cpm-inline-img.active{display:block}
.cpm-inline-img img{display:block;max-width:100%;max-height:72vh;width:auto;height:auto;margin:0 auto;cursor:zoom-in}
.cpm-inline-nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border:0;border-radius:999px;background:rgba(0,0,0,.45);color:#fff;font-size:24px;line-height:1;cursor:pointer;z-index:2}
.cpm-inline-nav:hover{background:rgba(0,0,0,.75)}
.cpm-inline-prev{left:10px}.cpm-inline-next{right:10px}
.cpm-inline-count{position:absolute;top:12px;left:14px;color:#fff;font-size:15px;font-weight:600;text-shadow:0 1px 3px rgba(0,0,0,.6);z-index:2}
.cpm-inline-max{position:absolute;top:10px;right:10px;width:38px;height:38px;border:0;border-radius:8px;background:rgba(0,0,0,.5);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:2}
.cpm-inline-max:hover{background:rgba(0,0,0,.8)}
.cpm-inline-max svg{width:18px;height:18px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cpm-inline-side{flex:0 0 300px;width:300px;padding:26px 24px;color:#e6e6e6;overflow:auto;align-self:stretch}
.cpm-inline-side .t{display:block;font-size:19px;font-weight:700;line-height:1.3;color:#fff;margin:0 0 10px}
.cpm-inline-side .d{font-size:14.5px;line-height:1.55;color:#dcdcdc;margin:0 0 12px}
.cpm-inline-side .cr{font-size:13px;color:#9a9a9a;margin:0}
@media(max-width:760px){
  .cpm-inline{flex-direction:column}
  .cpm-inline-side{flex:0 0 auto;width:auto;padding:16px 18px}
}
.cpm-band{position:relative;overflow:hidden;margin:0 0 1.2em;background:#161616;border-radius:10px}
.cpm-band-track{display:flex;width:max-content;will-change:transform;animation:cpm-band-scroll linear infinite}
.cpm-band:hover .cpm-band-track{animation-play-state:paused}
.cpm-band a{flex:0 0 auto;display:block;height:var(--cpm-band-h,150px);margin:0 8px 0 0}
.cpm-band img{height:100%;width:auto;display:block;border-radius:6px;cursor:zoom-in}
@keyframes cpm-band-scroll{to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.cpm-band-track{animation:none}.cpm-band{overflow-x:auto}}
/* v0.42.5: collection-name heading as a plain text headline ABOVE the band,
   on the host page (left-aligned, no background, inherits the page's text
   colour so it's legible on light or dark themes). Injected by the JS as the
   band's preceding sibling (no snippet re-paste). */
.cpm-band-title{margin:0 0 6px;font:600 16px/1.3 system-ui,sans-serif;color:inherit}
/* v0.47.x: Kinomode -- fullscreen auto-slideshow over a gallery. The play
   button lives ONLY inside the fullscreen viewer (.cpmv-play, left of the
   maximise button; in full mode it slides next to the X). Neither the Laufband
   strip nor the Betrachter shows it directly -- you reach it by clicking into
   the viewer. Click => the .cpmk overlay (crossfade + Ken-Burns, no sidebar). */
.cpmv-play{position:absolute;top:14px;right:122px;width:42px;height:42px;border:0;border-radius:8px;background:rgba(0,0,0,.5);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:3}
.cpmv-play:hover{background:rgba(0,0,0,.85)}
.cpmv-play svg{width:18px;height:18px;fill:#fff;margin-left:2px}
/* keep play reachable in full mode (where .cpmv-max hides); slide it next to X */
.cpmv.full .cpmv-play{right:70px}
.cpmk{position:fixed;inset:0;background:#000;display:none;overflow:hidden;z-index:2147483600}
.cpmk.open{display:block}
.cpmk-l{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .8s ease;will-change:opacity,transform}
.cpmk-l.show{opacity:1}
@keyframes cpmk-kb{from{transform:scale(var(--s0,1)) translate(var(--x0,0),var(--y0,0))}to{transform:scale(var(--s1,1.1)) translate(var(--x1,0),var(--y1,0))}}
/* align-items:flex-start so the logo img keeps its aspect ratio -- the default
   stretch was widening it to the column (= the title width), squashing it. */
.cpmk-brand{position:absolute;left:30px;bottom:26px;display:flex;flex-direction:column;align-items:flex-start;gap:10px;max-width:90vw;pointer-events:none;z-index:2}
.cpmk-logo{height:60px;width:auto;max-width:none;flex:none;margin-left:-10px;filter:brightness(0) invert(1) drop-shadow(0 1px 6px rgba(0,0,0,.75))}
.cpmk-title{font:600 34px/1.1 "Montserrat",system-ui,-apple-system,"Segoe UI",sans-serif;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.85);white-space:nowrap}
@media(orientation:portrait){.cpmk-title{white-space:normal}}
.cpmk-x{position:absolute;top:16px;right:18px;width:46px;height:46px;border:0;border-radius:10px;background:rgba(0,0,0,.45);color:#fff;font-size:30px;line-height:1;cursor:pointer;z-index:3;opacity:0;transition:opacity .3s}
.cpmk:hover .cpmk-x{opacity:1}
@media(prefers-reduced-motion:reduce){.cpmk-l{transition:none}.cpmk-l.show{animation:none!important}}
