/* ================================================================
   ТРАНСЛЯЦИЯ — агрегирующая страница репортажей по этапам
   Наследует токены и базовые стили из styles.css
   ================================================================ */

.site-header nav a.is-current { color: var(--gold); }
.site-header nav a.is-current::after {
  content: "";
  position: absolute; left: 13px; right: 0; bottom: -2px;
  height: 1px; background: var(--gold);
}
.mobile-menu-link.is-current { color: var(--gold); }

/* ---------- Шапка страницы ---------- */
.live-hero {
  padding: calc(var(--header-h) + 56px) var(--page-pad) 0;
}
.live-hero > .wrap { padding: 0; }
.crumbs {
  display: flex; gap: 10px; align-items: center;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ivory-mute); font-weight: 500;
  margin-bottom: 40px;
}
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: var(--gold); }
.crumbs span[aria-current] { color: var(--ivory-dim); }

.live-hero-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding-bottom: 24px; margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.live-badge {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
  color: var(--ivory);
  padding: 9px 16px;
  border: 1px solid var(--line);
}
.live-badge.is-off .live-dot { animation: none; background: var(--ivory-mute); }

.live-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(48px, 6.4vw, 96px);
  line-height: 1;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
}
.live-hero h1 em { font-style: italic; color: var(--gold); font-weight: 400; }
.live-lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.5;
  color: var(--ivory-dim);
  max-width: 760px;
  margin-bottom: 64px;
  text-wrap: pretty;
}

/* Лента этапов */
.stage-rail {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stage-chip {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 14px 18px;
  border-right: 1px solid var(--line);
  position: relative;
  min-width: 0;
}
.stage-chip:last-child { border-right: none; }
.stage-chip .sc-num {
  font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--gold-deep);
}
.stage-chip .sc-name {
  font-family: var(--serif); font-size: 16px; line-height: 1.2; color: var(--ivory); font-weight: 500;
  overflow-wrap: anywhere;
}
.stage-chip .sc-date {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ivory-mute); font-weight: 500;
}
/* По умолчанию этап неактивен (бледный, не кликается). Класс .active — опубликован. */
.stage-chip { opacity: .4; pointer-events: none; cursor: default; }
.stage-chip.active { opacity: 1; pointer-events: auto; cursor: pointer; transition: background .25s; }
.stage-chip.active::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--gold);
}
.stage-chip.active .sc-num { color: var(--gold); }
.stage-chip.active:hover { background: var(--ink-2); }
.stage-chip.active:hover .sc-name { color: var(--gold); }

/* ---------- Лента репортажей ---------- */
.reports { padding: 96px var(--page-pad) 120px; }
.reports > .wrap { padding: 0; }
.report-head h2[id] { scroll-margin-top: calc(var(--header-h) + 32px); }
.report + .report { margin-top: 120px; padding-top: 96px; border-top: 1px solid var(--line); }

/* Заголовок статьи — в одном стиле с блоком «Следующий репортаж» */
.report-head {
  display: grid; grid-template-columns: 120px 1fr; gap: 40px; align-items: center;
  padding: 40px;
  margin-bottom: 40px;
  border-top: 1px solid var(--gold-deep);
  border-bottom: 1px solid var(--gold-deep);
}
.report-head .rf-label { margin-bottom: 10px; }
.report-head h2.rn-title { margin: 0 0 6px; text-wrap: balance; }

/* Обложка — одно фото */
.report-cover { margin: 0; background: var(--ink-2); }
.report-cover img { width: 100%; height: auto; display: block; }

