/* ============================================================
   WealthNews Ticker — ticker.css
   Powered with ❤️ by Blaxium — https://blaxium.com
   ============================================================ */

/* ── Shared: pulsing dot ───────────────────────────────────── */
.wn-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes wn-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.25; transform: scale(0.55); }
}

/* ════════════════════════════════════════════════════════════
   BREAKING NEWS BANNER
   ════════════════════════════════════════════════════════════ */
.wn-breaking-bar {
  display: flex;
  align-items: center;
  background: var(--wn-red, #D72638);
  height: 38px;
  overflow: hidden;
  width: 100%;
  position: relative;
  z-index: 1001;
}

/* Red badge on the left */
.wn-brk-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  height: 100%;
  background: rgba(0,0,0,0.22);
  font-family: var(--font-body, sans-serif);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  flex-shrink: 0;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.wn-brk-badge .wn-dot {
  background: #fff;
  animation: wn-pulse 1.4s ease-in-out infinite;
}

/* Scrolling headline track */
.wn-brk-track {
  flex: 1;
  overflow: hidden;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
}

/* Individual breaking item — shown one at a time via JS rotation */
.wn-brk-item {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-family: var(--font-body, sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.wn-brk-item.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.wn-brk-item:hover { text-decoration: underline; }

/* Dismiss button */
.wn-brk-close {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  padding: 0 14px;
  height: 100%;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s;
}
.wn-brk-close:hover { color: #fff; }

/* ════════════════════════════════════════════════════════════
   FINANCIAL TICKER BAR
   ════════════════════════════════════════════════════════════ */
.wn-ticker-bar {
  display: flex;
  align-items: center;
  background: var(--wn-ticker-bg, #0A1628);
  height: 40px;
  overflow: hidden;
  width: 100%;
  border-bottom: 1px solid rgba(201,168,76,0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* LIVE / CLOSED badge */
.wn-tkr-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  height: 100%;
  font-family: var(--font-body, sans-serif);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  flex-shrink: 0;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,0.08);
  white-space: nowrap;
}
.wn-tkr-badge.is-live   { background: rgba(0,199,129,0.12); }
.wn-tkr-badge.is-closed { background: transparent; color: rgba(255,255,255,0.4); }
.wn-tkr-badge.is-live   .wn-dot { background: #00C781; animation: wn-pulse 1.5s ease-in-out infinite; }
.wn-tkr-badge.is-closed .wn-dot { background: rgba(255,255,255,0.25); }

/* ── THE SEAMLESS SCROLL TRACK ─────────────────────────────── */
.wn-tkr-track {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

/*
 * ANIMATION EXPLAINED:
 * .wn-tkr-scroller contains TWO .wn-tkr-set children placed end-to-end.
 * Total rendered width = 2 × a single set's width.
 * We animate from translateX(0%) to translateX(-50%).
 * At -50%, the second copy is exactly where the first copy started.
 * The browser loops seamlessly because the visual is identical.
 *
 * Adjust animation-duration for speed:
 *   60s = slower, more data  |  30s = faster, fewer items
 */
.wn-tkr-scroller {
  display: flex;
  width: max-content;
  height: 100%;
  align-items: center;
  animation: wn-scroll 70s linear infinite;
  will-change: transform;
}

/* Pause on desktop hover */
@media (hover: hover) {
  .wn-tkr-scroller:hover { animation-play-state: paused; }
}

.wn-tkr-set {
  display: inline-flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
}

@keyframes wn-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Individual ticker item ────────────────────────────────── */
.wn-t-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 20px;
  height: 100%;
  border-right: 1px solid rgba(255,255,255,0.07);
  white-space: nowrap;
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  cursor: default;
}
.wn-t-item strong {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.50);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.wn-t-item .wn-val {
  color: rgba(255,255,255,0.88);
  font-weight: 600;
}
.wn-t-item .wn-chg {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
}
.wn-t-up   .wn-chg { color: #00C781; }
.wn-t-down .wn-chg { color: #FF4040; }

/* ── Mobile ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .wn-ticker-bar    { height: 36px; }
  .wn-tkr-badge     { padding: 0 10px; font-size: 8px; }
  .wn-t-item        { padding: 0 13px; font-size: 11px; }
  .wn-tkr-scroller  { animation-duration: 45s; }

  .wn-breaking-bar  { height: 36px; }
  .wn-brk-item      { font-size: 12px; }
}

/* ============================================================
   WEALTHNEWS ZIMBABWE — Supplemental Brand CSS for NewsMemo
   Powered with ❤️ by Blaxium — https://blaxium.com
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,700&family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
  --wn-navy:      #0D1B2A;
  --wn-gold:      #C9A84C;
  --wn-gold-dark: #A07C2E;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:     'Inter', 'Helvetica Neue', Arial, sans-serif;
}

h1, h2, h3, .entry-title, .post-title {
  font-family: var(--font-display) !important;
}
body, p, li { font-family: var(--font-body); }

.entry-content p, .entry-content li {
  font-size: 18px;
  line-height: 1.75;
  max-width: 720px;
}