/**
 * TV-style breaking news ticker — cross-browser single-line layout
 */
.tv-ticker {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  height: 48px;
  overflow: hidden;
  background: #b80f16;
  border-bottom: 3px solid #061d3a;
  box-sizing: border-box;
  position: relative;
  z-index: 1025;
}

.tv-ticker-label {
  flex: 0 0 auto;
  height: 48px;
  padding: 0 18px;
  background: #06213f;
  color: #fff;
  font-weight: 800;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  white-space: nowrap;
  z-index: 2;
  box-sizing: border-box;
}

.tv-ticker-label span {
  margin-left: 4px;
}

.tv-ticker-viewport {
  flex: 1 1 0;
  min-width: 0;
  height: 48px;
  overflow: hidden !important;
  position: relative;
  white-space: nowrap;
  direction: ltr !important;
  box-sizing: border-box;
}

.tv-ticker-viewport * {
  box-sizing: border-box;
}

.tv-ticker-track {
  position: absolute;
  top: 0;
  left: 0 !important;
  right: auto !important;
  height: 48px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  white-space: nowrap;
  direction: ltr;
  width: auto;
  min-width: -webkit-max-content;
  min-width: max-content;
  visibility: hidden;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: none !important;
  animation: none !important;
  margin: 0;
  padding: 0;
  border: 0;
}

.tv-ticker-track.is-ready {
  visibility: visible;
}

.tv-ticker-track > * {
  flex: 0 0 auto !important;
}

.tv-ticker-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  height: 48px;
  direction: rtl !important;
  unicode-bidi: plaintext;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  width: auto;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding-left: 10px;
  padding-right: 10px;
}

.tv-ticker-title {
  display: inline-block;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  width: auto;
  max-width: none;
}

.tv-ticker-separator,
.tv-ticker-flash {
  flex: 0 0 auto;
  margin-left: 12px;
  margin-right: 12px;
  color: #fff;
}

.tv-ticker-item:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .tv-ticker {
    height: 44px;
  }

  .tv-ticker-label {
    height: 44px;
    padding: 0 14px;
    font-size: 15px;
  }

  .tv-ticker-viewport {
    height: 44px;
  }

  .tv-ticker-track {
    height: 44px;
  }

  .tv-ticker-item {
    height: 44px;
    font-size: 15px;
    padding-left: 8px;
    padding-right: 8px;
  }
}
