/* baikal.tetavr.ru — энциклопедия, места, маршруты, аудиоэкскурсии.
   Журнальная вёрстка поверх токенов design.css.

   Правила файла:
   · ни одного нового цвета — только переменные из design.css;
   · тёмная тема основная, светлой нет;
   · длина строки текста ~70 знаков (--measure), крупная типографика;
   · всё, что тут есть, работает без JS: скрипт только улучшает.            */

/* ─────────────────────────────────────────────────────────────────────────
   0. Общее
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --measure: 68ch;          /* читаемая длина строки */
  --gutter: clamp(16px, 4vw, 40px);
  --rule: 1px solid var(--deep-2);
}

body.page {
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(127, 212, 232, .09), transparent 62%),
    var(--ink);
  background-attachment: fixed;
}

/* Шапка и подвал живут в design.css как разметка, но не как стиль —
   базовый вид даём здесь, чтобы страницы не разъезжались. */

.site-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem var(--gutter);
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
  padding: 1.1rem 0;
  border-bottom: var(--rule);
}
.site-head__logo {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font: 600 var(--step-1)/1 var(--font-display);
  color: var(--frost);
  text-decoration: none;
  letter-spacing: -.02em;
}
.site-head__mark {
  width: .8em;
  height: .8em;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--ice), var(--ice-deep));
  box-shadow: var(--glow);
}
.site-head__nav {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem 1.3rem;
  margin-left: auto;
  font-size: var(--step--1);
}
.site-head__nav a {
  color: var(--frost-dim);
  text-decoration: none;
  padding: .3em 0;
  border-bottom: 1px solid transparent;
}
.site-head__nav a:hover,
.site-head__nav a[aria-current="page"] {
  color: var(--frost);
  border-bottom-color: var(--ice);
}

.site-foot {
  margin-top: clamp(48px, 9vw, 110px);
  padding: var(--gutter) 0 3rem;
  border-top: var(--rule);
  font-size: var(--step--1);
  color: var(--frost-mute);
}
.site-foot p { max-width: var(--measure); }
.site-foot__meta { color: var(--frost-mute); opacity: .7; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .5em;
  padding: 1rem 0 0;
  font-size: var(--step--1);
  color: var(--frost-mute);
}
.crumbs a { color: var(--frost-mute); text-decoration: none; }
.crumbs a:hover { color: var(--ice); }
.crumbs span { opacity: .5; }

/* ─────────────────────────────────────────────────────────────────────────
   1. Геройблок страницы
   ───────────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  margin-top: clamp(20px, 4vw, 44px);
}
.hero__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--deep);
  aspect-ratio: 16 / 7;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 11, 16, .92) 4%, rgba(7, 11, 16, .12) 58%, transparent);
  pointer-events: none;
}
.hero__body {
  position: relative;
  z-index: 1;
  max-width: 26ch;
}
.hero--over .hero__body {
  margin-top: -14%;
  padding: 0 clamp(12px, 3vw, 36px) clamp(12px, 2.5vw, 28px);
}
.hero h1 {
  margin-bottom: .25em;
  text-wrap: balance;
}
.hero__lead {
  font-size: var(--step-1);
  line-height: 1.4;
  color: var(--frost-dim);
  max-width: var(--measure);
  margin: 0 0 1rem;
  text-wrap: pretty;
}
.hero__kicker {
  display: block;
  font-size: var(--step--1);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: .8em;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .75rem;
  align-items: center;
  margin: 0 0 .4rem;
  padding: 0;
  list-style: none;
  font-size: var(--step--1);
  color: var(--frost-dim);
}
.hero__meta li { display: inline-flex; align-items: center; gap: .4em; }
.hero__meta li + li::before {
  content: "";
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--frost-mute);
  margin-right: .35em;
}
.hero__figcaption,
.figcap {
  font-size: var(--step--1);
  color: var(--frost-mute);
  margin: .5em 0 0;
}
.figcap a { color: var(--frost-dim); }

/* ─────────────────────────────────────────────────────────────────────────
   2. Секции и текст
   ───────────────────────────────────────────────────────────────────────── */

