/* ============================================================
   NNA Breaking / Latest News Ticker — premium news rail
   Brand palette: gold (#c19114) + blue (#2f506f) on dark
   ============================================================ */
.breaking-ticker {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 68px;
  background: linear-gradient(90deg, #14161c 0%, #0f1115 100%);
  border-top: 2px solid #c19114;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: "Inter", sans-serif;
  overflow: hidden;
  z-index: 50;
}

/* ── Label block (blue, with gold live dot) ── */
.breaking-ticker .bt-label {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  padding: 0 26px 0 20px;
  background: #2f506f;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
}

.breaking-ticker .bt-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c19114;
  box-shadow: 0 0 0 0 rgba(193, 145, 20, 0.85);
  animation: bt-pulse 1.5s infinite;
}

@keyframes bt-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(193, 145, 20, 0.75); }
  70%  { box-shadow: 0 0 0 8px rgba(193, 145, 20, 0); }
  100% { box-shadow: 0 0 0 0 rgba(193, 145, 20, 0); }
}

/* ── Scrolling viewport ── */
.breaking-ticker .bt-viewport {
  position: relative;
  flex: 1 1 auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 44px, #000 calc(100% - 44px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 44px, #000 calc(100% - 44px), transparent 100%);
}

.breaking-ticker .bt-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: bt-scroll 40s linear infinite;
}

@keyframes bt-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── News item (thumbnail + headline) ── */
.breaking-ticker .bt-item {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 0 26px;
  height: 68px;
  color: #ececec;
  text-decoration: none;
  position: relative;
}

/* divider between items */
.breaking-ticker .bt-item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: rgba(255, 255, 255, 0.10);
}

.breaking-ticker .bt-thumb {
  flex: 0 0 auto;
  width: 58px;
  height: 40px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  background-color: #222;
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: border-color .2s ease;
}
.breaking-ticker .bt-thumb-empty {
  background: linear-gradient(135deg, #2f506f 0%, #1c3047 100%);
  position: relative;
}
.breaking-ticker .bt-thumb-empty::after {
  content: "NNA";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #c19114;
}

.breaking-ticker .bt-body {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.breaking-ticker .bt-flag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #111;
  background: #c19114;
  padding: 3px 8px;
  border-radius: 3px;
  flex: 0 0 auto;
}

.breaking-ticker .bt-text {
  font-size: 14.5px;
  font-weight: 500;
  color: #ededed;
  transition: color .2s ease;
}

.breaking-ticker .bt-item:hover .bt-text { color: #c19114; }
.breaking-ticker .bt-item:hover .bt-thumb { border-color: #c19114; }

/* Reduced-motion: stop the marquee, allow manual scroll */
@media (prefers-reduced-motion: reduce) {
  .breaking-ticker .bt-track { animation: none; }
  .breaking-ticker .bt-viewport { overflow-x: auto; }
}

/* ── Mobile ── */
@media screen and (max-width: 768px) {
  .breaking-ticker { height: 60px; }
  .breaking-ticker .bt-label {
    padding: 0 18px 0 13px;
    font-size: 11px;
    letter-spacing: 1px;
  }
  .breaking-ticker .bt-item { padding: 0 18px; gap: 11px; height: 60px; }
  .breaking-ticker .bt-thumb { width: 48px; height: 34px; }
  .breaking-ticker .bt-text { font-size: 13px; }
  .breaking-ticker .bt-flag { display: none; }
}
