/**
 * /news — visual match to reference (EDITORIAL / NEWS, light).
 * Global header unchanged. Data from real APIs.
 */

.news-page.zn-page {
  --zn-bg: #ffffff;
  --zn-soft: #f7f8fa;
  --zn-soft-2: #f3f4f6;
  --zn-border: #e6e8ec;
  --zn-text: #0b1020;
  --zn-secondary: #475467;
  --zn-muted: #7b8494;
  --zn-brand: #a3ff12;
  --zn-pos: #15803d;
  --zn-neg: #ef4444;
  --zn-radius: 12px;
  /* /news listing: Tajawal only (no IBM Plex on this surface). */
  --zn-font: "Tajawal", sans-serif;
  --zn-gutter: 28px;

  background: var(--zn-bg) !important;
  color: var(--zn-text);
  min-height: 100vh;
  width: 100%;
  max-width: none;
  font-family: var(--zn-font);
  font-synthesis: none;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}

.zn-page *,
.zn-page *::before,
.zn-page *::after {
  box-sizing: border-box;
  font-family: inherit;
  letter-spacing: 0;
}

/* Full-width news shell — /news only (does not touch global site container) */
.zn-shell {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 4px var(--zn-gutter) 48px;
}

/* Top-level: main (hero→latest) | sidebar — stretch so bottoms can share baseline */
.zn-page-grid {
  display: grid;
  /* DOM: main first, sidebar second.
     RTL: main on the right, sidebar visual left. */
  grid-template-columns: minmax(0, 1fr) 328px;
  gap: 20px;
  align-items: stretch;
  width: 100%;
  max-width: none;
}

.zn-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  max-width: none;
  gap: 0;
  height: 100%;
  min-height: 0;
}

.zn-main-flow,
.zn-editorial,
.zn-movers,
.zn-latest,
.zn-cats,
.zn-hero {
  width: 100%;
  max-width: none;
  min-width: 0;
}

/* ── Market strip — premium icon-rich continuous ticker ── */
.zn-strip {
  margin-top: 10px;
  background: #ffffff;
  border-top: 1px solid #eef1f4;
  border-bottom: 1px solid var(--zn-border);
  overflow: hidden;
}

.zn-strip-inner {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 var(--zn-gutter);
  display: flex;
  align-items: center;
  gap: 0;
  height: 46px;
  min-height: 46px;
}

.zn-strip-chevron {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #98a2b3;
  cursor: default;
  padding: 0;
}

.zn-strip-chevron svg {
  display: block;
}

.zn-strip-marquee {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* Subtle edge fade — hides partial chips without a harsh vignette */
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 20px,
    #000 calc(100% - 20px),
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 20px,
    #000 calc(100% - 20px),
    transparent 100%
  );
}

.zn-strip-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  animation: zn-strip-scroll 52s linear infinite;
  backface-visibility: hidden;
  padding-inline: 28px;
}

.zn-strip-marquee:hover .zn-strip-track {
  animation-play-state: paused;
}

@keyframes zn-strip-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.zn-strip-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 100%;
}

.zn-strip-quote {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  flex-shrink: 0;
  height: 100%;
  min-width: 210px;
  padding: 0 26px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0;
  white-space: nowrap;
  border-inline-end: 1px solid rgba(230, 232, 236, 0.7);
}

.zn-strip-quote > * {
  align-self: center;
}

.zn-asset-icon {
  flex-shrink: 0;
  display: block !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px;
  min-height: 28px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(11, 16, 32, 0.06);
  overflow: visible;
  opacity: 1 !important;
  visibility: visible !important;
}

.zn-spark {
  flex-shrink: 0;
  display: block !important;
  width: 48px !important;
  height: 18px !important;
  min-width: 48px;
  min-height: 18px;
  margin-inline-start: 2px;
  opacity: 1 !important;
  visibility: visible !important;
}

.zn-chg-arrow {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
  margin-inline-end: 3px;
}

.zn-strip-sym {
  font-weight: 700;
  color: var(--zn-text);
  font-size: 13px;
}

.zn-strip-price {
  font-weight: 500;
  color: #475467;
  font-size: 12.5px;
}

