.npgs-wrap{
  --npgs-gap: 22px;
  position:relative;
  width:100%;
  margin:20px 0;
  font-family:inherit;
}
.npgs-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}
.npgs-title{
  margin:0;
  font-size:clamp(22px,2vw,30px);
  line-height:1.2;
  font-weight:700;
}
.npgs-viewport{
  overflow:hidden;
  width:100%;
}
.npgs-track{
  display:flex;
  gap:var(--npgs-gap);
  will-change:transform;
  transition:transform .45s ease;
}
.npgs-slide{
  min-width:calc((100% - (var(--npgs-gap) * 2)) / 3);
  box-sizing:border-box;
}
.npgs-card{
  display:flex;
  flex-direction:column;
  text-decoration:none;
  background:#fff;
  color:inherit;
  border-radius:var(--npgs-radius,18px);
  overflow:hidden;
  box-shadow:0 10px 28px rgba(2,6,23,.10);
  border:1px solid rgba(15,23,42,.07);
  height:100%;
  transition:transform .25s ease, box-shadow .25s ease;
}
.npgs-card:hover{
  transform:translateY(-5px);
  box-shadow:0 16px 34px rgba(2,6,23,.14);
}
.npgs-image-box{
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,#dbeafe,#f8fafc);
}
.npgs-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.npgs-badge{
  position:absolute;
  top:14px;
  left:14px;
  display:inline-flex;
  align-items:center;
  padding:7px 12px;
  border-radius:999px;
  font-size:12px;
  line-height:1;
  font-weight:700;
  background:rgba(15,23,42,.82);
  color:#fff;
  backdrop-filter:blur(8px);
}
.npgs-content{
  padding:16px 16px 18px;
}
.npgs-post-title{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.4;
  font-weight:700;
}
.npgs-meta{
  font-size:13px;
  opacity:.72;
  margin-bottom:10px;
}
.npgs-excerpt{
  margin:0;
  font-size:14px;
  line-height:1.65;
  opacity:.88;
}
.npgs-controls{
  display:flex;
  align-items:center;
  gap:10px;
}
.npgs-controls-bottom{
  margin-top:14px;
  justify-content:center;
}
.npgs-nav{
  width:42px;
  height:42px;
  border:none;
  border-radius:999px;
  background:#0f172a;
  color:#fff;
  cursor:pointer;
  font-size:18px;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 20px rgba(15,23,42,.2);
  transition:transform .2s ease, opacity .2s ease;
}
.npgs-nav:hover{ transform:scale(1.05); }
.npgs-nav[disabled]{ opacity:.45; cursor:not-allowed; transform:none; }
.npgs-dots{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  margin-top:16px;
}
.npgs-dot{
  width:10px;
  height:10px;
  border:none;
  border-radius:999px;
  background:#cbd5e1;
  cursor:pointer;
  padding:0;
  transition:transform .2s ease, background .2s ease, width .2s ease;
}
.npgs-dot.is-active{
  width:28px;
  background:#0f172a;
}
@media (max-width: 991px){
  .npgs-slide{ min-width:calc((100% - var(--npgs-gap)) / 2); }
}
@media (max-width: 639px){
  .npgs-slide{ min-width:100%; }
  .npgs-content{ padding:14px 14px 16px; }
  .npgs-post-title{ font-size:17px; }
}
