.cts-slider{
  width: 100%;
  max-width: 100%;
  margin: 0;          /* let Elementor handle spacing/alignment */
  padding: 10px 0 0;
  overflow: hidden;   /* keeps the “peek” inside the section width */
}

.cts-slider .swiper{ overflow: visible; }

/* main slides: blurred sides */
.cts-slider .cts-main .swiper-slide{
  width: var(--cts-slide-width, min(760px, 78vw));
  transition: transform .25s ease, filter .25s ease, opacity .25s ease;
  transform: scale(.92);
  filter: blur(5px);
  opacity: .55;
}

.cts-slider .cts-main .swiper-slide-active{
  transform: scale(1);
  filter: none;
  opacity: 1;
}

.cts-slider .cts-main .swiper-slide-prev,
.cts-slider .cts-main .swiper-slide-next{
  filter: blur(3px);
  opacity: .7;
}

/* IMPORTANT: make side slides clickable (not the iframe) */
.cts-slider .cts-main .swiper-slide iframe{ pointer-events: none; }
.cts-slider .cts-main .swiper-slide-active iframe{ pointer-events: auto; }

.cts-slide-content{
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  background: #000;
}

/* video area */
.cts-video{
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.cts-video iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* subtitle */
.cts-subtitle{
  background: #fff;
  color: #111;
  padding: 10px 12px;
  font-size: 16px;
  line-height: 1.35;
  text-align: center;
}

/* nav */
/* Put arrows on the slider (overlay) */
.cts-slider .cts-main{
  position: relative;
}

.cts-slider .cts-nav{
  position: absolute;
  top: 50%;
  left: 10px;
  right: 10px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  z-index: 20;

  /* allow clicks to pass through except on buttons */
  pointer-events: none;
}

.cts-slider .cts-prev,
.cts-slider .cts-next{
  pointer-events: auto;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.18);
  background: rgba(255,255,255,.92);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

.cts-slider .cts-prev:hover,
.cts-slider .cts-next:hover{
  transform: scale(1.03);
}

/* Force perfect centering using SVG icons (not font glyphs) */
.cts-slider .cts-prev,
.cts-slider .cts-next{
  display: flex;
  align-items: center;
  justify-content: center;

  /* hide the ‹ › text inside the button */
  font-size: 0;
  line-height: 0;

  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 18px 18px;
}

/* Left chevron */
.cts-slider .cts-prev{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");
}

/* Right chevron */
.cts-slider .cts-next{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
}

/* thumbs */
.cts-thumbs{
  margin-top: 14px;
  padding-bottom: 6px;
}
.cts-thumbs .swiper-slide{
  width: 110px;
  height: 64px;
  opacity: .6;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease;
}
.cts-thumbs .swiper-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cts-thumbs .swiper-slide-thumb-active{
  opacity: 1;
  transform: scale(1.02);
  outline: 2px solid rgba(0,0,0,.25);
  outline-offset: 2px;
}

@media (max-width: 768px){
  .cts-slider .cts-main .swiper-slide{ width: 86vw; }
  .cts-thumbs .swiper-slide{ width: 90px; height: 52px; }
}