  /* Wraps the entire slider dynamically */
.profile-slider {
  max-width: 1000px;
  margin: 60px auto;
  position: relative;
}

/* Wraps all slides, transformed by JS */
.profile-slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

/* Each slide — already output from Views */
.profile-slider-slide {
  width: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 40px;
  box-sizing: border-box;
  min-height: 400px;
  background: white;
  border-radius: 25px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Image inside link */
.profile-slider-slide img {
  width: 300px;
  height: 300px;
  border-radius: 25px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(255, 100, 100, 0.3);
}

/* Text container (manually set in View) */
.profile-slider-info {
  flex: 1;
}

/* Nav arrows injected by JS */
.profile-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
}

.profile-slider-arrow.prev {
  left: 10px;
}

.profile-slider-arrow.next {
  right: 10px;
}

/* Dots nav */
.profile-slider-nav {
  text-align: center;
  margin-top: 20px;
}

.profile-slider-nav button {
  background: #ccc;
  border: none;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  cursor: pointer;
}

.profile-slider-nav button.active {
  background: #ff512f;
}

/* Responsive */
@media (max-width: 768px) {
  .profile-slider-slide {
    flex-direction: column;
    text-align: center;
  }

  .profile-slider-slide img {
    width: 100%;
    height: auto;
  }
}
