/* NSRF — WSPD lived experience carousel (Lived Experience Panel page). 24 Sep 2026 */
.nsrf-wspd{margin:24px 0 36px}
.nsrf-wspd__intro{margin:0 0 16px !important}
.nsrf-carousel{position:relative;max-width:560px}
.nsrf-carousel__track{
  display:flex;gap:40px;margin:0 !important;padding:0 0 18px !important;list-style:none !important;
  overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;scrollbar-width:thin;overscroll-behavior-x:contain;
}
.nsrf-carousel__track:focus-visible{outline:2px solid #071050;outline-offset:4px;border-radius:12px}
.nsrf-carousel__slide{
  flex:0 0 100%;scroll-snap-align:start;margin:0 !important;padding:0 !important;list-style:none !important;
}
.nsrf-carousel__slide::before{content:none !important}
.nsrf-carousel__slide img{
  display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;
  border-radius:12px;box-shadow:0 4px 16px rgba(7,16,80,.12);background:#EEEFF3;
}
.nsrf-carousel__controls{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:14px}
.nsrf-carousel__controls[hidden]{display:none}
.nsrf-carousel__btn{
  width:44px;height:44px;border-radius:50%;border:1px solid #071050;background:#fff;color:#071050;
  font-size:18px;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;
  transition:background-color .15s ease,color .15s ease;
}
.nsrf-carousel__btn:hover,.nsrf-carousel__btn:focus-visible{background:#071050;color:#fff}
.nsrf-carousel__btn:focus-visible{outline:2px solid #071050;outline-offset:2px}
.nsrf-carousel__btn[disabled]{opacity:.35;cursor:default;background:#fff;color:#071050}
.nsrf-carousel__count{font:600 14px/1 Outfit,system-ui,sans-serif;color:#071050;min-width:3.5em;text-align:center}
.nsrf-wspd__pdf{margin:14px 0 0 !important}
@media (prefers-reduced-motion:reduce){.nsrf-carousel__track{scroll-behavior:auto}}

/* ==== Fit to screen 19 Oct 2026 ==== */

/* The slide is a square, so it is as tall as it is wide (up to 560px) and, with the
   buttons, the carousel is about 635px high. On any screen shorter than that (a
   laptop at 600-700px, a tablet or phone on its side), once the sticky header is
   allowed for, the bottom of the slide and the buttons were cut off. The carousel
   is now capped by the viewport height as well as the width.
   240px = ~140px sticky header + ~76px buttons + ~24px breathing space.
   The 220px floor stops it shrinking to nothing on a landscape phone. */
.nsrf-carousel{
  max-width:560px;
  max-width:min(560px,max(220px,calc(100vh - 240px)));
  max-width:min(560px,max(220px,calc(100svh - 240px)));
}
