/* Stories in motion – static thumbnail cards, homepage only.
   Appended after redesign.css so all original animations and hover captions stay. */
.page-home .showcase-image > .showcase-poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: 1;
}
.page-home .showcase-image > .showcase-poster[hidden] { display: none; }
.page-home .showcase-card.has-poster .showcase-art { opacity: 0; }
.page-home .showcase-card .showcase-shade { z-index: 2; }
.page-home .showcase-card .showcase-caption { z-index: 3; }
/* The active card remains a link; its caption still fades in on hover/focus.
   The mobile existing CSS shows the caption on touch devices. */

/* Mobile carousel: swipe instead of side arrows; desktop arrows remain visible.
   Allow normal vertical page scrolling while interpreting horizontal gestures in JS. */
@media (max-width: 760px) {
  .page-home .showcase-slider .showcase-arrow {
    display: none !important;
  }
  .page-home .showcase-viewport {
    touch-action: pan-y;
  }
}
