/* amberinfo, тема «Путевой дневник» (вариант 3, выбран владельцем 2026-10-23).
   Источник - макет layout/concepts/2026-10-23-blog (core.css + v3.css).
   Шапка: бургер слева, рыцарь по центру, поиск справа, белая, 92 px и 72 px; меню на весь экран.
   Внешних запросов нет: шрифты Rubik и Caveat лежат в fonts/ (OFL). */

/* ---------- Шрифты: файлы лежат рядом, внешних запросов нет ---------- */
@font-face { font-family: "Rubik"; src: url("../fonts/rubik-cyrillic-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Rubik"; src: url("../fonts/rubik-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat-cyrillic-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Основа ---------- */
:root {
  --hdr-h: 92px;
  --gut: 48px;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sbw: 0px;
}
@media (max-width: 992px) { :root { --hdr-h: 72px; --gut: 24px; } }
@media (max-width: 400px) { :root { --gut: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
/* плавная прокрутка по якорям - только после загрузки (модификатор page_ready ставит theme.js): иначе при перезагрузке
   браузер плавно «едет» сверху к прежнему месту на странице (владелец, 2026-10-24) */
@media (prefers-reduced-motion: no-preference) { .page_ready { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--hdr-h);
  overflow-x: clip;
}
.page__body_locked { overflow: hidden; padding-right: var(--sbw); }
/* пока меню открыто, полосы прокрутки нет: шапка остаётся прежней ширины, логотип и кнопки не сдвигаются */
.page__body_locked .header { right: var(--sbw); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
/* только стиль переноса: шорткод text-wrap сбросил бы white-space: nowrap у родителя */
h1, h2, h3 { text-wrap-style: balance; }
p, li, dd, figcaption { text-wrap-style: pretty; }
:focus-visible { outline: 2px solid var(--focus, currentColor); outline-offset: 3px; }
.icon { width: 1em; height: 1em; flex: none; }
/* не разрываются: два последних слова абзаца (amber_glue_para / glue_para), диапазоны чисел и слова через дефис
   до 20 знаков (amber_nobr_hyphens / nobr_hyphens). В крупных заголовках склейка снята: там свои переносы,
   а склеенное слово кеглем 28-48 px на 360 px может не влезть в строку */
.nobr { white-space: nowrap; }
.hero__title .nobr, .page-head__title .nobr, .article__title .nobr, .term-head__title .nobr, .section__title .nobr, .route-card__title .nobr { white-space: normal; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: 8px; z-index: 200; padding: 8px 16px; background: #fff; color: #111; border-radius: 8px; transform: translateY(-200%); transition: transform .2s ease; }
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- Карточка целиком одна ссылка: ссылка на заголовке растянута на карточку ---------- */
[data-card] { position: relative; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-link:focus-visible { outline: none; }
[data-card]:has(.card-link:focus-visible) { outline: 2px solid var(--focus, currentColor); outline-offset: 4px; }

/* ---------- Шапка: белая, 92 px (владелец, 2026-10-24); бургер и поиск - круглые кнопки с рукописной подписью ---------- */
.header { position: fixed; inset: 0 0 auto 0; height: var(--hdr-h); z-index: 60; transition: transform .3s ease; }
/* прокрутка вниз - шапка уезжает вверх, прокрутка вверх - возвращается (модификатор page_header-hidden ставит theme.js; владелец, 2026-10-24) */
.page_header-hidden .header { transform: translateY(-100%); }
.header::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--hdr-bg); border-bottom: 1px solid var(--hdr-line); box-shadow: 0 6px 20px rgba(43, 38, 32, .05);
}
.header__inner { position: relative; z-index: 1; height: 100%; max-width: 1760px; margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; justify-content: space-between; }
/* кнопка - вся высота шапки до края экрана, видимая часть - кружок и подпись */
.header__burger, .header__search { display: flex; align-items: center; gap: 12px; height: 100%; color: var(--text); }
.header__burger { margin-left: calc(var(--gut) * -1); padding: 0 16px 0 var(--gut); }
.header__search { margin-right: calc(var(--gut) * -1); padding: 0 var(--gut) 0 16px; }
.header__button { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 2px solid var(--text); border-radius: 50%; background-color: transparent; color: var(--text); transition: background-color var(--t), border-color var(--t), color var(--t); }
.header__icon { width: 18px; height: 18px; }
.page__body_menu-open .header__button_burger { background-color: var(--brick); border-color: var(--brick); color: var(--card); }
.header__burger:focus-visible, .header__search:focus-visible { outline: none; }
.header__burger:focus-visible .header__button, .header__search:focus-visible .header__button { outline: 2px solid var(--focus); outline-offset: 3px; }
/* подпись рукой: «меню» и «закрыть» в одной ячейке, сменяются плавно, ширина кнопки не прыгает */
.header__note { display: grid; color: var(--brick); font-family: var(--font-hand); font-size: 24px; font-weight: 600; line-height: 1; text-align: left; white-space: nowrap; }
.header__note-text { grid-area: 1 / 1; transition: opacity .3s ease; }
.header__note-close, .page__body_menu-open .header__note-open { opacity: 0; }
.page__body_menu-open .header__note-close { opacity: 1; }
/* три строчки разной длины, как в дневнике; при наведении выравниваются, в открытом меню - крестик */
.header__lines { position: relative; display: block; width: 18px; height: 12px; }
.header__lines::before, .header__lines::after, .header__line {
  content: ""; position: absolute; left: 0; height: 2px; border-radius: 2px; background-color: currentColor;
  transition: transform .3s ease, width .3s ease, opacity .3s ease;
}
.header__lines::before { top: 0; width: 18px; }
.header__line { top: 5px; width: 12px; }
.header__lines::after { top: 10px; width: 15px; }
/* наведение только там, где есть мышь: на телефоне заливка не залипает после касания */
@media (hover: hover) {
  .header__burger:hover .header__button, .header__search:hover .header__button { background-color: var(--brick); border-color: var(--brick); color: var(--card); }
  .header__burger:hover .header__line, .header__burger:hover .header__lines::after { width: 18px; }
}
.page__body_menu-open .header__lines::before { transform: translateY(5px) rotate(45deg); }
.page__body_menu-open .header__lines::after { width: 18px; transform: translateY(-5px) rotate(-45deg); }
.page__body_menu-open .header__line { opacity: 0; }
/* рыцарь в круге - в шапке и в подвале (владелец, 2026-10-25): низ бюста упирается в край круга, над шлемом зазор.
   Круг в единицах logo.svg (1072x1072): центр 535,5;475, радиус 485 - чуть меньше дуги низа бюста (565), поэтому края бюста срезаны кругом */
.header__logo-image, .footer__mark-image, .side-card__mark-image { position: absolute; max-width: none; width: 110.515%; left: -5.206%; top: 1.031%; }
.header__logo { position: absolute; left: 50%; top: 8px; height: calc(100% - 16px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--bg-alt); transform: translateX(-50%); }
@media (max-width: 992px) {
  .header__note { font-size: 22px; }
}
@media (max-width: 640px) {
  .header__note { display: none; }
  /* на телефоне поиск слева, меню справа (владелец, 2026-10-25); кнопка по-прежнему до края экрана */
  .header__search { order: -1; margin-right: 0; margin-left: calc(var(--gut) * -1); padding: 0 8px 0 var(--gut); }
  .header__burger { order: 1; margin-left: 0; margin-right: calc(var(--gut) * -1); padding: 0 var(--gut) 0 8px; }
}
/* полоска прочитанного под шапкой (страница статьи) */
/* полоска - сразу под шапкой: когда шапка уехала, полоска остаётся у верхнего края экрана */
.progress { position: absolute; left: 0; right: 0; top: 100%; height: 3px; z-index: 2; pointer-events: none; }
.progress__bar { display: block; height: 100%; width: 100%; transform-origin: left center; transform: scaleX(var(--read, 0)); background: var(--progress, var(--accent)); }

/* ---------- Меню на весь экран (механика как сейчас: выезжает сверху, затем проявляется) ---------- */
.menu {
  position: fixed; inset: 0; z-index: 50;
  border-top: var(--hdr-h) solid var(--menu-top, var(--menu-bg));
  background: var(--menu-bg); color: var(--menu-text);
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-100%);
  transition: opacity .4s ease, transform .4s ease, visibility 0s linear .4s;
}
.menu_open { opacity: 1; visibility: visible; transform: none; transition: opacity .4s ease, transform .4s ease, visibility 0s; }
/* у страницы была полоса прокрутки - меню держит место под неё: содержимое меню стоит там же, где содержимое страницы */
.page__body_scrollbar .menu { scrollbar-gutter: stable; }
.menu__inner { min-height: 100%; opacity: 0; transition: opacity .4s ease; }
.menu_open .menu__inner { opacity: 1; transition-delay: .3s; }
@media (max-width: 992px) { .menu { transform: none; } }
@media (prefers-reduced-motion: reduce) { .menu, .menu_open, .menu__inner { transition-duration: .01s; transition-delay: 0s; } }

/* ---------- Слайдеры Swiper: свои кнопки ---------- */
.swiper { overflow: hidden; }
.slider-nav { display: flex; gap: 8px; }
.slider-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--text); background-color: transparent;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, opacity .25s ease; }
.slider-button__icon { width: 20px; height: 20px; }
/* наведение - только там, где есть мышь: на телефоне после касания кнопка не остаётся «наведённой» (ревью 2026-10-25, R4) */
@media (hover: hover) { .slider-button:hover { background-color: var(--text); color: var(--bg); border-color: var(--text); } }
.slider-button.swiper-button-disabled { opacity: .35; cursor: default; pointer-events: none; }
.slider-button.swiper-button-lock { display: none; }


/* Вариант 3 «Путевой дневник»: предлагаемые цвета края (бумага #f6f0e4, кирпич Кёнигсберга #a63f27,
   сосна #2f4b3f, янтарь #f2a541, морское стекло #3b6b78), шрифты Rubik и рукописный Caveat.
   Открытки, марки рубрик, пунктир маршрута, рыцарь-проводник. */
:root {
  --bg: #fff; /* страницы белые (владелец, 2026-10-24: «весь сайт в белом тоне») */
  --bg-alt: #f6f0e4; /* бежевый: секции .paper и меню */
  --card: #fffdf8;
  --text: #2b2620;
  --text-dim: #5e554a;
  --text-article: #1b1b1b; /* текст статьи (владелец, 2026-10-24) */
  --line: rgba(43, 38, 32, .16);
  --brick: #a63f27;
  --pine: #2f4b3f;
  --amber: #f2a541;
  --sea: #3b6b78;
  --accent: #f2a541;
  --focus: #a63f27;
  --font-body: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hand: "Caveat", "Comic Sans MS", cursive;
  --hdr-bg: #fff; /* шапка белая (владелец, 2026-10-24) */
  --hdr-line: rgba(43, 38, 32, .1);
  --menu-bg: var(--bg-alt);
  --menu-top: var(--hdr-bg); /* полоса меню под шапкой: справа видна, пока шапка уже на ширину полосы прокрутки */
  --menu-text: #2b2620;
  --progress: #a63f27;
  --shadow: 0 1px 2px rgba(43, 38, 32, .08), 0 10px 26px rgba(43, 38, 32, .1);
  --shadow-up: 0 2px 4px rgba(43, 38, 32, .08), 0 18px 40px rgba(43, 38, 32, .16);
  --t: .28s ease;
}
h1, h2, h3 { font-weight: 700; letter-spacing: -.01em; }
.hand { font-family: var(--font-hand); font-weight: 600; color: var(--brick); line-height: 1.1; }
.tape { position: absolute; width: 92px; height: 26px; background: rgba(242, 165, 65, .62); box-shadow: 0 1px 2px rgba(43, 38, 32, .1); z-index: 2; pointer-events: none; }

/* ---------- Общие элементы ---------- */
.section { margin-top: 96px; }
.paper { padding: 80px 0 88px; background-color: var(--bg-alt); }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; margin-bottom: 36px; }
.section__title { font-size: 40px; line-height: 1.1; }
.section__hand { font-size: 28px; transform: rotate(-2deg); }
.section__head .slider-nav { margin-left: auto; }
.section__more { display: flex; justify-content: center; margin-top: 44px; }
/* «Смотреть все статьи» под «Ещё статьями» - у левого края (владелец, 2026-10-26) */
.section__more_align_left { justify-content: flex-start; margin-top: 36px; }
.slider-button { border: 2px solid var(--text); }
@media (hover: hover) { .slider-button:hover { background-color: var(--brick); border-color: var(--brick); color: var(--card); } }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 30px; border: 2px solid var(--brick); border-radius: 999px; background-color: var(--brick); color: var(--card); font-size: 16px; font-weight: 600; transition: background-color var(--t), border-color var(--t), color var(--t); }
.button:hover { background-color: var(--pine); border-color: var(--pine); }
.button_outline { background-color: transparent; color: var(--brick); }
.button_outline:hover { background-color: var(--brick); border-color: var(--brick); color: var(--card); }

.crumbs__list { display: flex; flex-wrap: wrap; gap: 6px; color: var(--text-dim); font-size: 14px; }
.crumbs__item:not(:last-child)::after { content: "→"; margin-left: 6px; color: var(--brick); }
.crumbs__link { transition: color var(--t); }
.crumbs__link:hover { color: var(--brick); }
.crumbs__item_current { color: var(--brick); }

.search-form { display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 6px 0 20px; border: 2px solid var(--text); border-radius: 999px; background-color: var(--card); transition: border-color var(--t), box-shadow var(--t); }
.search-form:focus-within { border-color: var(--brick); box-shadow: 0 0 0 4px rgba(242, 165, 65, .35); }
.search-form__icon { width: 20px; height: 20px; color: var(--brick); }
.search-form__input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font-size: 17px; outline: none; }
.search-form__input::placeholder { color: #7a6f62; }
.search-form__button { height: 44px; padding: 0 20px; border-radius: 999px; background-color: var(--brick); color: var(--card); font-weight: 600; transition: background-color var(--t); }
.search-form__button:hover { background-color: var(--pine); }

/* ---------- Главная: обложка с рыцарем ---------- */
.hero { padding: 40px 0 24px; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero__hand { font-size: 32px; transform: rotate(-2deg); transform-origin: left; }
.hero__title { margin-top: 14px; font-size: clamp(34px, 3.4vw, 46px); line-height: 1.04; letter-spacing: -.025em; }
.hero__lead { max-width: 560px; margin: 18px 0 28px; color: var(--text-dim); font-size: 19px; }
.hero__search { max-width: 560px; }
.hero__start { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 10px; margin-top: 18px; }
.hero__start-label { font-size: 26px; }
.hero__start-link { padding: 5px 14px; border: 2px dashed rgba(47, 75, 63, .45); border-radius: 999px; color: var(--pine); font-size: 15px; font-weight: 600; transition: background-color var(--t), border-color var(--t), color var(--t); }
.hero__start-link:hover { background-color: var(--pine); border-color: var(--pine); color: var(--card); }
.hero__art { position: relative; height: 560px; }
.hero__path { position: absolute; left: 0; top: 10px; width: 92%; height: auto; color: var(--brick); opacity: .7; }
.hero__card { position: absolute; width: 230px; padding: 10px 10px 4px; background-color: var(--card); box-shadow: var(--shadow); transition: transform var(--t), box-shadow var(--t); }
.hero__card-image { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero__tape { top: -12px; left: 50%; margin-left: -46px; transform: rotate(-4deg); }
.hero__caption { padding: 4px 2px; font-family: var(--font-hand); font-size: 24px; font-weight: 600; text-align: center; }
.hero__card_index_1 { left: 0; top: 60px; transform: rotate(-6deg); }
.hero__card_index_2 { left: 30%; top: 0; transform: rotate(4deg); }
.hero__card_index_1:hover { transform: rotate(-3deg) translateY(-4px); box-shadow: var(--shadow-up); }
.hero__card_index_2:hover { transform: rotate(2deg) translateY(-4px); box-shadow: var(--shadow-up); }
.hero__knight { position: absolute; right: 2%; bottom: 0; width: 300px; height: auto; filter: drop-shadow(0 12px 18px rgba(43, 38, 32, .18)); pointer-events: none; }

/* ---------- Открытки ---------- */
.postcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 36px; }
.swiper-slide { height: auto; }
.postcard { --tilt: -1deg; display: flex; flex-direction: column; height: 100%; padding: 12px 12px 22px; border-radius: 6px; background-color: var(--card); box-shadow: var(--shadow); transform: rotate(var(--tilt)); transition: transform var(--t), box-shadow var(--t); }
.postcards__item:nth-child(3n+2), .swiper-slide:nth-child(3n+2) .postcard { --tilt: .9deg; }
.postcards__item:nth-child(3n), .swiper-slide:nth-child(3n) .postcard { --tilt: -.4deg; }
.postcard:hover { transform: rotate(0deg) translateY(-6px); box-shadow: var(--shadow-up); }
.postcard__photo { position: relative; }
.postcard__image { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; }
/* марка рубрики - своя ссылка на рубрику поверх растянутой ссылки карточки.
   Обратный наклон гасит наклон открытки: марка стоит прямо, повёрнутый текст на ПК не смазывается;
   при наведении прямыми становятся и открытка, и марка, переходы одинаковые - марка не качается (владелец, 2026-10-24) */
.postcard__stamp { position: absolute; top: -18px; right: -10px; z-index: 2; padding: 5px; background: radial-gradient(circle, transparent 2.4px, var(--card) 2.9px) -4px -4px / 8px 8px; filter: drop-shadow(0 2px 3px rgba(43, 38, 32, .25)); transform: rotate(calc(var(--tilt) * -1)); transition: transform var(--t); }
.postcard:hover .postcard__stamp { transform: rotate(0deg); }
.postcard__stamp-inner { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; background-color: var(--pine); color: var(--card); font-size: 12px; font-weight: 600; line-height: 1.2; white-space: nowrap; transition: background-color var(--t); }
.postcard__stamp-icon { width: 15px; height: 15px; }
.postcard__stamp:hover .postcard__stamp-inner { background-color: var(--brick); }
.postcard__postmark { position: absolute; left: 14px; bottom: -26px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 66px; height: 66px; border: 2px dashed var(--brick); border-radius: 50%; background: rgba(255, 253, 248, .94); color: var(--brick); font-family: var(--font-hand); font-size: 17px; font-weight: 600; line-height: .9; transform: rotate(-12deg); }
.postcard__day { font-size: 28px; }
/* дата и время чтения прижаты к низу открытки: в ряду открыток они стоят на одной линии (владелец, 2026-10-24) */
.postcard__body { display: flex; flex: 1; flex-direction: column; padding: 34px 6px 0; }
.postcard__title { font-size: 20px; line-height: 1.28; font-weight: 600; }
.postcard__link { transition: color var(--t); }
.postcard:hover:not(:has(.postcard__stamp:hover)) .postcard__link { color: var(--brick); }
.postcard__text { margin-top: 8px; color: var(--text-dim); font-size: 15px; line-height: 1.55; }
.postcard__meta { margin-top: auto; padding-top: 10px; color: var(--text-dim); font-size: 13px; }

/* ---------- Подборки-маршруты ---------- */
.route-cards { display: grid; gap: 28px; }
.route-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: 36px; align-items: center; padding: 28px 32px; border-radius: 20px; background-color: var(--card); box-shadow: var(--shadow); transition: box-shadow var(--t), transform var(--t); }
.route-card:hover { box-shadow: var(--shadow-up); transform: translateY(-3px); }
.route-card__hand { color: var(--brick); font-family: var(--font-hand); font-size: 24px; font-weight: 600; }
.route-card__title { margin-top: 2px; font-size: 28px; line-height: 1.15; }
.route-card__link { transition: color var(--t); }
.route-card:hover .route-card__link { color: var(--brick); }
.route-card__desc { margin-top: 8px; color: var(--text-dim); font-size: 15px; }
.route-card__go { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 14px; color: var(--brick); font-size: 15px; font-weight: 600; }
.route-card__go-icon { transition: transform var(--t); }
.route-card:hover .route-card__go-icon { transform: translateX(4px); }
.route-card__stops { position: relative; display: flex; justify-content: space-between; gap: 8px; }
.route-card__stops::before { content: ""; position: absolute; left: 44px; right: 44px; top: 44px; border-top: 3px dashed rgba(166, 63, 39, .5); }
.route-card__stop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 120px; text-align: center; }
.route-card__stop-image { width: 88px; height: 88px; object-fit: cover; border: 5px solid var(--card); border-radius: 50%; box-shadow: 0 4px 12px rgba(43, 38, 32, .2); }
.route-card__stop-name { font-family: var(--font-hand); font-size: 22px; font-weight: 600; line-height: 1; }

