/* ===== VIDEOS SECTION - Modern & Elegant ===== */

#latest_videos {
  text-align: center;
  padding: clamp(3rem, 5vw, 5rem) clamp(1rem, 3vw, 2rem);
  max-width: var(--max-width, 1400px);
  margin: auto;
  background: linear-gradient(180deg, #181818 0%, #0f0f0f 100%);
  position: relative;
}

/* Subtle radial overlay */
#latest_videos::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.02) 0%, transparent 60%);
  pointer-events: none;
}

/* Titolo sezione: ereditato da .section-title globale */

/* Force grid layout on #youtube_videos with higher specificity */
#latest_videos #youtube_videos.video-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 340px)) !important;
  gap: clamp(1.5rem, 3vw, 2rem) !important;
  justify-content: center !important;
  justify-items: center !important;
  margin-top: 2rem;
}

/* Ensure video items don't overflow */
#latest_videos #youtube_videos.video-grid .video-item {
  width: 100% !important;
  max-width: 340px !important;
}

/* CTA "Tutti i video" */
.section-cta {
  text-align: center;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}
  