/*
 * BAET — Módulo Hero + Próximos Eventos v1.0.0
 * Estilos encapsulados para evitar conflictos con versiones anteriores.
 */

/* HERO */
.baet-home-hero{
  position:relative;
  isolation:isolate;
}
.baet-home-hero-content{
  position:relative !important;
  z-index:4 !important;
  display:flex !important;
  align-items:flex-end !important;
  justify-content:center !important;
  width:100% !important;
  padding-bottom:24px !important;
  text-align:center !important;
}
.baet-home-hero-cta{
  margin:0 auto !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  min-height:48px !important;
  padding:11px 13px 11px 20px !important;
  border:1px solid rgba(255,255,255,.28) !important;
  border-radius:999px !important;
  background:linear-gradient(135deg,#16d5df 0%,#79dcab 55%,#f1cc45 100%) !important;
  color:#06172f !important;
  font-size:.9rem !important;
  font-weight:900 !important;
  box-shadow:0 16px 36px rgba(3,25,54,.22) !important;
  transition:transform .22s ease,box-shadow .22s ease !important;
}
.baet-home-hero-cta:hover{
  transform:translateY(-3px) !important;
  box-shadow:0 20px 42px rgba(3,25,54,.27) !important;
}
.baet-home-hero-cta b{
  width:32px !important;
  height:32px !important;
  display:grid !important;
  place-items:center !important;
  border-radius:50% !important;
  background:rgba(6,23,47,.12) !important;
  font-size:1rem !important;
}

/* TICKER — estilo broadcast/news */
.baet-home-event-ticker{
  --ticker-bg:#181a1f;
  --ticker-accent:#12d7df;
  --ticker-gold:#f1c94a;
  position:relative !important;
  z-index:12 !important;
  display:grid !important;
  grid-template-columns:auto minmax(0,1fr) !important;
  width:100% !important;
  min-height:46px !important;
  margin:0 !important;
  overflow:hidden !important;
  background:var(--ticker-bg) !important;
  border-top:1px solid rgba(255,255,255,.05) !important;
  border-bottom:1px solid rgba(0,0,0,.28) !important;
  color:#fff !important;
  box-shadow:0 8px 20px rgba(6,20,45,.10) !important;
}
.baet-home-event-ticker-label{
  position:relative !important;
  z-index:3 !important;
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  padding:0 20px !important;
  min-height:46px !important;
  background:linear-gradient(135deg,#071a3a,#0d4fa4) !important;
  color:#fff !important;
  box-shadow:14px 0 28px rgba(0,0,0,.22) !important;
  white-space:nowrap !important;
}
.baet-home-event-ticker-label strong{
  font-size:.72rem !important;
  font-weight:950 !important;
  letter-spacing:.09em !important;
}
.baet-home-event-ticker-dot{
  width:9px !important;
  height:9px !important;
  flex:0 0 9px !important;
  border-radius:50% !important;
  background:#ff3047 !important;
  box-shadow:0 0 0 5px rgba(255,48,71,.12) !important;
  animation:baetTickerPulse 1.8s ease-in-out infinite !important;
}
.baet-home-event-ticker-window{
  min-width:0 !important;
  overflow:hidden !important;
  display:flex !important;
  align-items:center !important;
}
.baet-home-event-ticker-track{
  display:flex !important;
  align-items:center !important;
  width:max-content !important;
  min-width:max-content !important;
  will-change:transform !important;
  animation:baetTickerMove 48s linear infinite !important;
}
.baet-home-event-ticker:hover .baet-home-event-ticker-track{
  animation-play-state:paused !important;
}
.baet-home-event-ticker-sequence{
  display:flex !important;
  align-items:center !important;
  flex:0 0 auto !important;
  min-width:max-content !important;
}
.baet-home-event-ticker-item{
  display:inline-flex !important;
  align-items:center !important;
  gap:9px !important;
  min-height:46px !important;
  padding:0 14px !important;
  white-space:nowrap !important;
  color:#fff !important;
  text-decoration:none !important;
  line-height:1 !important;
}
.baet-home-event-ticker-item strong{
  color:#fff !important;
  font-size:.8rem !important;
  font-weight:900 !important;
}
.baet-home-event-ticker-date{
  color:var(--ticker-accent) !important;
  font-size:.72rem !important;
  font-weight:950 !important;
}
.baet-home-event-ticker-place{
  color:#b8c5d5 !important;
  font-size:.75rem !important;
  font-weight:700 !important;
}
.baet-home-event-ticker-item i{
  color:var(--ticker-gold) !important;
  font-style:normal !important;
  font-size:.48rem !important;
  margin-left:7px !important;
}
.baet-home-event-ticker-item:hover strong{
  color:#78edf0 !important;
}

@keyframes baetTickerMove{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(-50%,0,0)}
}
@keyframes baetTickerPulse{
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.55;transform:scale(.82)}
}

@media(max-width:760px){
  .baet-home-hero-content{
    padding-bottom:16px !important;
  }
  .baet-home-hero-cta{
    min-height:44px !important;
    padding:9px 11px 9px 17px !important;
    font-size:.82rem !important;
  }
  .baet-home-event-ticker{
    grid-template-columns:126px minmax(0,1fr) !important;
    min-height:42px !important;
  }
  .baet-home-event-ticker-label{
    min-height:42px !important;
    padding:0 10px !important;
    gap:7px !important;
  }
  .baet-home-event-ticker-label strong{
    font-size:.6rem !important;
    letter-spacing:.06em !important;
  }
  .baet-home-event-ticker-dot{
    width:7px !important;
    height:7px !important;
    flex-basis:7px !important;
  }
  .baet-home-event-ticker-item{
    min-height:42px !important;
    padding:0 11px !important;
  }
  .baet-home-event-ticker-item strong{
    font-size:.72rem !important;
  }
  .baet-home-event-ticker-place{
    font-size:.68rem !important;
  }
}

@media(prefers-reduced-motion:reduce){
  .baet-home-event-ticker-track,
  .baet-home-event-ticker-dot{
    animation:none !important;
  }
  .baet-home-event-ticker-window{
    overflow-x:auto !important;
  }
}
