.custom-banner-slider.swiper { width:100%; overflow:hidden; }

.custom-banner-slider .cb-slide {
  position: relative;
  overflow: hidden;
  min-height: var(--cb-min-h);
  width: 100%;
  isolation: isolate;
}

/* --- Backgrounds --- */
.custom-banner-slider .cb-bg {
  position: absolute; top:0; left:0;
  width:100%; height:100%; z-index:0;
  background-size:cover; background-position:center;
}
.custom-banner-slider .cb-video {
  object-fit: cover;
}

/* YouTube container — horizontal 16:9 */
.custom-banner-slider .cb-yt--h {
  position:absolute; z-index:0; pointer-events:none; overflow:hidden;
  top:50%; left:50%;
  width:177.78vh; height:56.25vw;
  min-width:100%; min-height:100%;
  transform:translate(-50%,-50%) scale(1.2);
}
/* YouTube container — vertical 9:16 (Shorts) */
.custom-banner-slider .cb-yt--v {
  position:absolute; z-index:0; pointer-events:none; overflow:hidden;
  top:50%; left:50%;
  width:56.25vh; height:177.78vw;
  min-width:100%; min-height:100%;
  transform:translate(-50%,-50%) scale(1.2);
}
.custom-banner-slider .cb-yt iframe {
  width:100%; height:100%; border:0;
  pointer-events:none !important;
}

/* Shield — fully covers YouTube while not playing */
.custom-banner-slider .cb-shield {
  position:absolute; top:0; left:0;
  width:100%; height:100%; z-index:1;
  opacity:1;
  transition: opacity 0.6s ease;
}
.custom-banner-slider .cb-shield.is-hidden {
  opacity: 0;
}

/* Overlay */
.custom-banner-slider .cb-overlay {
  position:absolute; top:0; left:0;
  width:100%; height:100%; z-index:2;
}

/* Content */
.custom-banner-slider .cb-content {
  position:relative; z-index:3;
  display:flex; flex-direction:column;
  align-items:flex-start; justify-content:center;
  min-height:var(--cb-min-h);
  padding:60px 0;
}

.custom-banner-slider .cb-heading {
  font-size:3em; font-weight:700;
  line-height:1.15; margin-bottom:20px;
}
.custom-banner-slider .cb-subheading {
  font-size:1.3em; line-height:1.6;
  margin-bottom:30px; max-width:700px; opacity:0.9;
}
.custom-banner-slider .cb-btn {
  display:inline-block; padding:14px 40px;
  border:2px solid; text-decoration:none;
  font-size:1em; font-weight:600;
  letter-spacing:1px; text-transform:uppercase;
  transition:all .3s ease; background:transparent;
}
.custom-banner-slider .cb-btn:hover { background:currentColor; }

/* Desktop / Mobile */
.custom-banner-slider .cb-bg--desktop { display:block; }
.custom-banner-slider .cb-bg--mobile  { display:none; }
.custom-banner-slider .cb-bg--always  { display:block !important; }

@media (max-width:767px) {
  .custom-banner-slider .cb-bg--desktop:not(.cb-bg--always) { display:none; }
  .custom-banner-slider .cb-bg--mobile { display:block; }
  .custom-banner-slider .cb-slide { min-height:var(--cb-min-h-m); }
  .custom-banner-slider .cb-content { min-height:var(--cb-min-h-m); padding:40px 0 !important; }
  .custom-banner-slider .cb-heading { font-size:1.8em; }
  .custom-banner-slider .cb-subheading { font-size:1em; }
  .custom-banner-slider .cb-btn { padding:12px 30px; font-size:0.9em; }
}

/* Swiper */
.custom-banner-slider .swiper-button-next,
.custom-banner-slider .swiper-button-prev { color:#fff; }
.custom-banner-slider .swiper-pagination-bullet { background:#fff; opacity:.5; }
.custom-banner-slider .swiper-pagination-bullet-active { opacity:1; }
