/* i News Ticker Stylesheet */

.i-ticker-wrap {
  background: var(--i-ticker-bg, #F8FAFC);
  border-bottom: 1px solid var(--i-ticker-border, #E2E8F0);
  border-top: 1px solid var(--i-ticker-border, #E2E8F0);
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 42px;
  box-sizing: border-box;
  width: 100%;
  font-family: 'Hind', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.i-ticker-label {
  background: var(--i-ticker-label-bg, #FF5A3C);
  color: var(--i-ticker-label-text, #FFFFFF);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 6px 0 15px rgba(255, 90, 60, 0.15);
  z-index: 10;
}

.i-ticker-content {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.i-ticker-track {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  padding-left: 20px;
  animation: i-scroll-left var(--i-ticker-duration, 20s) linear infinite;
}

/* Pause scroll animation on hover */
.i-ticker-track:hover {
  animation-play-state: paused;
}

.i-ticker-item {
  display: inline-flex;
  align-items: center;
  margin-right: 48px;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
}

.i-ticker-item a {
  color: var(--i-ticker-text, #475569);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.i-ticker-item a:hover {
  color: var(--i-ticker-hover, #2F5FE8);
  text-decoration: underline;
}

/* Blinking New Badge */
.i-badge-new {
  background: linear-gradient(135deg, var(--i-ticker-badge-start, #EF4444) 0%, var(--i-ticker-badge-end, #DC2626) 100%) !important;
  color: var(--i-ticker-badge-text, #FFFFFF) !important;
  font-size: 10px !important;
  font-family: 'Outfit', 'Inter', -apple-system, sans-serif !important;
  font-weight: 800 !important;
  padding: 2px 7px !important;
  border-radius: 4px !important;
  margin-right: 8px !important;
  margin-left: 0 !important;
  letter-spacing: 0.05em !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.2 !important;
  vertical-align: middle !important;
  position: relative !important;
  z-index: 10 !important;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6) !important;
  animation: i-blink-pulse 0.75s ease-in-out infinite alternate !important;
}

@keyframes i-blink-pulse {
  0% {
    opacity: 0.25;
    transform: scale(0.92);
    box-shadow: 0 0 2px rgba(239, 68, 68, 0.2);
  }
  100% {
    opacity: 1;
    transform: scale(1.06);
    box-shadow: 0 0 12px 3px rgba(239, 68, 68, 0.75);
  }
}

@keyframes i-scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
