.container--narrow .container {
  max-width: 1200px !important;
}

/* Video grid — override legacy #videos styles from 01.css */
#videos {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 24px !important;
  margin: 40px auto 0 !important;
  padding: 0 !important;
  background: none !important;
}

@media (min-width: 600px) {
  #videos {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (min-width: 960px) {
  #videos {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

#videos .video-card {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

#videos .video-card:hover {
  transform: translateY(-4px);
}

#videos .video-thumb {
  position: relative;
}

#videos .video-thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

#videos .video-thumb .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

#videos .video-card:hover .play-btn {
  background: #D20024;
}

#videos .play-btn svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  margin-left: 3px;
}

#videos .video-label {
  margin: 0 !important;
  padding: 12px 16px !important;
  color: #fff !important;
  font-weight: 900;
  font-size: 14px;
  font-family: 'Satoshi', sans-serif;
  text-align: center;
  background: none !important;
  position: static !important;
  transform: none !important;
}

/* Modale vidéo */
.video-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.video-modal-overlay.active {
  display: flex;
}

.video-modal {
  position: relative;
  width: 100%;
  max-width: 960px;
}

.video-modal .video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.video-modal .video-modal-close:hover {
  opacity: 1;
}

.video-modal .video-modal-iframe {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 12px;
  overflow: hidden;
}

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