/* ---------- Марки рубрик ---------- */
.stamps { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 28px 16px; }
.stamp { --r: -2deg; display: block; height: 100%; padding: 7px; background: radial-gradient(circle, transparent 3.2px, var(--card) 3.8px) -6px -6px / 12px 12px; filter: drop-shadow(0 4px 8px rgba(43, 38, 32, .16)); transform: rotate(var(--r)); transition: transform var(--t); }
.stamps__item:nth-child(even) .stamps__stamp { --r: 2deg; }
.stamp:hover { transform: rotate(0deg) scale(1.04); }
.stamp__inner { display: flex; flex-direction: column; gap: 6px; height: 100%; min-height: 150px; padding: 16px 14px 14px; background: var(--pine); color: var(--card); outline: 1px solid rgba(255, 253, 248, .4); outline-offset: -6px; }
.stamp_tone_1 .stamp__inner { background: var(--brick); }
.stamp_tone_2 .stamp__inner { background: var(--sea); }
.stamp_tone_3 .stamp__inner { background: var(--amber); color: var(--text); outline-color: rgba(43, 38, 32, .25); }
.stamp__icon { width: 34px; height: 34px; margin-bottom: auto; }
.stamp__name { font-size: 18px; line-height: 1.2; font-weight: 600; }
.stamp__count { font-family: var(--font-hand); font-size: 20px; font-weight: 600; line-height: 1; white-space: nowrap; }

