.videos-hero {
  background: url("../img/portada.jpg") center/cover no-repeat;
  min-height: 260px;
  padding-bottom: 2rem;
}

.videos-page {
  background-image: url("../img/ICONO MALVINAS GRIS.png");
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center;
  flex: 1 0 auto;
}

.videos-header {
  max-width: 760px;
}

.videos-subtitle {
  color: #555;
  line-height: 1.5;
  font-size: 1rem;
}

.videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

.video-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.video-card + .video-card {
  border-top: 1px solid rgba(34, 34, 34, 0.12);
  padding-top: 1.4rem;
}

.video-title {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  line-height: 1.3;
  color: #222;
  transition: color 0.2s ease;
}

.video-card:hover .video-title {
  color: var(--color-celeste, #7ecce0);
}

/* Contenedor 16:9 con padding (más fiable que aspect-ratio + height:100% en el iframe). */
.video-frame-wrap {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  border-radius: 10px;
  overflow: hidden;
  background: #0f1720;
  margin-bottom: 0.8rem;
  border: 2px solid transparent;
  box-shadow: 0 4px 18px rgba(15, 23, 32, 0.18);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.2s ease;
}

.video-card:hover .video-frame-wrap {
  transform: translateY(-4px);
  border-color: rgba(126, 204, 224, 0.55);
  box-shadow:
    0 12px 28px rgba(15, 23, 32, 0.22),
    0 0 0 1px rgba(126, 204, 224, 0.28);
}

.video-frame-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-desc {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.video-card:hover .video-desc {
  color: #3d4246;
}

@media (max-width: 991.98px) {
  .videos-grid {
    gap: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-title,
  .video-frame-wrap,
  .video-desc {
    transition: none;
  }

  .video-card:hover .video-frame-wrap {
    transform: none;
  }
}
