.yt-slider-section {
  background: #000;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 40px;
}

.yt-slider-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: nowrap;
}

.yt-slider-title {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  white-space: nowrap;
}

.yt-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.yt-slider-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

.yt-slide {
  flex: 1 1 calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .yt-slide {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .yt-slide {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.yt-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.yt-thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.yt-title-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #f0f0f0;
  font-size: 0.95rem;
  font-weight: 400;
  box-sizing: border-box;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}