.zn-strip-chg {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-weight: 600;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.zn-strip-chg.is-up,
.zn-watch-chg.is-up,
.zn-movers-chg.is-up {
  color: var(--zn-pos);
  font-weight: 600;
}

.zn-strip-chg.is-down,
.zn-watch-chg.is-down,
.zn-movers-chg.is-down {
  color: var(--zn-neg);
  font-weight: 600;
}

.zn-strip-chg.is-flat,
.zn-watch-chg.is-flat,
.zn-movers-chg.is-flat {
  color: var(--zn-muted);
  font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
  .zn-strip-track {
    animation: none;
    transform: none;
  }
}

/* ── Hero ── */
.zn-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 400px) minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  min-height: 208px;
  height: auto;
  padding: 0;
  overflow: hidden;
  width: 100%;
}

.zn-hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.zn-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--zn-secondary);
  letter-spacing: 0;
}

.zn-hero-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--zn-brand);
  flex-shrink: 0;
}

.zn-hero-title {
  margin: 0;
  font-size: 58px;
  font-weight: 700;
  line-height: 1;
  color: var(--zn-text);
  letter-spacing: 0;
}

.zn-hero-headline {
  margin: 5px 0 0;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--zn-text);
  max-width: none;
  white-space: nowrap;
  letter-spacing: 0;
}

.zn-hero-desc {
  margin: 5px 0 0;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.5;
  color: #4b5565;
  max-width: 380px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: 0;
}

.zn-hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  min-height: 200px;
  height: 214px;
  width: 100%;
  overflow: hidden;
}

.zn-hero-map {
  position: absolute;
  inset-inline-start: -2%;
  inset-inline-end: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: 98%;
  max-width: 900px;
  height: 236px;
  margin-inline-end: auto;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  object-fit: contain;
  object-position: center;
  filter: contrast(1.32) saturate(0.95) brightness(0.93);
}

.zn-hero-aside {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-inline-end: calc(8% - 10px);
  transform: translateY(8px);
  max-width: 300px;
  width: auto;
}

.zn-hero-support {
  margin: 0;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.35;
  color: #1f2937;
  width: max-content;
  max-width: 100%;
  white-space: normal;
  letter-spacing: 0;
}

.zn-hero-accent {
  display: block;
  width: 52px;
  height: 2px;
  margin-top: 11px;
  background: var(--zn-brand);
  border-radius: 1px;
}

/* ── Categories ── */
.zn-cats {
  margin: 6px 0 12px;
  border-bottom: 1px solid var(--zn-border);
  padding-bottom: 10px;
  width: 100%;
}

.zn-cats-track {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.zn-cats-track::-webkit-scrollbar {
  display: none;
}

.zn-cat {
  flex-shrink: 0;
  height: 35px;
  padding: 0 16px;
  border: 1px solid #e6e8ec;
  border-radius: 999px;
  background: #ffffff;
  color: var(--zn-secondary);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.zn-cat:hover {
  background: var(--zn-soft-2);
  color: var(--zn-text);
}

.zn-cat.is-active {
  background: #0b1020;
  color: #ffffff;
  font-weight: 600;
  border-color: #0b1020;
}

.zn-main-flow {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  flex: 1 1 auto;
  min-height: 0;
}

.zn-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: stretch;
  width: 328px;
  max-width: 328px;
  min-width: 0;
  height: 100%;
  min-height: 0;
}

/* Editorial = featured (LEFT) + supporting (RIGHT) — explicit LTR placement */
.zn-editorial {
  direction: ltr;
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(340px, 1fr);
  grid-template-areas: "featured supporting";
  gap: 16px;
  align-items: stretch;
  margin: 0;
  width: 100%;
  max-width: none;
}

/* Featured — ONE image card. Text ONLY on image. No white body. */
.zn-featured {
  grid-area: featured;
  direction: rtl;
  text-align: right;
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 1px solid var(--zn-border);
  border-radius: 12px;
  background: #070c18;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  color: #fff;
}

.zn-featured:focus-visible {
  outline: 2px solid var(--zn-text);
  outline-offset: 3px;
}

.zn-featured-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}

.zn-featured-img img,
.zn-featured-img > div,
.zn-featured-img > span {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 28% !important;
  display: block !important;
}

.zn-featured-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(7, 12, 24, 0.96) 0%,
    rgba(7, 12, 24, 0.82) 22%,
    rgba(7, 12, 24, 0.42) 48%,
    rgba(7, 12, 24, 0.12) 72%,
    transparent 88%
  );
}

.zn-featured-badge {
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  z-index: 3;
  background: rgba(11, 16, 32, 0.55);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: 0;
  max-width: 70%;
  pointer-events: none;
}

