/* NPS Achievements Showcase v5.20.0 — Compact Member Grid */
.nps-member-showcase-section{
  padding:48px 0 30px;
  background:
    radial-gradient(circle at 15% 0%,rgba(45,174,255,.08),transparent 28%),
    #020b14;
}
.nps-showcase-head,
.nps-team-achievements-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:22px;
  margin-bottom:22px;
}
.nps-showcase-head small,
.nps-team-achievements-head small{
  color:#28d9ff;
  font-size:10px;
  font-weight:900;
  letter-spacing:.13em;
}
.nps-showcase-head h2,
.nps-team-achievements-head h2{
  margin:6px 0 5px;
  color:#f5fbff;
  font-size:clamp(28px,3.6vw,44px);
  line-height:1.04;
  letter-spacing:-.025em;
}
.nps-showcase-head p,
.nps-team-achievements-head p{
  margin:0;
  color:#8ea6b7;
  line-height:1.55;
}
.nps-showcase-head>span{
  flex:0 0 auto;
  padding:8px 11px;
  border:1px solid rgba(40,217,255,.23);
  border-radius:999px;
  color:#8ddfff;
  background:#071927;
  font-size:9px;
  font-weight:900;
  letter-spacing:.09em;
}

/* Compact directory: six members per row on large desktop. */
.nps-member-showcase{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
}
.nps-member-showcase-card{
  position:relative;
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(62,150,210,.22);
  border-radius:16px;
  background:#071927;
  text-decoration:none;
  color:inherit;
  box-shadow:0 14px 34px rgba(0,0,0,.16);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.nps-member-showcase-card:hover{
  transform:translateY(-3px);
  border-color:rgba(40,217,255,.48);
  box-shadow:0 18px 42px rgba(0,0,0,.26);
}
.nps-member-showcase-card:focus-visible{
  outline:2px solid #28d9ff;
  outline-offset:3px;
}
.nps-member-showcase-photo{
  position:relative;
  aspect-ratio:3/4;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 30%,rgba(38,183,235,.10),transparent 34%),
    #071725;
}
.nps-member-showcase-photo::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(1,8,15,.02) 28%,rgba(2,10,18,.22) 49%,rgba(2,9,16,.92) 100%);
}
.nps-member-showcase-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
  transition:transform .32s ease,filter .32s ease;
}
.nps-member-showcase-card:hover .nps-member-showcase-photo img{
  transform:scale(1.035);
  filter:saturate(1.04);
}
.nps-member-showcase-initial{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  font-size:46px;
  font-weight:900;
  color:#77dafb;
}
.nps-member-showcase-badge{
  position:absolute;
  z-index:2;
  left:10px;
  top:10px;
  padding:5px 7px;
  border-radius:999px;
  color:#67e6b5;
  background:rgba(3,13,22,.72);
  border:1px solid rgba(85,231,177,.24);
  backdrop-filter:blur(8px);
  font-size:7px;
  line-height:1;
  font-weight:900;
  letter-spacing:.10em;
}
.nps-member-showcase-overlay{
  position:absolute;
  z-index:3;
  left:0;
  right:0;
  bottom:0;
  padding:44px 11px 11px;
  color:#fff;
}
.nps-member-showcase-overlay>small{
  display:block;
  margin-bottom:4px;
  color:#55d4ff;
  font-size:8px;
  line-height:1.1;
  font-weight:900;
  letter-spacing:.06em;
}
.nps-member-showcase-meta span{
  margin:0 2px;
  color:#6d8a9e;
}
.nps-member-showcase-meta strong{
  color:#ffe08a;
  font-size:10px;
}
.nps-member-showcase-overlay h3{
  margin:0;
  color:#f7fbff;
  font-size:15px;
  line-height:1.15;
  font-weight:850;
  letter-spacing:-.015em;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.nps-member-showcase-overlay p{
  margin:5px 0 0;
  color:#a9c0cf;
  font-size:9px;
  line-height:1.3;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* No separate View Portfolio bar: the whole card is the link. */
.nps-member-showcase-copy,
.nps-member-showcase-link{display:none!important}

.nps-team-achievements-section{
  padding:46px 0 72px;
  background:#020914;
}
.nps-team-achievements-head{display:block}
.nps-achievement-grid{margin-top:22px}
.nps-achievement-card{
  border-color:rgba(62,150,210,.20);
  background:linear-gradient(180deg,#071725,#04101a);
}
.nps-showcase-empty{
  padding:52px 24px;
  border:1px solid rgba(62,150,210,.20);
  border-radius:24px;
  text-align:center;
  background:#061522;
}
.nps-showcase-empty small{color:#28d9ff}
.nps-showcase-empty h3{color:#f5fbff}

@media(max-width:1180px){
  .nps-member-showcase{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media(max-width:980px){
  .nps-member-showcase{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:760px){
  .nps-member-showcase-section{padding:36px 0 24px}
  .nps-showcase-head{display:block;margin-bottom:17px}
  .nps-showcase-head>span{display:inline-block;margin-top:11px}
  .nps-showcase-head h2{font-size:clamp(27px,8vw,36px)}
  .nps-member-showcase{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  .nps-member-showcase-card{border-radius:14px}
  .nps-member-showcase-overlay{padding:40px 9px 9px}
  .nps-member-showcase-overlay h3{font-size:14px}
  .nps-member-showcase-overlay p{font-size:8px}
  .nps-member-showcase-badge{left:8px;top:8px;font-size:6.5px;padding:5px 6px}
  .nps-team-achievements-section{padding:36px 0 54px}
}
@media(max-width:390px){
  .nps-member-showcase{gap:8px}
  .nps-member-showcase-overlay h3{font-size:13px}
}
