/* Zaezzd — «Журнал»: лента, страницы материалов, видео-вставки, события. */

.jr-lead { max-width: 720px; }
.jr-chips { margin-top: 16px; }
.posts--feed { grid-template-columns: 1fr; }
@media (min-width: 768px) { .posts--feed { grid-template-columns: 1fr 1fr; } }
.jr-suggest h2 { margin-bottom: 6px; }
.jr-when { color: var(--acc); font-weight: 600; }

/* ── Материал ─────────────────────────────────────────────────────── */
.jr { max-width: 760px; margin: 0 auto; width: 100%; }
.jr__head { margin-bottom: 6px; }
.jr__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.jr__h1 { max-width: 20ch; }
@media (min-width: 768px) { .jr__h1 { max-width: none; } }
.jr__lead { margin-top: 12px; color: var(--ink-2); }
.jr__actions { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.jr__actions [data-bookmark][aria-pressed="true"] { border-color: var(--acc); color: var(--acc); }

.jr-body { display: grid; gap: 16px; margin-top: 10px; }
.jr-body p {
  font-family: var(--serif);
  font-size: 17px; line-height: 1.65; color: var(--ink-2);
}
.jr-body h2 {
  margin-top: 14px;
  font-size: 22px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink);
}
.jr-body ul { display: grid; gap: 8px; padding-left: 20px; }
.jr-body ul li {
  font-family: var(--serif);
  font-size: 16.5px; line-height: 1.55; color: var(--ink-2);
}
.jr-body a { color: var(--acc); }
.jr-src { margin-top: 4px; }

.jr-tool .jr-tool__t { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.jr-tool .btn { margin-top: 14px; }
.jr-tool p { font-family: var(--sans); }

/* ── Видео: ленивая вставка (iframe создаётся по клику) ───────────── */
.video { margin: 4px 0; }
.video__ph {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--r-card); background:
    radial-gradient(120% 140% at 20% 0%, #2A2F39 0%, #14161B 60%);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.video__poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .85;
}
.video__go {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 22px; border: 0; border-radius: 999px;
  background: rgba(20, 22, 27, .82); color: #fff;
  font-size: 15px; font-weight: 700; cursor: pointer;
  transition: background-color .12s ease;
}
.video__go:hover { background: #000; }
.video__play {
  width: 0; height: 0; border-style: solid;
  border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--yellow);
}
.video__cap { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); }
.video iframe {
  width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-card);
  display: block; background: #000;
}
.video__ph--soon {
  flex-direction: column; gap: 6px; text-align: center; padding: 24px;
}
.video__soon-t { color: #fff; font-weight: 800; font-size: 17px; }
.video__soon-d { color: #9AA0AC; font-size: 13px; max-width: 380px; line-height: 1.5; }

/* ── Событие ──────────────────────────────────────────────────────── */
.evt { display: flex; gap: 18px; align-items: flex-start; }
.evt__date {
  flex: 0 0 auto; min-width: 84px;
  display: flex; flex-direction: column; align-items: center;
  padding: 12px 10px; border-radius: var(--r-card);
  background: var(--ink); color: #fff;
}
.evt__d { font-size: 30px; font-weight: 800; line-height: 1; }
.evt__m { margin-top: 4px; font-size: 12.5px; color: #C6CAD1; }
.evt__t { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--yellow); }
.evt__city { font-weight: 800; }
.evt__place { margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.evt__body .btn { margin-top: 12px; }
.evt--past { opacity: .55; }
.evt--past .evt__t::after { content: " · прошло"; color: #C6CAD1; }

@media (max-width: 480px) {
  .evt { flex-direction: column; }
  .evt__date { flex-direction: row; gap: 8px; align-items: baseline; min-width: 0; padding: 8px 12px; }
  .evt__m { margin-top: 0; }
  .evt__t { margin-top: 0; }
}
