/* ===== EOY 2025 SCROLLING TICKER ===== */

#eo-ticker {
  width: 100%;
  background-color: #0077C8; /* ZERO blue */
  color: #ffffff;
  padding: 18px 24px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 999999;
  font-size: 1.05rem;
}

.eo-ticker-inner {
  
  margin: 0 auto;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
}

.eo-ticker-viewport {
  overflow: hidden;
  width: 100%;
  padding-right: 48px; /* prevents right-side clipping under close button */
  box-sizing: border-box;
}

.eo-ticker-track {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
  animation: eo-ticker-scroll 25s linear infinite;
  padding-left: 48px; /* prevents left-side clipping on widescreens */
}

.eo-ticker-item {
  display: inline-flex;
  padding-right: 4rem; /* space between loops */
  align-items: center;
}

.eo-ticker-link {
  color: inherit;
  text-decoration: none !important;
  display: inline-flex;
}

.eo-ticker-link:hover,
.eo-ticker-link:focus {
 text-decoration: none !important;
}

/* Text weights */
.eo-ticker-text strong {
  font-weight: 700;
}
.eo-ticker-light {
  font-weight: 300;
}

/* Close button */
.eo-ticker-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

@keyframes eo-ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33%); } /* smoother loop */
}
.eo-ticker-link {
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.15);
  text-decoration: none !important;
  font-weight: 700;
}

.eo-ticker-link:hover,
.eo-ticker-link:focus {
  background: rgba(255,255,255,0.25);
  color: #FFDA00;
}
