/* Video Section Styles */
.video-section {
  display: none;
  background: #ffffff;
  margin: 0;
  width: 100%;
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  animation: slideInUp 0.6s ease-out;
}

.video-section.active {
  display: block;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.video-section-header {
  background: linear-gradient(135deg, #6a148b, #9c27b0);
  color: white;
  padding: 40px;
  text-align: center;
  position: relative;
}

.video-section-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://cdn.jsdelivr.net/gh/khenjiem/blog-background/portfolio-wallpaper.jpg') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.video-section-header h2 {
  font-size: 2.5rem;
  margin: 0 0 10px 0;
  position: relative;
  z-index: 2;
  font-weight: 700;
}

.video-section-header p {
  font-size: 1.1rem;
  margin: 0;
  position: relative;
  z-index: 2;
  opacity: 0.9;
}

.video-content {
  padding: 50px 40px;
}

.magazine-feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
  background: linear-gradient(135deg, #f8f9ff, #ffffff);
  border-radius: 15px;
  padding: 30px;
  border: 1px solid #e8e8e8;
}

.magazine-text {
  flex: 1;
  padding-right: 30px;
}

.magazine-text h3 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.magazine-text p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.magazine-image {
  flex: 0 0 200px;
  height: 150px;
  background: linear-gradient(135deg, #6a148b, #9c27b0);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.magazine-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/images/strategy.png') center/cover;
  opacity: 0.3;
}

.magazine-image span {
  position: relative;
  z-index: 2;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.video-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.video-thumbnail::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-thumbnail::after {
  content: 'Videos Coming Soon!';
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  color: #000000;
  font-size: 20px;
  z-index: 2;
}

.video-card-content {
  padding: 20px;
}

.video-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-date {
  font-size: 0.85rem;
  color: #888;
  margin: 0 0 12px 0;
  font-weight: 500;
}

.video-description {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.section-footer {
  text-align: center;
  padding: 30px 40px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.load-more-btn {
  background: linear-gradient(135deg, #6a148b, #9c27b0);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.load-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(106, 20, 139, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .video-content {
    padding: 40px 30px;
  }
}

@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .magazine-feature {
    flex-direction: column;
    text-align: center;
  }
  
  .magazine-text {
    padding-right: 0;
    margin-bottom: 20px;
  }
  
  .magazine-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 300px;
  }
  
  .video-section-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .video-content {
    padding: 30px 20px;
  }
  
  .video-section-header {
    padding: 30px 20px;
  }
  
  .video-section-header h2 {
    font-size: 1.8rem;
  }
  
  .magazine-feature {
    padding: 20px;
  }
  
  .video-thumbnail {
    height: 180px;
  }
}