/**
 * ==========================================================================
 * ACCR Modern Broadsheet Design System - Breaking News Ticker
 * Clean Editorial Ribbon with High Contrast & Subtle Motion
 * ==========================================================================
 */

.container_news {
  width: 100%;
  border-bottom: var(--hairline);
  background: #ffffff;
  padding: 8px 0;
  overflow: hidden;
}

.news_ticker_inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.news_ticker_badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--destructive); /* Editorial Red: #DC2626 */
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: var(--text-2xs);
  font-weight: var(--fw-bold);
  padding: 4px 12px;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-xs);
}

.news_ticker_badge::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #ffffff;
  border-radius: var(--radius-circle);
  animation: tickerDotBlink 1.8s infinite;
}

@keyframes tickerDotBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.news_ticker_content {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  height: 24px;
}

#tickertape,
#subtickertape {
  width: 100% !important;
  height: 24px !important;
  display: flex;
  align-items: center;
}

.subtickertapefont,
.subtickertapefont a {
  font-family: var(--font-body) !important;
  color: var(--text-primary) !important;
  font-size: var(--text-sm) !important;
  font-weight: var(--fw-medium) !important;
  text-decoration: none !important;
  line-height: 24px !important;
  transition: color var(--transition-fast);
}

.subtickertapefont a:hover {
  color: var(--primary) !important;
}