.sec {
  margin-top: clamp(40px, 7vw, 88px);
  scroll-margin-top: 2rem;
}
.sec__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .6rem 1rem;
  margin-bottom: 1.2rem;
  padding-bottom: .6rem;
  border-bottom: var(--rule);
}
.sec__head h2 { margin: 0; font-size: var(--step-2); }
.sec__head p {
  margin: 0;
  color: var(--frost-dim);
  font-size: var(--step--1);
  max-width: var(--measure);
}
.sec__more { margin-left: auto; font-size: var(--step--1); white-space: nowrap; }

.prose {
  max-width: var(--measure);
  font-size: var(--step-0);
  line-height: 1.75;
}
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--step-2); margin-top: 1.8em; }
.prose h3 { font-size: var(--step-1); margin-top: 1.6em; }
.prose h4 { font-size: var(--step-0); margin-top: 1.4em; font-weight: 600; font-family: var(--font-display); }
.prose p { margin: 0; text-wrap: pretty; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote {
  margin: 1.6em 0;
  padding-left: 1.1em;
  border-left: 2px solid var(--ice-deep);
  color: var(--frost-dim);
  font-size: var(--step-1);
  line-height: 1.45;
}
.prose blockquote p { margin: 0; }
.prose code {
  font-size: .92em;
  background: var(--deep-2);
  padding: .1em .4em;
  border-radius: 4px;
}
/* Буквица — только в энциклопедии, только у первого абзаца. */
.prose--drop > p:first-of-type::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 3.4em;
  line-height: .84;
  font-weight: 600;
  padding: .06em .1em 0 0;
  color: var(--ice);
}

.lead-xl {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--frost);
  max-width: var(--measure);
  text-wrap: pretty;
}

/* ─────────────────────────────────────────────────────────────────────────
   3. Сетки карточек
   ───────────────────────────────────────────────────────────────────────── */

.grid {
  display: grid;
  gap: clamp(14px, 2.2vw, 26px);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}
.grid--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); }
.grid--tight { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--deep);
  border: var(--rule);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-2px); border-color: rgba(127, 212, 232, .35); box-shadow: var(--lift); }
.card__media {
  aspect-ratio: 3 / 2;
  background: linear-gradient(160deg, var(--deep-2), var(--deep));
  overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: clamp(14px, 2vw, 20px); display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card__title { font: 600 var(--step-1)/1.2 var(--font-display); margin: 0; letter-spacing: -.01em; }
.card__title a { color: var(--frost); text-decoration: none; }
/* Ссылка растягивается на карточку — попасть пальцем проще. */
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card:hover .card__title a { color: var(--ice); }
.card__text { margin: 0; color: var(--frost-dim); font-size: var(--step--1); line-height: 1.55; }
.card__meta {
  margin: auto 0 0;
  padding-top: .3rem;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .7rem;
  font-size: var(--step--1);
  color: var(--frost-mute);
}
.card__badge {
  position: absolute;
  top: .7rem; left: .7rem;
  z-index: 1;
  padding: .3em .7em;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink);
  background: var(--sun);
  border-radius: 999px;
}

/* Список активностей на карточке места — главный ответ «что я тут буду делать» */
.acts { display: grid; gap: 12px; }
.act {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .4rem 1rem;
  padding: clamp(14px, 2vw, 20px);
  background: var(--deep);
  border: var(--rule);
  border-left: 3px solid var(--sun);
  border-radius: 0 var(--r) var(--r) 0;
}
.act__name { font: 600 var(--step-1)/1.25 var(--font-display); margin: 0; grid-column: 1; }
.act__name a { color: var(--frost); text-decoration: none; }
.act__name a:hover { color: var(--sun); }
.act__name a::after { content: ""; position: absolute; inset: 0; }
.act__lead { grid-column: 1 / -1; margin: 0; color: var(--frost-dim); font-size: var(--step--1); line-height: 1.55; max-width: var(--measure); }
.act__seasons { grid-column: 2; grid-row: 1; justify-self: end; }
.act__facts {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; gap: .35rem .9rem;
  margin: 0; padding: 0; list-style: none;
  font-size: var(--step--1); color: var(--frost-mute);
}
.act__facts b { color: var(--frost-dim); font-weight: 500; }

