/* SIAMIA — публичный стиль. Утверждённый дизайн-пакет v1.2 (docs/design/DESIGN-SYSTEM.md): белое поле, крупные фото,
   Golos Text для редакционных заголовков и Manrope для интерфейса и текста — оба ЛОКАЛЬНО (public/assets/fonts,
   cyrillic+latin, variable), Google Fonts в рантайме не грузим. У Golos Text нет настоящего курсива — редакционные
   цитаты набираются прямым начертанием (синтетический курсив не применяем). Тело эталона siamia.css перенесено
   из пакета 1.2 и точечно поправлено доработкой 1.3 (docs/design/DESIGN-SYSTEM.md, 2026-09-05): насыщенность
   заголовков 650/600, мягкая тёмно-зелёная тень и более плотный градиент на фотокарточках, 4 строки у главной
   карточки, карточка «Сейчас» вместо однострочной полосы, SVG-иконки быстрых разделов, редакционная строка тегов,
   зелёное подчёркивание ссылок, CTA-блок и контур Таиланда в подвале. Дополнения под реальные данные и новые
   компоненты (.meta-stamp, статические страницы, .visually-hidden) — в конце файла, в блоке «Дополнения SIAMIA».
   Небольшой JS — /assets/js/site.js (меню, карусель, просмотр фото).
   Golos Text: Google Fonts, SIL OFL 1.1, копия лицензии — public/assets/fonts/OFL-Golos-Text.txt */
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/assets/fonts/golos-text-normal-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/assets/fonts/golos-text-normal-latin.woff2) format('woff2'); 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: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/manrope-normal-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/manrope-normal-latin.woff2) format('woff2'); 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 {
  --white: #ffffff;
  --ink: #14211d;
  --ink-soft: #34443e;
  --muted: #6b7772;
  --line: #dfe6e2;
  --surface: #f4f7f5;
  --surface-warm: #fff8ef;
  --green-950: #072f29;
  --green-900: #0b3d34;
  --green-800: #0f5042;
  --green-700: #156650;
  --green-500: #258a6b;
  --orange: #ff7a00;
  --orange-dark: #d95e00;
  --orange-light: #fff0df;
  --mango: #ffbd1a;
  --coral: #e95036;
  --coral-light: #fff0ec;
  --blue: #1479a8;
  --blue-light: #eaf7fc;
  --shadow-sm: 0 8px 24px rgba(7, 47, 41, 0.08);
  --shadow-md: 0 18px 52px rgba(7, 47, 41, 0.13);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1280px;
  --content: 790px;
  --sidebar: 330px;
  --font-ui: 'Manrope', Arial, sans-serif;
  --font-editorial: 'Golos Text', 'Manrope', Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(255, 122, 0, 0.38);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  transform: translateY(-180%);
  border-radius: 8px;
  background: var(--white);
  color: var(--green-950);
  font-weight: 800;
  box-shadow: var(--shadow-md);
}

.skip-link:focus {
  transform: none;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  color: var(--green-950);
  font-size: clamp(27px, 2.1vw, 35px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1;
}

.brand::after {
  content: '';
  width: 10px;
  height: 10px;
  margin-left: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.icon-button,
.menu-button {
  width: 43px;
  height: 43px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--green-950);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.icon-button:hover,
.menu-button:hover {
  border-color: var(--green-950);
  background: var(--green-950);
  color: var(--white);
}

.icon-button svg,
.menu-button svg {
  width: 20px;
  height: 20px;
}

/* Header — шапка 2026-09-18: верхний белый ряд в .container (логотип с подписью слева, справа один flex-ряд: поле
   поиска (GET /search) и служебные ссылки); нижний ряд — рубрикатор с иконками и кнопкой «Ещё» на сплошной
   тёмно-зелёной полосе (--green-950, тот же токен, что у подвала) во всю ширину, содержимое — в .container.
   Стили логотипа ограничены .site-logo (глобальный .brand — подвал и мобильное меню). Sticky-шапки больше нет:
   два ряда на экране при прокрутке лишние. */
.site-header {
  background: var(--white);
}

.site-header__top {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  flex: none;
}

.site-logo__name {
  display: inline-flex;
  align-items: baseline;
  color: var(--green-950);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.site-logo__name::after {
  content: '';
  width: 10px;
  height: 10px;
  margin-left: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.site-logo__tagline {
  margin-top: 6px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.site-header__tools {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.header-search {
  display: flex;
  align-items: center;
  width: 250px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  overflow: hidden;
  transition: border-color 180ms ease;
}

.header-search:focus-within {
  border-color: var(--green-700);
}

.header-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0 0 0 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}

.header-search input::placeholder {
  color: var(--muted);
}

.header-search input:focus {
  outline: none;
}

.header-search input::-webkit-search-decoration,
.header-search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.header-search__submit {
  flex: none;
  width: 38px;
  height: 100%;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--green-950);
  cursor: pointer;
}

.header-search__submit:hover {
  color: var(--orange-dark);
}

.header-search__icon {
  width: 18px;
  height: 18px;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-links a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.header-links a:hover,
.header-links a[aria-current='page'] {
  color: var(--green-950);
}

.header-links a[aria-current='page'] {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.icon-button__icon {
  width: 20px;
  height: 20px;
}

.search-toggle,
.menu-button {
  display: none;   /* только телефон */
}

/* Нижний ряд: рубрикатор на зелёной полосе во всю ширину (.site-header__bar), содержимое — в .container */
.site-header__bar {
  background: var(--green-950);
}

.site-header__nav {
  min-height: 50px;
  display: flex;
  align-items: stretch;
}

.main-nav {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
}

.main-nav__list {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 28px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

html.js .main-nav__list {
  overflow: hidden;   /* до первого пересчёта site.js лишние пункты не выходят за полосу */
}

.main-nav__more[hidden] {
  display: none;
}

.main-nav__item[hidden] {
  display: none;
}

.main-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 6px;
  margin: 0 -6px;
  border-radius: 6px;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 180ms ease;
}

.main-nav__link:hover {
  background: rgba(255, 255, 255, 0.1);   /* лёгкое осветление, без плашек */
}

.main-nav__link:focus-visible,
.main-nav__more-button:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: -2px;
  border-radius: 6px;
}

.main-nav__icon {
  width: 21px;
  height: 21px;
  flex: none;
  color: var(--white);
  transition: color 180ms ease;
}

.main-nav__link::after {
  content: '';
  position: absolute;
  right: 6px;
  bottom: 0;
  left: 6px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--orange);
  transition: transform 180ms ease;
}

.main-nav__link:hover .main-nav__icon,
.main-nav__link[aria-current='page'] .main-nav__icon {
  color: var(--orange);
}

.main-nav__link:hover::after,
.main-nav__link[aria-current='page']::after {
  transform: scaleX(1);
}

.main-nav__more {
  position: relative;
  display: flex;
  align-items: stretch;
  flex: none;
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.main-nav__more-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 6px;
  margin: 0 -6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 180ms ease;
}

.main-nav__more-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.main-nav__chevron {
  width: 16px;
  height: 16px;
  transition: transform 180ms ease;
}

.main-nav__more.is-open .main-nav__chevron {
  transform: rotate(180deg);
}

.main-nav__dropdown {
  position: absolute;
  top: calc(100% - 1px);
  right: 0;
  z-index: 120;
  display: none;
  min-width: 230px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.main-nav__more.is-open .main-nav__dropdown {
  display: block;
}

.main-nav__dropdown-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav__dropdown-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--green-900);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.main-nav__dropdown-list a:hover,
.main-nav__dropdown-list a[aria-current='page'] {
  background: var(--surface);
  color: var(--green-950);
}

.main-nav__dropdown-list a .main-nav__icon {
  color: var(--green-800);   /* белый цвет полосы внутрь раскрытия не наследуется */
}

.main-nav__dropdown-list a[aria-current='page'] .main-nav__icon {
  color: var(--orange);
}

/* Без JS: рубрикатор переносится на новые строки, ничего не прячется, «Ещё» не нужна; поле поиска на телефоне
   показано сразу. */
html.no-js .main-nav__list {
  flex-wrap: wrap;
}

html.no-js .main-nav__more {
  display: none;
}

/* Промежуточные ширины: рубрикатор с «Ещё» остаётся до 700px; ряд плотнее. */
@media (max-width: 1160px) {
  .site-header__top {
    min-height: 92px;
  }

  .site-header__tools {
    gap: 20px;
  }

  .header-search {
    width: 220px;
  }

  .main-nav__list {
    gap: 22px;
  }
}

/* Телефон: компактный логотип, кнопки поиска и меню; поле поиска раскрывается отдельной строкой;
   рубрикатор скрыт — разделы в мобильном меню. */
@media (max-width: 700px) {
  .site-header__top {
    min-height: 64px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
  }

  .site-header__tools {
    display: contents;
  }

  .site-logo__name {
    font-size: 30px;
  }

  .site-logo__tagline {
    margin-top: 4px;
    font-size: 8px;
  }

  .header-links {
    display: none;
  }

  .search-toggle,
  .menu-button {
    display: inline-grid;
    width: 40px;
    height: 40px;
  }

  .header-search {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin-top: 2px;
  }

  .header-search.is-open,
  html.no-js .header-search {
    display: flex;
  }

  .site-header__bar {
    display: none;
  }

  .site-header {
    border-bottom: 4px solid var(--green-950);   /* вместо пустой зелёной полосы — зелёная нижняя граница */
  }

  html.no-js .site-header__bar {
    display: block;
  }

  html.no-js .site-header__nav {
    min-height: 0;
    padding: 6px 0;
  }

  html.no-js .main-nav__link {
    min-height: 44px;
  }

}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  background: rgba(7, 47, 41, 0.62);
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer__panel {
  width: min(88vw, 390px);
  height: 100%;
  margin-left: auto;
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.mobile-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.mobile-nav {
  display: grid;
  margin-top: 14px;
}

.mobile-nav a {
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 750;
}

.mobile-drawer__quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}

/* Common typography and controls */
.eyebrow,
.card-kicker,
.article-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.105em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before,
.article-kicker::before {
  content: '';
  width: 24px;
  height: 3px;
  background: var(--orange);
}

.section {
  padding: 72px 0;
}

.section--tight {
  padding: 52px 0;
}

.section--surface {
  background: var(--surface);
}

.section--dark {
  background: var(--green-950);
  color: var(--white);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-header__title,
.page-title,
.article-title,
.display-title {
  margin: 0;
  font-family: var(--font-editorial);
  font-weight: 650;
  letter-spacing: -0.032em;
  line-height: 1.04;
}

.section-header__title {
  max-width: 760px;
  font-size: clamp(34px, 4.5vw, 58px);
}

.section-header__title span,
.display-title span {
  color: var(--orange);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--orange);
  color: var(--green-900);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section--dark .section-link {
  color: var(--white);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 0;
  border-radius: 7px;
  background: var(--orange);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--orange-dark);
}

.button--green {
  background: var(--green-800);
}

.button--green:hover {
  background: var(--green-950);
}

.button--outline {
  border: 1px solid currentColor;
  background: transparent;
  color: var(--green-900);
}

.button--outline:hover {
  background: var(--green-900);
  color: var(--white);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 16px;
  color: var(--muted);
  font-size: 13px;
}

.meta-row > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.meta-row > span + span::before {
  content: '';
  width: 4px;
  height: 4px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 4px;
  background: var(--green-800);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag--orange {
  background: var(--orange);
}

.tag--light {
  background: var(--surface);
  color: var(--green-900);
}

/* Homepage hero */
.home-hero {
  padding: 34px 0 24px;
}

.home-hero__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.home-hero__heading h1 {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-hero__heading h1::before {
  content: '';
  display: inline-block;
  width: 34px;
  height: 4px;
  margin-right: 12px;
  background: var(--orange);
  vertical-align: middle;
}

.home-hero__date {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.85fr);
  gap: 18px;
  min-height: 570px;
}

.story-card {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--green-900);
  color: var(--white);
  isolation: isolate;
}

.story-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 34, 29, 0.8) 0%, rgba(4, 34, 29, 0.48) 56%, rgba(4, 34, 29, 0.1) 100%),
    linear-gradient(180deg, rgba(4, 34, 29, 0.05) 14%, rgba(4, 34, 29, 0.58) 58%, rgba(4, 34, 29, 0.97) 100%);
}

.story-card__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(.2,.65,.3,1);
}

