/* Live video carousel (state-easy style) � used on /visa */

.testimonials__slider-container--live {
  align-items: center;
}

.testimonials__video-swiper--live {
  overflow: visible;
  padding: 12px 0 28px;
}

.testimonials__video-swiper--live .swiper-wrapper {
  align-items: center;
}

.testimonials__video-swiper--live .swiper-slide {
  /* width comes from Swiper slidesPerView (needed for loop clones) */
  height: auto;
  opacity: 0.72;
  transition: opacity 0.45s ease;
  box-sizing: border-box;
}

.testimonials__video-swiper--live .swiper-slide-active {
  opacity: 1;
  z-index: 2;
}

.testimonials__video-swiper--live .swiper-slide-prev,
.testimonials__video-swiper--live .swiper-slide-next {
  opacity: 0.85;
}

.video-live-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  transform: scale(0.85);
  transform-origin: center center;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.swiper-slide-active .video-live-card {
  transform: scale(1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.video-live-card__media {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #1a1a1a;
  overflow: hidden;
}

.video-live-card__poster,
.video-live-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-live-card__video {
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

/* Only the ACTIVE slide may show a playing video layer */
.swiper-slide-active .video-live-card__video.is-playing {
  opacity: 1;
}

.video-live-card__poster {
  transition: opacity 0.25s ease;
}

.swiper-slide-active:has(.video-live-card__video.is-playing) .video-live-card__poster {
  opacity: 0;
}

.video-live-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.video-live-card__duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.video-live-card__play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.video-live-card__play svg {
  width: 52px;
  height: 52px;
  padding: 14px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
}

.swiper-slide-active .video-live-card__play {
  opacity: 0;
}

.video-live-card__info {
  padding: 12px 14px 14px;
  background: #fff;
}

.video-live-card__name {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.video-live-card__role {
  margin: 0;
  font-size: 13px;
  color: #666;
  line-height: 1.3;
}

@media (min-width: 1024px) {
  .testimonials__video-swiper--live {
    padding: 20px 0 36px;
  }
}