/* ─────────────────────────────────────────────────────────────────────────
   4. Сезоны, чипы, факты
   ───────────────────────────────────────────────────────────────────────── */

.seasons { display: inline-flex; flex-wrap: wrap; gap: .35em; align-items: center; }
.seasons__label { font-size: var(--step--1); color: var(--frost-mute); }
.months {
  display: inline-grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2px;
  vertical-align: middle;
}
.months i {
  width: 100%;
  min-width: 9px;
  height: 16px;
  border-radius: 2px;
  background: var(--deep-2);
  font-style: normal;
}
.months i[data-on="1"] { background: var(--ice); }
.months--warm i[data-on="1"] { background: var(--sun); }

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 1px;
  background: var(--deep-2);
  border: var(--rule);
  border-radius: var(--r);
  overflow: hidden;
  margin: 0;
}
.facts > div { background: var(--deep); padding: clamp(12px, 1.8vw, 18px); }
.facts dt { font-size: var(--step--1); color: var(--frost-mute); margin-bottom: .3em; }
.facts dd { margin: 0; font: 600 var(--step-1)/1.2 var(--font-display); color: var(--frost); }
.facts dd.nodata { font: italic 400 var(--step-0)/1.3 var(--font); color: var(--frost-mute); }

/* ─────────────────────────────────────────────────────────────────────────
   5. Практика: жильё, еда, переезды
   ───────────────────────────────────────────────────────────────────────── */

.rows { display: grid; gap: 10px; }
.row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: .3rem 1rem;
  padding: clamp(12px, 1.8vw, 18px);
  background: var(--deep);
  border: var(--rule);
  border-radius: var(--r-sm);
}
.row__name { font-weight: 600; margin: 0; }
.row__kind { font-size: var(--step--1); color: var(--frost-mute); }
.row__note { grid-column: 1 / -1; margin: 0; font-size: var(--step--1); color: var(--frost-dim); max-width: var(--measure); }
.row__price { justify-self: end; font: 600 var(--step-0)/1.2 var(--font-display); color: var(--sun); white-space: nowrap; }
.row__price.nodata { font: italic 400 var(--step--1)/1.3 var(--font); color: var(--frost-mute); }
.row .src { grid-column: 1 / -1; margin-top: .2em; }

/* Переезды: как добраться */
.ways { display: grid; gap: 10px; }
.way {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .3rem 1rem;
  align-items: baseline;
  padding: clamp(12px, 1.8vw, 18px);
  background: var(--deep);
  border: var(--rule);
  border-radius: var(--r-sm);
}
.way__mode {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ice);
  text-transform: lowercase;
}
.way__to { margin: 0; font-weight: 600; }
.way__time { justify-self: end; font-variant-numeric: tabular-nums; color: var(--frost-dim); white-space: nowrap; }
.way__note { grid-column: 1 / -1; margin: 0; font-size: var(--step--1); color: var(--frost-dim); max-width: var(--measure); }
.way .src { grid-column: 1 / -1; }

/* ─────────────────────────────────────────────────────────────────────────
   6. Фото: полноширинные, всегда с автором и лицензией
   ───────────────────────────────────────────────────────────────────────── */