.story-card:hover .story-card__image {
  transform: scale(1.035);
}

.story-card__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px;
}

.story-card__title {
  max-width: 850px;
  margin: 12px 0 13px;
  font-family: var(--font-editorial);
  font-size: clamp(25px, 3.2vw, 52px);
  display: -webkit-box;
  overflow: hidden;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.1;
  text-shadow: 0 1px 12px rgba(3, 27, 23, 0.42);
  text-wrap: pretty;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.story-card__summary {
  max-width: 690px;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  display: -webkit-box;
  overflow: hidden;
  text-shadow: 0 1px 10px rgba(3, 27, 23, 0.38);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.story-card--main {
  min-height: 570px;
  border-radius: 0 26px 0 26px;
}

.story-card--main .story-card__content {
  padding: clamp(28px, 4vw, 48px);
}

/* Главный материал не обрывается многоточием слишком рано: до четырёх строк (у боковых остаётся три) */
.story-card--main .story-card__title {
  -webkit-line-clamp: 4;
}

.story-card--side .story-card__title {
  font-size: clamp(22px, 2.2vw, 31px);
}

.lead-grid__side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}

.story-card--alert {
  background: var(--orange);
}

.story-card--alert::after {
  background:
    linear-gradient(90deg, rgba(86, 27, 0, 0.66), rgba(86, 27, 0, 0.12)),
    linear-gradient(180deg, rgba(86, 27, 0, 0.04) 18%, rgba(86, 27, 0, 0.9) 100%);
}

.news-ticker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 24px;
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  background: var(--white);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.news-ticker:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
}

.news-ticker__label {
  padding-top: 3px;
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.news-ticker__body {
  min-width: 0;
  display: block;
}

.news-ticker__story {
  display: block;
  font-family: var(--font-editorial);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.22;
  text-wrap: pretty;
}

.news-ticker:hover .news-ticker__story {
  color: var(--green-800);
}

.news-ticker__summary {
  display: block;
  max-width: 74ch;
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.news-ticker__time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}

.news-ticker__icon {
  width: 15px;
  height: 15px;
  color: var(--orange);
}

/* Quick links */
.quick-links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  background: var(--white);
}

.quick-link {
  min-height: 118px;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-right: 1px solid var(--line);
  transition: background 180ms ease, color 180ms ease;
}

.quick-link:last-child {
  border-right: 0;
}

.quick-link:hover {
  background: var(--green-950);
  color: var(--white);
}

.quick-link:hover .quick-link__icon {
  background: rgba(255, 122, 0, 0.16);
  color: var(--orange);
}

.quick-link__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange-light);
  color: var(--orange-dark);
}

.quick-link__icon svg {
  width: 23px;
  height: 23px;
}

.quick-link strong,
.quick-link small {
  display: block;
}

.quick-link strong {
  margin-bottom: 5px;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.25;
}

.quick-link small {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.35;
}

.quick-link:hover small {
  color: rgba(255, 255, 255, 0.68);
}

/* News feed */
.content-with-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 56px;
  align-items: start;
}

.feed {
  display: grid;
}

.feed-item {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.feed-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.feed-item__image {
  aspect-ratio: 1.45;
  overflow: hidden;
  border-radius: 0 16px 0 16px;
}

.feed-item__image img {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.feed-item:hover .feed-item__image img {
  transform: scale(1.035);
}

.feed-item__body {
  align-self: center;
}

.feed-item__title {
  margin: 8px 0 9px;
  font-family: var(--font-editorial);
  font-size: clamp(21px, 2.1vw, 29px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.16;
}

.feed-item__summary {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 14px;
}


.rail-card {
  margin-bottom: 22px;
  border: 1px solid var(--line);
  background: var(--white);
}

.rail-card__title {
  margin: 0;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rail-card__title::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 16px;
  margin-right: 10px;
  background: var(--orange);
  vertical-align: -3px;
}

.rail-card__body {
  padding: 0 18px;
}

.ranked-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ranking;
}

.ranked-list li {
  counter-increment: ranking;
}

.ranked-list a {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.42;
}

.ranked-list li:last-child a {
  border-bottom: 0;
}

.ranked-list a::before {
  content: counter(ranking, decimal-leading-zero);
  color: var(--orange);
  font-family: var(--font-editorial);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.ranked-list a:hover {
  background: var(--surface-warm);
}

.rail-region {
  overflow: hidden;
  background: var(--green-950);
  color: var(--white);
}

.rail-region img {
  aspect-ratio: 1.55;
  object-fit: cover;
}

.rail-region__body {
  padding: 22px;
}

.rail-region__body h3 {
  margin: 5px 0 8px;
  font-family: var(--font-editorial);
  font-size: 28px;
  line-height: 1.08;
}

.rail-region__body p {
  margin: 0 0 15px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

/* Editorial card grids */
.editorial-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-template-rows: 245px 245px;
  gap: 18px;
}

.editorial-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--green-800);
  color: var(--white);
  isolation: isolate;
}

.editorial-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 34, 29, 0.6) 0%, rgba(4, 34, 29, 0.16) 78%),
    linear-gradient(180deg, rgba(4, 34, 29, 0.03) 12%, rgba(4, 34, 29, 0.6) 56%, rgba(4, 34, 29, 0.96) 100%);
}

.editorial-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.editorial-card:hover img {
  transform: scale(1.04);
}

.editorial-card__body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 22px;
}

.editorial-card__title {
  margin: 9px 0 8px;
  font-family: var(--font-editorial);
  font-size: 23px;
  display: -webkit-box;
  overflow: hidden;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-shadow: 0 1px 12px rgba(3, 27, 23, 0.42);
  text-wrap: pretty;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.editorial-card--feature {
  grid-row: 1 / 3;
}

.editorial-card--feature .editorial-card__title {
  font-size: clamp(29px, 3vw, 42px);
}

.editorial-card--orange {
  background: var(--orange);
}

.editorial-card--orange::after {
  background:
    linear-gradient(90deg, rgba(91, 31, 0, 0.5), rgba(91, 31, 0, 0.08)),
    linear-gradient(180deg, rgba(91, 31, 0, 0.03) 16%, rgba(91, 31, 0, 0.9) 100%);
}

.destination-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.destination-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  color: var(--white);
  isolation: isolate;
}

.destination-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 34, 29, 0.52), rgba(4, 34, 29, 0.06) 78%),
    linear-gradient(180deg, rgba(4, 34, 29, 0.02) 20%, rgba(4, 34, 29, 0.95) 100%);
}

.destination-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.destination-card:hover img {
  transform: scale(1.045);
}

.destination-card__body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 20px;
}

.destination-card__body h3 {
  margin: 0 0 5px;
  font-family: var(--font-editorial);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.07;
  text-shadow: 0 1px 11px rgba(3, 27, 23, 0.42);
}

.destination-card__body span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

/* Page headers and listings */
.page-hero {
  padding: 54px 0 44px;
  border-bottom: 1px solid var(--line);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 60px;
  align-items: end;
}

.page-title {
  margin-top: 15px;
  font-size: clamp(52px, 7.5vw, 96px);
}

.page-hero__intro {
  max-width: 530px;
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.65;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.filter-chip {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 750;
}

.filter-chip:hover,
.filter-chip.is-active {
  border-color: var(--green-950);
  background: var(--green-950);
  color: var(--white);
}

.featured-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.featured-row__side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 38px;
}

.pagination a,
.pagination span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}

.pagination [aria-current='page'],
.pagination a:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white);
}

/* Region page */
.region-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--green-950);
  color: var(--white);
  isolation: isolate;
}

.region-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(3, 28, 23, 0.9) 0%, rgba(3, 28, 23, 0.55) 48%, rgba(3, 28, 23, 0.06) 100%);
}

.region-hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  height: 100%;
  object-fit: cover;
}

.region-hero__content {
  width: min(760px, 68%);
  padding: 90px 0 72px;
}

.region-hero__title {
  margin: 14px 0 18px;
  font-family: var(--font-editorial);
  font-size: clamp(64px, 10vw, 132px);
  font-weight: 650;
  letter-spacing: -0.038em;
  line-height: 0.92;
  text-shadow: 0 2px 18px rgba(3, 27, 23, 0.38);
}

.region-hero__lead {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.region-facts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: -34px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.region-fact {
  padding: 23px 20px;
  border-right: 1px solid var(--line);
}

.region-fact:last-child {
  border-right: 0;
}

.region-fact small,
.region-fact strong {
  display: block;
}

.region-fact small {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.region-fact strong {
  font-size: 17px;
}

/* Article */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.breadcrumbs a:hover {
  color: var(--orange-dark);
}

.breadcrumbs span::before {
  content: '/';
  margin-right: 8px;
  color: #aab3af;
}

.article-header {
  padding: 48px 0 32px;
}

.article-header__inner {
  max-width: 1060px;
}

.article-title {
  max-width: 1050px;
  margin-top: 16px;
  font-size: clamp(48px, 6.2vw, 82px);
  text-wrap: balance;
}

.article-lead {
  max-width: 860px;
  margin: 24px 0;
  color: var(--ink-soft);
  font-size: clamp(20px, 2.2vw, 25px);
  font-weight: 500;
  line-height: 1.55;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.article-author__avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-950);
  color: var(--white);
  font-weight: 800;
}

.article-author strong,
.article-author span {
  display: block;
}

.article-author span {
  color: var(--muted);
  font-size: 11px;
}

.article-hero {
  width: min(calc(100% - 40px), 1440px);
  margin: 0 auto 54px;
}

.article-hero img {
  aspect-ratio: 2.05;
  object-fit: cover;
  border-radius: 0 26px 0 26px;
}

.article-hero figcaption,
.article-body figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--content)) minmax(280px, var(--sidebar));
  justify-content: space-between;
  gap: 62px;
  align-items: start;
}