.zn-featured-content {
  position: absolute;
  inset-inline-start: 0;
  inset-inline-end: 14%;
  bottom: 26px;
  z-index: 2;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  pointer-events: none;
  max-width: 86%;
  box-sizing: border-box;
}

.zn-featured-title {
  margin: 0 0 10px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.18;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}

.zn-featured-summary {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  unicode-bidi: plaintext;
  text-align: start;
}

.zn-featured-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-inline-end: 40px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0;
}

.zn-featured-meta .zn-meta-source {
  color: rgba(255, 255, 255, 0.94);
  font-weight: 600;
}

.zn-featured-meta .zn-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
}

.zn-featured-bookmark {
  position: absolute !important;
  bottom: 26px;
  inset-inline-end: 18px;
  z-index: 4;
  pointer-events: auto;
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Kill legacy featured body / nested media wrappers */
.zn-featured-body,
.zn-featured-media,
.zn-featured-overlay {
  display: none !important;
}

.zn-bookmark--on-dark {
  color: rgba(255, 255, 255, 0.85) !important;
}

.zn-meta-source {
  color: var(--zn-secondary);
  font-weight: 600;
}

.zn-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--zn-border);
}

.zn-meta-spacer {
  flex: 1;
}

.zn-bookmark {
  color: var(--zn-muted) !important;
  background: transparent !important;
  border: none !important;
  padding: 4px !important;
  cursor: pointer;
}

.zn-bookmark.is-on {
  color: var(--zn-text) !important;
}

.zn-bookmark--sm {
  padding: 2px !important;
}

/* Supporting — 3 equal cards matching featured height */
.zn-support {
  grid-area: supporting;
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
  height: 100%;
  min-height: 420px;
  align-self: stretch;
  border-top: none;
}

.zn-support-row {
  direction: ltr;
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr) 32px;
  gap: 0;
  align-items: stretch;
  min-height: 0;
  height: auto;
  padding: 0;
  border: 1px solid var(--zn-border);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  box-shadow: none;
}

.zn-support-row:focus-visible {
  outline: 2px solid var(--zn-text);
  outline-offset: 2px;
}

.zn-support-media {
  position: relative;
  width: 142px;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  background: var(--zn-soft-2);
  border-inline-end: 1px solid var(--zn-border);
}

.zn-support-thumb {
  width: 100% !important;
  height: 100% !important;
  min-height: 100%;
  border-radius: 0;
  overflow: hidden;
  background: var(--zn-soft-2);
  border: none;
}

.zn-support-thumb img,
.zn-support-thumb > div,
.zn-support-thumb > span {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.zn-support-media-badge {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  z-index: 2;
  background: rgba(11, 16, 32, 0.62);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  max-width: calc(100% - 16px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zn-support-copy {
  direction: rtl;
  text-align: right;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 14px 16px 12px;
  justify-content: center;
}

.zn-support-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 20px;
}

.zn-support-cat {
  font-size: 11px;
  font-weight: 500;
  color: var(--zn-secondary);
  line-height: 1.2;
}

.zn-support-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.32;
  color: var(--zn-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zn-support-excerpt {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: #7b8494;
  opacity: 0.9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zn-support-time {
  font-size: 11px;
  font-weight: 400;
  color: #7b8494;
  margin-top: 1px;
}

.zn-support-chevron-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  justify-self: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #e6e8ec;
  background: #fff;
  color: #475467;
  margin-inline-end: 10px;
}

.zn-support-chevron {
  opacity: 1;
}

.zn-side-card {
  background: #ffffff;
  border: 1px solid var(--zn-border);
  border-radius: 10px;
  padding: 14px 14px 12px;
}

.zn-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.zn-side-title {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--zn-text);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0;
  line-height: 1.25;
}

.zn-side-title-icon {
  width: 15px;
  height: 15px;
  color: var(--zn-secondary);
  flex-shrink: 0;
}

.zn-side-head-action {
  border: none;
  background: transparent;
  padding: 0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  color: #7b8494;
  cursor: pointer;
  text-decoration: none;
}

.zn-side-head-action:hover {
  color: var(--zn-text);
}

.zn-side-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  border: none;
  background: transparent;
  padding: 0;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--zn-secondary);
  cursor: pointer;
}

.zn-side-link:hover {
  color: var(--zn-text);
}