/* Текст */
.rf-label {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.report-next .rf-label { margin-bottom: 10px; }
.report-text { max-width: 780px; padding: 56px 0 24px; }
.report-text p {
  font-size: 16px; line-height: 1.8; color: var(--ivory-dim);
  margin-bottom: 20px; text-wrap: pretty;
}
.report-text .report-lead {
  font-family: var(--serif);
  font-size: clamp(22px, 1.9vw, 26px);
  line-height: 1.5;
  color: var(--ivory);
  margin-bottom: 28px;
}
.report-text strong { color: var(--ivory); font-weight: 600; }
.report-list { list-style: none; margin: 0 0 24px; padding: 4px 0 4px 24px; border-left: 1px solid var(--gold-deep); }
.report-list li { position: relative; font-size: 16px; line-height: 1.7; color: var(--ivory-dim); padding: 6px 0; }
.report-list li::before { content: "◆"; position: absolute; left: -31px; top: 9px; font-size: 9px; color: var(--gold); background: var(--ink); padding: 2px 0; }

/* Галерея превью: 12 в ряд на ПК → 8 → 6 → 4 на мобильных */
.report-gallery { padding-top: 40px; border-top: 1px solid var(--line); margin-top: 32px; }
.rg-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.rg-count { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory-mute); font-weight: 500; }
.thumbs {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 6px;
}
.thumb {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 1;
  background: var(--ink-2);
  cursor: zoom-in;
}
.thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .3s, opacity .3s;
  filter: saturate(.85); opacity: .9;
}
.thumb::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid transparent; transition: border-color .25s;
  pointer-events: none;
}
.thumb:hover img, .thumb:focus-visible img { transform: scale(1.07); filter: saturate(1.05); opacity: 1; }
.thumb:hover::after, .thumb:focus-visible::after { border-color: var(--gold); }
.thumb:focus-visible { outline: 1px solid var(--gold); outline-offset: 2px; }
@media (max-width: 1080px) { .thumbs { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .thumbs { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; } }
@media (max-width: 480px)  { .thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.report-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
}
.report-foot .rf-label { margin: 0; color: var(--ivory-mute); }
.report-foot-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
  color: var(--gold); border-bottom: 1px solid var(--gold-deep); padding-bottom: 6px;
}
.report-foot-link .arrow { font-family: var(--serif); font-size: 16px; letter-spacing: 0; transition: transform .25s; }
.report-foot-link:hover .arrow { transform: translateX(3px); }

/* Заглушка следующего этапа */
.report-next {
  margin-top: 120px;
  display: grid; grid-template-columns: 120px 1fr auto; gap: 40px; align-items: center;
  padding: 40px;
  border-top: 1px solid var(--gold-deep);
  border-bottom: 1px solid var(--gold-deep);
}
.rn-num { font-family: var(--serif); font-style: italic; font-size: 64px; line-height: 1; color: var(--gold-deep); }
.rn-title { font-family: var(--serif); font-size: 32px; line-height: 1.15; font-weight: 500; margin-bottom: 6px; }
.rn-title em { color: var(--gold); font-style: italic; font-weight: 400; }
.rn-sub { font-size: 13px; color: var(--ivory-mute); }

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .stage-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stage-chip:nth-child(3n) { border-right: none; }
  .stage-chip:nth-child(-n+6) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .live-hero { padding: calc(var(--header-h) + 32px) 24px 0; }
  .reports { padding: 64px 24px 80px; }
  .report-next, .report-head { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
  .rn-num { font-size: 44px; }
}
@media (max-width: 720px) {
  .crumbs { margin-bottom: 28px; }
  .live-lead { margin-bottom: 40px; }
  .stage-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage-chip:nth-child(n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .stage-chip:nth-child(2n) { border-right: none; }
  .stage-chip:last-child { border-bottom: none; }
}

/* ---------- Fancybox под фирменный стиль ---------- */
.fancybox__container {
  --fancybox-bg: rgba(11, 13, 20, 0.96);
  --fancybox-accent-color: var(--gold);
  --fancybox-color: var(--ivory);
  font-family: var(--sans);
}
.fancybox__caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ivory);
}
.fancybox__toolbar { --f-button-color: var(--ivory); --f-button-hover-color: var(--gold); }
.fancybox__container .f-button:hover { color: var(--gold); }
.fancybox__thumbs .f-thumbs__slide__button { border-radius: 0; }
.fancybox__thumbs { --f-thumb-border-radius: 0; --f-thumb-selected-shadow: 0 0 0 2px var(--gold); }
.fancybox__infobar { font-variant-numeric: tabular-nums; letter-spacing: .08em; }
