.wwo-card-carousel__container {
  position: relative;
  /* IMPORTANT for arrow overlay */
  max-width: 1500px;
  margin: auto;
}

.wwo-card-carousel__viewport {
  overflow: hidden;
  width: 100%;
}

.wwo-card-carousel__track {
  display: flex;
  justify-content: center;
  gap: 80px;
  align-items: center;
  height: 360px;

}

/* Card base */
.wwo-card-carousel__card {
  width: 145px;
  height: 145px;
  border: 1px solid #fa631b;
  border-radius: 50%;
  display: flex;
  opacity: 0.6;
  align-items: center;
  justify-content: center;
  transition: all 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

img.card-img.card-img--default {
  width: 60px;
  height: 60px;
  /* padding: 20px; */
}

/* Hide cards after 5 */
.wwo-card-carousel__card:nth-child(n + 6) {
  display: none;
}

/* Active card (middle of 5) */
.wwo-card-carousel__card.is-active {

  margin: 0px 5%;
  width: 340px;
  height: 340px;
  border: none;
  opacity: 1;
  flex-direction: column;
}

p.card-img--active {
  font-size: 22px;
  font-weight: 700;
  line-height: 28px;
  max-width: 250px;
  text-align: center;
}

img.card-img.card-img--active {
  width: 270px;
  height: 270px;
}

/* ---------- ARROWS (OVERLAY, NO LAYOUT IMPACT) ---------- */

.wwo-card-carousel__nav {
  position: absolute;
  top: 50%;
  font-size: 40px;
  cursor: pointer;
  font-weight: 700;
  transform: translateY(-50%);
  color: #FF7B00;
}

/* left arrow between 2 & 3 */
.wwo-card-carousel__nav[data-prev] {
  left: 43%;
  margin-left: -120px;
}
section.wwo-card-carousel {
    padding-bottom: 2%;
}
/* right arrow between 3 & 4 */
.wwo-card-carousel__nav[data-next] {
  left: 54%;
  margin-left: 120px;
}

/* Base image styles */
.wwo-card-carousel__card img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hide active image by default */
.wwo-card-carousel__card .card-img--active {
  display: none;
}

/* When card is active */
.wwo-card-carousel__card.is-active .card-img--default {
  display: none;
}

.wwo-card-carousel__card.is-active .card-img--active {
  display: block;
}

@media (max-width: 768px) {

  /* Track setup */
  .wwo-card-carousel__track {
    gap: 0;
    height: auto;
  }

  /* Show only 1 card */
  .wwo-card-carousel__card {
    display: none;
    margin: 0 auto;
  }

  /* Active card only */
  .wwo-card-carousel__card.is-active {
    display: flex;
    width: auto;
    height: auto;

  }

  /* Active image */
  .wwo-card-carousel__card.is-active img.card-img--active {
    width: 240px;
    height: 240px;
  }

  /* Hide default image always on mobile */
  .wwo-card-carousel__card img.card-img--default {
    display: none;
  }

  /* Text */
  .wwo-card-carousel__card.is-active p.card-img--active {
    font-size: 18px;
    line-height: 24px;
    max-width: 220px;
    text-align: center;
  }

  /* Arrows positioning */
  .wwo-card-carousel__nav {
    top: 45%;
    font-size: 32px;
  }

  .wwo-card-carousel__nav[data-prev] {
    left: 8%;
    margin-left: 0;
  }

  .wwo-card-carousel__nav[data-next] {
    left: auto;
    right: 8%;
    margin-left: 0;
  }
  .wwo-card-carousel__card {
  transition: transform 0.4s ease, opacity 0.4s ease;
}
}
