/* Latest-news hero samples only. Scoped so the live news page is untouched.
   Three themes use the site tokens. No cursor-follow motion.
   Sample heroes use Vazirmatn (SIL OFL). The site header and footer stay on Kalameh. */
@font-face { font-family: Vazirmatn; src: url("fonts/Vazirmatn-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url("fonts/Vazirmatn-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url("fonts/Vazirmatn-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url("fonts/Vazirmatn-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
.nho, .nho-switch { font-family: Vazirmatn, Kalameh, Tahoma, sans-serif; }

.nho-switch {
  position: fixed; top: 78px; inset-inline: 0; z-index: 90;
  display: flex; gap: 6px; align-items: center;
  padding: 6px 14px; overflow-x: auto;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nho-switch a {
  flex: none; text-decoration: none; color: var(--ink);
  font-weight: 700; font-size: .78rem; line-height: 1.4;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
  border: 1px solid transparent;
}
.nho-switch a[aria-current="page"] { background: var(--btn-bg); color: var(--btn-ink); }
body:has(.nho-switch) .nho { padding-top: 176px; }
@media (max-width: 720px) {
  .nho-switch { top: 60px; }
  body:has(.nho-switch) .nho { padding-top: 150px; }
}

.nho-wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: 24px; }
.nho { padding: 132px 0 56px; position: relative; }
.nho h1 {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0;
  margin: 6px 0 12px;
  color: var(--ink);
}
.nho h1 em { font-style: normal; color: var(--brand); }
.nho .lead { color: var(--ink-2); font-size: 1.05rem; line-height: 1.9; max-width: 40rem; }
.nho-flag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 800; line-height: 1.6;
  color: var(--muted);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 12px; margin-bottom: 18px;
}
.nho-back {
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  padding: 8px 0 64px;
  font-weight: 800; font-size: .92rem;
}
.nho-back a { text-decoration: none; }

/* ---------- option 1: editorial split ---------- */
.nho-split {
  background:
    radial-gradient(720px 360px at 100% 0%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 70%),
    var(--bg);
}
.nho-split-grid { display: flex; flex-direction: column; gap: 22px; }
.nho-stack { display: contents; }
.nho-copy { order: 1; }
.nho-spot { order: 2; }
.nho-dispatches { order: 3; list-style: none; margin-top: 4px; }
@media (min-width: 901px) {
  .nho-split-grid {
    display: grid;
    grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
    gap: 56px;
    align-items: start;
  }
  .nho-stack { display: flex; flex-direction: column; gap: 22px; order: 0; }
  .nho-copy, .nho-spot, .nho-dispatches { order: 0; }
}
.nho-spot {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  align-self: center;
}
.nho-spot-ph { aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.nho-spot-ph img { width: 100%; height: 100%; object-fit: cover; }
.nho-spot-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.nho-kicker, .nho-badge {
  font-size: .78rem; font-weight: 800; line-height: 1.5;
  border-radius: 999px; padding: 3px 10px;
  font-variant-numeric: tabular-nums;
}
.nho-kicker { color: var(--chip-ink); background: var(--chip-bg); }
.nho-badge { color: var(--brand); background: var(--bg-2); }
.nho-spot h2 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 900; line-height: 1.55; letter-spacing: 0; color: var(--ink);
}
.nho-spot p { color: var(--ink-2); font-size: .98rem; line-height: 1.9; }
.nho-cta { font-weight: 800; color: var(--brand); margin-top: 4px; }
.nho-dispatches a {
  display: grid;
  grid-template-columns: 7.6rem minmax(0, 1fr) auto;
  gap: 12px; align-items: baseline;
  text-decoration: none; color: inherit;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.nho-dispatches li:last-child a { border-bottom: 1px solid var(--line); }
.nho-dispatches time {
  font-weight: 800; font-size: .84rem; color: var(--brand);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.nho-dispatches strong { font-weight: 700; font-size: 1rem; line-height: 1.7; }
.nho-go { color: var(--brand); font-weight: 800; }

/* ---------- option 2: bento magazine ---------- */
.nho-mag {
  background:
    linear-gradient(180deg, var(--bg-2), var(--bg) 280px);
}
.nho-mag-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: 22px;
}
.nho-mag-head .lead { max-width: 34rem; text-align: start; }
.nho-bento {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr);
  gap: 16px;
  align-items: stretch;
}
.nho-tile {
  display: flex; flex-direction: column; min-width: 0; min-height: 0;
  text-decoration: none; color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.nho-tile-main { grid-row: span 2; }
.nho-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.nho-tile-ph { background: var(--surface-2); overflow: hidden; }
.nho-tile-main .nho-tile-ph { aspect-ratio: 16 / 9; }
.nho-side .nho-tile-ph { aspect-ratio: 16 / 8.2; }
.nho-tile-ph img { width: 100%; height: 100%; object-fit: cover; }
.nho-tile-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.nho-tile h2, .nho-tile h3 {
  font-weight: 900; letter-spacing: 0; line-height: 1.6; color: var(--ink);
}
.nho-tile h2 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
.nho-tile h3 { font-size: 1rem; }
.nho-tile p { color: var(--ink-2); font-size: .95rem; line-height: 1.85; }

.nho-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 20px; align-items: center;
}
.nho-pills button {
  font: inherit; font-weight: 800; font-size: .88rem; line-height: 1.4;
  color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; min-height: 40px; cursor: pointer;
}
.nho-pills button[aria-pressed="true"] {
  background: var(--btn-bg); color: var(--btn-ink); border-color: transparent;
}
.nho-pill-break { flex-basis: 100%; height: 0; }
.nho-deck { padding: 6px 0 28px; }
.nho-deck-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; margin-bottom: 14px;
}
.nho-deck-head h2 { font-size: 1.15rem; font-weight: 900; line-height: 1.5; }
.nho-deck-head span { color: var(--muted); font-weight: 800; font-variant-numeric: tabular-nums; }
.nho-deck-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.nho-mini {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px;
  align-items: center;
  text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; min-height: 96px;
}
.nho-mini img { width: 112px; height: 96px; object-fit: cover; }
.nho-mini div { padding: 8px 10px 8px 0; }
.nho-mini time { display: block; color: var(--brand); font-size: .78rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.nho-mini strong { display: block; font-size: .9rem; font-weight: 800; line-height: 1.65; }
.nho-empty { color: var(--muted); padding: 12px 0 8px; }

/* ---------- option 3: press timeline ---------- */
.nho-press {
  background:
    radial-gradient(680px 320px at 0% 0%, color-mix(in srgb, var(--deep-accent) 24%, transparent), transparent 62%),
    linear-gradient(165deg, var(--deep), var(--deep-2));
  color: var(--on-deep);
  padding-bottom: 0;
  overflow: hidden;
}
.nho-press::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(color-mix(in srgb, var(--on-deep) 7%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--on-deep) 7%, transparent) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}
.nho-press .nho-flag {
  color: var(--on-deep);
  background: transparent;
  border-color: color-mix(in srgb, var(--on-deep) 30%, transparent);
}
.nho-press h1, .nho-press .eyebrow { color: var(--on-deep); }
.nho-press h1 em { color: var(--deep-accent); }
.nho-press .lead { color: var(--on-deep-muted); }
.nho-press-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 36px;
  align-items: end;
}
.nho-stats { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 26px; }
.nho-stats div { min-width: 7rem; }
.nho-stats strong {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 900; line-height: 1.15; letter-spacing: 0;
  color: var(--deep-accent);
  font-variant-numeric: tabular-nums;
}
.nho-stats span { display: block; color: var(--on-deep-muted); font-size: .84rem; font-weight: 700; line-height: 1.6; }
.nho-press-card {
  display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  background: var(--surface); color: var(--ink);
  border-radius: 22px; overflow: hidden;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
  position: relative; z-index: 1;
}
.nho-press-card .ph { min-height: 220px; background: var(--surface-2); }
.nho-press-card img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.nho-press-card div { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.nho-press-card h2 { font-size: 1.2rem; font-weight: 900; line-height: 1.6; letter-spacing: 0; color: var(--ink); }
.nho-press-card p { color: var(--ink-2); font-size: .92rem; line-height: 1.8; }
.nho-tl-wrap { position: relative; z-index: 1; margin-top: 34px; }
.nho-tl {
  list-style: none;
  display: flex; gap: 0;
  overflow-x: auto;
  scroll-snap-type: inline mandatory;
  padding: 0 0 16px;
  position: relative;
}
.nho-tl::before {
  content: "";
  position: absolute; top: 7px; inset-inline: 0;
  height: 1px;
  background: color-mix(in srgb, var(--on-deep) 32%, transparent);
}
.nho-tl li { flex: 0 0 230px; scroll-snap-align: start; position: relative; padding-top: 24px; }
.nho-tl a {
  display: flex; flex-direction: column; gap: 4px;
  text-decoration: none; color: var(--on-deep);
  padding-inline-end: 16px;
}
.nho-tl time { font-size: .8rem; font-weight: 800; color: var(--deep-accent); font-variant-numeric: tabular-nums; }
.nho-tl span {
  font-size: .92rem; font-weight: 700; line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
@media (min-width: 1000px) {
  .nho-tl li { flex: 1 1 0; min-width: 0; }
}
.nho-tl li::before {
  content: "";
  position: absolute; top: 3px; inset-inline-start: 0;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--deep-accent);
}
.nho-tl li:first-child::before {
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--deep-accent) 28%, transparent);
  animation: nho-pulse 2.8s ease-in-out infinite;
}
@keyframes nho-pulse {
  0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--deep-accent) 28%, transparent); }
  50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--deep-accent) 8%, transparent); }
}
.nho-ticker {
  position: relative; z-index: 1;
  margin-top: 8px;
  border-top: 1px solid color-mix(in srgb, var(--on-deep) 16%, transparent);
  background: color-mix(in srgb, #000 16%, transparent);
  overflow: hidden;
}
.nho-ticker-track {
  display: flex; width: max-content;
  animation: nho-tick 80s linear infinite;
}
.nho-ticker:hover .nho-ticker-track { animation-play-state: paused; }
.nho-ticker span {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; white-space: nowrap;
  color: var(--on-deep-muted); font-weight: 700; font-size: .88rem;
}
.nho-ticker b { color: var(--deep-accent); font-weight: 800; }
@keyframes nho-tick { to { transform: translateX(50%); } }

/* ---------- switcher ---------- */
.nho-round { margin: 36px 0 0; font-size: 1.35rem; font-weight: 900; line-height: 1.45; }
.nho-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.nho-finalists { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nho-finalists .nho-choice { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.nho-choice {
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
  text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 22px; padding: 22px 20px 20px;
  box-shadow: var(--shadow); min-height: 100%;
}
.nho-choice b { font-size: .78rem; font-weight: 800; color: var(--brand); }
.nho-choice h2 { font-size: 1.28rem; font-weight: 900; line-height: 1.45; letter-spacing: 0; }
.nho-choice p { color: var(--ink-2); font-size: .96rem; line-height: 1.85; flex: 1; }
.nho-choice .nho-cta { margin-top: auto; }
.nho-live {
  margin-top: 22px; color: var(--muted); font-size: .95rem;
}

@media (min-width: 900px) {
  .nho-pill-break { flex: 1 1 auto; height: auto; }
}

@media (max-width: 900px) {
  .nho-bento, .nho-press-grid, .nho-press-card, .nho-choices, .nho-deck-grid {
    grid-template-columns: 1fr;
  }
  .nho-tile-main { grid-row: auto; }
  .nho-mag-head { flex-direction: column; align-items: flex-start; }
  .nho-side .nho-tile-ph, .nho-tile-main .nho-tile-ph { aspect-ratio: 16 / 9; }
}

@media (max-width: 1100px) {
  .nho-finalists { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nho-finalists { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nho { padding: 104px 0 36px; }
  .nho-wrap { padding-inline: 16px; }
  .nho h1 { font-size: 1.85rem; }
  .nho-dispatches a { grid-template-columns: 1fr auto; }
  .nho-dispatches time { grid-column: 1 / -1; }
  .nho-mini { grid-template-columns: 96px minmax(0, 1fr); }
  .nho-mini img { width: 96px; height: 88px; }
  .nho-press-card .ph, .nho-press-card img { min-height: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  .nho-tl li:first-child::before { animation: none; }
  .nho-ticker { overflow-x: auto; }
  .nho-ticker-track { animation: none; }
}
