
/* ===== Poppins via jsDelivr (no Google Fonts, no @import) ===== */
@font-face{font-family:'Poppins';font-style:normal;font-weight:400;font-display:swap;src:url('https://cdn.jsdelivr.net/npm/@fontsource/poppins@5.0.8/files/poppins-latin-400-normal.woff2') format('woff2');}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url('https://cdn.jsdelivr.net/npm/@fontsource/poppins@5.0.8/files/poppins-latin-600-normal.woff2') format('woff2');}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url('https://cdn.jsdelivr.net/npm/@fontsource/poppins@5.0.8/files/poppins-latin-700-normal.woff2') format('woff2');}

/* ===== Horizontal auto-scroll strip - namespaced, scoped to .py-marquee ===== */
.py-marquee{
  --py-m-w:180px;   /* image size (mobile) */
  --py-m-gap:12px;
  --py-m-fade:32px; /* edge fade width */
  background:#ffffff !important;
  padding:32px 0 !important;
}
.py-marquee *,.py-marquee *::before,.py-marquee *::after{box-sizing:border-box !important;}

/* Viewport clips the track and fades both edges so the strip reads as endless */
.py-marquee-viewport{
  overflow:hidden !important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 var(--py-m-fade),#000 calc(100% - var(--py-m-fade)),transparent 100%) !important;
  mask-image:linear-gradient(90deg,transparent 0,#000 var(--py-m-fade),#000 calc(100% - var(--py-m-fade)),transparent 100%) !important;
}

/* Track holds the 11 images twice; -50% lands exactly on a cell boundary,
   so the loop is seamless. Every cell carries margin-right, so one cell
   step = width + gap and 11 steps = exactly half the track. */
.py-marquee-track{
  display:flex !important;
  width:max-content !important;
  animation:py-marquee-scroll 45s linear infinite !important;
  will-change:transform !important;
}
@keyframes py-marquee-scroll{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}

.py-marquee-cell{flex:0 0 auto !important;width:var(--py-m-w) !important;margin-right:var(--py-m-gap) !important;}
.py-marquee-img{
  aspect-ratio:1/1 !important;
  border-radius:8px !important;
  overflow:hidden !important;
  background:#f6f7f9 !important;
  border:1px solid #e6e6e6 !important;
  transition:transform .35s ease,box-shadow .35s ease !important;
}
.py-marquee-img img{width:100% !important;height:100% !important;object-fit:cover !important;display:block !important;}

/* Hover: pause the strip, lift the hovered image */
.py-marquee-viewport:hover .py-marquee-track{animation-play-state:paused !important;}
.py-marquee-cell:hover .py-marquee-img{
  transform:translateY(-4px) !important;
  box-shadow:0 12px 28px -12px rgba(10,77,162,.25),0 2px 6px rgba(0,0,0,.06) !important;
}

/* Tablet */
@media (min-width:641px){
  .py-marquee{--py-m-w:240px;--py-m-gap:16px;--py-m-fade:56px;padding:40px 0 !important;}
}
/* Desktop */
@media (min-width:992px){
  .py-marquee{--py-m-w:280px;--py-m-gap:18px;--py-m-fade:72px;padding:48px 0 !important;}
}

@media (prefers-reduced-motion:reduce){
  .py-marquee-track{animation:none !important;}
}