/* ---------- Дневник: ещё записи ---------- */
.entry { display: grid; grid-template-columns: 90px minmax(0, 1fr) 170px; gap: 28px; align-items: center; padding: 26px 0; border-top: 2px dashed var(--line); }
.entry__date { color: var(--brick); font-family: var(--font-hand); font-size: 22px; font-weight: 600; line-height: .9; text-align: center; }
.entry__day { display: block; font-size: 52px; }
.entry__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; color: var(--text-dim); font-size: 13px; }
.entry__rubric { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; color: var(--pine); font-weight: 600; transition: color var(--t); }
.entry__rubric:hover { color: var(--brick); }
.entry__title { margin-top: 6px; font-size: 22px; line-height: 1.25; font-weight: 600; }
.entry__link { transition: color var(--t); }
.entry:hover:not(:has(.entry__rubric:hover)) .entry__link { color: var(--brick); }
.entry__text { margin-top: 6px; color: var(--text-dim); font-size: 15px; }
.entry__image { width: 170px; aspect-ratio: 3 / 2; object-fit: cover; border: 6px solid var(--card); box-shadow: var(--shadow); transform: rotate(2deg); transition: transform var(--t); }
.entry:hover .entry__image { transform: rotate(0deg); }

/* ---------- Подвал ---------- */
.footer { margin-top: 112px; background-color: var(--pine); color: rgba(255, 253, 248, .78); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer__logo { display: inline-flex; align-items: center; gap: 12px; }
.footer__mark { position: relative; flex: none; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--card); }
.footer__word { color: var(--card); font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.footer__word-accent { color: var(--amber); transition: color var(--t); }
.footer__logo:hover .footer__word-accent { color: var(--card); }
.footer__text { max-width: 340px; margin-top: 16px; }
.footer__hand { margin-top: 12px; color: var(--amber); font-family: var(--font-hand); font-size: 28px; font-weight: 600; transform: rotate(-2deg); transform-origin: left; }
.footer__title { margin-bottom: 10px; color: var(--amber); font-family: var(--font-hand); font-size: 26px; font-weight: 600; }
.footer__item + .footer__item { margin-top: 8px; }
.footer__link { transition: color var(--t); }
.footer__link:hover { color: var(--amber); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 28px; border-top: 2px dashed rgba(255, 253, 248, .2); font-size: 14px; }

/* ---------- Меню: маршрут по рубрикам и рыцарь ---------- */
/* сетка меню (владелец, 2026-10-24): слева поиск и рубрики, справа напротив поиска «О проекте» и «Контакты», под ними подборки */
.menu__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); grid-template-areas: "hand ." "search links" "nav side"; column-gap: 72px; align-items: start; padding-top: 36px; padding-bottom: 56px; }
.menu__nav { grid-area: nav; }
.menu__side { grid-area: side; }
.menu__hand { grid-area: hand;  color: var(--brick); font-family: var(--font-hand); font-size: 46px; font-weight: 600; line-height: 1; transform: rotate(-2deg); transform-origin: left; }
.menu__search { grid-area: search; max-width: 620px; margin: 20px 0 28px; }
.menu__trail-item { position: relative; }
.menu__trail-item:not(:last-child)::before { content: ""; position: absolute; left: 22px; top: 52px; bottom: -6px; border-left: 3px dashed rgba(166, 63, 39, .45); }
.menu__stop { display: grid; grid-template-columns: 48px auto minmax(0, 1fr); align-items: center; column-gap: 18px; padding: 6px 0 14px; }
.menu__pin { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 3px solid var(--card); border-radius: 50%; background-color: var(--amber); color: var(--text); box-shadow: 0 3px 8px rgba(43, 38, 32, .18); transition: background-color var(--t), color var(--t); }
.menu__pin-icon { width: 22px; height: 22px; }
.menu__name { font-size: 30px; line-height: 1.15; font-weight: 700; transition: color var(--t), transform var(--t); }
.menu__count { color: var(--text-dim); font-family: var(--font-hand); font-size: 24px; font-weight: 600; white-space: nowrap; }
.menu__stop:hover .menu__pin, .menu__stop:focus-visible .menu__pin { background-color: var(--brick); color: var(--card); }
.menu__stop:hover .menu__name, .menu__stop:focus-visible .menu__name { color: var(--brick); transform: translateX(6px); }
.menu__label { margin: 0 0 12px; color: var(--brick); font-family: var(--font-hand); font-size: 28px; font-weight: 600; }
.menu__colls-item + .menu__colls-item { margin-top: 10px; }
.menu__coll { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 14px; font-size: 17px; font-weight: 600; transition: color var(--t); }
.menu__coll-image { width: 64px; height: 64px; object-fit: cover; border: 4px solid var(--card); box-shadow: 0 3px 8px rgba(43, 38, 32, .18); transform: rotate(-4deg); transition: transform var(--t); }
.menu__coll:hover { color: var(--brick); }
.menu__coll:hover .menu__coll-image { transform: rotate(0deg); }
/* в строку с полем поиска: тот же отступ сверху и та же высота 58 px */
/* «О проекте» и «Контакты» - крупно и жирно, заметнее (владелец, 2026-10-25: «пожирнее, побольше»), на телефоне так же */
.menu__links { grid-area: links; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; height: 58px; margin-top: 20px; font-size: 20px; font-weight: 700; line-height: 1.2; }
.menu__link { transition: color var(--t); }
.menu__link:hover { color: var(--brick); }
/* соцсети в меню - под подборками, только когда их нет в шапке (уже 768 px; владелец, 2026-10-25) */
.menu__social-block { display: none; margin-top: 28px; }
/* в меню значки заметнее (владелец, 2026-10-25): кружки с обводкой, как «Поделиться» */
.social_theme_outline { gap: 10px; }
.social_theme_outline .social__link { width: 46px; height: 46px; border-color: var(--text); background-color: var(--card); }
@media (hover: hover) {
  .social_theme_outline .social__link:hover { border-color: var(--brick); background-color: var(--brick); color: var(--card); }
}
@media (max-width: 767px) { .menu__social-block { display: block; } }

