/* promo-media.css — promo-style images on cryosim.com (2026-12-03 thorough web upgrade, St_by_000 rules 50-52).
   Used by assets/brand/promo_img.php: .cp-hero (16:9 hero visual) and .cp-gallery ("See it in action").
   Width/height are always set on the <img>, aspect-ratio keeps CLS at 0. */
.cp-hero{margin:0;border-radius:18px;overflow:hidden;background:#0d1b2e;aspect-ratio:16/9;
  box-shadow:0 18px 44px rgba(13,22,46,.22),0 2px 6px rgba(13,22,46,.10);border:1px solid rgba(13,22,46,.10)}
.cp-hero img{display:block;width:100%;height:100%;object-fit:cover}
@media (max-width:768px){.cp-hero{border-radius:14px;box-shadow:0 10px 26px rgba(13,22,46,.18)}}

.cp-gallery{margin:28px 0 8px}
.cp-gallery-t{margin:0 0 6px;font-size:clamp(20px,2.4vw,26px);letter-spacing:-.01em;line-height:1.25}
.cp-gallery-sub{margin:0 0 14px;color:var(--muted,#4a6478);font-size:15px;line-height:1.55;max-width:62ch}
.cp-gallery-row{list-style:none;margin:0;padding:0;display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:1100px){.cp-gallery-row{grid-template-columns:repeat(3,minmax(0,1fr))}}
.cp-shot{margin:0}
.cp-shot-a{display:block;border-radius:14px;overflow:hidden;background:#0d1b2e;aspect-ratio:16/9;
  border:1px solid rgba(13,22,46,.12);box-shadow:0 8px 22px rgba(13,22,46,.14);transition:transform .2s ease,box-shadow .2s ease}
.cp-shot-a img{display:block;width:100%;height:100%;object-fit:cover}
.cp-shot-a:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(13,22,46,.2)}
.cp-shot-a:focus-visible{outline:3px solid #2a5bff;outline-offset:3px}
/* phones: one swipeable row, the next shot peeks in so the row reads as scrollable */
@media (max-width:640px){
  .cp-gallery-row{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding:2px 2px 10px;
    margin:0 -2px;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
  .cp-shot{flex:0 0 84%;scroll-snap-align:start}
}
.cp-lb{padding:0;border:0;border-radius:14px;background:#0d1b2e;max-width:min(96vw,1280px);width:auto}
.cp-lb::backdrop{background:rgba(5,10,20,.78)}
.cp-lb img{display:block;max-width:min(96vw,1280px);max-height:86vh;width:auto;height:auto}
.cp-lb-x{position:absolute;top:8px;right:8px;width:44px;height:44px;border-radius:50%;border:0;cursor:pointer;
  background:rgba(13,22,46,.72);color:#fff;font-size:26px;line-height:44px}
.cp-lb-x:focus-visible{outline:3px solid #fff;outline-offset:2px}
@media (prefers-reduced-motion:reduce){.cp-shot-a{transition:none}.cp-shot-a:hover{transform:none}}
