/* Pictures in the cards on every site (Misa 27 Nov: "technicians and electricians pictured … implement that thinking on all sites"). Own file so it never collides with nn.css. */
.card-pic{position:relative;border-radius:14px;overflow:hidden;margin:0 0 14px;aspect-ratio:16/10;box-shadow:0 14px 30px -18px #000c;border:1px solid rgba(125,211,252,.3)}
.card-pic img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s cubic-bezier(.2,.8,.2,1)}
.card-pic .illus{top:auto;bottom:8px;right:8px;font-size:9px;padding:4px 6px}
.rv.in .card-pic img{animation:cardz 9s ease-out both}
@keyframes cardz{from{transform:scale(1.12)}to{transform:scale(1)}}
@media (hover:hover){.px-fit:hover .card-pic img,.px-hand li:hover .card-pic img,.px-way:hover .card-pic img{transform:scale(1.07)}}
/* five disciplines (lists): picture on top, number + text below */
.px-hand li:has(.card-pic){flex-direction:column;gap:10px;padding:14px 14px 18px 18px}
.px-hand li:has(.card-pic) .card-pic{width:100%;margin:0}
/* who it fits: the picture replaces the icon box on top */
.px-fit:has(.card-pic){display:block!important;padding:12px 12px 16px!important}
.px-fit:has(.card-pic) .ic{display:none}
/* security promises */
.px-way .card-pic{margin:-6px -4px 16px}
.px-promises .px-big{font-size:clamp(30px,8vw,44px)!important}
/* phones: the picture always shows, the text stays tap-to-open */
@media (max-width:760px){.px-fit:has(.card-pic)::after,.px-hand li:has(.card-pic)::after{top:auto;bottom:16px}}
@media (min-width:761px){.px-hand.long li:has(.card-pic),.px-hand li:has(.card-pic){padding:16px 18px 20px}}
@media (prefers-reduced-motion:reduce){.rv.in .card-pic img{animation:none}}
