/* Videos section styling - matching gallery.css aesthetic */
.videos-section {
  padding: 2.5rem 1rem;
  text-align: center;
  margin-top: 5rem;
}

.videos-section h1 {
  color: whitesmoke;
  margin: 0 0 0.5rem 0;
}

.videos-section .lead {
  color: whitesmoke;
  margin-bottom: 1rem;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.video-item {
  display: block;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.video-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive design */
@media (max-width: 768px) {
  .videos-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 0 0.5rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .videos-grid {
    max-width: 900px;
  }
}

@media (max-width: 520px) {
  .videos-section {
    padding: 2rem 0.5rem;
  }
  
  .videos-grid {
    gap: 1rem;
  }
}