.membership-strip {
  border-top: 1px solid #edf1f4 !important;
  border-bottom: 1px solid #edf1f4 !important;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
  padding: 2.25rem 0 2.5rem !important;
  margin: 0 0 2rem !important;
  position: relative;
  overflow: hidden;
}

.membership-strip .shell,
.membership-strip .site-shell {
  position: relative;
}

.membership-header {
  text-align: center;
  margin: 0 auto 1.25rem;
  max-width: 600px;
}

.membership-strip h2 {
  color: #556877 !important;
  font: 800 0.78rem/1.5 Inter, "Segoe UI", sans-serif !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  margin: 0 !important;
}

/* Glowing sliding line accent under title */
.sliding-line-indicator {
  position: relative;
  width: min(280px, 70%);
  height: 2px;
  margin: 0.65rem auto 0;
  background: rgba(7, 22, 36, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.sliding-line-glow {
  position: absolute;
  top: 0;
  left: -40%;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #0d6b50, #22c55e, transparent);
  border-radius: 999px;
  animation: slidingLineLaser 3s ease-in-out infinite alternate;
}

@keyframes slidingLineLaser {
  0% { left: -30%; width: 25%; }
  50% { left: 35%; width: 45%; }
  100% { left: 105%; width: 25%; }
}

/* Continuous sliding marquee track - DOES NOT REACT TO CURSOR AT ALL */
.membership-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.85rem 0 1rem;
  mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  user-select: none;
  pointer-events: none !important;
  cursor: default !important;
}

.membership-track {
  display: flex !important;
  align-items: center !important;
  gap: 1.5rem !important;
  width: max-content !important;
  animation: infiniteMarqueeSlide 38s linear infinite !important;
  will-change: transform;
  pointer-events: none !important;
}

@keyframes infiniteMarqueeSlide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Clean, crisp logo badges - steady perpetual slide, no hover pop or cursor reaction */
.membership-logo {
  position: relative;
  flex: 0 0 auto !important;
  border: 1.5px solid rgba(7, 22, 36, 0.08) !important;
  background: #ffffff !important;
  border-radius: 14px !important;
  padding: 0.85rem 1.6rem !important;
  height: 80px !important;
  min-width: 175px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 10px rgba(7, 22, 36, 0.04) !important;
  pointer-events: none !important;
  cursor: default !important;
  user-select: none;
}

.membership-logo img {
  height: 54px !important;
  max-height: 56px !important;
  width: auto !important;
  max-width: 165px !important;
  object-fit: contain !important;
  filter: none;
  opacity: 0.95 !important;
  pointer-events: none !important;
  user-select: none;
}

/* Disability Confident badge: large high-res logo, size it correctly */
.membership-logo img[src*="disability-confident"] {
  height: 60px !important;
  max-height: 62px !important;
  max-width: 175px !important;
  opacity: 1 !important;
}

.brand .brand-mark img, .site-nav .site-brand img {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  mix-blend-mode: normal !important;
  filter: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .membership-track {
    animation: none !important;
  }
  .sliding-line-glow {
    animation: none !important;
    left: 25% !important;
    width: 50% !important;
  }
}

@media (max-width: 600px) {
  .membership-strip {
    padding: 1.75rem 0 2rem !important;
  }
  .membership-track {
    gap: 1rem !important;
    animation-duration: 28s !important;
  }
  .membership-logo {
    height: 58px !important;
    min-width: 132px !important;
    padding: 0.6rem 1rem !important;
    border-radius: 12px !important;
  }
  .membership-logo img {
    height: 38px !important;
    max-height: 38px !important;
    max-width: 120px !important;
  }
}
