/* Video de YouTube / señal en vivo como medio principal de una noticia (noticias.php),
   en el lugar de la primera foto. Las fotos, si hay, siguen debajo. */
.dep-galeria .not-video { grid-column: 1 / -1 !important; display: grid; gap: 8px; position: relative; }
.not-video-marco { position: relative; aspect-ratio: 16 / 9; width: 100%; overflow: hidden; border-radius: var(--radio, 14px); background: #000; }
.not-video-vivo .not-video-marco { box-shadow: 0 0 0 3px var(--rojo, #D9483B); }
.not-video-marco iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.not-vivo { position: absolute; top: 12px; left: 12px; z-index: 2; margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
  border-radius: 99px; background: var(--rojo, #D9483B); color: #fff; font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  pointer-events: none; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.not-vivo-punto { width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: not-vivo-latido 1.4s ease-in-out infinite; }
@keyframes not-vivo-latido { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.75); } }
.not-video-nota { margin: 0; font-size: .88rem; color: var(--tinta-suave, #555); }
.dep-galeria .not-video-nota a { display: inline; height: auto; background: none; border-radius: 0; overflow: visible; color: var(--tinta, #15161A); font-weight: 600; text-decoration: underline; }
/* Con video la columna del medio es un poco más ancha, para que se vea grande */
@media (min-width: 961px) { .dep-cuerpo.con-fotos.con-video { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }

/* Etiqueta "▶ Video" / "● En vivo" sobre la foto en la lista de noticias */
.dep-tarjeta-foto, .not-destacada-foto { position: relative; }
.not-tiene-video { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 99px; background: rgba(0,0,0,.78); color: #fff;
  font-size: .78rem; font-weight: 700; letter-spacing: .03em; }

.acc-sin-animacion .not-vivo-punto { animation: none; }
@media (prefers-reduced-motion: reduce) { .not-vivo-punto { animation: none; } }
.alto-contraste .not-vivo { background: #FFEB3B; color: #000; } .alto-contraste .not-vivo-punto { background: #000; }
@media print { .not-video { display: none; } }

/* Botón "Activar sonido" sobre el video (cuando el navegador no deja partir con sonido) */
.not-sonido { position: absolute; z-index: 3; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border: 2px solid #fff; border-radius: 99px; background: var(--rojo, #D9483B); color: #fff; font: 800 1rem/1 inherit; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.35); animation: not-sonido-pulso 1.6s ease-in-out infinite; }
.not-sonido[hidden] { display: none; }
.not-sonido:hover { background: #b83226; }
.not-sonido:focus-visible { outline: 3px solid #FFEB3B; outline-offset: 3px; }
@keyframes not-sonido-pulso { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.acc-sin-animacion .not-sonido { animation: none; }
@media (prefers-reduced-motion: reduce) { .not-sonido { animation: none; } }