/* ---------- Статья ---------- */
.article__head { padding-top: 28px; }
.article__hand { margin-top: 26px; font-size: 30px; transform: rotate(-1.5deg); transform-origin: left; }
.article__title { max-width: 940px; margin-top: 10px; font-size: 50px; line-height: 1.08; letter-spacing: -.02em; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 22px; color: var(--text-dim); font-size: 15px; }
.article__meta-item { display: inline-flex; align-items: center; gap: 7px; }
.article__meta-icon, .article__collection-icon { width: 18px; height: 18px; }
.article__meta-icon { color: var(--brick); }
/* подборки со статьёй - плашками под текстом, перед «Поделиться» (владелец, 2026-10-25) */
.article__collections { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-bottom: 32px; font-size: 15px; }
.article__collection { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border: 2px dashed rgba(47, 75, 63, .5); border-radius: 999px; color: var(--pine); font-weight: 600; transition: background-color var(--t), border-color var(--t), color var(--t); }
.article__collection-icon { color: currentColor; }
.article__collection:hover { background-color: var(--pine); border-color: var(--pine); color: var(--card); }
.article__cover { margin-top: 36px; }
.article__cover-frame { position: relative; padding: 14px 14px 8px; background: var(--card); box-shadow: var(--shadow); transform: rotate(-.4deg); }
.article__cover-image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article__cover-caption { padding-top: 6px; color: var(--text-dim); font-family: var(--font-hand); font-size: 26px; font-weight: 600; text-align: center; }
.tape_side_left { top: -10px; left: -22px; transform: rotate(-35deg); }
.tape_side_right { top: -10px; right: -22px; transform: rotate(35deg); }

/* текст статьи слева шириной 800 px, оглавление справа, оба по краям контейнера, как обложка над ними (владелец, 2026-10-24);
   в разметке оглавление по-прежнему первым */
.article__layout { display: grid; grid-template-columns: minmax(0, 800px) 250px; column-gap: 72px; justify-content: space-between; margin-top: 56px; }
.article__main { grid-column: 1; grid-row: 1; }
/* оглавление липкое; не влезает по высоте - своя прокрутка с тонкой кирпичной полосой (владелец, 2026-10-24).
   Поля 6 px внутри и минус 6 px снаружи - место под рамку фокуса, текст стоит там же, где стоял */
.article__aside { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--hdr-h) + 22px); align-self: start; max-height: calc(100vh - var(--hdr-h) - 38px); overflow-y: auto; overscroll-behavior: contain; margin: -6px -12px -6px -6px; padding: 6px 12px 6px 6px; transition: top .3s ease, max-height .3s ease; }
/* шапка уехала - оглавление поднимается и занимает высоту экрана */
.page_header-hidden .article__aside { top: 22px; max-height: calc(100vh - 38px); }
/* своя полоса: кирпичная «таблетка» на пунктирной дорожке, как пунктир маршрута, без стрелок (Chrome, Safari) */
.article__aside::-webkit-scrollbar { width: 6px; }
.article__aside::-webkit-scrollbar-button { display: none; }
.article__aside::-webkit-scrollbar-track { background: repeating-linear-gradient(to bottom, rgba(166, 63, 39, .3) 0 5px, transparent 5px 10px) center / 2px 100% no-repeat; }
.article__aside::-webkit-scrollbar-thumb { border-radius: 999px; background-color: rgba(166, 63, 39, .6); }
/* Firefox не знает ::-webkit-scrollbar: тонкая кирпичная полоса стандартными свойствами */
@supports not selector(::-webkit-scrollbar) {
  .article__aside { scrollbar-width: thin; scrollbar-color: rgba(166, 63, 39, .6) transparent; }
}
.trail__title { margin-bottom: 14px; font-size: 28px; line-height: 31px; }
.trail__item { position: relative; }
.trail__item:not(:last-child)::before { content: ""; position: absolute; left: 13px; top: 32px; bottom: -2px; border-left: 2px dashed rgba(166, 63, 39, .4); }
.trail__link { position: relative; display: flex; gap: 12px; padding: 4px 0 14px; color: var(--text-article); font-size: 14px; line-height: 20px; transition: color var(--t); }
.trail__num { display: flex; flex: none; align-items: center; justify-content: center; width: 28px; height: 28px; margin-top: -4px; border: 2px dashed var(--brick); border-radius: 50%; background-color: var(--bg); color: var(--brick); font-size: 12px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; transition: background-color var(--t), color var(--t), border-color var(--t); }
.trail__link:hover { color: var(--brick); }
.trail__link_active, .trail__link_active:hover { color: var(--text-article); font-weight: 600; }
.trail__link_active .trail__num { border-style: solid; background-color: var(--brick); color: var(--card); }
.toc-mobile { display: none; }

.prose { color: var(--text-article); font-size: 18px; line-height: 1.72; }
.prose > p, .prose li > p { margin: 0 0 20px; }
/* лид - заметка на полях: бежевый листок, полоска скотча, подпись рукой; текст меньше и обычного начертания
   (владелец, 2026-10-24: «текст поменьше и оформим, чтобы выделялся») */