.zn-impactful-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.zn-impactful-row {
  direction: ltr;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px 22px;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 74px;
  padding: 13px 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: inherit;
  font-family: inherit;
  color: inherit;
  border-bottom: 1px solid rgba(230, 232, 236, 0.9);
}

.zn-impactful-list li:last-child .zn-impactful-row {
  border-bottom: none;
}

.zn-impactful-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f3f4f6;
  border: 1px solid #e6e8ec;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #667085;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  line-height: 1;
}

.zn-impactful-thumb {
  width: 64px !important;
  height: 64px !important;
  min-width: 64px;
  min-height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--zn-soft-2);
  border: 1px solid var(--zn-border);
  flex-shrink: 0;
}

.zn-impactful-thumb img,
.zn-impactful-thumb > div {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center;
}

.zn-impactful-copy {
  direction: rtl;
  text-align: right;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.zn-impactful-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--zn-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Watchlist */
.zn-watch-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.zn-watch-row {
  direction: ltr;
  display: grid;
  grid-template-columns: 28px minmax(52px, auto) minmax(0, 1fr) auto 52px;
  gap: 8px;
  align-items: center;
  padding: 0;
  min-height: 48px;
  height: 48px;
  border-bottom: 1px solid rgba(230, 232, 236, 0.9);
  text-decoration: none;
  color: inherit;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.zn-watch-list li:last-child .zn-watch-row {
  border-bottom: none;
}

.zn-watch-row .zn-spark {
  width: 50px !important;
  min-width: 50px;
  height: 18px !important;
}

.zn-watch-sym {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--zn-text);
  line-height: 1;
}

.zn-watch-price {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--zn-secondary);
  line-height: 1;
  text-align: end;
}

.zn-watch-chg {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  min-width: 58px;
  justify-content: flex-end;
  line-height: 1;
  font-weight: 600;
}

.zn-watch-add {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--zn-secondary);
  text-decoration: none;
  padding: 8px;
  border: 1px dashed var(--zn-border);
  border-radius: 8px;
  background: #f8f9fa;
}

.zn-watch-add:hover {
  color: var(--zn-text);
  border-color: var(--zn-muted);
}

/* Insight — light premium + pale green decoration */
.zn-insight {
  position: relative;
  overflow: hidden;
  background: #f8f9fa;
  border: 1px solid var(--zn-border);
  color: var(--zn-text);
  padding: 14px 14px 13px;
  /* Desktop: park on shared bottom baseline without stretching card body */
  margin-top: auto;
  flex: 0 0 auto;
}

.zn-insight::before {
  content: "";
  position: absolute;
  inset-inline-start: -40px;
  top: -30px;
  width: 140px;
  height: 140px;
  border-radius: 45% 55% 50% 50%;
  background: radial-gradient(
    circle at 40% 40%,
    rgba(163, 255, 18, 0.14) 0%,
    rgba(163, 255, 18, 0.04) 45%,
    transparent 70%
  );
  pointer-events: none;
}

.zn-insight::after {
  content: "";
  position: absolute;
  inset-inline-start: 8px;
  bottom: -28px;
  width: 88px;
  height: 88px;
  border-radius: 40% 60% 55% 45%;
  background: linear-gradient(
    160deg,
    rgba(163, 255, 18, 0.09),
    rgba(163, 255, 18, 0.02)
  );
  opacity: 0.7;
  pointer-events: none;
}

.zn-insight .zn-side-title {
  color: var(--zn-text);
  margin: 0;
  position: relative;
  z-index: 1;
  font-size: 16px;
}

.zn-insight-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.zn-insight-accent {
  display: none;
}

.zn-insight-body {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--zn-secondary);
  position: relative;
  z-index: 1;
  max-width: 28ch;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zn-insight-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--zn-secondary);
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0;
  position: relative;
  z-index: 1;
}

.zn-insight-cta:hover {
  color: var(--zn-text);
}

/* Section titles */
.zn-section-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--zn-text);
  letter-spacing: 0;
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.zn-section-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--zn-secondary);
}

.zn-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  min-height: 24px;
}

.zn-panel-action {
  border: none;
  background: transparent;
  padding: 0;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  color: #7b8494;
  cursor: pointer;
  text-decoration: none;
}

.zn-panel-action:hover {
  color: var(--zn-text);
}

.zn-bottom-row {
  direction: ltr;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(340px, 0.9fr);
  gap: 16px;
  width: 100%;
  align-items: stretch;
  flex: 1 1 auto;
  min-height: 0;
}

