.yt-slider {
  width: 100%;
  padding: 20px 0;
}

.yt-slide {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 8px;
  overflow: hidden;
}

.yt-thumbnail {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.yt-thumbnail:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.yt-thumbnail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
}

.yt-thumbnail:hover::before {
  background: rgba(0, 0, 0, 0.2);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 2;
}

.play-button-shape {
  position: relative;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.play-button-bg {
  fill: rgba(0, 0, 0, 0.8);
  transition: fill 0.3s ease;
}

.play-button-arrow {
  fill: #fff;
}

.yt-thumbnail:hover .play-button {
  transform: translate(-50%, -50%) scale(1.1);
}

.yt-thumbnail:hover .play-button-bg {
  fill: #ff0000;
}

.play-button svg {
  display: block;
}

.video-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 20px 15px 15px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.yt-player-container {
  width: 100%;
  height: 100%;
}

.yt-player {
  width: 100%;
  height: 100%;
}

.swiper-pagination {
  margin-top: 20px;
}

.swiper-pagination-bullet {
  background: #333;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background: #ff0000;
  opacity: 1;
}
.yt-slider {
    width: 100%;
    padding: 50px 0 !important;
}
.swiper-pagination {
    bottom: 10px !important;
   
}
span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background:black;
}
span.swiper-pagination-bullet {
    width:12px;
    height:12px;
    background:gray;
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .yt-slide {
    height: 250px;
  }

  .video-title {
    font-size: 12px;
    padding: 15px 10px 10px;
  }

  .play-button svg {
    width: 100px;
    height: 100x;
  }
}

@media (max-width: 480px) {
    .yt-slide {
        height: 600px;
        padding: 0px 20px;
    }
}
