/* ===================== EVENTOS & OPERACIONES ===================== */

/* Poster del evento — posición relativa para el badge */
.ev-op-poster {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ev-op-poster img {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.07);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ev-op-poster img:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 60px rgba(0,0,0,0.75);
}

/* Badge militar sobre el cartel */
.ev-badge {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 3px;
  z-index: 2;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(204,0,0,0.5);
}

/* Separador visual entre secciones */
.ev-op-section {
  border-top: 1px solid var(--border);
}

/* Ficha táctica — chips de datos bajo el título */
.ev-ficha {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 20px;
}

.ev-ficha span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 5px 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.ev-ficha span i {
  color: var(--red);
  font-size: 0.75rem;
}

/* Pasos verticales de la operación */
.ev-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 24px;
  padding-left: 8px;
  border-left: 2px solid var(--red);
}

.ev-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 0 0 24px 0;
  position: relative;
}

.ev-step:last-child {
  padding-bottom: 0;
}

.ev-step-dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  background: var(--red);
  border-radius: 50%;
  margin-top: 5px;
  margin-left: -14px;
  box-shadow: 0 0 0 3px rgba(204,0,0,0.2);
}

.ev-step-body h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}

.ev-step-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Link Instagram Centauro */
.ev-op-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.ev-op-link i {
  font-size: 1.1rem;
  color: #e1306c;
}

.ev-op-link:hover {
  border-color: #e1306c;
  color: #e1306c;
  background: rgba(225, 48, 108, 0.08);
}

/* ---- Carrusel HAC ---- */
.ev-hac-carousel {
  flex-direction: column;
  position: relative;
}

.ev-carousel {
  position: relative;
  width: 100%;
  max-width: 380px;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 2 / 3;
  background: #0a0a0a;
}

.ev-carousel-img--sm {
  transform: scale(0.78);
  transform-origin: center center;
}

.ev-carousel-img--sm:hover {
  transform: scale(0.78) !important;
}

/* Sin hover en ningún carrusel */
.ev-carousel-track img:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Columna derecha NRCS — tarjetas + carrusel apilados */
.ev-nrcs-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  align-self: flex-start;
}

#saga-nrcs .qs-zone-grid {
  align-items: flex-start;
}

.ev-badge--nrcs {
  margin-bottom: 12px;
}

/* Tarjetas de actos NRCS */
.ev-nrcs-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  width: 100%;
  max-width: 520px;
}

.ev-nrcs-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 10px 14px;
}

.ev-nrcs-card img {
  width: 75px;
  min-width: 75px;
  height: 94px;
  object-fit: cover;
  border-radius: 4px;
}

.ev-nrcs-card-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}

.ev-nrcs-card-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.ev-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.ev-carousel-track img {
  width: 100%;
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

.ev-carousel-track img:hover {
  transform: none;
  box-shadow: none;
}

.ev-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  z-index: 3;
  font-size: 0.8rem;
}

.ev-carousel-btn:hover {
  background: var(--red);
  border-color: var(--red);
}

.ev-carousel-btn--prev { left: 10px; }
.ev-carousel-btn--next { right: 10px; }

.ev-carousel-dots { display: none; }

/* Fila de carteles NRCS */
.ev-nrcs-carteles {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin-top: 32px;
}

.ev-nrcs-carteles img {
  width: calc((100% - 20px) / 3);
  height: auto;
  border-radius: 6px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.5);
  display: block;
}


/* ---- Bandos NRCS ---- */
.ev-nrcs-bandos {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0 0;
}

.ev-nrcs-bando {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 10px 14px;
}

.ev-nrcs-color {
  width: 4px;
  min-width: 4px;
  align-self: stretch;
  border-radius: 2px;
}

.ev-nrcs-bando strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.ev-nrcs-bando span {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---- Grid de logos de eventos ---- */
.ev-logos-strip {
  padding: 60px 0;
  background: var(--bg);
}

.ev-logos-strip .container {
  text-align: center;
}

.ev-logos-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 32px;
}

.ev-logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ev-logos-row img {
  width: 110px;
  height: 72px;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.ev-logos-row img:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 900px) {
  .ev-logos-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .ev-logos-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ev-op-poster img {
    max-width: 260px;
  }
  .ev-carousel {
    max-width: 260px;
  }
  .ev-ficha span {
    font-size: 0.73rem;
    padding: 4px 10px;
  }
}

@media (max-width: 600px) {
  .ev-op-poster {
    order: -1;
  }
  .ev-op-poster img {
    max-width: 220px;
  }
  .ev-carousel {
    max-width: 220px;
  }
}

/* ── Eventos de Terror — layout ── */
.ev-terror-header {
  margin-bottom: 40px;
}

.ev-terror-header h3 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  margin: 8px 0 16px;
}

.ev-terror-bottom {
  align-items: start;
}

/* ── Sin Salida — vídeo ── */
.ev-sinsal-video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,0.7);
}

.ev-sinsal-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