.zn-movers,
.zn-latest {
  direction: rtl;
  margin: 0;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  width: 100%;
}

/* Market movers — horizontal premium tiles (NOT a table) */
.zn-movers {
  margin: 0;
  width: 100%;
  min-width: 0;
}

.zn-movers .zn-panel-head,
.zn-latest .zn-panel-head {
  flex: 0 0 auto;
}

.zn-movers-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  flex: 1 1 auto;
  align-items: stretch;
  align-content: stretch;
  min-height: 0;
  height: 100%;
}

.zn-mover-tile {
  direction: ltr;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
  padding: 14px 14px 12px;
  background: #fff;
  border: 1px solid var(--zn-border);
  border-radius: 12px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  min-height: 128px;
  height: 100%;
}

.zn-mover-tile-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.zn-mover-tile-sym {
  font-size: 13px;
  font-weight: 700;
  color: var(--zn-text);
  line-height: 1;
}

.zn-mover-tile-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--zn-text); /* Desktop V2: was literal #0b1020 — news-dark-contract paints the tile dark → dark-on-dark price */
  line-height: 1.2;
  margin-top: 16px;
  flex: 0 0 auto;
  display: block;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0;
  min-height: 1.2em;
}

.zn-mover-tile-price.is-empty {
  color: #98a2b3;
  font-weight: 500;
}

.zn-mover-tile-bottom {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
  min-height: 36px;
  width: 100%;
  flex: 0 0 auto;
}

.zn-mover-tile-chg {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  flex: 0 0 auto;
  align-self: flex-start;
  font-variant-numeric: tabular-nums;
}

.zn-mover-tile-chg.is-up {
  color: var(--zn-pos);
}

.zn-mover-tile-chg.is-down {
  color: var(--zn-neg);
}

.zn-mover-tile-chg.is-flat {
  color: #7b8494;
}

.zn-mover-tile .zn-spark {
  width: 100% !important;
  max-width: none !important;
  height: 28px !important;
  min-width: 0 !important;
  margin: 0 !important;
  display: block !important;
}

/* Latest news — compact editorial list (NOT a table) */
.zn-latest {
  margin: 0;
  width: 100%;
  min-width: 0;
}

.zn-latest-panel {
  background: #fff;
  border: 1px solid var(--zn-border);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  flex: 1 1 auto;
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  min-height: 0;
  height: 100%;
  align-content: stretch;
}

.zn-latest-row {
  direction: rtl;
  display: grid;
  grid-template-columns: 8px auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 0;
  height: 100%;
  padding: 14px 14px;
  border: none;
  border-bottom: 1px solid rgba(230, 232, 236, 0.5);
  background: #fff;
  cursor: pointer;
  text-align: inherit;
  font-family: inherit;
  color: inherit;
}

.zn-latest-row:last-child {
  border-bottom: none;
}

.zn-latest-row:hover {
  background: #fafafa;
}

.zn-latest-bullet {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #15803d;
  flex-shrink: 0;
  align-self: center;
  justify-self: center;
}

.zn-latest-row-time {
  font-size: 11px;
  font-weight: 400;
  color: #98a2b3;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  align-self: center;
}

.zn-latest-row-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--zn-text);
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
}

/* States / skeleton */
.zn-state {
  text-align: center;
  padding: 64px 16px;
}

.zn-state-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
}

.zn-state-body {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--zn-muted);
}

