/* ==========================================================================
   HOME NEWS - BREAKING NEWS TICKER CSS
   ========================================================================== */

.breaking-news-wrapper {
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
  padding: 6px 0;
}
.breaking-container {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
}
.breaking-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--primary-red);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
}
.breaking-pulse {
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  animation: pulse-dot 1.4s infinite ease-in-out;
}
@keyframes pulse-dot {
  0% { transform: scale(0.85); opacity: 0.5; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.85); opacity: 0.5; }
}

.breaking-ticker-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 26px;
}
.breaking-ticker-list {
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  animation: ticker-slide 28s linear infinite;
}
.breaking-ticker-list:hover {
  animation-play-state: paused;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  margin-right: 32px;
  font-size: 0.85rem;
  color: var(--dark-black);
  font-weight: 500;
}
.ticker-item:hover {
  color: var(--primary-red);
}
.ticker-separator {
  margin: 0 12px;
  color: var(--primary-red);
  font-weight: bold;
}

@keyframes ticker-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.ticker-control-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--body-text);
  font-size: 0.7rem;
  transition: all var(--transition-speed);
}
.ticker-control-btn:hover {
  background: var(--dark-black);
  color: #fff;
}
