/* Video Carousel */
.videos-section {
  margin: 40px 0;
  position: relative;
}

.videos-row {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0 20px;
  gap: 15px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.videos-row::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.video-item {
  flex: 0 0 300px;
  margin-bottom: 5px;
}

.video-inner {
  background: #1a1a1a;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.video-inner:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.video-thumb {
  position: relative;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
}

.video-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-info {
  padding: 12px;
}

.video-title {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 5px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 40px;
}

.video-meta {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #aaa;
}

.video-meta i {
  color: #ff0000;
  margin-right: 5px;
}

/* Remove underline from links */
.videos-section a {
  text-decoration: none;
}

/* Carousel Navigation */
.video-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  z-index: 10;
  border: none;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.video-nav:hover {
  opacity: 1;
}

.video-nav-prev {
  left: -15px;
}

.video-nav-next {
  right: -15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .video-item {
    flex: 0 0 250px;
  }
  
  .video-nav {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 480px) {
  .video-item {
    flex: 0 0 220px;
  }
}