.article-body {
  min-width: 0;
  font-family: var(--font-ui);
  color: var(--ink);
  font-size: 19px;
  line-height: 1.78;
}

.article-body > *:first-child {
  margin-top: 0;
}

.article-body p {
  margin: 0 0 1.35em;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  margin: 1.55em 0 0.58em;
  color: var(--green-950);
  font-family: var(--font-editorial);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

.article-body h2 {
  font-size: clamp(34px, 4vw, 47px);
}

.article-body h3 {
  font-size: clamp(27px, 3vw, 34px);
}

.article-body h4 {
  font-family: var(--font-editorial);
  font-size: 22px;
  font-weight: 600;
}

.article-body a {
  color: var(--green-700);
  font-weight: 600;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: rgba(21, 102, 80, 0.45);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 140ms ease, text-decoration-color 140ms ease;
}

.article-body a:hover,
.article-body a:focus-visible {
  color: var(--orange-dark);
  text-decoration-color: currentColor;
}

/* CTA-ссылки и кнопки внутри текста своё оформление сохраняют */
.article-body a.button,
.article-body a.section-link {
  font-weight: 800;
  text-decoration: none;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.45em;
  padding-left: 1.35em;
}

.article-body li {
  margin-bottom: 0.58em;
  padding-left: 0.35em;
}

.article-body li::marker {
  color: var(--orange);
  font-weight: 800;
}

.article-body hr {
  width: 120px;
  height: 5px;
  margin: 52px 0;
  border: 0;
  background: var(--orange);
}

.article-body figure {
  margin: 2.1em 0;
}

.article-body figure img {
  border-radius: var(--radius-sm);
}

.article-body .media-wide {
  width: calc(100% + 130px);
  margin-left: -65px;
}

.article-body .media-full {
  width: min(100vw - 40px, 1180px);
  margin-left: calc((min(100vw - 40px, 1180px) - 100%) / -2);
}

.article-summary {
  margin: 0 0 34px;
  padding: 26px 28px;
  border-top: 5px solid var(--orange);
  background: var(--surface);
}

.article-summary__title {
  display: block;
  margin-bottom: 14px;
  color: var(--green-950);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-summary ul {
  margin: 0;
  padding-left: 1.2em;
}

.article-summary li {
  margin-bottom: 7px;
  font-size: 16px;
  line-height: 1.55;
}

.article-toc {
  margin: 34px 0;
  padding: 24px 26px;
  border: 1px solid var(--line);
  background: var(--white);
}

.article-toc__title {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.article-toc ol {
  margin: 0;
  padding-left: 1.35em;
}

.article-toc li {
  margin-bottom: 5px;
  font-size: 15px;
}

.article-note {
  position: relative;
  margin: 2em 0;
  padding: 25px 27px 25px 74px;
  border-left: 5px solid var(--green-700);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.65;
}

.article-note::before {
  content: 'i';
  position: absolute;
  top: 25px;
  left: 24px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--white);
  font-family: var(--font-editorial);
  font-size: 18px;
  font-style: italic;
  font-weight: 700;
}

.article-note strong:first-child {
  display: block;
  margin-bottom: 4px;
  color: var(--green-950);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-note p:last-child,
.article-note > :last-child {
  margin-bottom: 0;
}

.article-note--important {
  border-left-color: var(--orange);
  background: var(--orange-light);
}

.article-note--important::before {
  content: '!';
  background: var(--orange);
  font-family: var(--font-ui);
  font-style: normal;
}

.article-note--warning {
  border-left-color: var(--coral);
  background: var(--coral-light);
}

.article-note--warning::before {
  content: '!';
  background: var(--coral);
  font-family: var(--font-ui);
  font-style: normal;
}

.article-note--tip {
  border-left-color: var(--blue);
  background: var(--blue-light);
}

.article-note--tip::before {
  content: '✓';
  background: var(--blue);
  font-family: var(--font-ui);
  font-size: 15px;
  font-style: normal;
}

.article-quote {
  position: relative;
  margin: 2.2em 0;
  padding: 8px 0 8px 34px;
  border-left: 6px solid var(--orange);
  color: var(--green-950);
  font-family: var(--font-editorial);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 550;
  font-style: normal;
  line-height: 1.42;
}

.article-quote p {
  margin: 0;
}

.article-quote cite {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pull-quote {
  width: calc(100% + 70px);
  margin: 2.2em 0 2.2em -35px;
  padding: 36px;
  background: var(--green-950);
  color: var(--white);
  font-family: var(--font-editorial);
  font-size: clamp(27px, 3.4vw, 39px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.pull-quote::before {
  content: '“';
  display: block;
  height: 28px;
  color: var(--orange);
  font-size: 70px;
  line-height: 0.75;
}

.article-steps {
  margin: 2em 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.article-steps li {
  position: relative;
  min-height: 54px;
  margin-bottom: 18px;
  padding: 5px 0 5px 70px;
  counter-increment: steps;
}

.article-steps li::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.table-scroll {
  position: relative;
  margin: 2em 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}

.article-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: var(--white);
  font-size: 14px;
  line-height: 1.5;
}

.article-table--wide {
  min-width: 1060px;
}

.article-table caption {
  padding: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  text-align: left;
}

.article-table th,
.article-table td {
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-table thead th {
  background: var(--green-950);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.article-table tbody tr:nth-child(even) {
  background: var(--surface);
}

.article-table tbody tr:last-child td {
  border-bottom: 0;
}

.gallery {
  margin: 2.2em 0;
}

.gallery-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 2.2em 0;
}

.gallery-pair figure {
  min-width: 0;
  margin: 0;
}

.gallery-pair button {
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: zoom-in;
}

.gallery-pair img {
  aspect-ratio: 1.28;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.gallery-pair button:hover img {
  transform: scale(1.035);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  grid-template-rows: 215px 215px;
  gap: 10px;
}

.gallery-grid button {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: zoom-in;
}

.gallery-grid button:first-child {
  grid-row: 1 / 3;
}

.gallery-grid img {
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.gallery-grid button:hover img {
  transform: scale(1.035);
}

.gallery-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--green-950);
}

.gallery-carousel__track {
  display: flex;
  transition: transform 350ms ease;
}

.gallery-carousel__slide {
  min-width: 100%;
  margin: 0;
}

.gallery-carousel__slide img {
  aspect-ratio: 1.58;
  object-fit: cover;
}

.gallery-carousel__controls {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-carousel__counter,
.gallery-carousel__button {
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  background: rgba(7, 47, 41, 0.9);
  color: var(--white);
}

.gallery-carousel__counter {
  min-width: 58px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 800;
}

.gallery-carousel__button {
  width: 40px;
  border-radius: 50%;
  cursor: pointer;
}

.gallery-carousel__button:hover {
  background: var(--orange);
}

.inline-related {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  margin: 2.2em 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.inline-related img {
  height: 100%;
  min-height: 125px;
  object-fit: cover;
}

.inline-related__body {
  align-self: center;
}

.inline-related__label {
  color: var(--orange-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.inline-related__title {
  margin: 6px 0 8px;
  font-family: var(--font-editorial);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
}

.inline-related__meta {
  color: var(--muted);
  font-size: 11px;
}

.article-update {
  margin: 2em 0;
  padding: 17px 19px;
  border: 1px dashed var(--orange);
  background: var(--surface-warm);
  font-size: 14px;
  line-height: 1.55;
}

.article-sources {
  margin: 2.2em 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.article-sources h2 {
  margin-top: 0;
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 800;
}

.article-sources ol {
  font-size: 14px;
  line-height: 1.55;
}

.article-sidebar {
  position: sticky;
  top: 112px;
}

.share-stack {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.share-stack a {
  flex: 1;
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--green-900);
  font-size: 12px;
  font-weight: 800;
}

.share-stack a:hover {
  border-color: var(--green-950);
  background: var(--green-950);
  color: var(--white);
}

.mini-story {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.mini-story:last-child {
  border-bottom: 0;
}

.mini-story img {
  aspect-ratio: 1.2;
  height: 100%;
  object-fit: cover;
}

.mini-story h4 {
  margin: 2px 0 5px;
  font-family: var(--font-editorial);
  font-size: 15px;
  line-height: 1.3;
}

.mini-story span {
  color: var(--muted);
  font-size: 10px;
}

.article-footer {
  margin-top: 46px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.article-tags {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

.article-tags__label {
  margin-right: 6px;
  color: var(--muted);
  font-weight: 600;
}

.article-tags__sep {
  margin: 0 7px;
  color: var(--line);
}

.article-tags a {
  color: var(--green-700);
  font-weight: 600;
  text-decoration: none;
}

.article-tags a:hover,
.article-tags a:focus-visible {
  color: var(--orange-dark);
}

/* Component documentation */
.component-intro {
  padding: 50px 0;
  background: var(--green-950);
  color: var(--white);
}

.component-intro h1 {
  max-width: 880px;
  margin: 12px 0 16px;
  font-family: var(--font-editorial);
  font-size: clamp(48px, 7vw, 86px);
  line-height: 1;
}

.component-intro p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.component-section {
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}

.component-label {
  margin-bottom: 28px;
}

.component-label h2 {
  margin: 0 0 7px;
  font-family: var(--font-editorial);
  font-size: 34px;
}

.component-label p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.color-swatch {
  overflow: hidden;
  border: 1px solid var(--line);
}

.color-swatch__color {
  height: 105px;
}

.color-swatch__meta {
  padding: 13px;
  background: var(--white);
  font-size: 12px;
}

.color-swatch__meta strong,
.color-swatch__meta span {
  display: block;
}

.color-swatch__meta span {
  margin-top: 3px;
  color: var(--muted);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(3, 20, 17, 0.94);
}

.lightbox.is-open {
  display: flex;
}

.lightbox__image {
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  width: auto;
  border-radius: 8px;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font-size: 25px;
  cursor: pointer;
}

/* Footer */
.site-footer {
  background: var(--green-950);
  color: var(--white);
}

.site-footer__cta {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px 40px;
  padding: 56px 0;
  padding-right: 150px;   /* место справа под декоративный контур: кнопка его не перекрывает */
  min-height: 240px;
}

.site-footer__cta-title {
  max-width: 18ch;
  margin: 0;
  font-family: var(--font-editorial);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 650;
  letter-spacing: -0.028em;
  line-height: 1.1;
}

.site-footer__cta-text {
  max-width: 58ch;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.6;
}

/* Декоративный контур Таиланда: фон, а не карта — низкий контраст и aria-hidden */
.site-footer__map {
  position: absolute;
  top: 50%;
  right: 5%;
  z-index: 0;
  width: auto;
  height: 200px;
  color: rgba(255, 255, 255, 0.1);
  transform: translateY(-50%);
  pointer-events: none;
}


.site-footer__top {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 58px;
  padding: 56px 0 46px;
}

.site-footer .brand {
  color: var(--white);
}

.site-footer__about {
  max-width: 330px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.footer-column h3 {
  margin: 0 0 15px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  margin: 9px 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.footer-column a:hover {
  color: var(--white);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
}

/* Responsive */
@media (max-width: 1160px) {
  .quick-links {
    grid-template-columns: repeat(3, 1fr);
  }

  .quick-link:nth-child(3) {
    border-right: 0;
  }

  .quick-link:nth-child(n+4) {
    border-top: 1px solid var(--line);
  }

  .destination-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 42px;
  }
}

@media (max-width: 960px) {
  .lead-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .story-card--main {
    min-height: 520px;
  }

  .lead-grid__side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .content-with-rail {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .content-rail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .editorial-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 360px 250px 250px;
  }

  .editorial-card--feature {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .page-hero__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .featured-row {
    grid-template-columns: 1fr;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .article-body .media-full {
    width: 100%;
    margin-left: 0;
  }

  .region-facts {
    grid-template-columns: repeat(3, 1fr);
  }

  .region-fact:nth-child(3) {
    border-right: 0;
  }

  .region-fact:nth-child(n+4) {
    border-top: 1px solid var(--line);
  }

  .site-footer__top {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / 4;
  }

  .site-footer__cta-inner {
    padding-right: 110px;
  }

  .site-footer__map {
    height: 150px;
    opacity: 0.7;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand {
    font-size: 28px;
  }

  .section {
    padding: 54px 0;
  }

  .section--tight {
    padding: 40px 0;
  }

  .section-header {
    display: block;
    margin-bottom: 23px;
  }

  .section-header__title {
    font-size: 38px;
  }

  .section-link {
    margin-top: 14px;
  }

  .home-hero {
    padding-top: 20px;
  }

  .home-hero__date {
    display: none;
  }

  .story-card--main {
    min-height: 480px;
  }

  .story-card__title {
    font-size: 35px;
  }

  .story-card__summary {
    display: none;
  }

  .lead-grid__side {
    grid-template-columns: 1fr;
  }

  .story-card--side {
    min-height: 310px;
  }

  .news-ticker {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 18px;
  }

  .news-ticker__label {
    padding-top: 0;
  }

  .news-ticker__summary {
    font-size: 14.5px;
  }

  .quick-links {
    grid-template-columns: 1fr 1fr;
  }

  .quick-link {
    min-height: 96px;
    padding: 15px;
  }

  .quick-link:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .quick-link:nth-child(even) {
    border-right: 0;
  }

  .quick-link:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

  .feed-item {
    grid-template-columns: 118px 1fr;
    gap: 15px;
    padding: 18px 0;
  }

  .feed-item__title {
    margin-top: 5px;
    font-size: 19px;
  }

  .feed-item__summary {
    display: none;
  }

  .content-rail,
  .article-sidebar {
    grid-template-columns: 1fr;
  }

  .editorial-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .editorial-card,
  .editorial-card--feature {
    min-height: 340px;
    grid-column: auto;
  }

  .destination-strip {
    grid-template-columns: 1fr 1fr;
  }

  .destination-card {
    min-height: 290px;
  }

  .page-hero {
    padding: 38px 0 32px;
  }

  .page-title {
    font-size: 54px;
  }

  .page-hero__intro {
    font-size: 16px;
  }

  .featured-row__side {
    grid-template-columns: 1fr;
  }

  .region-hero {
    min-height: 540px;
  }

  .region-hero::after {
    background: linear-gradient(180deg, rgba(3, 28, 23, 0.12), rgba(3, 28, 23, 0.9));
  }

  .region-hero__content {
    width: 100%;
    padding-bottom: 62px;
  }

  .region-hero__title {
    font-size: 72px;
  }

  .region-facts {
    grid-template-columns: 1fr 1fr;
    margin-top: -22px;
  }

  .region-fact:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .region-fact:nth-child(even) {
    border-right: 0;
  }

  .region-fact:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

  .article-header {
    padding-top: 32px;
  }

  .article-title {
    font-size: 44px;
  }

  .article-lead {
    font-size: 20px;
  }

  .article-hero {
    width: 100%;
    margin-bottom: 38px;
  }

  .article-hero img {
    aspect-ratio: 1.35;
    border-radius: 0;
  }

  .article-hero figcaption {
    padding-inline: 14px;
  }

  .article-body {
    font-size: 18px;
    line-height: 1.72;
  }

  .article-body h2 {
    font-size: 34px;
  }

  .article-body h3 {
    font-size: 27px;
  }

  .article-body .media-wide,
  .article-body .media-full {
    width: 100%;
    margin-left: 0;
  }

  .article-summary,
  .article-toc {
    padding: 21px;
  }

  .article-note {
    padding: 22px 20px 22px 62px;
  }

  .article-note::before {
    top: 21px;
    left: 18px;
  }

  .pull-quote {
    width: 100%;
    margin-left: 0;
    padding: 28px 24px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 170px;
  }

  .gallery-grid button:first-child {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .gallery-pair {
    grid-template-columns: 1fr;
  }

  .inline-related {
    grid-template-columns: 120px 1fr;
    gap: 14px;
    padding: 11px;
  }

  .inline-related__title {
    font-size: 17px;
  }

  .color-grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__map {
    display: none;
  }

  .site-footer__cta-inner {
    padding: 34px 0;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px 22px;
  }

  .site-footer__brand {
    grid-column: 1 / 3;
  }

  .site-footer__bottom {
    display: block;
  }

  .site-footer__bottom span {
    display: block;
    margin-top: 5px;
  }
}

@media (max-width: 440px) {
  .quick-links,
  .destination-strip,
  .region-facts {
    grid-template-columns: 1fr;
  }

  .quick-link,
  .quick-link:nth-child(n),
  .region-fact,
  .region-fact:nth-child(n) {
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .quick-link:first-child,
  .region-fact:first-child {
    border-top: 0;
  }

  .feed-item {
    grid-template-columns: 100px 1fr;
  }

  .feed-item__title {
    font-size: 17px;
  }

  .article-title {
    font-size: 38px;
  }

  .article-body {
    font-size: 17px;
  }

  .inline-related {
    grid-template-columns: 1fr;
  }

  .inline-related img {
    aspect-ratio: 1.7;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =====================================================================================
   Дополнения SIAMIA (не из эталона): состояния под реальные данные — карточки без фото,
   сетки на 2–4 элемента, пара фотографий, поиск, пустые состояния, страница ошибки.
   ===================================================================================== */

/* Длинные URL и слова без пробелов переносятся, а не растягивают страницу (проверено на 375 px) */
body {
  overflow-wrap: anywhere;
}

/* …но не внутри таблицы: с anywhere минимальная ширина колонки = один символ, и в широкой таблице
   на телефоне слова рвались посередине («Транспо/рт»). break-word рвёт слово только при необходимости. */
.article-table th,
.article-table td {
  overflow-wrap: break-word;
}

/* Хлебные крошки и ссылки подвала: цели нажатия не ниже 24 px без изменения вида */
.breadcrumbs a,
.footer-column a {
  display: inline-block;
  padding: 5px 0;
}

.footer-column a {
  display: block;
  margin: 2px 0;
}

/* Ссылка в тёмной карточке курорта (в эталоне наследовала тёмно-зелёный и терялась на фоне) */
.rail-region .section-link {
  color: var(--white);
}

/* Карточка без фотографии: фон вместо картинки (story/editorial/destination имеют свой фон через background). */
.img-fallback {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--green-900), var(--green-700) 70%, var(--green-500));
}

.feed-item__image {
  background: var(--surface);
}

.mini-story .img-fallback {
  aspect-ratio: 1.2;
}

.inline-related .img-fallback {
  min-height: 125px;
}

.rail-region .img-fallback {
  aspect-ratio: 1.55;
}

/* «Главное сегодня» без второстепенных историй */
.lead-grid--single {
  grid-template-columns: 1fr;
}

.lead-grid__side--one {
  grid-template-rows: 1fr;
}

/* Журнальная сетка на 3 и 4 карточки (эталон рассчитан на 5) */
.editorial-grid--3 {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 320px;
}

.editorial-grid--3 .editorial-card--feature {
  grid-row: auto;
}

.editorial-grid--4 {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 360px 250px;
}

.editorial-grid--4 .editorial-card--feature {
  grid-column: 1 / 4;
  grid-row: auto;
}

/* Полоса направлений на 2–4 карточки */
.destination-strip--2 {
  grid-template-columns: repeat(2, 1fr);
}

.destination-strip--3 {
  grid-template-columns: repeat(3, 1fr);
}

.destination-strip--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Мозаика на 4 фото: первая крупная слева, две малых и одна широкая справа */
.gallery-grid--4 {
  grid-template-columns: 1.35fr 0.65fr 0.65fr;
}

.gallery-grid--4 button:last-child {
  grid-column: 2 / 4;
}

/* Слайды карусели внутри текста: общее правило .article-body figure не должно давать им отступы и скругления */
.article-body .gallery-carousel__slide {
  margin: 0;
}

.article-body .gallery-carousel__slide img,
.article-body .gallery-grid img,
.article-body .gallery-pair img {
  border-radius: 0;
}

/* Пара фотографий: сама сетка с v1.2 в эталоне. Наша разметка кладёт её внутрь .gallery
   (общая подпись под парой), поэтому вертикальный отступ снимаем — его даёт .gallery. */
.gallery > .gallery-pair {
  margin: 0;
}

.gallery > .meta-row {
  margin-top: 10px;
  font-size: 12px;
}

/* Подпись к главной фотографии и «обновлено» — как в эталоне, только данные реальные */
.article-author time {
  display: inline;
}

/* Кружок автора: общее правило эталона .article-author span (display:block) перебивало grid у самой аватарки,
   и буква уезжала в левый верхний угол круга. Возвращаем центрирование, не трогая эталонную часть файла. */
.article-author .article-author__avatar {
  display: grid;
}

/* Поиск */
.search-form {
  display: flex;
  gap: 8px;
  max-width: 560px;
  margin-top: 8px;
}

.search-form input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
}

.search-form input:focus {
  border-color: var(--green-800);
  outline: 3px solid rgba(15, 80, 66, 0.2);
  outline-offset: 0;
}

/* Пустые состояния и ошибки */
.empty-state {
  padding: 72px 0;
  text-align: center;
}

.empty-state h1,
.empty-state .display-title {
  font-size: clamp(38px, 6vw, 72px);
}

.empty-state p {
  max-width: 560px;
  margin: 16px auto 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.empty-state .button {
  margin-top: 26px;
}

.feed-empty {
  padding: 40px 0;
  color: var(--muted);
  font-size: 15px;
}

/* Хлебные крошки региона и ссылка «все регионы» */
.region-hero__crumbs {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.region-hero__crumbs span::before {
  color: rgba(255, 255, 255, 0.45);
}

/* Мобильное меню: ссылки рубрик мельче основных пунктов */
.mobile-nav a.mobile-nav__sub {
  padding-left: 18px;
  font-size: 15px;
  font-weight: 650;
  color: var(--ink-soft);
}

.mobile-nav__group {
  padding: 18px 4px 6px;
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Клавиатура: активный слайд карусели показывает фокус на контейнере */
.gallery-carousel:focus-visible {
  outline-offset: -3px;
}

@media (max-width: 1160px) {
  .destination-strip--4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 960px) {
  /* Одна колонка: расширенная фотография и журнальная цитата эталона больше не выходят за текст (в эталоне сброс был только с 700 px) */
  .article-body .media-wide,
  .article-body .pull-quote {
    width: 100%;
    margin-left: 0;
  }

  .editorial-grid--3 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 360px 250px;
  }

  .editorial-grid--3 .editorial-card--feature {
    grid-column: 1 / 3;
  }
}

@media (max-width: 700px) {
  .destination-strip--3,
  .destination-strip--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .editorial-grid--3,
  .editorial-grid--4 {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .editorial-grid--3 .editorial-card--feature,
  .editorial-grid--4 .editorial-card--feature {
    grid-column: auto;
  }

  .gallery-grid--4 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 170px 170px;
  }

  .gallery-grid--4 button:last-child {
    grid-column: 1 / 3;
  }

  .search-form {
    flex-direction: column;
  }
}

@media (max-width: 440px) {
  .destination-strip--2,
  .destination-strip--3,
  .destination-strip--4 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Редакционная доработка 2026-09-05 (дизайн 1.3): новые компоненты ---------- */

/* Подпись только для экранных читалок (иконки метаданных декоративные) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  white-space: nowrap;
  clip-path: inset(50%);
}

/* Метаданные публикации — один компонент для ленты, колонки и страницы материала:
   календарь (оранжевый) + дата, нейтральный разделитель, часы + время чтения. Капсул нет. */
.meta-stamp {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.4;
}

.meta-stamp__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-stamp__icon {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--orange);
}

.meta-stamp__date {
  color: var(--ink-soft);
  font-weight: 600;
}

.meta-stamp__sep {
  margin: 0 9px;
  color: var(--line);
}

.mini-story .meta-stamp {
  font-size: 11.5px;
}

.mini-story .meta-stamp__icon {
  width: 12px;
  height: 12px;
}

/* Общие правила эталона .article-author span и .mini-story span (display:block, свой кегль и цвет)
   разложили бы компонент метаданных в столбик и уменьшили дату — возвращаем строку и кегль компонента. */
/* Заголовок мини-истории читается как заголовок, а не как приглушённая подпись: цвет от .mini-story span
   (муted, 4.35:1) и браузерный bold у h4 заметны в блоке «Не пропустите». */
.mini-story h4 {
  color: var(--ink);
  font-weight: 600;
}

.mini-story .meta-stamp span,
.mini-story .meta-stamp time {
  font-size: inherit;
}

.mini-story .meta-stamp__date {
  color: var(--ink-soft);
}

.article-author .meta-stamp {
  display: flex;
  margin-top: 3px;
  font-size: 12.5px;
}

.article-author .meta-stamp__item {
  display: inline-flex;
}

.article-author .meta-stamp__sep {
  display: inline;
}

.article-author .meta-stamp span,
.article-author .meta-stamp time {
  font-size: inherit;
}

.article-author .meta-stamp__date {
  color: var(--ink-soft);
}

/* Постоянные страницы (/about, /contacts): текст + узкая колонка, те же карточки, что в лентах */
.static-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--content)) minmax(280px, var(--sidebar));
  justify-content: space-between;
  gap: 62px;
  align-items: start;
}

.static-layout .article-body > h2:first-child {
  margin-top: 0;
}

/* На постоянных страницах заголовки разделов не спорят с h1 страницы (в материалах шкала остаётся прежней) */
.static-layout .article-body h2 {
  font-size: clamp(26px, 3vw, 33px);
}

.static-layout .article-body h3 {
  font-size: clamp(21px, 2.4vw, 25px);
}

.static-links a {
  display: block;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--green-800);
  font-size: 14px;
  font-weight: 600;
}

.static-links a:last-child {
  border-bottom: 0;
}

.static-links a:hover {
  color: var(--orange-dark);
}

.static-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line);
}

.static-facts > div:last-child {
  border-bottom: 0;
}

.static-facts small {
  color: var(--muted);
  font-size: 12px;
}

.static-facts strong {
  font-size: 14px;
  font-weight: 600;
}

/* Заголовки рвём только при необходимости: anywhere из правила body (нужное для длинных URL) ломало слова
   посередине в узких фотокарточках («Безопаснос/ть»). Та же логика, что уже применена к ячейкам таблиц. */
.story-card__title,
.editorial-card__title,
.feed-item__title,
.destination-card__body h3,
.mini-story h4,
.inline-related__title,
.news-ticker__story,
.rail-region__body h3,
.ranked-list a,
.article-title,
.page-title,
.section-header__title,
.display-title,
.region-hero__title,
.site-footer__cta-title,
.article-body h2,
.article-body h3,
.article-body h4 {
  overflow-wrap: break-word;
}

/* Каналы связи (/contacts): выводятся только реально настроенные — выдуманных контактов нет */
.contact-list {
  display: grid;
  gap: 14px;
  margin: 0 0 1.8em;
}

.contact-card {
  display: block;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  background: var(--white);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
}

.contact-card__title {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-card__value {
  display: block;
  margin: 7px 0 5px;
  color: var(--green-800);
  font-family: var(--font-editorial);
  font-size: 21px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-card__note {
  display: block;
  color: var(--ink-soft);
  font-size: 14px;
}

@media (max-width: 960px) {
  .static-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .static-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
  }
}

@media (max-width: 700px) {
  .static-aside {
    grid-template-columns: 1fr;
  }
}

/* Мобильное меню длиннее экрана (разделы + рубрики по группам): панель прокручивается сама, прокрутка не уходит
   на страницу под меню (страница при открытом меню заблокирована body.nav-open). */
.mobile-drawer__panel {
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Скрытая ссылка «Перейти к содержанию» уезжает вверх не дальше своей тени — тень только в фокусе. */
.skip-link:not(:focus) {
  box-shadow: none;
}

/* Телефон: ссылка логотипа — по ширине логотипа, а не на всю свободную колонку сетки шапки. */
@media (max-width: 700px) {
  .site-logo {
    justify-self: start;
  }
}

/* SIAMIA — editorial refinement, 2026-09-09.
   A single, removable override layer after legacy rules; no LLM contract changes.
   Component selectors deliberately outrank generic .article-body typography. */
:root {
  --reading-width: 760px;
  --reading-shell: 1140px;
  --reading-sidebar: 300px;
  --reading-gap: 64px;
  --text-body: 19px;
  --text-small: 17px;
  --text-caption: 13px;
  --text-h1: clamp(34px, 4.3vw, 60px);
  --text-h2: clamp(28px, 2.7vw, 34px);
  --text-h3: clamp(23px, 2.1vw, 26px);
  --space-text: 20px;
  --space-block: 32px;
  --space-section: 48px;
  --photo-shade: linear-gradient(180deg, rgba(4, 24, 20, .08) 0%, rgba(4, 24, 20, .68) 28%, rgba(4, 24, 20, .96) 100%);
}

/* One left edge for the headline, lead and text; cover spans the reading shell. */
.siamia-article .article-header { padding: 36px 0 28px; }
.siamia-article .article-header__inner,
.siamia-article .article-layout { max-width: var(--reading-shell); }
.siamia-article .article-title {
  max-width: 940px; margin: 16px 0 0;
  font-size: var(--text-h1); line-height: 1.1; letter-spacing: -.035em;
  text-wrap: pretty;
}
.siamia-article .article-lead {
  max-width: var(--reading-width); margin: 20px 0 24px;
  font-size: clamp(20px, 1.7vw, 22px); font-weight: 400; line-height: 1.6;
}
/* Byline: one calm line (editorial team · date, time · reading time), wrapping naturally on phones. */
.siamia-article .article-header { padding-bottom: 36px; }
.siamia-article .article-byline {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 0;
  max-width: var(--reading-width); margin: 0;
  color: var(--ink-soft); font-size: 15px; line-height: 1.5;
}
.article-byline__item { white-space: nowrap; }
.article-byline__item:first-child { color: var(--ink); font-weight: 600; }
/* The separator lives inside the following item, so a wrap never leaves a dangling dot. */
.article-byline__sep { margin: 0 10px 0 0; color: #a9b6b0; font-weight: 400; }
.siamia-article .article-hero {
  width: min(calc(100% - 40px), var(--reading-shell)); margin: 0 auto 40px;
}
.siamia-article .article-hero img { aspect-ratio: 2; border-radius: 10px; }
.article-hero figcaption,
.article-body figcaption { font-size: var(--text-caption); line-height: 1.55; }
.siamia-article .article-layout {
  grid-template-columns: minmax(0, var(--reading-width)) minmax(0, var(--reading-sidebar));
  gap: var(--reading-gap); justify-content: space-between; padding-bottom: 48px;
}
.article-sidebar { min-width: 0; }
.article-body { font-size: var(--text-body); line-height: 1.72; }
.article-body p { margin: 0 0 var(--space-text); }
.article-body h2,
.article-body h3,
.article-body h4 {
  margin: var(--space-section) 0 16px; line-height: 1.24;
  text-wrap: pretty; scroll-margin-top: 110px;
}
.article-body h2 { font-size: var(--text-h2); }
.article-body h3 { font-size: var(--text-h3); margin-top: var(--space-block); }
.article-body h4 { font-size: 21px; margin-top: 28px; }
.article-body h2 + h3 { margin-top: 24px; }
.article-body ul,
.article-body ol { margin: 0 0 var(--space-text); padding-left: 1.25em; }
.article-body li { margin-bottom: 10px; padding-left: .2em; }
.article-body li > ul,
.article-body li > ol { margin-top: 10px; margin-bottom: 0; }
.article-body li > p:last-child { margin-bottom: 0; }
.article-body hr { width: 64px; height: 2px; margin: var(--space-section) 0; }

/* Images stay within their column beside the sidebar; portraits retain the full image. */
.article-body > figure,
.article-body > .gallery { margin: var(--space-block) 0; }
.article-body .media-wide,
.article-body .media-full { width: 100%; margin-left: 0; }
.article-body > figure > img {
  width: auto; max-width: 100%; height: auto; max-height: 640px;
  margin-inline: auto; border-radius: 10px;
}
.article-body > figure > a > img { max-height: 640px; object-fit: contain; }
.article-body .gallery-carousel__slide { margin: 0; }
.article-body .gallery > .gallery-pair { margin: 0; }
.article-body .gallery > .meta-row { margin: 10px 0 0; font-size: var(--text-caption); }

/* One family of callouts: quiet surface, small semantic color accent, readable text. */
.article-body .article-note {
  --note-accent: var(--green-700);
  --note-title: var(--green-800);
  margin: var(--space-block) 0; padding: 22px 24px;
  border: 1px solid var(--line); border-left: 3px solid var(--note-accent);
  border-radius: 0 8px 8px 0; background: #f7f9f8;
  font-size: var(--text-small); font-style: normal; line-height: 1.65;
}
.article-body .article-note::before { content: none; }
.article-body .article-note--important { --note-accent: var(--orange); --note-title: #b25000; background: #fffaf4; }
.article-body .article-note--warning { --note-accent: var(--coral); --note-title: #c23a22; background: #fff7f5; }
/* The tip is a touch more visible than the plain note: tinted border and slightly stronger surface. */
.article-body .article-note--tip {
  --note-accent: var(--blue); --note-title: #106a93;
  border-color: #cfe3ec; border-left-color: var(--note-accent); background: #eef7fb;
}
/* The title row carries a small outline icon (inserted by body_note_icons at render time, aria-hidden). */
.article-body .article-note > strong:first-child {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 8px; color: var(--note-title); font-size: 16px; line-height: 1.35;
  font-weight: 700; letter-spacing: 0; text-transform: none;
}
.article-body .article-note__icon { flex: 0 0 auto; width: 20px; height: 20px; }
.article-body .article-note > :last-child,
.article-body .article-note p:last-child { margin-bottom: 0; }
.article-body .article-summary,
.article-body .article-toc {
  margin: var(--space-block) 0; padding: 24px;
  border: 1px solid var(--line); border-radius: 8px; background: #f7f9f8;
}
.article-body .article-summary__title,
.article-body .article-toc__title {
  margin-bottom: 12px; font-size: 15px; letter-spacing: 0; text-transform: none;
}
.article-body .article-summary li,
.article-body .article-toc li { font-size: var(--text-small); line-height: 1.6; margin-bottom: 8px; }
.article-body .article-summary ul,
.article-body .article-toc ol { margin-bottom: 0; }
.article-body .article-summary li:last-child,
.article-body .article-toc li:last-child { margin-bottom: 0; }
.article-body .article-toc a { font-weight: 500; text-decoration-color: var(--line); }
.article-body .article-quote,
.article-body > blockquote:not([class]) {
  margin: var(--space-block) 0; padding: 4px 0 4px 24px;
  border-left: 3px solid var(--orange); color: var(--green-950);
  font-family: var(--font-editorial); font-size: clamp(22px, 2vw, 26px);
  font-style: normal; font-weight: 500; line-height: 1.5;
}
.article-body .article-quote p:last-child,
.article-body > blockquote:not([class]) p:last-child { margin-bottom: 0; }
.article-body .article-quote cite { font-size: var(--text-caption); text-transform: none; letter-spacing: 0; }
.article-body .pull-quote {
  width: 100%; margin: var(--space-block) 0; padding: 28px;
  border-radius: 10px; font-size: clamp(24px, 2.2vw, 29px); line-height: 1.45;
}
.article-body .pull-quote p:last-child { margin-bottom: 0; }
.article-body .article-steps { margin: var(--space-block) 0; padding: 0; counter-reset: steps; }
.article-body .article-steps > li { min-height: 0; margin-bottom: 20px; padding: 0 0 0 54px; }
/* Bold orange numerals aligned with the first text line; no circles (plain <ol> keeps browser numbering). */
.article-body .article-steps > li::before {
  content: counter(steps, decimal-leading-zero);
  top: 2px; left: 0; width: auto; height: auto; display: block;
  border-radius: 0; background: none; color: #bf5200;
  font-family: var(--font-editorial); font-size: 24px; font-weight: 700;
  line-height: 1.2; letter-spacing: -.02em;
}
/* The counter belongs to direct steps only, never to nested list items. */
.article-body .article-steps li li { min-height: 0; padding: 0 0 0 .2em; counter-increment: none; }
.article-body .article-steps li li::before { content: none; }

/* Two-column tables fit the phone; complex tables retain horizontal scrolling.
   data-columns is computed during rendering, never supplied by the LLM. */
.article-body .table-scroll { margin: var(--space-block) 0; border-radius: 8px; }
.article-table { min-width: 620px; font-size: 16px; line-height: 1.55; }
.article-table[data-columns="1"],
.article-table[data-columns="2"] { min-width: 0; table-layout: fixed; }
.article-table--wide { min-width: 1060px; }
.article-table th,
.article-table td { padding: 15px 18px; }
.article-table thead th {
  background: #e3ede6; color: var(--green-950); font-size: 16px; line-height: 1.4;
  font-weight: 700; letter-spacing: 0; border-bottom: 2px solid #b9cdc1;
}
/* Row headers and emphasised first-column names: moderate, not a blanket bold column. */
.article-table tbody th { background: transparent; color: var(--green-950); font-weight: 600; }
.article-table tbody td:first-child > strong { color: var(--green-950); font-weight: 600; }
.article-table tbody tr:nth-child(even) { background: #f8faf9; }
/* The caption stays visible in the scrolling wrapper: sticky to the left edge, width of the viewport. */
.article-table caption {
  position: sticky; left: 0; box-sizing: border-box;
  max-width: calc(100vw - 56px); max-width: 100cqw;
  caption-side: top; padding: 0 0 10px; color: var(--ink-soft);
  font-size: 15px; line-height: 1.5; text-align: left;
}
.article-body .table-scroll { padding-top: 14px; padding-inline: 0; container-type: inline-size; }
.article-body .table-scroll .article-table caption { padding-inline: 18px; }
.article-body .article-table p:last-child,
.article-body .article-table ul:last-child,
.article-body .article-table ol:last-child { margin-bottom: 0; }

/* Explicit component typography prevents h3/p/link rules leaking into cards. */
.article-body .inline-related {
  grid-template-columns: 112px minmax(0, 1fr); gap: 18px;
  margin: var(--space-block) 0; padding: 18px 0;
  border: 0; border-block: 1px solid var(--line); box-shadow: none; background: transparent;
}
.article-body .inline-related img,
.article-body .inline-related .img-fallback {
  height: 88px; min-height: 0; object-fit: cover; border-radius: 6px;
}
.article-body .inline-related__title {
  margin: 6px 0 8px; font-size: 20px; line-height: 1.35; letter-spacing: -.015em;
}
.article-body .inline-related__title a { color: var(--ink); text-decoration: none; font-weight: 600; }
.article-body .inline-related__title a:hover { color: var(--green-700); text-decoration: underline; }
.article-body .inline-related__label { font-size: 11px; color: #994500; }
.article-body .inline-related__meta { font-size: var(--text-caption); }
.article-body .article-update {
  margin: var(--space-block) 0; padding: 18px 22px; border: 1px solid var(--line);
  border-left: 3px solid var(--orange); border-radius: 0 8px 8px 0;
  background: #fffaf4; font-size: var(--text-small); line-height: 1.65;
}
.article-body .article-update > :last-child { margin-bottom: 0; }
.article-body .article-sources { margin: var(--space-section) 0 0; padding-top: 24px; }
.article-body .article-sources h2 { margin: 0 0 16px; font-size: 20px; }
.article-body .article-sources ol { font-size: 15px; }
/* «Материал подготовлен по данным:» — серверный блок под новостью (до 5 ссылок «Заголовок — Издание»);
   компактный, тише основного текста, без нумерации; дальше идёт подвал с тегами. */
.article-body .article-sources__label {
  margin: 0 0 10px; color: var(--muted); font-size: 13px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
}
.article-body .article-sources__list { margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.5; }
.article-body .article-sources__list li { margin: 0 0 6px; padding: 0; }
.article-body .article-sources__list a { color: var(--green-800); overflow-wrap: anywhere; }
.article-body .article-sources + .article-footer { margin-top: 28px; padding-top: 0; }
.article-body .article-footer { margin-top: var(--space-section); padding-top: 24px; }
/* Tags as compact chips: neutral surface, hairline border, wrap between chips (and inside a very long one). */
.article-body .article-tags {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px;
  margin: 0; font-size: 14px; line-height: 1.4;
}
.article-body .article-tags__label {
  margin: 0; color: var(--muted); font-size: 13px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
}
.article-body .article-tags__list {
  display: flex; flex-wrap: wrap; gap: 8px; min-width: 0;
  margin: 0; padding: 0; list-style: none;
}
.article-body .article-tags__list li { margin: 0; padding: 0; max-width: 100%; }
.article-body .article-tag {
  display: inline-block; max-width: 100%; padding: 7px 12px;
  border: 1px solid var(--line); border-radius: 6px; background: var(--surface);
  color: var(--green-800); font-size: 14px; font-weight: 500; line-height: 1.35;
  text-decoration: none; overflow-wrap: anywhere;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}
.article-body .article-tag:hover { border-color: var(--green-700); background: #e6efea; color: var(--green-950); text-decoration: none; }
.article-body .article-tag:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.article-body > :first-child { margin-top: 0; }

/* Shared editorial cards and listing rhythm. Photo titles have a dark backing
   only where needed, while the top of the photograph keeps its original color. */
.section { padding-block: 56px; }
.section--tight { padding-block: 36px; }
.section-header__title { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; }
.page-title { font-size: clamp(38px, 5vw, 64px); line-height: 1.1; }
.story-card,
.story-card--main,
.editorial-card,
.destination-card,
.feed-item__image { border-radius: 10px; }
/* In-flow text lets long headlines increase the card height instead of clipping. */
.story-card,
.editorial-card { display: flex; flex-direction: column; justify-content: flex-end; }
.story-card__content,
.editorial-card__body { position: relative; inset: auto; }
.story-card::after,
.story-card--alert::after,
.editorial-card::after,
.editorial-card--orange::after { background: var(--photo-shade); }
/* Destination cards: the photo stays open at the top; the shade builds only under the name and caption. */
.destination-card::after {
  background: linear-gradient(180deg, rgba(4, 24, 20, 0) 0%, rgba(4, 24, 20, .04) 42%, rgba(4, 24, 20, .58) 72%, rgba(4, 24, 20, .92) 100%);
}
.story-card__title { font-size: clamp(28px, 3vw, 42px); line-height: 1.16; }
.story-card--side .story-card__title { font-size: clamp(22px, 2vw, 27px); line-height: 1.2; -webkit-line-clamp: 4; }
.editorial-card__title { font-size: 22px; line-height: 1.24; }
.editorial-card--feature .editorial-card__title { font-size: clamp(26px, 2.5vw, 34px); }
.editorial-grid--3 .editorial-card--feature .editorial-card__title { font-size: 24px; }
.editorial-grid { grid-template-rows: repeat(2, minmax(245px, auto)); }
.editorial-grid--3 { grid-template-rows: minmax(320px, auto); }
.editorial-grid--4 { grid-template-rows: minmax(360px, auto) minmax(250px, auto); }
.story-card__summary { font-size: 15px; line-height: 1.55; }
.story-card__content,
.editorial-card__body { padding: 24px; }
.story-card--main .story-card__content { padding: 32px; }
.lead-grid,
.story-card--main { min-height: 520px; }
.content-with-rail { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
.feed-item { grid-template-columns: 220px minmax(0, 1fr); }
.feed-item__title { font-size: clamp(21px, 1.9vw, 26px); line-height: 1.25; }
.feed-item__summary { font-size: 15px; line-height: 1.6; }
.mini-story { grid-template-columns: 80px minmax(0, 1fr); }
.mini-story h4 { font-size: 15px; line-height: 1.4; }
.mini-story img { height: 72px; border-radius: 5px; }
.rail-card { border-radius: 8px; }
/* Article sidebar only: vertical "related" cards with a wide 2:1 photo, no frame around the group. */
.siamia-article .article-sidebar .rail-card:not(.rail-region) { border: 0; border-radius: 0; background: transparent; }
.siamia-article .article-sidebar .rail-card:not(.rail-region) .rail-card__title { padding: 0 0 12px; }
.siamia-article .article-sidebar .rail-card:not(.rail-region) .rail-card__body { padding: 0; }
.siamia-article .article-sidebar .mini-story { display: block; padding: 20px 0; border-bottom: 1px solid var(--line); }
.siamia-article .article-sidebar .mini-story:last-child { border-bottom: 0; }
.siamia-article .article-sidebar .mini-story img,
.siamia-article .article-sidebar .mini-story .img-fallback {
  display: block; width: 100%; height: auto; aspect-ratio: 2; object-fit: cover; border-radius: 8px;
}
.siamia-article .article-sidebar .mini-story > span { display: block; margin-top: 12px; }
.siamia-article .article-sidebar .mini-story h4 {
  margin: 0 0 8px; color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.35;
  overflow-wrap: anywhere; text-wrap: pretty;
}
.siamia-article .article-sidebar .mini-story .meta-stamp { font-size: 13px; }
.siamia-article .article-sidebar .mini-story .meta-stamp__icon { width: 14px; height: 14px; }
.share-stack a { border-radius: 6px; min-height: 44px; }
.siamia-article .article-sidebar .share-stack { grid-column: 1 / -1; }
/* Footer: one compact composition (brand + about | two link groups / contact row / service row).
   Legacy CTA-section and map rules are left unused in the reference part. */
.site-footer__top {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px 64px;
  align-items: start; padding: 48px 0 36px;
}
.site-footer__brand { grid-column: auto; }
.site-footer__logo { display: inline-block; text-decoration: none; }
.site-footer .brand { font-size: clamp(34px, 2.8vw, 44px); }
.site-footer__about {
  max-width: 440px; margin: 16px 0 0;
  color: rgba(255, 255, 255, .84); font-size: 15px; line-height: 1.6;
}
.site-footer__columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.footer-column h3 { margin: 0 0 10px; font-size: 12px; letter-spacing: .1em; }
.footer-column a {
  display: block; margin: 0; padding: 6px 0;
  color: rgba(255, 255, 255, .9); font-size: 15px; line-height: 1.4;
}
.footer-column a:hover,
.footer-column a:focus-visible { color: var(--white); text-decoration: underline; }
.site-footer__cta {
  position: static; overflow: visible;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .14); border-bottom: 0;
}
.site-footer__cta-text {
  max-width: none; margin: 0; color: var(--white);
  font-family: var(--font-editorial); font-size: clamp(19px, 1.8vw, 23px);
  font-weight: 600; letter-spacing: -.01em; line-height: 1.3;
}
.site-footer__cta-button { min-height: 44px; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 18px 0 22px; color: rgba(255, 255, 255, .7); font-size: 13px; line-height: 1.5;
}
.site-footer__bottom span { margin: 0; }
.site-footer__bottom-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-footer__bottom-links a { color: rgba(255, 255, 255, .8); }
.site-footer__bottom-links a:hover,
.site-footer__bottom-links a:focus-visible { color: var(--white); text-decoration: underline; }

/* Home: "Now reading" as one horizontal row of compact cards under both columns (same rail data). */
.reading-row { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.reading-row__title { padding: 0 0 18px; border-bottom: 0; }
.reading-row__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.reading-row .mini-story { display: block; padding: 0; border-bottom: 0; }
.reading-row .mini-story img,
.reading-row .mini-story .img-fallback {
  display: block; width: 100%; height: auto; aspect-ratio: 2; object-fit: cover; border-radius: 8px;
}
.reading-row .mini-story > span { display: block; margin-top: 12px; }
.reading-row .mini-story h4 { margin: 0 0 6px; font-size: 16px; line-height: 1.35; text-wrap: pretty; }
.reading-row .mini-story .meta-stamp { font-size: 12.5px; }

/* Life section: two horizontal side stories instead of two narrow towers. */
.featured-row { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.featured-row__side { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr 1fr; }
.featured-row .story-card--main { min-height: 500px; }
.featured-row .story-card--main .story-card__title { font-size: clamp(28px, 2.6vw, 38px); }
.featured-row__side .story-card { min-height: 240px; }
.featured-row__side .story-card__title { font-size: 25px; -webkit-line-clamp: 3; }
.featured-row__side .story-card__summary { display: none; }

@media (max-width: 1160px) and (min-width: 961px) {
  .siamia-article .article-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; }
  .content-with-rail { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
  .feed-item { grid-template-columns: 180px minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 960px) {
  .siamia-article .article-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .siamia-article .article-body,
  .siamia-article .article-sidebar { width: 100%; max-width: var(--reading-width); margin-inline: auto; }
  .siamia-article .article-header__inner { max-width: var(--reading-width); }
  .content-with-rail { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .lead-grid { min-height: 0; }
  .site-footer__top { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 40px 0 28px; }
  .reading-row__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-row { grid-template-columns: minmax(0, 1fr); }
  .featured-row__side { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  .editorial-grid { grid-template-rows: minmax(360px, auto) repeat(2, minmax(250px, auto)); }
  .editorial-grid--3 { grid-template-rows: minmax(360px, auto) minmax(250px, auto); }
  .editorial-grid--4 { grid-template-rows: minmax(360px, auto) minmax(250px, auto); }
}
@media (max-width: 700px) {
  :root { --text-body: 18px; --text-small: 17px; --space-text: 18px; --space-block: 28px; --space-section: 36px; }
  .siamia-article .article-header { padding: 24px 0; }
  .siamia-article .article-title { font-size: var(--text-h1); }
  .siamia-article .article-hero { width: calc(100% - 28px); margin-bottom: 28px; }
  .siamia-article .article-hero img { aspect-ratio: 1.5; border-radius: 8px; }
  .siamia-article .article-hero figcaption { padding-inline: 0; }
  .siamia-article .article-layout { padding-bottom: 36px; }
  .article-body .article-note,
  .article-body .article-summary,
  .article-body .article-toc,
  .article-body .article-update { padding: 18px; }
  .article-body .article-quote,
  .article-body > blockquote:not([class]) { padding-left: 18px; }
  .article-body .pull-quote { padding: 24px; }
  .article-body > figure > img,
  .article-body > figure > a > img { max-height: 480px; }
  .article-table { font-size: 15px; }
  .article-table th,
  .article-table td { padding: 12px; }
  .article-table thead th { font-size: 15px; }
  .article-table caption { font-size: 14px; }
  .article-body .article-steps > li { padding-left: 48px; }
  .article-body .article-steps > li::before { font-size: 22px; top: 1px; }
  .article-body .article-note > strong:first-child { font-size: 16px; }
  .siamia-article .article-byline { font-size: 14px; }
  .article-byline__sep { margin: 0 8px; }
  /* Phone: "Now reading" as a sequential list (default horizontal mini-story). */
  .reading-row { margin-top: 28px; padding-top: 20px; }
  .reading-row__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .reading-row .mini-story { display: grid; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .reading-row .mini-story:last-child { border-bottom: 0; }
  .reading-row .mini-story img,
  .reading-row .mini-story .img-fallback { width: auto; height: 72px; aspect-ratio: 1.2; }
  .reading-row .mini-story > span { margin-top: 0; }
  .reading-row .mini-story h4 { font-size: 15px; }
  /* Phone footer: blocks in sequence, no narrow columns. */
  .site-footer__columns { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .site-footer__cta { flex-direction: column; align-items: flex-start; padding: 24px 0; }
  .site-footer__cta-button { width: 100%; }
  .site-footer__bottom { display: flex; flex-direction: column; gap: 8px; }
  .site-footer__bottom span.site-footer__bottom-links { display: flex; gap: 4px 18px; margin: 0; }
  .article-body .inline-related { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; }
  .article-body .inline-related img,
  .article-body .inline-related .img-fallback { height: 76px; }
  .article-body .inline-related__title { font-size: 18px; }
  .section { padding-block: 40px; }
  .section--tight { padding-block: 28px; }
  .story-card--main { min-height: 400px; }
  .story-card--main .story-card__content { padding: 24px; }
  .story-card--side { min-height: 270px; }
  .feed-item { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; }
  .feed-item__title { font-size: 19px; }
  .editorial-card,
  .editorial-card--feature { min-height: 300px; }
  .editorial-grid,
  .editorial-grid--3,
  .editorial-grid--4 { grid-template-rows: none; }
  .featured-row__side { grid-template-columns: minmax(0, 1fr); }
  .featured-row .story-card--main { min-height: 400px; }
  .featured-row__side .story-card { min-height: 260px; }
  .featured-row__side .story-card__title { font-size: 24px; }
}

/* Лента без фильтра рубрик (/news): компактный блок по левому краю — метка, H1, описание; без пустоты сверху.
   Рубрики — в зелёном рубрикаторе шапки. */
.page-hero--compact { padding: 36px 0 32px; }
.page-hero--compact .page-title { margin-top: 10px; font-size: clamp(38px, 4.5vw, 56px); }
.page-hero--compact .page-hero__intro {
  max-width: 780px;
  margin: 14px 0 0;
  font-size: 17.5px;
  line-height: 1.5;
}
@media (max-width: 960px) {
  .page-hero--compact { padding: 28px 0 24px; }
  .page-hero--compact .page-hero__intro { font-size: 16.5px; margin-top: 12px; }
}

/* Служебные страницы (/about, /contacts): шапка одной колонкой — метка, H1, intro читаются подряд, без разноса
   по краям экрана; ширина intro = ширине чтения статьи. Ниже — обычный static-layout. Селекторы только свои. */
.page-hero--static { padding: 44px 0 34px; }
.page-hero__stack { display: block; }
.page-hero__stack .page-title { margin-top: 12px; }
.page-hero__stack .page-hero__intro {
  max-width: var(--reading-width);
  margin: 18px 0 0;
  font-size: 19px;
  line-height: 1.6;
}
.static-page { padding-block: 40px; }
/* Внутри контактных карточек и у CTA-кнопки наследованное оформление ссылок статьи не нужно */
.static-page .article-body a.contact-card,
.static-page .article-body a.contact-card:hover { text-decoration: none; color: inherit; }
.static-page .article-body a.button,
.static-page .article-body a.button:hover { color: var(--white); }
@media (max-width: 960px) {
  .page-hero--static { padding: 32px 0 26px; }
  .page-hero__stack .page-hero__intro { font-size: 17px; margin-top: 14px; }
  .static-page { padding-block: 32px; }
}

/* SIAMIA — журнальная шапка и первый экран главной, 2026-09-23 (DESIGN-SYSTEM.md, «Шапка», «Главная»).
   Крупнее логотип, поиск и рубрикатор; рубрикатор без иконок (разметка иконок остаётся, скрыта здесь).
   «Главное сегодня»: главная фотокарточка + две светлые карточки (фото сверху, заголовок и дата на белом, метка
   на фото). «Сейчас» и быстрые разделы — в одном ритме с первым экраном. Откат = удаление блока. */
.site-header__top { min-height: 96px; }
.site-logo__name { font-size: 48px; letter-spacing: -.055em; }
.site-logo__name::after { width: 11px; height: 11px; }
.site-logo__tagline { margin-top: 7px; font-size: 10.5px; letter-spacing: .15em; }
.site-header__tools { gap: 28px; }
.header-search { width: 290px; height: 44px; border-radius: 8px; }
.header-search input { padding-left: 14px; font-size: 15px; }
.header-search__submit { width: 44px; }
.header-links { gap: 24px; }
.header-links a { font-size: 15px; }
.site-header__nav,
.main-nav__link { min-height: 54px; }
.main-nav__list { gap: 26px; }
.main-nav__link,
.main-nav__more-button { font-size: 16px; }
.main-nav__link::after { height: 3px; }
.main-nav__icon { display: none; }
.main-nav__dropdown-list a { font-size: 15px; }
.main-nav__more { border-left-color: rgba(255, 255, 255, .2); }

.home-hero { padding: 32px 0 0; }
.home-hero__heading { align-items: baseline; margin-bottom: 20px; }
.home-hero__heading h1 {
  font-family: var(--font-editorial);
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 650;
  letter-spacing: -.03em;
  line-height: 1.1;
  text-transform: none;
}
.home-hero__heading h1::before { width: 5px; height: .78em; margin-right: 14px; vertical-align: -.02em; }
.home-hero__date { font-size: 14px; }
.home-hero .lead-grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px; min-height: 0; }
.home-hero .story-card--main { min-height: 620px; }
/* Направленная тень: сильнее снизу и слева, верх фотографии остаётся открытым. */
.home-hero .story-card--main::after {
  background:
    linear-gradient(0deg, rgba(4, 24, 20, .94) 0%, rgba(4, 24, 20, .66) 36%, rgba(4, 24, 20, .12) 68%, rgba(4, 24, 20, 0) 100%),
    linear-gradient(90deg, rgba(4, 24, 20, .42) 0%, rgba(4, 24, 20, 0) 64%);
}
.home-hero .story-card--main .story-card__content { padding: 36px 40px; }
.home-hero .story-card--main .story-card__title { font-size: clamp(32px, 3.1vw, 46px); line-height: 1.1; }
.home-hero .story-card--main .story-card__summary { max-width: 62ch; font-size: 16px; }
.home-hero .story-card--main .meta-row { color: rgba(255, 255, 255, .86); font-size: 13.5px; }
.home-hero .lead-grid__side { gap: 20px; }
/* Боковая карточка: фото сверху (занимает остаток высоты колонки), текст на белом; метка — на фото.
   Нет фото — сверху остаётся фон карточки. */
.home-hero .lead-grid__side .story-card {
  display: grid;
  grid-template-rows: minmax(120px, 1fr) auto;
  min-height: 0;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--green-900), var(--green-700) 70%, var(--green-500));
  color: var(--ink);
}
.home-hero .lead-grid__side .story-card::after { display: none; }
.home-hero .lead-grid__side .story-card__image {
  position: static;
  grid-row: 1;
  align-self: stretch;
  height: auto;
  min-height: 0;
  contain: size;   /* фото не раздвигает колонку своей натуральной высотой — заполняет остаток карточки */
}
.home-hero .lead-grid__side .story-card__content {
  position: static;
  grid-row: 2;
  padding: 18px 22px 20px;
  background: var(--white);
}
.home-hero .lead-grid__side .tag { position: absolute; top: 14px; left: 14px; z-index: 1; min-height: 26px; padding-inline: 9px; }
.home-hero .lead-grid__side .story-card--alert .tag { background: var(--orange); }
.home-hero .lead-grid__side .story-card__title {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.22;
  text-shadow: none;
  -webkit-line-clamp: 4;
}
.home-hero .lead-grid__side .story-card:hover .story-card__title { color: var(--green-800); }
.home-hero .lead-grid__side .meta-row { color: var(--muted); font-size: 13.5px; }

.home-hero .news-ticker { gap: 8px 28px; margin-top: 20px; padding: 22px 28px; border-left-width: 4px; }
.home-hero .news-ticker__label { font-size: 12.5px; }
.home-hero .news-ticker__story { font-size: clamp(20px, 1.9vw, 25px); }
.home-hero .news-ticker__summary {
  display: -webkit-box;
  overflow: hidden;
  max-width: 82ch;
  font-size: 16px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.home-hero .news-ticker__time { font-size: 13.5px; }
/* Быстрые разделы идут сразу под «Сейчас» с тем же шагом 20px. */
.home-hero + .section--tight { padding-top: 20px; }
/* Разделов 1–5 (только рубрики с материалами): ряд переносится без пустых ячеек, линии между ячейками — зазор 1px. */
.quick-links { display: flex; flex-wrap: wrap; gap: 1px; border-radius: 10px; background: var(--line); overflow: hidden; }
.quick-links > .quick-link { flex: 1 1 0; min-width: 0; border: 0; background: var(--white); }
.quick-links > .quick-link:hover { background: var(--green-950); }
.quick-link { min-height: 108px; grid-template-columns: 48px minmax(0, 1fr); padding: 20px 22px; }
.quick-link__icon { width: 48px; height: 48px; }
.quick-link__icon svg { width: 24px; height: 24px; }
.quick-link strong { font-size: 17.5px; }
.quick-link small { font-size: 14px; }

@media (max-width: 1160px) {
  .site-header__top { min-height: 90px; }
  .site-logo__name { font-size: 44px; }
  .site-header__tools { gap: 20px; }
  .header-search { width: 230px; }
  .main-nav__list { gap: 20px; }
  .home-hero .lead-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
  .home-hero .story-card--main { min-height: 580px; }
  .home-hero .story-card--main .story-card__content { padding: 30px; }
  .quick-links > .quick-link { flex-basis: 30%; }
}
@media (max-width: 960px) {
  .home-hero .lead-grid { grid-template-columns: minmax(0, 1fr); }
  .home-hero .story-card--main { min-height: 480px; }
  .home-hero .lead-grid__side { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .home-hero .lead-grid__side .story-card { grid-template-rows: minmax(150px, auto) 1fr; }
  .home-hero .lead-grid__side .story-card__image { height: auto; aspect-ratio: 16 / 9; contain: none; }
  .home-hero .lead-grid__side .story-card__title { font-size: 21px; }
}
@media (max-width: 700px) {
  .site-header__top { min-height: 68px; }
  .site-logo__name { font-size: 32px; }
  .site-logo__name::after { width: 8px; height: 8px; margin-left: 4px; }
  .site-logo__tagline { margin-top: 5px; font-size: 8.5px; }
  .header-search { width: 100%; }
  .home-hero { padding-top: 24px; }
  .home-hero__heading { margin-bottom: 16px; }
  .home-hero__heading h1 { font-size: 27px; }
  .home-hero .lead-grid,
  .home-hero .lead-grid__side { gap: 14px; }
  .home-hero .story-card--main { min-height: 440px; }
  .home-hero .story-card--main .story-card__content { padding: 22px; }
  .home-hero .story-card--main .story-card__title { font-size: 27px; line-height: 1.15; -webkit-line-clamp: 6; }
  .home-hero .lead-grid__side { grid-template-columns: minmax(0, 1fr); }
  .home-hero .lead-grid__side .story-card__image { aspect-ratio: 2; }
  .home-hero .lead-grid__side .story-card__content { padding: 16px 18px 18px; }
  .home-hero .lead-grid__side .story-card__title { font-size: 21px; }
  .home-hero .news-ticker { margin-top: 14px; padding: 18px 18px 18px 20px; }
  .home-hero .news-ticker__summary { font-size: 15px; }
  .home-hero + .section--tight { padding-top: 14px; }
  .quick-link { min-height: 92px; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 16px; }
  .quick-link__icon { width: 40px; height: 40px; }
  .quick-link__icon svg { width: 21px; height: 21px; }
  .quick-link strong { font-size: 16px; }
  .quick-link small { font-size: 13px; }
  .quick-links > .quick-link { flex-basis: 40%; }
  .home-hero .news-ticker__summary { -webkit-line-clamp: 4; }
}
@media (max-width: 440px) {
  .quick-links > .quick-link { flex-basis: 100%; }
}

/* SIAMIA — логотип-картинка в шапке, 2026-10-04 (src/logo.php; DESIGN-SYSTEM.md, «Шапка»). Загруженный логотип
   заменяет текстовый; высота не больше текстового (~66px / телефон ~46px), строка шапки не растёт; width/height auto
   + max-* — пропорции сохраняются, растяжения нет. Откат = удаление блока (без него картинка выйдет в натуральную величину). */
.site-logo__img { display: block; width: auto; height: auto; max-height: 64px; max-width: 300px; }
@media (max-width: 960px) {
  .site-logo__img { max-width: 240px; }
}
@media (max-width: 700px) {
  .site-logo__img { max-height: 44px; max-width: min(200px, 52vw); }
}
