/* light-theme: manual
   nexpal.html "Einblicke in NexPal": the screenshot gallery in the page's
   sticker style. Reuses the gallery + lightbox from nexcraft-screens.css/js. */

.np-gallery { margin: 2.6rem 0 0.5rem; }
.np-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
  max-width: 980px;
  margin: 0 auto;
}
.np-shot .nc-shot-btn {
  border: 3px solid var(--np-rim, #2a170b);
  border-radius: 20px;
  box-shadow: 7px 7px 0 var(--np-shadow, #0b0603);
  transform: rotate(-1.2deg);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}
.np-shot:nth-child(2) .nc-shot-btn { transform: rotate(1.2deg); }
.np-shot .nc-shot-btn:hover,
.np-shot .nc-shot-btn:focus-visible { transform: rotate(0deg) translateY(-3px); box-shadow: 9px 10px 0 var(--np-shadow, #0b0603); }
.np-shot figcaption {
  justify-self: center;
  margin-top: 0.4rem;
  padding: 0.25rem 0.8rem;
  border: 2px solid var(--np-rim, #2a170b);
  border-radius: 999px;
  background: var(--np-cream, #fcefdc);
  color: var(--np-rim, #2a170b);
  font: 700 0.85rem var(--np-head, "Fredoka", sans-serif);
  box-shadow: 3px 3px 0 var(--np-shadow, #0b0603);
}
.np-shot .nc-shot-btn::after { border-radius: 10px; background: var(--np-orange, #f08a3c); }

@media (max-width: 760px) {
  .np-gallery-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .np-shot .nc-shot-btn { transition: none; }
}
