/* ==========================================================================
   NEWS TICKER
   ========================================================================== */
#geo {
  --news-ticker-speed: 140s;
}
#dashboard-news-ticker {
  max-width: 1440px;
  margin: 20px auto;
  padding: 24px;
}
.market-news-ticker-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.market-news-ticker-filters button {
  appearance: none;
  border: 1px solid rgba(174, 73, 51, 0.5);
  background: rgba(31, 87, 146, 0.03);
  /* color: var(--dash-muted); */
  color: #fff;
  padding: 5px 16px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: capitalize;
  cursor: pointer;
  line-height: 1.273;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}
.market-news-ticker-filters button:hover {
  background: rgba(31, 87, 146, 0.08);
  border-color: var(--dash-accent-border);
  color: rgba(174, 73, 51, 1);
}
.market-news-ticker-filters button.active {
  background: rgba(31, 87, 146, 0.1);
  border-color: rgba(174, 73, 51, 1);
  color: rgba(174, 73, 51, 1);
  box-shadow: inset 0 0 0 1px rgba(31, 87, 146, 0.15);
}
.market-news-ticker-viewport {
  overflow: hidden;
  border: 1px solid rgba(0, 47, 87, 0.1);
  border-radius: var(--dash-radius-sm);
  background: rgba(31, 87, 146, 0.02);
}
.market-news-ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 28px;
  padding: 14px 0;
  animation: marketNewsTickerScroll var(--news-ticker-speed) linear infinite;
  will-change: transform;
}
.market-news-ticker-viewport:hover .market-news-ticker-track {
  animation-play-state: paused;
}
.market-news-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--dash-title);
  text-decoration: none !important;
  white-space: nowrap;
}
.market-news-ticker-item:hover .market-news-ticker-title {
  color: #1f5792;
}
.market-news-ticker-title {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  transition: color 0.15s ease;
}
.market-news-ticker-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dash-muted);
}
.market-news-ticker-item::after {
  content: '•';
  margin-left: 18px;
  color: rgba(121, 143, 157, 0.7);
}
.market-news-ticker-empty {
  padding: 14px 16px;
  font-size: 13px;
  color: var(--dash-muted);
}
@keyframes marketNewsTickerScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .market-news-ticker-track {
    animation: none;
    width: auto;
    flex-wrap: wrap;
    padding: 14px 16px;
  }
}
