.mps-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
  flex-wrap: wrap; /* allow wrapping if many dots */
  padding: 6px 0;
}

.mps-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d6d6d6;
  cursor: pointer;
  border: 0;
  padding: 0;
  transition: transform .18s ease, background .18s ease;
}

.mps-dot.active {
  background: #2A9DF4;
  transform: scale(1.15);
}

/* Slider wrapper */
.mps-slider {
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 28px 0;
  position: relative;
}

.mps-slider-viewport {
  overflow: hidden;
  width: 100%;
}

.mps-slider-track {
  display: flex;
  gap: 26px;
  align-items: stretch;
  transition: transform 450ms cubic-bezier(.22,.9,.35,1);
  will-change: transform;
}

/* Slide card: show 3 at a time on desktop */
.mps-slide {
  flex: 0 0 calc((100% - 52px) / 3);
  box-sizing: border-box;
}

.mps-slide-inner {
  background: #fff;
  border: 1px solid #e6e6e6;
  padding: 28px 22px 36px;
  border-radius: 8px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  box-shadow: 0 4px 18px rgba(15, 15, 15, 0.03);
  transition: all 0.35s ease;
}

/* Hover effects */
.mps-slide-inner:hover {
  background: #2A9DF4;
  border-color: #2A9DF4;
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 8px 24px rgba(42, 157, 244, 0.3);
}

.mps-slide-inner:hover .mps-title,
.mps-slide-inner:hover .mps-excerpt,
.mps-slide-inner:hover .mps-cta-circle,
.mps-slide-inner:hover .mps-title a {
  color: #fff;
}

.mps-slide-inner:hover .mps-cta-circle {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.mps-slide-inner:hover .mps-thumb {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

/* ✅ NEW: make SVG icons white on hover */
.mps-slide-inner:hover .mps-icon-svg svg path,
.mps-slide-inner:hover .mps-icon-svg svg rect,
.mps-slide-inner:hover .mps-icon-svg svg circle {
  stroke: #fff !important;
}

/* icon/thumb */
.mps-icon-wrap {
  margin-bottom: 14px;
}

.mps-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  display:block;
  margin: 0 auto;
}

.mps-icon-svg svg {
  display: block;
  margin: 0 auto;
}

/* title & excerpt */
.mps-title {
  font-size: 20px;
  margin: 6px 0 10px;
  line-height: 1.15;
  font-weight: 700;
  color: #222;
}

.mps-title a {
  color: inherit;
  text-decoration: none;
}

.mps-excerpt {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* CTA circle */
.mps-cta {
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}

.mps-cta-circle {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid #2A9DF4;
  color: #2A9DF4;
  font-weight: 600;
  font-size: 18px;
}

/* Dots */
.mps-dots {
  display:flex;
  gap:10px;
  justify-content:center;
  margin-top:18px;
}

.mps-dot {
  width:10px;
  height:10px;
  border-radius:50%;
  background:#d6d6d6;
  cursor:pointer;
  transition: transform .18s ease, background .18s ease;
}

.mps-dot.active {
  background:#2A9DF4;
  transform: scale(1.15);
}

/* Responsive breakpoints */
@media (max-width: 992px) {
  .mps-slide {
    flex: 0 0 calc((100% - 26px) / 2); /* two per row (gap 26) */
  }
}

@media (max-width: 640px) {
  .mps-slide {
    flex: 0 0 100%; /* single column */
  }
  .mps-slide-inner {
    padding: 20px;
  }
}