/* Member Spotlight — 3:4 carousel inside the Members mega-menu */
.ms-wrap {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(212, 175, 55, .34);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(20, 33, 61, .92), rgba(11, 19, 36, .96));
  box-sizing: border-box;
}
.ms-wrap *, .ms-wrap *::before, .ms-wrap *::after { box-sizing: border-box; }
.ms-eb {
  margin: 0 0 4px;
  font: 700 10.5px/1.2 ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #d4af37;
}
.ms-title {
  margin: 0 0 4px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  line-height: 1.1;
  color: #fff;
}
.ms-sub { margin: 0 0 14px; font-size: 13px; line-height: 1.5; color: #aab4c5; }

.ms-stage { position: relative; border-radius: 14px; overflow: hidden; background: #0b1324; }
.ms-track { position: relative; aspect-ratio: 3 / 4; width: 100%; }
.ms-slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transition: opacity .5s ease;
  pointer-events: none;
}
.ms-slide.is-on { opacity: 1; pointer-events: auto; }
.ms-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ms-link { display: block; height: 100%; }

.ms-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(11,19,36,.6); color: #fff;
  font-size: 20px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
}
.ms-nav:hover { background: rgba(212,175,55,.9); color: #10192b; border-color: #d4af37; }
.ms-prev { left: 10px; } .ms-next { right: 10px; }

.ms-dots { display: flex; gap: 6px; justify-content: center; margin: 10px 0 14px; }
.ms-dot {
  width: 7px; height: 7px; padding: 0; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.3); cursor: pointer;
}
.ms-dot.is-on { background: #d4af37; width: 18px; border-radius: 4px; }

.ms-act { display: flex; flex-direction: column; gap: 8px; }
.ms-btn {
  display: flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 14px; border-radius: 999px;
  background: linear-gradient(180deg, #e3c256, #c9a227);
  color: #10192b; font-size: 13.5px; font-weight: 800;
  text-decoration: none; text-align: center;
}
.ms-btn--ghost { background: transparent; color: #e3c256; border: 1px solid rgba(212,175,55,.6); }
.ms-btn:hover { filter: brightness(1.06); }
.ms-note { margin: 10px 0 0; font-size: 11.5px; line-height: 1.45; color: #8fa0b8; }

@media (max-width: 1023px) {
  .ms-track { aspect-ratio: 4 / 5; }
  .ms-title { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .ms-slide { transition: none; }
}

/* the spotlight replaces the old live-demo card inside the Members panel */
#n5p-trustees .n5-demos, #n5p-trustees .n5-demos-foot,
#n5g2 .n5-demos, #n5g2 .n5-demos-foot { display: none !important; }

/* phone drawer copy */
li.ms-m-item { list-style: none; margin: 0 0 4px; padding: 0 !important; }
#n5g2 li.ms-m-item > a, #n5g2 .ms-wrap a { padding-left: 0 !important; }
#n5g2 .ms-wrap { margin: 8px 0 12px; padding: 14px; }
#n5g2 .ms-title { font-size: 21px; }
#n5g2 .ms-sub { font-size: 12.5px; margin-bottom: 10px; }
#n5g2 .ms-track { aspect-ratio: 1 / 0.88; }
#n5g2 .ms-stage { margin: 0; }
#n5g2 .ms-slide, #n5g2 .ms-link { position: absolute; inset: 0; margin: 0; padding: 0; width: 100%; height: 100%; }
#n5g2 .ms-slide img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; object-fit: cover; object-position: 50% 45%; }
#n5g2 .ms-dots { margin: 6px 0 8px; }
#n5g2 .ms-btn { min-height: 44px; font-size: 13px; }
#n5g2 .ms-note { display: none; }   /* the drawer is short; keep both buttons above the fold */
#n5g2 .ms-act { gap: 6px; }
