/* Realitní noviny: the episode list and the episode pages. The episode card (.news-card) is shared
   with the homepage teaser and lives in styles.css. */
.nv-hero { background: var(--ink); color: var(--on-ink); padding: 112px 0 56px; position: relative; overflow: hidden; }
.nv-hero::before { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 150%; background: radial-gradient(closest-side, hsl(276 60% 35% / .4), transparent); pointer-events: none; }
.nv-hero .wrap { position: relative; }
.nv-hero h1 { font-size: clamp(28px, 3.6vw, 46px); letter-spacing: -0.03em; margin-top: 16px; }
.nv-hero--index { padding-bottom: 80px; }
.nv-hero--index h1 { font-size: clamp(40px, 6vw, 76px); }
.nv-meta { margin: 12px 0 0; font-size: 15px; color: var(--on-ink-muted); }
.nv-meta a { color: var(--brand-light); text-decoration: none; font-weight: 600; }

/* The whole stage is as wide as the player, so the title and the video share one left edge.
   The width comes from the viewport height: a landscape video must not push itself off screen. */
.nv-stage { display: flex; flex-direction: column; width: min(100%, max(560px, calc((100svh - 370px) * 16 / 9))); margin-inline: auto; }

.np { position: relative; margin-top: 26px; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--ink-line), 0 30px 80px hsl(270 80% 3% / .6); }
.np[data-cut="tall"] { aspect-ratio: 9 / 16; width: min(100%, calc((100svh - 150px) * 9 / 16)); margin-inline: auto; }
.np video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.np-cover { position: absolute; inset: 0; display: grid; place-items: center; padding: 0; border: 0; background: #000; color: #fff; font: inherit; cursor: pointer; }
.np-cover[hidden] { display: none; }
.np-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.np-cover::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, hsl(270 80% 4% / .75)); pointer-events: none; }
/* The cover carries its headline across the middle, so the call to play keeps to the corner:
   a white pill that reads as the one thing to press. */
.np-cta { position: absolute; z-index: 1; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 14px; padding: 8px 26px 8px 8px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: 0 18px 44px hsl(270 80% 4% / .55); transition: transform .25s var(--ease); }
.np-cta::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 hsl(0 0% 100% / .55); animation: npPulse 2.4s ease-out infinite; pointer-events: none; }
.np-play { position: relative; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--primary); transition: background .2s; }
.np-play::before { content: ""; position: absolute; left: 37%; top: 30%; width: 34%; height: 40%; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.np-cap { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.np-cover:hover .np-cta, .np-cover:focus-visible .np-cta { transform: scale(1.04); }
.np-cover:hover .np-play, .np-cover:focus-visible .np-play { background: var(--primary-strong); }
@keyframes npPulse { 70%, 100% { box-shadow: 0 0 0 18px hsl(0 0% 100% / 0); } }
@media (prefers-reduced-motion: reduce) { .np-cta::before { animation: none; } }
.np-cover:focus-visible { outline: 3px solid var(--brand-light); outline-offset: -3px; }
.np-switch { margin: 14px 0 0; text-align: center; }
.np-switch button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid hsl(270 30% 60% / .45); background: none; color: var(--on-ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.np-switch button:hover { border-color: var(--brand-light); background: hsl(276 60% 60% / .1); }

.nv-body { background: var(--surface); padding: 56px 0 88px; }
.nv-article { max-width: 760px; }
.nv-lead { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.5; color: var(--fg); margin: 0; }
.nv-article h2 { font-size: clamp(24px, 2.6vw, 30px); max-width: none; margin-top: 44px; }
.nv-article p { color: var(--muted); margin: 14px 0 0; }
.nv-article ul, .nv-article ol { color: var(--muted); margin: 14px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.nv-article a:not(.btn) { color: var(--primary); }
.nv-cta { margin-top: 48px; padding: 28px; border-radius: 22px; background: var(--primary-soft); border: 1px solid var(--line); display: grid; gap: 4px; justify-items: start; }
.nv-cta b { font-size: 21px; line-height: 1.25; color: var(--fg); }
.nv-cta .btn { margin-top: 18px; }

/* An episode that sells something brings its own sections under the player. */
.nv-hero:has(+ .nv-pitch) { padding-bottom: 36px; }
.nv-pitch { background: var(--ink); color: var(--on-ink); padding: 0 0 72px; }
.nv-pitch-lead { font-size: clamp(19px, 1.9vw, 23px); line-height: 1.5; max-width: 62ch; margin: 0; }
.nv-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.nv-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 44px 0 0; border-top: 1px solid var(--ink-line); }
.nv-facts div { padding: 22px 24px 0 0; }
.nv-facts div + div { padding-left: 24px; border-left: 1px solid var(--ink-line); }
.nv-facts dt { font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: -0.02em; color: var(--brand-light); }
.nv-facts dd { margin: 4px 0 0; font-size: 15.5px; color: var(--on-ink-muted); }

.nv-sec { padding: clamp(56px, 8vw, 104px) 0; }
.nv-sec--white { background: var(--surface); }
.nv-sec--soft { background: var(--bg); }
.nv-sec--ink { background: var(--ink); color: var(--on-ink); }
.nv-sec h2 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.03em; max-width: 22ch; }
.nv-sec h2 em { font-style: normal; color: var(--brand-light); }
.nv-sub { margin: 14px 0 0; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 60ch; }
.nv-sec--ink .nv-sub { color: var(--on-ink-muted); }
.nv-kicker { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-light); }
.nv-note { margin: 28px 0 0; font-size: 15.5px; color: var(--muted); }
.nv-note a, .nv-price a { color: var(--primary); font-weight: 600; }

.nv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.nv-cards article { padding: 28px; border-radius: 22px; background: var(--primary-soft); border: 1px solid var(--line); }
.nv-cards b { display: block; font-size: 21px; line-height: 1.25; }
.nv-cards p { margin: 10px 0 0; color: var(--muted); }

.nv-proof { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 28px; align-items: center; margin-top: 48px; }
.nv-person { margin: 0; }
.nv-person img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; box-shadow: 0 0 0 1px var(--ink-line); }
.nv-person figcaption { display: grid; gap: 2px; margin-top: 14px; }
.nv-person small { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-light); }
.nv-person b { font-size: 20px; }
.nv-person span { font-size: 14.5px; color: var(--on-ink-muted); }
.nv-clock { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.nv-clock li { display: grid; gap: 2px; padding: 18px 0 18px 26px; border-left: 2px solid var(--ink-line); position: relative; }
.nv-clock li::before { content: ""; position: absolute; left: -7px; top: 30px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand-light); }
.nv-clock b { font-size: clamp(30px, 3.4vw, 44px); line-height: 1; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.nv-clock li:last-child b { color: var(--brand-light); }
.nv-clock span { color: var(--on-ink-muted); }
.nv-case { display: grid; grid-template-columns: auto 1fr; gap: 12px 40px; align-items: center; margin-top: 48px; padding: 28px 32px; border-radius: 22px; background: var(--ink-2); border: 1px solid var(--ink-line); }
.nv-case small { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-light); }
.nv-case b { display: block; margin-top: 6px; font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nv-case p { margin: 0; color: var(--on-ink-muted); max-width: 52ch; }
.nv-aside { margin: 28px 0 0; font-size: 15.5px; font-style: italic; color: var(--on-ink-muted); }

.nv-steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.nv-steps li { counter-increment: step; }
.nv-steps b { display: block; margin-top: 18px; font-size: 19px; line-height: 1.25; }
.nv-steps b::before { content: counter(step) ". "; color: var(--primary); }
.nv-steps p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }
.nv-shot { display: block; aspect-ratio: 13 / 20; border-radius: 22px; overflow: hidden; background: var(--surface); border: 6px solid var(--ink); box-shadow: var(--shadow); }
.nv-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.nv-shot--seal { display: grid; place-content: center; justify-items: center; gap: 8px; padding: 20px; text-align: center; background: var(--primary-soft); }
.nv-shot--seal i { font-style: normal; font-weight: 700; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; color: var(--ok); padding: 12px 16px; border: 3px solid var(--ok); border-radius: 10px; transform: rotate(-4deg); }
.nv-shot--seal em { font-style: normal; font-size: 14.5px; color: var(--muted); }