.zn-retry {
  height: 40px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid var(--zn-border);
  background: var(--zn-soft);
  color: var(--zn-text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.zn-skel-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.zn-skel {
  background: linear-gradient(
    90deg,
    var(--zn-soft-2) 25%,
    #ebecef 37%,
    var(--zn-soft-2) 63%
  );
  background-size: 200% 100%;
  animation: zn-sh 1.4s ease-in-out infinite;
  border-radius: 12px;
}

@keyframes zn-sh {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.zn-skel-featured {
  aspect-ratio: 16 / 10;
}

.zn-skel-row {
  height: 84px;
}

.zn-skel-side {
  min-height: 360px;
}

.zn-skel-side-sm {
  min-height: 160px;
}

/* Responsive gutters — /news only */
@media (min-width: 1440px) {
  .news-page.zn-page {
    --zn-gutter: 30px;
  }
}

@media (max-width: 1439px) {
  .news-page.zn-page {
    --zn-gutter: 24px;
  }
}

@media (max-width: 1199px) {
  .news-page.zn-page {
    --zn-gutter: 20px;
  }
}

@media (max-width: 767px) {
  .news-page.zn-page {
    --zn-gutter: 16px;
  }

  .zn-strip {
    margin-top: 8px;
  }
}

/* Responsive */
@media (max-width: 1200px) {
  .zn-page-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
  }

  .zn-sidebar {
    width: 300px;
    max-width: 300px;
  }

  .zn-editorial {
    grid-template-columns: minmax(0, 1.9fr) minmax(280px, 1fr);
    gap: 14px;
  }

  .zn-hero {
    grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
  }

  .zn-hero-title {
    font-size: 50px;
  }

  .zn-hero-headline {
    font-size: 24px;
    white-space: normal;
  }

  .zn-hero-map {
    max-width: 640px;
    height: 180px;
  }

  .zn-featured {
    min-height: 360px;
  }

  .zn-support {
    min-height: 360px;
  }

  .zn-movers-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .zn-page-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .zn-sidebar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    order: 2;
    width: 100%;
    max-width: none;
    height: auto;
    align-self: start;
  }

  .zn-insight {
    margin-top: 0;
  }

  .zn-main {
    order: 1;
    height: auto;
  }

  .zn-main-flow {
    flex: none;
  }

  .zn-bottom-row {
    grid-template-columns: 1fr;
    align-items: start;
    flex: none;
    height: auto;
  }

  .zn-movers,
  .zn-latest {
    height: auto;
  }

  .zn-movers-tiles {
    flex: none;
  }

  .zn-mover-tile {
    height: auto;
  }

  .zn-latest-panel {
    flex: none;
    height: auto;
    display: block;
    grid-template-rows: none;
  }

  .zn-latest-row {
    height: auto;
    min-height: 52px;
  }

  .zn-skel-side,
  .zn-skel-side-sm {
    min-height: 140px;
  }
}

@media (max-width: 900px) {
  .zn-editorial {
    grid-template-columns: 1fr;
    grid-template-areas:
      "featured"
      "supporting";
  }

  .zn-hero {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .zn-hero-copy {
    max-width: none;
  }

  .zn-hero-headline {
    white-space: normal;
  }

  .zn-hero-visual {
    min-height: 140px;
    height: 160px;
    order: 2;
  }

  .zn-hero-aside {
    margin-inline-end: 0;
    margin-inline-start: 0;
  }

  .zn-hero-map {
    width: min(640px, 100%);
    max-width: none;
    height: 160px;
    opacity: 0.18;
    inset-inline-start: 0;
  }

  .zn-hero-support {
    font-size: 22px;
  }

  .zn-sidebar {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: none;
  }

  .zn-featured {
    min-height: 300px;
  }

  .zn-support {
    min-height: 300px;
  }

  .zn-movers-tiles {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scrollbar-width: none;
  }

  .zn-movers-tiles::-webkit-scrollbar {
    display: none;
  }

  .zn-mover-tile {
    min-width: 148px;
    flex: 0 0 auto;
  }

  .zn-strip-track {
    animation-duration: 48s;
  }
}

@media (max-width: 640px) {
  .zn-shell {
    width: 100%;
    max-width: none;
    padding: 12px var(--zn-gutter) 40px;
  }

  .zn-strip-inner {
    width: 100%;
    max-width: none;
    padding: 0 var(--zn-gutter);
    height: 40px;
    min-height: 40px;
  }

  .zn-strip-quote {
    padding: 0 16px;
  }

  .zn-strip-track {
    animation-duration: 42s;
  }

  .zn-hero-title {
    font-size: 42px;
  }

  .zn-hero-headline {
    font-size: 23px;
    max-width: none;
    white-space: normal;
  }

  .zn-hero-support {
    font-size: 20px;
  }

  .zn-featured-title {
    font-size: 23px;
  }

  .zn-support-title {
    font-size: 14.5px;
  }

  .zn-hero-visual {
    height: 120px;
    min-height: 120px;
  }

  .zn-support-row {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 120px minmax(0, 1fr);
  }

  .zn-support-chevron-wrap {
    display: none;
  }

  .zn-support-thumb {
    width: 100%;
    height: 120px;
    border-inline-end: none;
    border-bottom: 1px solid var(--zn-border);
  }

  .zn-latest-row-title {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