.gallery {
  display: grid;
  gap: clamp(12px, 2vw, 22px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.gallery figure, figure.shot { margin: 0; }
.gallery img, figure.shot img {
  width: 100%;
  border-radius: var(--r);
  background: var(--deep);
}
.gallery figure:first-child:nth-last-child(n + 3) { grid-column: 1 / -1; }

.bleed {
  width: min(100vw, 1500px);
  margin-inline: calc(50% - min(50vw, 750px));
  border-radius: 0;
}
.bleed img { border-radius: 0; width: 100%; max-height: 78vh; object-fit: cover; }
.bleed .figcap { width: min(100% - 2rem, 1180px); margin-inline: auto; }

/* ─────────────────────────────────────────────────────────────────────────
   7. Карта места — заглушка в разметке, живая карта поверх неё
   ───────────────────────────────────────────────────────────────────────── */

.place-map {
  position: relative;
  border: var(--rule);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--deep);
  aspect-ratio: 16 / 9;
}
.place-map svg { width: 100%; height: 100%; display: block; }
.place-map__coords {
  position: absolute;
  left: 0; bottom: 0;
  padding: .5em .9em;
  font-size: var(--step--1);
  font-variant-numeric: tabular-nums;
  color: var(--frost-dim);
  background: var(--glass);
  border-radius: 0 var(--r-sm) 0 0;
}
.place-map.is-live .place-map__stub { display: none; }

/* ─────────────────────────────────────────────────────────────────────────
   8. Аудиоэкскурсия
   ───────────────────────────────────────────────────────────────────────── */

.exc {
  border: 1px solid rgba(240, 178, 74, .3);
  border-radius: var(--r-lg);
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(240, 178, 74, .08), transparent 60%),
    var(--deep);
  padding: clamp(18px, 3vw, 32px);
}
.exc__head { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; align-items: baseline; }
.exc__head h2 { margin: 0; font-size: var(--step-2); }
.exc__badge {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sun);
}
.exc__lead { margin: .6rem 0 0; color: var(--frost-dim); max-width: var(--measure); }
.exc__meta { font-size: var(--step--1); color: var(--frost-mute); margin-left: auto; white-space: nowrap; }

.exc__controls {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: center;
  margin: 1.2rem 0 .4rem;
}
.exc__status {
  flex-basis: 100%;
  font-size: var(--step--1);
  color: var(--frost-mute);
  min-height: 1.4em;
}
.exc__status[data-tone="warn"] { color: var(--sig); }
.exc__status[data-tone="live"] { color: var(--sun); }

.exc__progress {
  height: 3px;
  border-radius: 999px;
  background: var(--deep-2);
  overflow: hidden;
  margin: .8rem 0 0;
}
.exc__progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--sun);
  transition: width .4s var(--ease);
}

.exc__script {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: chunk;
  max-width: var(--measure);
}
.exc__chunk {
  position: relative;
  padding: .7em 0 .7em 2.6em;
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--frost-dim);
  border-top: var(--rule);
  transition: color .25s, background .25s;
}
.exc__chunk::before {
  counter-increment: chunk;
  content: counter(chunk);
  position: absolute;
  left: 0; top: .95em;
  font-size: var(--step--1);
  font-variant-numeric: tabular-nums;
  color: var(--frost-mute);
}
.exc__chunk[data-lat]::after {
  content: "точка на месте";
  display: block;
  margin-top: .4em;
  font-size: var(--step--1);
  color: var(--frost-mute);
}
.exc__chunk.is-current {
  color: var(--frost);
  background: linear-gradient(90deg, rgba(240, 178, 74, .1), transparent 70%);
  box-shadow: inset 3px 0 0 var(--sun);
}
.exc__chunk.is-done { color: var(--frost-mute); }
.exc__chunk button.exc__play-here {
  position: absolute;
  inset: 0;
  width: 100%;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  color: transparent;
  padding: 0;
}
.exc__chunk button.exc__play-here:focus-visible { outline-offset: -2px; }

/* Фолбэк: голоса ru нет — читаем глазами, крупно. */
.exc--reading .exc__chunk { font-size: var(--step-1); line-height: 1.6; color: var(--frost); }
.exc--reading .exc__chunk::after { content: none; }

/* Предложение включить рассказ: появляется, когда человек вошёл в радиус.
   Автозапуска нет — только предложение с кнопкой (DESIGN.md §9). */
.exc__offer {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: center;
  margin: .8rem 0 0;
  padding: .8em 1em;
  border: 1px solid rgba(240, 178, 74, .4);
  border-radius: var(--r-sm);
  background: rgba(240, 178, 74, .08);
  font-size: var(--step--1);
}
.exc__offer > span { flex-basis: 100%; color: var(--frost); }

.exc__sources { margin-top: 1.4rem; font-size: var(--step--1); color: var(--frost-mute); }
.exc__sources summary { cursor: pointer; color: var(--frost-dim); }
.exc__sources a { color: var(--frost-dim); }

/* ─────────────────────────────────────────────────────────────────────────
   9. Оглавления и указатели
   ───────────────────────────────────────────────────────────────────────── */