.nv-prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.nv-price { display: grid; gap: 6px; justify-items: start; padding: 32px; border-radius: 22px; border: 1px solid var(--line); background: var(--bg); }
.nv-price--main { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.nv-price small { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); }
.nv-price--main small { color: var(--brand-light); }
.nv-price b { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.03em; line-height: 1.05; }
.nv-price p { margin: 8px 0 0; color: var(--muted); max-width: 44ch; }
.nv-price--main p { color: var(--on-ink-muted); }
.nv-price a { margin-top: 10px; }
.nv-price--main a { color: var(--brand-light); }

.nv-final { text-align: center; }
.nv-final h2 { max-width: 20ch; margin-inline: auto; }
.nv-final .nv-sub { margin-inline: auto; }
.nv-final .nv-actions { justify-content: center; }

.nv-more { background: var(--bg); padding: 64px 0 88px; }
.nv-more h2 { font-size: clamp(26px, 3vw, 36px); }
.news-list { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 32px 28px; }
.nv-more .news-card { --nc-muted: var(--muted); }
.nv-more .news-card b { font-size: 19px; }

@media (max-width: 720px) {
  /* A reader arriving from the mail came for the video: it goes first, the title follows. */
  .nv-hero { padding: 76px 0 40px; }
  .nv-hero--index { padding-top: 96px; }
  .nv-stage .crumbs { display: none; }
  .nv-stage .np { order: -2; margin-top: 0; }
  .nv-stage .np-switch { order: -1; }
  .nv-stage h1 { margin-top: 22px; }
  .np { border-radius: 12px; }
  .np-cta { left: 12px; bottom: 12px; gap: 11px; padding: 6px 20px 6px 6px; }
  .np-play { width: 44px; height: 44px; }
  .np-cap { font-size: 17px; }
  .nv-body { padding: 40px 0 64px; }
  .nv-cta { padding: 22px; }
  .nv-pitch { padding-bottom: 48px; }
  .nv-actions .btn { width: 100%; }
  .nv-facts { grid-template-columns: 1fr; margin-top: 32px; }
  .nv-facts div, .nv-facts div + div { display: grid; grid-template-columns: 7.2em 1fr; gap: 12px; align-items: baseline; padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--ink-line); }
  .nv-facts dt { font-size: 22px; }
  .nv-facts dd { margin: 0; }
  .nv-cards, .nv-prices { grid-template-columns: 1fr; margin-top: 28px; }
  .nv-cards article, .nv-price { padding: 22px; }
  .nv-proof { grid-template-columns: 1fr 1fr; gap: 20px 14px; margin-top: 32px; align-items: start; }
  .nv-clock { grid-column: 1 / -1; grid-row: 2; }
  .nv-person b { font-size: 17px; }
  .nv-case { grid-template-columns: 1fr; padding: 22px; margin-top: 32px; }
  .nv-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; margin-top: 28px; }
  .nv-steps b { font-size: 17px; }
  .nv-shot { border-width: 4px; border-radius: 18px; }
}
