@charset "UTF-8";
.mu-ticker-container {
  position: relative;
  width: 100%;
  overflow: hidden;                 /* recorta el sobre-ancho lateral de la banda inclinada */
  box-sizing: border-box;
  /* Alto = grosor de la barra + lo que sube/baja la INCLINACIÓN de toda la banda,
     para que la marquesina inclinada se vea COMPLETA de borde a borde (sin recortar
     los extremos). --mu-rise = 100·|tan(ángulo)| vw, calculado en PHP. */
  min-height: calc(var(--mu-th, 68px) + var(--mu-rise, 0px));
  /* Padding vertical dinámico: evita que las esquinas inclinadas queden recortadas
     por el overflow:hidden, a cualquier ángulo. */
  padding-block: calc(var(--mu-rise, 0px) * 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mu-ticker-container * {
  box-sizing: border-box;
}

/* TODA la marquesina (banda de color + texto) se inclina como UNA sola pieza.
   Más ancha que el contenedor para llegar de borde a borde a cualquier ángulo;
   el sobre-ancho lo recorta el contenedor (overflow:hidden).
   margin-left negativo re-centra la banda dentro del contenedor (sin él la banda
   queda desplazada a la derecha y deja un hueco vacío en el borde izquierdo). */
.mu-ticker-wrapper {
  position: relative;
  width: calc(120% + var(--mu-rise, 0px));
  margin-left: calc(-10% - var(--mu-rise, 0px) * 0.5);
  min-height: var(--mu-th, 68px);
  transform: rotate(var(--mu-tilt, -3deg));
  transform-origin: center center;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}


.mu-ticker-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: max-content; /* CRITICAL: keeps all items in a single row */
  white-space: nowrap;
  will-change: transform;
  /* CSS fallback animation — overridden by JS rAF engine when loaded */
  animation: mu-marquee-css 20s linear infinite;
}

/* CSS fallback keyframe — runs while JS loads, seamlessly continues */
@keyframes mu-marquee-css {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* Pause-on-hover (CSS fallback) */
.mu-ticker--pause:hover .mu-ticker-inner {
  animation-play-state: paused;
}

.mu-ticker-track {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-shrink: 0;
}

.mu-ticker-item {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-block;
  line-height: 1;
  font-family: inherit;
  padding: 0 24px;
  white-space: nowrap;
}
.mu-ticker-item a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.mu-ticker-item a:hover {
  opacity: 0.8;
}

.mu-ticker-separator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  padding: 0 8px;
}
.mu-ticker-separator svg {
  display: block;
  width: 1em;
  height: 1em;
}

/* ── "Cinta Mungos" style ──────────────────────────────────────── */
.mu-ticker-container--cinta .mu-ticker-wrapper {
  background-color: transparent !important;
}
.mu-ticker-container--cinta .mu-ticker-inner {
  position: relative;
  z-index: 2;
}

/* Band graphic behind the text, stretched edge-to-edge */
.mu-ticker-cinta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.mu-ticker-cinta-bg svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .mu-ticker-inner {
    animation: none !important;
    transform: none !important;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }
  .mu-ticker-track[data-clone] {
    display: none !important;
  }
}

/*# sourceMappingURL=ticker.css.map */

/* ══ Responsive móvil (auditoría responsive) ══════════════════════════ */
.mu-ticker-item { font-size: clamp(14px, 4.2vw, 22px); }
@media (max-width: 767px) {
  .mu-ticker-container { --mu-th: 48px; }
  .mu-ticker-item      { padding: 0 16px; }
  .mu-ticker-separator { padding: 0 6px; }
}