.index-head { margin-top: clamp(24px, 5vw, 60px); }
.index-head h1 { max-width: 16ch; text-wrap: balance; }
.index-head p { max-width: var(--measure); color: var(--frost-dim); font-size: var(--step-1); line-height: 1.45; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}
.filters a {
  display: inline-flex;
  padding: .35em .8em;
  font-size: var(--step--1);
  color: var(--frost-dim);
  background: var(--deep-2);
  border-radius: 999px;
  text-decoration: none;
}
.filters a:hover, .filters a[aria-current="true"] { color: var(--ice); background: rgba(127, 212, 232, .12); }

.toc { display: grid; gap: .1rem; max-width: var(--measure); margin: 0; padding: 0; list-style: none; }
.toc li { border-bottom: var(--rule); }
.toc a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .3rem 1rem;
  align-items: baseline;
  padding: .85em 0;
  text-decoration: none;
  color: var(--frost);
}
.toc a:hover { color: var(--ice); }
.toc a span { font-size: var(--step--1); color: var(--frost-mute); }
.toc a em { grid-column: 1 / -1; font-style: normal; font-size: var(--step--1); color: var(--frost-dim); }

/* ─────────────────────────────────────────────────────────────────────────
   10. Маршрут по дням
   ───────────────────────────────────────────────────────────────────────── */

.days { display: grid; gap: clamp(20px, 3vw, 34px); margin: 0; padding: 0; list-style: none; }
.day {
  display: grid;
  grid-template-columns: minmax(72px, 96px) 1fr;
  gap: 0 clamp(14px, 2.5vw, 28px);
}
.day__num {
  font: 600 var(--step-2)/1 var(--font-display);
  color: var(--ice);
  border-top: 2px solid var(--ice);
  padding-top: .5rem;
}
.day__num span { display: block; font: 400 var(--step--1)/1.3 var(--font); color: var(--frost-mute); margin-top: .3em; }
.day__points { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; border-top: var(--rule); padding-top: .5rem; }
.point {
  position: relative;
  padding: .9rem 1rem .9rem 1.1rem;
  background: var(--deep);
  border: var(--rule);
  border-radius: var(--r-sm);
}
.point__travel {
  display: block;
  margin: 0 0 .5rem;
  font-size: var(--step--1);
  color: var(--frost-mute);
}
.point__place { margin: 0 0 .2rem; font: 600 var(--step-1)/1.25 var(--font-display); }
.point__place a { color: var(--frost); text-decoration: none; }
.point__place a:hover { color: var(--ice); }
.point__act { margin: 0; color: var(--sun); font-size: var(--step--1); font-weight: 600; }
.point__note { margin: .4rem 0 0; color: var(--frost-dim); font-size: var(--step--1); max-width: var(--measure); }
.point__stay { margin: .4rem 0 0; font-size: var(--step--1); color: var(--frost-mute); }

/* ─────────────────────────────────────────────────────────────────────────
   11. 404 — осмысленный выход, а не тупик
   ───────────────────────────────────────────────────────────────────────── */

.gone { padding: clamp(40px, 10vh, 120px) 0 0; }
.gone__code {
  font: 600 clamp(4rem, 18vw, 11rem)/1 var(--font-display);
  letter-spacing: -.05em;
  color: var(--deep-2);
  margin: 0;
}
.gone h1 { margin: -.2em 0 .3em; }
.gone p { max-width: var(--measure); color: var(--frost-dim); font-size: var(--step-1); line-height: 1.5; }

/* ─────────────────────────────────────────────────────────────────────────
   12. Мелочи
   ───────────────────────────────────────────────────────────────────────── */

.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.tags a {
  display: inline-flex;
  padding: .3em .75em;
  font-size: var(--step--1);
  text-decoration: none;
  color: var(--frost-dim);
  background: var(--deep-2);
  border-radius: 999px;
}
.tags a:hover { color: var(--ice); }

.attrib {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: var(--rule);
  font-size: var(--step--1);
  color: var(--frost-mute);
  max-width: var(--measure);
}
.attrib a { color: var(--frost-dim); }