.prose__lead { position: relative; margin: 6px 0 44px; padding: 28px 30px 24px; border-radius: 4px; background-color: var(--bg-alt); }
.prose__tape { top: -12px; left: 30px; transform: rotate(-3deg); }
.prose__lead-hand { display: block; margin-bottom: 8px; color: var(--brick); font-family: var(--font-hand); font-size: 24px; font-weight: 600; line-height: 1.1; }
.prose__lead p { font-size: 17px; line-height: 1.65; }
.prose__lead p + p { margin-top: 12px; }
.prose h2 { margin: 60px 0 18px; font-size: 32px; line-height: 1.18; }
.prose h2::after { content: ""; display: block; width: 96px; height: 12px; margin-top: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 12'%3E%3Cpath d='M2 7c8-6 14 4 22-1s14-5 22 0 14 5 22 0 14-5 26 1' fill='none' stroke='%23f2a541' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; }
.prose .sources h2::after { display: none; }
.prose a:not(.card-link, [data-rubric]):not([href^="#"]) { color: var(--brick); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: rgba(166, 63, 39, .35); transition: text-decoration-color var(--t); }
.prose a:not(.card-link, [data-rubric]):not([href^="#"]):hover { text-decoration-color: var(--brick); }


.numbers { margin: 40px 0; }
.numbers__title { margin-bottom: 12px; color: var(--brick); font-family: var(--font-hand); font-size: 30px; font-weight: 600; }
.numbers__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.numbers__item { padding: 16px 18px; background: var(--card); filter: drop-shadow(0 3px 6px rgba(43, 38, 32, .12)); -webkit-mask: radial-gradient(circle 9px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat; mask: radial-gradient(circle 9px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat; border-top: 3px solid var(--amber); }
.numbers__value { color: var(--brick); font-size: 27px; line-height: 1.1; font-weight: 700; white-space: nowrap; }
.numbers__label { margin-top: 6px; color: var(--text-dim); font-size: 14px; line-height: 1.4; }


.callout { position: relative; margin: 36px 0 36px 84px; padding: 20px 24px; border: 2px solid var(--text); border-radius: 18px; background: var(--card); }
.callout_type_tip::before { content: ""; position: absolute; left: -86px; top: -4px; width: 66px; height: 66px; border: 3px solid var(--card); border-radius: 50%; background: rgba(242, 165, 65, .35) url("../img/logo.svg") center 60% / 82% no-repeat; box-shadow: 0 3px 10px rgba(43, 38, 32, .2); }
.callout_type_tip::after { content: ""; position: absolute; left: -11px; top: 24px; width: 18px; height: 18px; border-left: 2px solid var(--text); border-bottom: 2px solid var(--text); background: var(--card); transform: rotate(45deg); }
.callout__title { color: var(--brick); font-family: var(--font-hand); font-size: 30px; font-weight: 600; line-height: 1; }
.callout p:last-child { margin: 4px 0 0; }
.callout_type_note { margin-left: 0; border: 2px dashed var(--brick); background: rgba(166, 63, 39, .06); }
.callout_type_note .callout__title { font-family: var(--font-body); font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.table { margin: 40px 0; overflow-x: auto; border-radius: 12px; box-shadow: var(--shadow); }
.table table { width: 100%; min-width: 520px; border-collapse: collapse; background: var(--card); font-size: 16px; line-height: 1.45; }
.table caption { padding: 14px 18px 4px; background: var(--card); color: var(--brick); font-family: var(--font-hand); font-size: 28px; font-weight: 600; text-align: left; }
.table th { padding: 10px 16px; background: var(--pine); color: var(--card); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-align: left; text-transform: uppercase; }
.table td { padding: 14px 16px; border-bottom: 2px dashed var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table td:first-child { font-weight: 600; }

.figure { margin: 40px 0; padding: 12px 12px 6px; background: var(--card); box-shadow: var(--shadow); transform: rotate(.6deg); }
.figure img { width: 100%; }
.figure figcaption { padding-top: 6px; color: var(--text-dim); font-family: var(--font-hand); font-size: 24px; font-weight: 600; line-height: 1.1; text-align: center; }

.route { margin: 10px 0 30px; }
.route__stop { position: relative; padding-left: 56px; }
.route__stop::before { content: counter(list-item); position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding-top: .1em; border: 3px solid var(--card); border-radius: 50%; background: var(--amber); color: var(--text); font-size: 15px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; box-shadow: 0 3px 8px rgba(43, 38, 32, .18); }
.route__stop::after { content: ""; position: absolute; left: 18px; top: 44px; bottom: 8px; border-left: 3px dashed rgba(166, 63, 39, .45); }
.route__stop:last-child::after { display: none; }
.route__name { display: block; font-size: 20px; line-height: 1.35; }


.inline-card { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 18px; align-items: center; margin: 28px 0 32px; padding: 12px 18px 12px 12px; border-radius: 8px; background: var(--card); box-shadow: var(--shadow); transition: box-shadow var(--t), transform var(--t); }
.inline-card:hover { box-shadow: var(--shadow-up); transform: translateY(-3px); }
.inline-card__image { width: 130px; aspect-ratio: 3 / 2; object-fit: cover; transform: rotate(-2deg); }
.inline-card__label { color: var(--brick); font-family: var(--font-hand); font-size: 22px; font-weight: 600; line-height: 1.1; }
.inline-card__title { margin: 2px 0 4px; font-size: 17px; line-height: 1.35; font-weight: 600; }
.inline-card__link { transition: color var(--t); }
.inline-card:hover:not(:has(.inline-card__rubric:hover)) .inline-card__link { color: var(--brick); }
.inline-card__meta { color: var(--text-dim); font-size: 13px; }
.inline-card__rubric { position: relative; z-index: 2; color: var(--pine); font-weight: 600; transition: color var(--t); }
.inline-card__rubric:hover { color: var(--brick); }

.sources { margin-top: 56px; padding: 6px 24px 14px; border: 2px dashed var(--line); border-radius: 14px; }
.prose .sources h2 { margin-top: 18px; font-size: 22px; }
.sources ul { color: var(--text-dim); font-size: 14px; line-height: 1.55; }
.sources li { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.sources li:last-child { border-bottom: 0; }

.article__foot { margin-top: 44px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.share__label { color: var(--brick); font-family: var(--font-hand); font-size: 28px; font-weight: 600; }
.share__list { display: flex; gap: 8px; }
.share__button { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 2px solid var(--text); border-radius: 50%; background-color: var(--card); color: var(--text); transition: background-color var(--t), color var(--t), border-color var(--t); }
.share__icon { width: 20px; height: 20px; }
.share__button:hover { background-color: var(--brick); border-color: var(--brick); color: var(--card); }
.share__status { color: var(--text-dim); font-size: 14px; }


/* ---------- Подборка и рубрика: открытки вдоль маршрута ---------- */
.term-head { padding: 28px 0 8px; }
.term-head__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 20px; }
.term-head__hand { font-size: 32px; transform: rotate(-2deg); transform-origin: left; }
.term-head__title { margin-top: 8px; font-size: clamp(36px, 3.6vw, 52px); line-height: 1.04; letter-spacing: -.025em; }
/* описание рубрики и подборки - цветом текста статей (владелец, 2026-10-25) */
.term-head__desc { max-width: 560px; margin-top: 16px; color: var(--text-article); font-size: 19px; }
.term-head__count { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 6px 16px; border: 2px dashed rgba(47, 75, 63, .5); border-radius: 999px; color: var(--pine); font-weight: 600; }
.term-head__art { position: relative; height: 330px; }
.term-head__card { position: absolute; width: 46%; padding: 9px 9px 2px; background: var(--card); box-shadow: var(--shadow); }
.term-head__card-image { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.term-head__card-caption { padding: 4px 0; font-family: var(--font-hand); font-size: 22px; font-weight: 600; text-align: center; }
.term-head__card_index_1 { left: 0; top: 70px; transform: rotate(-7deg); }
.term-head__card_index_2 { left: 27%; top: 0; z-index: 1; transform: rotate(3deg); }
.term-head__card_index_3 { right: 0; top: 110px; transform: rotate(8deg); }
.term-head__tape { left: 44%; top: -8px; transform: rotate(-6deg); }

/* ---------- Адаптив ---------- */
@media (max-width: 1240px) {
  .article__layout { grid-template-columns: minmax(0, 720px); }
  .article__aside { display: none; }
  .toc-mobile { display: block; margin: 0 0 32px; border: 2px dashed var(--line); border-radius: 14px; background: var(--card); }
  .toc-mobile__summary { display: flex; align-items: center; gap: 10px; padding: 16px 18px; font-weight: 700; cursor: pointer; list-style: none; }
  .toc-mobile__summary::-webkit-details-marker { display: none; }
  .toc-mobile__icon, .toc-mobile__chevron { color: var(--brick); }
  .toc-mobile__count { color: var(--text-dim); font-family: var(--font-hand); font-size: 22px; font-weight: 600; }
  .toc-mobile__chevron { margin-left: auto; transition: transform var(--t); }
  .toc-mobile[open] .toc-mobile__chevron { transform: rotate(180deg); }
  .toc-mobile__list { padding: 4px 18px 10px; }
}
@media (max-width: 1100px) {
  .stamps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .route-card { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero__knight { width: 250px; }
}
@media (max-width: 992px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__art { height: 440px; max-width: 560px; }
  .postcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .menu__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "hand" "search" "links" "nav" "side"; padding-top: 24px; }
  .menu__links { height: auto; margin: -8px 0 24px; }
  .menu__side { margin-top: 24px; }
  .menu__name { font-size: 24px; }
  .term-head__grid { grid-template-columns: minmax(0, 1fr); }
  .term-head__art { display: none; } /* до 992 px коллажа нет (владелец, 2026-10-25) */
}
@media (max-width: 768px) {
  .section { margin-top: 64px; }
  .paper { padding: 56px 0 64px; }
  .section__title { font-size: 30px; }
  .section__hand { font-size: 24px; }
  .hero { padding-top: 24px; }
  .hero__hand { font-size: 27px; }
  .hero__title { font-size: 36px; }
  .hero__lead { font-size: 17px; }
  .hero__art { height: 360px; }
  .hero__card { width: 160px; }
  .hero__card_index_2 { left: 18%; }
  .hero__caption { font-size: 20px; }
  .hero__knight { width: 170px; right: -6px; }
  .route-card { padding: 22px 20px; }
  .route-card__title { font-size: 24px; }
  .route-card__stops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 8px; }
  .route-card__stops::before { display: none; }
  .route-card__stop { width: auto; }
  .route-card__stop-image { width: 76px; height: 76px; }
  .entry { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
  .entry__image { display: none; }
  .entry__day { font-size: 40px; }
  .entry__title { font-size: 19px; }
  .article__hand { font-size: 26px; }
  .article__title { font-size: 32px; line-height: 1.14; }
  .article__meta { gap: 8px 16px; font-size: 14px; }
  .article__cover { padding: 0 10px; }
  .article__cover-frame { padding: 8px 8px 4px; }
  .article__cover-image { aspect-ratio: 3 / 2; }
  .article__cover-caption { font-size: 22px; }
  .tape_side_left { left: -8px; }
  .tape_side_right { right: -8px; }
  .article__layout { margin-top: 36px; }
  .prose { font-size: 16px; line-height: 1.68; }
  .prose__lead { padding: 24px 20px 20px; }
  .prose__lead p { font-size: 16px; }
  .prose h2 { margin-top: 48px; font-size: 26px; }
  .numbers__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .callout { margin-left: 0; }
  .callout_type_tip { padding-top: 78px; }
  .callout_type_tip::before { left: 18px; top: 14px; width: 54px; height: 54px; }
  .callout_type_tip::after { display: none; }
  .figure { transform: none; }
  .inline-card { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .inline-card__image { width: 96px; }
  .sources { padding: 4px 16px 10px; }
  .term-head__title { font-size: 36px; }
  .term-head__desc { font-size: 17px; }
  .menu__hand { font-size: 38px; }
  .menu__name { font-size: 21px; }
  .menu__count { font-size: 20px; }
  .menu__stop { grid-template-columns: 44px minmax(0, 1fr); row-gap: 0; }
  .menu__pin { width: 44px; height: 44px; grid-row: span 2; }
  .menu__count { grid-column: 2; }
  .menu__trail-item:not(:last-child)::before { left: 20px; top: 48px; }
}
@media (max-width: 640px) {
  .postcards { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .stamps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .stamp__inner { min-height: 130px; padding: 14px 12px 12px; }
  .stamp__name { font-size: 16px; }
  .search-form__button { padding: 0 14px; }
}
.page__main:has(> .paper:last-child) + .footer { margin-top: 0; }
@media (max-width: 640px) {
  .postcard__stamp { right: -4px; }
}
@media (max-width: 400px) {
  .hero__title { font-size: 31px; }
}
@media (min-width: 993px) {
  .hero__nowrap { white-space: nowrap; }
}

/* ========== Дополнения темы (страницы, которых не было в макете) ========== */

/* ---------- Текст статьи: подзаголовки, списки, цитаты, картинки ---------- */
.prose h3 { margin: 36px 0 12px; font-size: 22px; line-height: 1.3; font-weight: 700; }
.prose strong { font-weight: 600; }
.prose > ul, .prose > ol:not(.route) { margin: 0 0 22px; }
.prose > ul > li, .prose > ol:not(.route) > li { position: relative; margin-bottom: 8px; padding-left: 28px; }
.prose > ul > li::before { content: ""; position: absolute; left: 6px; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.prose > ol:not(.route) > li::before { content: counter(list-item) "."; position: absolute; left: 0; top: 0; width: 20px; color: var(--brick); font-weight: 700; text-align: right; }
.prose blockquote { margin: 32px 0; padding: 18px 22px; border-left: 4px solid var(--amber); border-radius: 0 12px 12px 0; background: var(--card); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose .figure:nth-of-type(even) { transform: rotate(-.6deg); }
.prose .figure img { height: auto; }
.prose hr { margin: 40px 0; border: 0; border-top: 2px dashed var(--line); }

/* ---------- Шапка простых страниц: поиск, «О проекте», 404 ---------- */
.page-head { padding-top: 28px; }
.page-head__hand { margin-top: 24px; font-size: 30px; transform: rotate(-1.5deg); transform-origin: left; }
.page-head__title { max-width: 900px; margin-top: 8px; font-size: 48px; line-height: 1.08; letter-spacing: -.02em; }
.page-head__lead { max-width: 640px; margin-top: 14px; color: var(--text-dim); font-size: 18px; }
/* текстовые страницы (о проекте, контакты, политика, согласие): текст у левого края контейнера, вровень с крошками
   и заголовком, строка не шире 720 px (владелец, 2026-10-25: «текст не по центру, а по контейнеру») */
.page-content { margin-top: 40px; }
.page-content__item { max-width: 720px; }
.page-picture { position: relative; margin: 0 0 36px; padding: 12px 12px 6px; background: var(--card); box-shadow: var(--shadow); transform: rotate(-.8deg); }
.page-picture__image { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.page-picture__tape { top: -12px; left: 42%; transform: rotate(-4deg); }
.page-empty { color: var(--text-dim); font-family: var(--font-hand); font-size: 26px; font-weight: 600; }

/* ---------- Поиск ---------- */
.page-head__search { margin-top: 28px; max-width: 640px; }
.search-results__found { margin: 32px 0 8px; color: var(--text-dim); font-size: 15px; }
.search-results__empty { margin-top: 28px; padding: 24px 26px; border: 2px dashed var(--line); border-radius: 16px; background: var(--card); }
.search-results__hint { margin-top: 8px; }

/* ---------- 404 ---------- */
.not-found { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; margin-top: 36px; }
.not-found__search { max-width: 520px; margin: 24px 0 18px; }
.not-found__buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Постраничная навигация и «Показать ещё» ---------- */
.pager { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 48px; }
.pager__nav { display: flex; align-items: center; gap: 8px; }
.pager__pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pager__page, .pager__arrow { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 8px; border: 2px solid var(--line); border-radius: 999px; background-color: var(--card); font-weight: 600; transition: border-color var(--t), background-color var(--t), color var(--t); }
.pager__page_link:hover, .pager__arrow:hover { border-color: var(--brick); color: var(--brick); }
.pager__page_current { border-color: var(--brick); background-color: var(--brick); color: var(--card); }
.pager__page_dots { border-color: transparent; background-color: transparent; }
.pager__icon { width: 18px; height: 18px; }
.pager__arrow_off { opacity: .35; }
.pager__info { color: var(--text-dim); font-family: var(--font-hand); font-size: 22px; font-weight: 600; }
.button_loading { opacity: .6; pointer-events: none; }

/* ---------- Плашка про куки ---------- */
.cookie { position: fixed; right: 16px; bottom: 16px; z-index: 70; display: flex; flex-direction: column; align-items: stretch; gap: 14px; max-width: 440px; padding: 16px 18px; border: 2px solid var(--text); border-radius: 18px; background: var(--card); box-shadow: var(--shadow-up); font-size: 14px; line-height: 1.45; opacity: 1; transform: none; transition: opacity .3s ease, transform .3s ease; }
.cookie_hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }
.cookie__link { color: var(--brick); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(166, 63, 39, .35); transition: text-decoration-color var(--t); }
.cookie__link:hover { text-decoration-color: var(--brick); }
.cookie[hidden] { display: none; }
.cookie__text { font-size: 13px; text-wrap: pretty; }
.cookie__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie__button { flex: none; min-width: 124px; padding: 7px 18px; font-size: 14px; }

@media (max-width: 992px) {
  .not-found { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 768px) {
  .page-head__hand { font-size: 26px; }
  .page-head__title { font-size: 32px; line-height: 1.14; }
  .page-head__lead { font-size: 16px; }
  .page-content { margin-top: 28px; }
  .prose h3 { font-size: 19px; }
  .prose .figure:nth-of-type(even) { transform: none; }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
.section_first { margin-top: 40px; }
/* длинные слова в крупных заголовках переносятся, а не вылезают за экран («конфиденциальности» на 360 px) */
.page-head__title, .article__title, .term-head__title, .hero__title, .section__title { overflow-wrap: break-word; hyphens: auto; }
/* 993-1280 px: колонка картинки уже, рыцарь не должен закрывать подпись второй открытки */
@media (min-width: 993px) and (max-width: 1280px) {
  .hero__knight { width: 240px; }
  .hero__card_index_2 { left: 18%; }
}

/* ---------- Правки по ревью 2026-10-24 (layout/checks/review-variant3.md) ---------- */
/* R1: дата и время чтения в записи дневника не разрываются, «·» не начинает строку */
.entry__when { white-space: nowrap; }
/* R2: рамка фокуса на сосновом подвале - янтарём (кирпич на сосне даёт 1,5:1) */
.footer { --focus: var(--amber); }
/* R4: пока открыто меню, плашка куки не закрывает его нижние ссылки */
.page__body_menu-open .cookie { opacity: 0; visibility: hidden; transform: translateY(16px); pointer-events: none; transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s; }
/* R6: слайдер открыток оставляет место под марку, тень и рамку фокуса. Запас - под тень при наведении
   (карточка поднята на 6 px, тень 18 px вниз с размытием 40 px), чтобы края секции её не срезали.
   Сбоку 32 px на ПК. Шаг между открытками (theme.js: 40 px на ПК, 32 px на планшете) больше бокового запаса
   с учётом наклона: уголок наклонённой открытки выступает примерно на 5 px, соседняя открытка за краем не видна.
   До 992 px запас = поле страницы, слайдер доходит до краёв экрана. Снизу 44 px = отступ кнопки .section__more. */
.cards-slider { --sw-x: 32px; padding: 24px var(--sw-x) 44px; margin: -24px calc(var(--sw-x) * -1) -44px; }
@media (max-width: 992px) { .cards-slider { --sw-x: var(--gut); } }
/* R12: «уменьшить движение» - при наведении меняются только цвет и тень, без сдвигов и поворотов */
@media (prefers-reduced-motion: reduce) {
  .postcard:hover { transform: rotate(var(--tilt)); }
  .postcard:hover .postcard__stamp { transform: rotate(calc(var(--tilt) * -1)); }
  .header, .article__aside { transition-duration: .01s; }
  .route-card:hover, .inline-card:hover { transform: none; }
  .hero__card_index_1:hover { transform: rotate(-6deg); }
  .hero__card_index_2:hover { transform: rotate(4deg); }
  .entry:hover .entry__image { transform: rotate(2deg); }
  .stamp:hover { transform: rotate(var(--r)); }
  .menu__stop:hover .menu__name, .menu__stop:focus-visible .menu__name { transform: none; }
  .menu__coll:hover .menu__coll-image { transform: rotate(-4deg); }
  .route-card:hover .route-card__go-icon { transform: none; }
}
/* R3: адрес после названия остановки - в строке названия; название внутри фразы - без отдельной строки */
.route__where { color: var(--text-dim); font-size: .85em; font-weight: 400; }
.route__stop_inline .route__name { display: inline; font-size: inherit; }

/* ---------- Соцсети сайта в шапке и подвале (владелец, 2026-10-25: «левее от поиска, прижатым к поиску») ----------
   В шапке - знаки без рамки перед подписью «искать», чтобы кружок поиска оставался главным; при наведении
   кружок заливается кирпичным, как у бургера и поиска. В шапке на узком экране места нет - знаки только в подвале. */
.social { display: flex; align-items: center; gap: 4px; }
.social__link { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 2px solid transparent; border-radius: 50%; background-color: transparent; color: var(--text); transition: background-color var(--t), border-color var(--t), color var(--t); }
.social__icon { width: 20px; height: 20px; }
.header__social { margin-left: auto; }
@media (hover: hover) {
  .social_theme_light .social__link:hover { background-color: var(--brick); border-color: var(--brick); color: var(--card); }
}
@media (max-width: 767px) { .header__social { display: none; } }
/* в подвале - кружки с тонкой рамкой; у ссылок подвала свой переход цвета, у знаков - свой, целиком */
.social_theme_dark { gap: 8px; }
.footer__social { margin-top: 20px; }
.social_theme_dark .social__link { border-color: rgba(255, 253, 248, .35); color: var(--card); transition: background-color var(--t), border-color var(--t), color var(--t); }
.social_theme_dark .social__link:hover { background-color: var(--amber); border-color: var(--amber); color: var(--pine); }

/* ---------- «Все статьи»: кнопки рубрик и вид плиткой или списком (владелец, 2026-10-25) ----------
   Кнопки - пунктирные «таблетки», как «с чего начать» на главной; выбранная залита сосной, можно выбрать несколько.
   Ряд кнопок - слайдер Swiper. Справа в той же строке - переключатель «плиткой / списком», он не переносится.
   Стрелки лежат поверх краёв ряда и видны только с той стороны, куда есть что листать: в начале ряда - только правая,
   в середине - обе, все кнопки помещаются - стрелок нет (Swiper ставит swiper-button-disabled и swiper-button-lock).
   Под стрелкой - белый переход, кнопки под ней уходят в фон. До запуска Swiper стрелок нет.
   До 992 px - только пальцем: стрелок и переключателя нет, статьи плиткой (владелец, 2026-10-25). */
.feed-bar { display: flex; align-items: center; gap: 16px; margin-bottom: 44px; }
.feed-bar[hidden] { display: none; }
.feed-bar__chips { position: relative; flex: 1; min-width: 0; }
.feed-bar__arrow { position: absolute; top: 50%; z-index: 3; width: 40px; height: 40px; margin-top: -20px; background-color: var(--bg); transition: background-color .25s ease, color .25s ease, border-color .25s ease, opacity .25s ease, visibility 0s linear 0s; }
.feed-bar__arrow_side_prev { left: 0; }
.feed-bar__arrow_side_next { right: 0; }
.feed-bar__arrow.swiper-button-disabled { opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; }
/* белый переход под стрелкой - у ряда: включается, только когда с этой стороны видна стрелка */
.feed-bar__chips::before, .feed-bar__chips::after { content: ""; position: absolute; top: -6px; bottom: -6px; z-index: 2; width: 72px; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.feed-bar__chips::before { left: -6px; background: linear-gradient(to right, var(--bg) 62%, transparent); }
.feed-bar__chips::after { right: -6px; background: linear-gradient(to left, var(--bg) 62%, transparent); }
.feed-bar__chips:has(.swiper-initialized):has(.feed-bar__arrow_side_prev:not(.swiper-button-disabled, .swiper-button-lock))::before,
.feed-bar__chips:has(.swiper-initialized):has(.feed-bar__arrow_side_next:not(.swiper-button-disabled, .swiper-button-lock))::after { opacity: 1; }
.feed-bar__arrow-icon { width: 18px; height: 18px; }
.feed-bar__chips:not(:has(.swiper-initialized)) .feed-bar__arrow { display: none; }
/* запас 6 px под рамку фокуса: слайдер обрезает всё, что за его краем */
.feed-bar__slider { margin: -6px; padding: 6px; }
.chips__item { width: auto; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 16px; border: 2px dashed rgba(47, 75, 63, .45); border-radius: 999px; background-color: transparent; color: var(--pine); font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap; transition: background-color var(--t), border-color var(--t), color var(--t); }
.chip__icon { width: 16px; height: 16px; flex: none; }
.chip__count { color: var(--text-dim); font-weight: 500; transition: color var(--t); }
@media (hover: hover) { .chip:hover { border-color: var(--pine); background-color: rgba(47, 75, 63, .08); } }
.chip[aria-pressed="true"] { border-style: solid; border-color: var(--pine); background-color: var(--pine); color: var(--card); }
.chip[aria-pressed="true"] .chip__count { color: rgba(255, 253, 248, .75); }
.views { display: flex; flex: none; gap: 4px; }
.views__button { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 2px solid transparent; border-radius: 50%; color: var(--text-dim); transition: background-color var(--t), border-color var(--t), color var(--t); }
.views__icon { width: 20px; height: 20px; }
@media (hover: hover) { .views__button:hover { border-color: rgba(47, 75, 63, .45); color: var(--pine); } }
.views__button[aria-pressed="true"] { border-color: var(--pine); background-color: var(--pine); color: var(--card); }
.feed__item[hidden], .pager__more[hidden] { display: none; }
/* наклон открыток - по порядку видимых (номер ставит theme.js), иначе после фильтра соседние наклонены одинаково */
.feed__item[data-n="0"] { --tilt: -1deg; }
.feed__item[data-n="1"] { --tilt: .9deg; }
.feed__item[data-n="2"] { --tilt: -.4deg; }
.feed[hidden] { display: none; }
/* экран нажимают пальцем (планшет шире 992 px): стрелок нет, ряд листается пальцем (владелец, 2026-10-25: «стрелочки
   только для ПК»); белый переход у края остаётся - видно, что ряд листается дальше (владелец, 2026-10-25: «добавь
   затухание на тачпадах, пока не перешли ниже 992»). Края ряда Swiper отмечает и на скрытых стрелках */
@media (pointer: coarse) {
  .feed-bar__arrow { display: none; }
  /* без стрелки сплошная полоса не нужна: переход от самого края контейнера (владелец, 2026-10-25) */
  /* 6 px за краем - запас слайдера под рамку фокуса: его закрываем сплошь, затухание - от края контейнера */
  .feed-bar__chips::before { left: -6px; width: 70px; background: linear-gradient(to right, var(--bg) 6px, transparent); }
  .feed-bar__chips::after { right: -6px; width: 70px; background: linear-gradient(to left, var(--bg) 6px, transparent); }
}
/* до 992 px: только пальцем, без переключателя вида; ряд выезжает за контейнер до краёв экрана, первая и последняя
   рубрики встают вровень с контейнером */
@media (max-width: 992px) {
  .feed-bar__arrow, .feed-bar__chips::before, .feed-bar__chips::after, .views { display: none; }
  .feed-bar__slider { margin: -6px calc(var(--gut) * -1); padding: 6px var(--gut); }
}
/* на телефоне кнопки рубрик меньше (владелец, 2026-10-25) */
@media (max-width: 640px) {
  .feed-bar { margin-bottom: 36px; }
  .chip { gap: 6px; min-height: 36px; padding: 5px 12px; font-size: 14px; }
  .chip__icon { width: 14px; height: 14px; }
}

/* ---------- Главная: «Ещё статьи» со своей колонкой справа (владелец, 2026-10-25: «сделаем схожим» с образцом) ----------
   Слева записи дневника вида wide: фото-отпечаток слева со штемпелем-датой, рубрика и время чтения, пометка рукой
   (amber_note), заголовок и описание; пять записей и кнопка «Смотреть все статьи» у левого края (владелец, 2026-10-26).
   Тот же вид у второй страницы главной.
   Справа: «С чего начать» (amber_start_slugs), «Есть N минут?» (самая короткая статья не из списка) и «Рыцарь рядом»
   с каналами. До 1100 px колонка уходит под список и встаёт в два столбца, до 640 px - в один. */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; }
.split__side { display: flex; flex-direction: column; gap: 40px; }

.entry_view_wide { --media: 220px; grid-template-columns: var(--media) minmax(0, 1fr); grid-template-areas: "media body"; gap: 32px; padding: 28px 0; }
.entry_view_wide .entry__body { grid-area: body; }
.entry_view_wide .entry__image { --tilt: -1.5deg; grid-area: media; display: block; width: 100%; transform: rotate(var(--tilt)); }
.entry_view_wide:nth-child(even) .entry__image { --tilt: 1.5deg; }
.entry_view_wide:hover .entry__image { transform: rotate(0deg); }
/* штемпель-дата на левом нижнем углу фото, как на открытках: справа внизу водяной знак, его штемпель не закрывает.
   Фото стоит по центру строки, штемпель тоже - и сдвинут вниз на полвысоты фото (фото 3:2, полвысоты = треть ширины)
   без 10 px: так он всегда на углу снимка и не выходит за низ записи без описания, какой бы высоты ни был текст справа (ревью 2026-10-25, R2).
   Ссылка карточки лежит выше штемпеля - клик ведёт в статью */
.entry_view_wide .entry__date { position: relative; z-index: 1; grid-area: media; align-self: center; justify-self: start; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 60px; height: 60px; margin-left: -12px; translate: 0 calc(var(--media) / 3 - 10px); border: 2px dashed var(--brick); border-radius: 50%; background: rgba(255, 253, 248, .94); font-size: 16px; transform: rotate(-12deg); }
.entry_view_wide .entry__day { font-size: 26px; }
.entry__note { margin-top: 6px; font-size: 22px; }
.entry_view_wide .entry__title { margin-top: 2px; }
/* штемпель выступает за левый край записи на 12 px: растянутая ссылка заходит туда же, клик по нему ведёт в статью (R3) */
@media (min-width: 641px) { .entry_view_wide .entry__link::after { left: -18px; } }

.side-card { position: relative; padding: 28px; border-radius: 20px; background-color: var(--card); box-shadow: var(--shadow); }
.side-card_theme_paper { background-color: var(--bg-alt); box-shadow: none; }
.side-card__hand { font-size: 24px; }
.side-card__title { margin-top: 2px; font-size: 26px; line-height: 1.15; }
.side-card__text { margin-top: 10px; color: var(--text-dim); font-size: 15px; line-height: 1.55; }
.side-card__list { display: grid; gap: 18px; margin-top: 22px; }
.side-card__mark { position: absolute; top: 24px; right: 24px; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background-color: var(--card); }
/* рыцарь в карточке отражён: смотрит влево, на текст (владелец, 2026-10-25: «разверни иконку к тексту»); обрезка - общая с логотипом */
.side-card__mark-image { transform: scaleX(-1); }
.side-card_theme_paper .side-card__hand, .side-card_theme_paper .side-card__title { padding-right: 76px; }
.side-card__social { margin-top: 20px; }

.mini-post { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: center; }
.mini-post__image { --tilt: -2deg; width: 72px; aspect-ratio: 1; object-fit: cover; border: 4px solid #fff; box-shadow: 0 3px 10px rgba(43, 38, 32, .2); transform: rotate(var(--tilt)); transition: transform var(--t); }
.side-card__item:nth-child(even) .mini-post__image { --tilt: 2deg; }
.mini-post:hover .mini-post__image { transform: rotate(0deg); }
.mini-post__title { font-size: 15px; font-weight: 600; line-height: 1.35; }
.mini-post__link { transition: color var(--t); }
.mini-post:hover .mini-post__link { color: var(--brick); }

.short-read__title { font-size: 26px; line-height: 1.15; }
.short-read__text { margin-top: 6px; color: var(--text-dim); font-size: 15px; }
.short-read__post { display: flex; align-items: center; gap: 16px; margin-top: 14px; padding: 14px 0 18px; border-bottom: 2px dashed var(--line); }
.short-read__name { flex: 1; font-size: 16px; font-weight: 600; line-height: 1.35; }
.short-read__link { transition: color var(--t); }
.short-read__post:hover .short-read__link { color: var(--brick); }
.short-read__icon { width: 20px; height: 20px; color: var(--brick); transition: transform var(--t); }
.short-read__post:hover .short-read__icon { transform: translateX(4px); }

/* каналы списком: знак и название в «таблетке», при наведении заливка кирпичным, как у кружков в шапке.
   Два столбца, только если «ВКонтакте» помещается в «таблетку» целиком, иначе один (ревью 2026-10-25, R1) */
.social_view_list { display: grid; grid-template-columns: repeat(auto-fit, minmax(146px, 1fr)); gap: 10px; }
.social_view_list .social__link { justify-content: flex-start; gap: 10px; width: auto; height: 44px; padding: 0 14px; border-color: var(--line); border-radius: 999px; background-color: var(--card); font-size: 15px; font-weight: 600; }
.social_view_list .social__icon { color: var(--pine); transition: color var(--t); }
@media (hover: hover) {
  .social_view_list .social__link:hover { background-color: var(--brick); border-color: var(--brick); color: var(--card); }
  .social_view_list .social__link:hover .social__icon { color: var(--card); }
}

@media (prefers-reduced-motion: reduce) {
  .entry_view_wide:hover .entry__image { transform: rotate(var(--tilt)); }
  .mini-post:hover .mini-post__image { transform: rotate(var(--tilt)); }
  .short-read__post:hover .short-read__icon { transform: none; }
}
@media (max-width: 1240px) {
  .split { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
  .entry_view_wide { --media: 200px; gap: 28px; }
}
@media (max-width: 1100px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .split__side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
  .split__start { grid-row: span 2; }
}
/* до 640 px: фото слева от рубрики и заголовка, описание под ними на всю ширину; дата - в строке рубрики */
@media (max-width: 640px) {
  .split__side { grid-template-columns: minmax(0, 1fr); }
  .split__start { grid-row: auto; }
  .entry_view_wide { grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: auto auto auto 1fr auto; grid-template-areas: "media meta" "media note" "media title" "media ." "text text"; column-gap: 16px; row-gap: 0; align-items: start; padding: 22px 0; }
  .entry_view_wide .entry__body { display: contents; }
  .entry_view_wide .entry__meta { grid-area: meta; }
  .entry_view_wide .entry__note { grid-area: note; font-size: 20px; }
  .entry_view_wide .entry__title { grid-area: title; font-size: 17px; }
  .entry_view_wide .entry__text { grid-area: text; margin-top: 12px; font-size: 14px; }
  .entry_view_wide .entry__image { grid-row: 1 / 5; border-width: 4px; }
  .entry_view_wide .entry__date { display: none; }
  .side-card { padding: 24px 20px; }
  .side-card__mark { top: 20px; right: 20px; }
}