.pill-link {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .5em 1em;
  border: 1px solid var(--deep-2);
  border-radius: 999px;
  text-decoration: none;
  color: var(--frost);
  font-size: var(--step--1);
}
.pill-link:hover { border-color: var(--ice); color: var(--ice); }

/* ─────────────────────────────────────────────────────────────────────────
   12б. Указатели, посадочные по занятиям, план
   ───────────────────────────────────────────────────────────────────────── */

/* Карточка занятия и карточка маршрута — та же .card, но без фото:
   у занятия главное не картинка, а сезон и нагрузка. */
.card--act { border-left: 3px solid var(--sun); }
.card--route { border-left: 3px solid var(--ice); }
.card__seasons { margin-top: .1rem; }
.card__price { margin: 0; }

/* «Сейчас такой-то месяц»: сезонный контекст занятия */
.season-now {
  margin: 1.4rem 0 0;
  padding: .7em 1em;
  border-radius: var(--r-sm);
  font-size: var(--step--1);
  max-width: var(--measure);
  background: var(--deep);
  border: var(--rule);
}
.season-now--yes { border-left: 3px solid var(--ok); }
.season-now--no { border-left: 3px solid var(--sig); color: var(--frost-dim); }

.facts__note {
  margin: .8rem 0 0;
  font-size: var(--step--1);
  color: var(--frost-mute);
  max-width: var(--measure);
}
.facts dd .facts__price { font: inherit; color: var(--sun); }
.facts dd .facts__price.nodata { font: italic 400 var(--step-0)/1.3 var(--font); color: var(--frost-mute); }

/* Постраничность указателей */
.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: clamp(28px, 5vw, 56px);
  padding-top: 1.2rem;
  border-top: var(--rule);
}
.pager__pos { font-size: var(--step--1); color: var(--frost-mute); }

/* Пункт плана: у него, в отличие от точки маршрута, есть тип */
.point__type {
  display: inline-block;
  margin: 0 0 .35rem;
  font-size: var(--step--1);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--frost-mute);
}
.point--travel { border-style: dashed; background: transparent; }
.point--travel .point__type { color: var(--ice); }
.point--stay { border-left: 3px solid var(--ice-deep); }
.point--food .point__type { color: var(--sun); }
.point--note { background: transparent; border-style: dashed; }
.point__price { color: var(--sun); font-weight: 600; }
.point__price.nodata { color: var(--frost-mute); font-weight: 400; }

/* Схема маршрута: та же коробка, что и карта места */
.route-map { aspect-ratio: 16 / 9; }

/* Строка «что взять»: markdown внутри правой колонки */
.row--gear { grid-template-columns: minmax(140px, 220px) 1fr; align-items: start; }
.row--gear .row__note { grid-column: auto; }
.row--gear .row__note ul { margin: 0; padding-left: 1.2em; }

.gone code {
  font-size: .92em;
  background: var(--deep-2);
  padding: .1em .4em;
  border-radius: 4px;
}

/* ─────────────────────────────────────────────────────────────────────────
   13. Мобильный
   ───────────────────────────────────────────────────────────────────────── */

@media (max-width: 720px) {
  .hero__media { aspect-ratio: 4 / 3; }
  .hero--over .hero__body { margin-top: -22%; }
  .site-head { padding: .8rem 0; }
  .site-head__nav { margin-left: 0; flex-basis: 100%; gap: .2rem 1rem; overflow-x: auto; }
  .day { grid-template-columns: 1fr; gap: .8rem; }
  .day__num { display: flex; align-items: baseline; gap: .6em; border-top: 2px solid var(--ice); }
  .day__num span { margin: 0; }
  .row, .way { grid-template-columns: 1fr; }
  .row__price, .way__time { justify-self: start; }
  .act { grid-template-columns: 1fr; }
  .act__seasons { grid-column: 1; grid-row: auto; justify-self: start; }
  .exc__meta { margin-left: 0; flex-basis: 100%; }
  .row--gear { grid-template-columns: 1fr; }
  .pager { justify-content: space-between; }
}

@media print {
  .site-head__nav, .exc__controls, .place-map { display: none; }
  body { background: #fff; color: #000; }
}
