/* РРИ-ЦА — основные стили сайта.
   Палитра: вода озёр, сухой тростник и солончак. Один основной цвет (lake),
   остальное — нейтральные тона. Заголовки — Literata, текст и интерфейс — Golos Text. */

:root {
  --ink: #17272c;
  --ink-2: #4a5b60;
  --lake: #1d5a69;
  --lake-deep: #143f4a;
  --lake-tint: #e3eef0;
  --reed: #6f7d3c;
  --salt: #f3f5f3;
  --line: #d9dfdd;
  --white: #ffffff;

  --map-water: #d3e3e6;
  --map-land: #f2f0ea;
  --map-ca: #e5e0cf;
  --map-river: #7fa6ae;

  --font-head: "Literata", Georgia, "Times New Roman", serif;
  --font-body: "Golos Text", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1200px;
  --gutter: 24px;
  --header-h: 72px;
}

/* ---------- База ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body.rr {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
}

.rr img {
  max-width: 100%;
  height: auto;
  display: block;
}

.rr a {
  color: var(--lake);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.rr a:hover {
  color: var(--lake-deep);
}

.rr :focus-visible {
  outline: 2px solid var(--lake);
  outline-offset: 3px;
  border-radius: 2px;
}

.rr h1,
.rr h2,
.rr h3,
.rr h4 {
  color: var(--ink);
  margin: 0;
}

.rr h1,
.rr h2 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.rr h1 {
  font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.25rem);
  line-height: 1.12;
}

.rr h2 {
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  line-height: 1.2;
}

.rr h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
}

.rr p {
  margin: 0 0 1em;
}

.rr-skip {
  position: absolute;
  left: -9999px;
}

.rr-skip:focus {
  left: 16px;
  top: 12px;
  z-index: 100;
  background: var(--white);
  padding: 8px 12px;
}

.rr-wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.rr-section {
  padding-block: clamp(56px, 7vw, 96px);
}

.rr-section--salt {
  background: var(--salt);
}

.rr-section--tight {
  padding-block: clamp(40px, 5vw, 64px);
}

.rr-muted {
  color: var(--ink-2);
}

.rr-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 38em;
}

/* Заголовок секции со ссылкой справа */
.rr-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.rr-section-head p {
  margin: 8px 0 0;
  color: var(--ink-2);
  max-width: 36em;
}

.rr-more {
  font-weight: 500;
  white-space: nowrap;
}

/* ---------- Кнопки ---------- */

.rr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid var(--lake);
  border-radius: 4px;
  background: var(--lake);
  color: var(--white) !important;
  font: 500 16px/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}

.rr-btn:hover {
  background: var(--lake-deep);
  border-color: var(--lake-deep);
}

.rr-btn--line {
  background: transparent;
  color: var(--lake) !important;
}

.rr-btn--line:hover {
  background: var(--lake-tint);
  border-color: var(--lake);
}

.rr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Шапка ---------- */

.rr-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.rr-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.rr-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.rr-logo img {
  width: 116px;
}


/* Расшифровка названия рядом с логотипом */
.rr-logo__name {
  font-size: 13px;
  line-height: 1.25;
  color: var(--ink-2);
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

/* Ровно две строки: «Рамсарская региональная / инициатива Центральной Азии» */
.rr-logo__name > span {
  display: block;
  white-space: nowrap;
}

/* Шапка шире основного контейнера, чтобы логотип с расшифровкой и меню
   помещались в одну строку */
.rr-header .rr-header__bar {
  max-width: calc(1360px + var(--gutter) * 2);
}

.rr-nav {
  display: flex;
  align-items: center;
}

.rr-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rr-nav__link {
  display: block;
  padding: 10px 11px;
  color: var(--ink) !important;
  font-size: 15.5px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.rr-nav__link:hover {
  background: var(--salt);
}

.rr-nav__link[aria-current] {
  color: var(--lake) !important;
  box-shadow: inset 0 -2px 0 var(--lake);
  border-radius: 0;
}

.rr-nav__item--menu {
  position: relative;
}

.rr-nav__link--menu::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.rr-submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 230px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(23, 39, 44, 0.12);
  display: none;
}

.rr-nav__item--menu.is-open .rr-submenu {
  display: block;
}

.rr-submenu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  color: var(--ink) !important;
  text-decoration: none;
  border-radius: 4px;
  font-size: 15px;
}

.rr-submenu a:hover {
  background: var(--salt);
}

.rr-flag {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(23, 39, 44, 0.12);
  flex-shrink: 0;
}

.rr-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
  padding: 0;
}

.rr-burger span,
.rr-burger span::before,
.rr-burger span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 0 auto;
  background: var(--ink);
  position: relative;
  content: "";
}

.rr-burger span::before {
  position: absolute;
  top: -6px;
}

.rr-burger span::after {
  position: absolute;
  top: 6px;
}

@media (max-width: 1399px) {
  .rr-logo__name {
    font-size: 12px;
  }

  .rr-nav__list {
    gap: 2px;
  }

  .rr-nav__link {
    padding-inline: 8px;
    font-size: 15px;
  }
}

@media (max-width: 1279px) {
  .rr-burger {
    display: block;
  }

  .rr-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .rr-header.is-open .rr-nav {
    display: block;
  }

  .rr-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 16px;
  }

  .rr-nav__link {
    padding: 12px 0;
    border-radius: 0;
    border-bottom: 1px solid var(--salt);
    width: 100%;
    text-align: left;
  }

  .rr-nav__link:hover {
    background: none;
  }

  .rr-nav__link[aria-current] {
    box-shadow: none;
  }

  .rr-nav__link--menu::after {
    display: none;
  }

  .rr-submenu {
    position: static;
    display: block;
    border: 0;
    box-shadow: none;
    padding: 4px 0 8px 12px;
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .rr-header__bar {
    gap: 12px;
  }

  .rr-logo {
    gap: 9px;
  }

  .rr-logo img {
    width: 92px;
  }

  .rr-logo__name {
    font-size: 11px;
    padding-left: 9px;
  }

  .rr-burger {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }
}

@media (max-width: 380px) {
  .rr-logo img {
    width: 80px;
  }

  .rr-logo__name {
    font-size: 10px;
  }
}

@media (max-width: 340px) {
  .rr-logo__name {
    display: none;
  }
}

/* ---------- Подвал ---------- */

.rr-footer {
  background: var(--salt);
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-2);
}

.rr-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-block: 56px 40px;
}

.rr-footer h2 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 14px;
}

.rr-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rr-footer li + li {
  margin-top: 8px;
}

.rr-footer a {
  color: var(--ink) !important;
  text-decoration: none;
}

.rr-footer a:hover {
  text-decoration: underline;
}

.rr-footer__about img {
  width: 110px;
  margin-bottom: 16px;
}

.rr-footer__about p {
  max-width: 28em;
}

.rr-footer__country a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.rr-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding-block: 20px 28px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.rr-footer__support {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rr-footer__support img {
  height: 34px;
  width: auto;
}

.rr-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.rr-footer__legal a {
  color: var(--ink-2) !important;
}

@media (max-width: 991px) {
  .rr-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575px) {
  .rr-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ---------- Главная: первый экран с видео ---------- */

.rr-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(540px, 84vh, 800px);
  overflow: hidden;
  background: #1b3a40 url("../video/hero_wetland_poster.jpg") center / cover no-repeat;
  color: var(--white);
}

.rr-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rr-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(11, 29, 34, 0.74) 0%, rgba(11, 29, 34, 0.42) 50%, rgba(11, 29, 34, 0.05) 100%),
    linear-gradient(0deg, rgba(11, 29, 34, 0.5) 0%, rgba(11, 29, 34, 0) 50%);
}

.rr-hero__content {
  position: relative;
  z-index: 2;
  padding-block: 120px clamp(56px, 8vh, 96px);
}

/* Ровно две строки: «Водно-болотные угодья / Центральной Азии».
   Размер от ширины экрана, чтобы первая строка помещалась и на телефоне */
.rr-hero h1 {
  color: var(--white);
  font-size: clamp(1.3rem, 6.9vw, 4.5rem);
  line-height: 1.06;
  margin-bottom: 22px;
}

.rr-hero h1 span {
  display: block;
}

.rr-hero__lead {
  max-width: 34em;
  margin-bottom: 32px !important;
  font-size: 1.18rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.rr-btn--light {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink) !important;
}

.rr-btn--light:hover {
  background: var(--lake-tint);
  border-color: var(--lake-tint);
}

.rr-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
}

.rr-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.rr-hero__toggle {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: rgba(11, 29, 34, 0.35);
  cursor: pointer;
}

.rr-hero__toggle:hover {
  background: rgba(11, 29, 34, 0.6);
}

/* Пауза — две полосы, воспроизведение — треугольник */
.rr-hero__icon {
  display: block;
  width: 12px;
  height: 14px;
  margin: 0 auto;
  border-left: 4px solid var(--white);
  border-right: 4px solid var(--white);
}

.rr-hero.is-paused .rr-hero__icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent var(--white);
  margin-left: 16px;
}

/* Угодья на карте */

.rr-sites {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  margin-bottom: 48px;
}

.rr-sites h2 {
  margin-bottom: 18px;
}

@media (max-width: 991px) {
  .rr-sites {
    grid-template-columns: 1fr;
  }
}

/* Карта региона */

.rr-map {
  margin: 0;
}

.rr-map__frame {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: var(--map-water);
  box-shadow: inset 0 0 0 1px rgba(23, 39, 44, 0.08);
}

.rr-map svg {
  display: block;
  width: 100%;
  height: auto;
}

.rr-map .rm-land {
  fill: var(--map-land);
  stroke: #ffffff;
  stroke-width: 0.8;
}

.rr-map .rm-ca {
  fill: var(--map-ca);
  stroke: #ffffff;
  stroke-width: 1.4;
  transition: fill 0.2s;
}

.rr-map .rm-ca.is-active {
  fill: #dcd5bf;
}

.rr-map .rm-lake {
  fill: var(--map-water);
  stroke: var(--map-river);
  stroke-width: 0.5;
}

.rr-map .rm-river {
  fill: none;
  stroke: var(--map-river);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rr-map .rm-label {
  font: 500 19px var(--font-body);
  fill: #7a7259;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.rr-map .rm-site circle {
  fill: var(--lake);
  stroke: #ffffff;
  stroke-width: 2;
}

.rr-map .rm-site--potential circle {
  fill: #ffffff;
  stroke: var(--lake);
  stroke-width: 2.4;
}

.rr-map .rm-site:hover circle,
.rr-map .rm-site:focus circle {
  stroke: var(--ink);
}

.rr-map .rm-site {
  outline: none;
}

.rr-map__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.rr-map__key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rr-map__key::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--lake);
}

.rr-map__key--potential::before {
  background: #ffffff;
  box-shadow: inset 0 0 0 2px var(--lake);
}

.rr-map__key strong {
  color: var(--ink);
  font-weight: 600;
}

.rr-map__tip {
  position: absolute;
  z-index: 2;
  max-width: 240px;
  padding: 8px 10px;
  background: var(--ink);
  color: #ffffff;
  border-radius: 4px;
  font-size: 13.5px;
  line-height: 1.35;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 12px));
  white-space: normal;
}

.rr-map__tip[hidden] {
  display: none;
}

.rr-map__tip small {
  display: block;
  color: #b9c9cc;
  font-size: 12.5px;
}

@media (prefers-reduced-motion: no-preference) {
  .rr-map .rm-site {
    animation: rm-appear 0.5s ease-out both;
    animation-delay: calc(var(--i, 0) * 28ms + 200ms);
  }

  @keyframes rm-appear {
    from {
      opacity: 0;
    }
  }
}

/* ---------- Страны: таблица с количеством угодий ---------- */

.rr-countries {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.rr-country {
  display: block;
  padding: 20px 20px 22px 0;
  text-decoration: none;
  color: var(--ink) !important;
  border-bottom: 1px solid var(--line);
}

.rr-country + .rr-country {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.rr-country__name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  margin-bottom: 6px;
}

.rr-country__stat {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.45;
}

.rr-country:hover .rr-country__name span {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 991px) {
  .rr-countries {
    grid-template-columns: 1fr;
  }

  .rr-country,
  .rr-country + .rr-country {
    padding: 14px 0;
    border-left: 0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
  }

  .rr-country__name {
    margin: 0;
  }

  .rr-country__stat {
    text-align: right;
  }
}

/* ---------- Новости ---------- */

.rr-news {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px;
}

.rr-story {
  color: var(--ink) !important;
  text-decoration: none;
  display: block;
}

.rr-story__img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 6px;
  background: var(--salt);
  margin-bottom: 18px;
}

.rr-story__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rr-story h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.7rem);
  line-height: 1.25;
  margin: 6px 0 10px;
}

.rr-story:hover h3,
.rr-row:hover h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.rr-meta {
  font-size: 14px;
  color: var(--ink-2);
}

.rr-meta span + span::before {
  content: ", ";
}

.rr-news__list {
  display: flex;
  flex-direction: column;
}

.rr-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink) !important;
  text-decoration: none;
}

.rr-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.rr-row__img {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  background: var(--salt);
}

.rr-row__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rr-row h3 {
  font-size: 1.02rem;
  margin: 4px 0 0;
}

@media (max-width: 991px) {
  .rr-news {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .rr-row {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
  }
}

/* ---------- Об инициативе ---------- */

.rr-about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.rr-about h2 {
  margin-bottom: 18px;
}

.rr-about .rr-figure {
  margin-top: 36px;
}

.rr-tasks {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.rr-tasks li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-top: 1px solid var(--line);
  line-height: 1.5;
}

.rr-tasks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2em;
  width: 8px;
  height: 1.5px;
  background: var(--reed);
}

.rr-figure {
  margin: 0;
}

.rr-figure img {
  width: 100%;
  border-radius: 6px;
}

.rr-figure figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-2);
}

@media (max-width: 991px) {
  .rr-about {
    grid-template-columns: 1fr;
  }
}

/* ---------- Документы ---------- */

.rr-docs {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.rr-doc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 32px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.rr-doc h3 {
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0 0 4px;
  overflow-wrap: anywhere;
}

.rr-doc__link {
  font-weight: 500;
  white-space: nowrap;
}

.rr-doc__format {
  color: var(--ink-2);
  font-weight: 400;
}

@media (max-width: 575px) {
  .rr-doc {
    grid-template-columns: 1fr;
  }
}

/* ---------- Пустые состояния ---------- */

.rr-empty {
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 6px;
  color: var(--ink-2);
}

/* ---------- Внутренние страницы: шапка страницы ---------- */

.rr-pagehead {
  background: var(--salt);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(36px, 5vw, 64px) clamp(32px, 4vw, 48px);
}

.rr-pagehead h1 {
  font-size: clamp(2rem, 1.5rem + 1.8vw, 2.9rem);
  max-width: 22em;
}

.rr-pagehead .rr-lead {
  margin: 16px 0 0;
}

.rr-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--ink-2);
}

.rr-crumbs li + li::before {
  content: "/";
  margin: 0 10px;
  color: #a3b0b3;
}

.rr-crumbs a {
  color: var(--ink-2) !important;
  text-decoration: none;
}

.rr-crumbs a:hover {
  color: var(--lake) !important;
  text-decoration: underline;
}

/* ---------- Фильтры и поиск ---------- */

.rr-filters {
  display: grid;
  gap: 18px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}

.rr-search {
  display: flex;
  gap: 8px;
  max-width: 560px;
}

.rr-input,
.rr-search input,
.rr-field input,
.rr-field textarea,
.rr-field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #b9c4c2;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font: 16px/1.4 var(--font-body);
}

.rr-search input:focus,
.rr-field input:focus,
.rr-field textarea:focus,
.rr-field select:focus {
  outline: 2px solid var(--lake);
  outline-offset: 0;
  border-color: var(--lake);
}

.rr-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.rr-filter-row__label {
  margin-right: 6px;
  font-size: 14px;
  color: var(--ink-2);
  min-width: 82px;
}

.rr-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink) !important;
  font-size: 14.5px;
  text-decoration: none;
  white-space: nowrap;
}

.rr-chip:hover {
  border-color: var(--lake);
}

.rr-chip[aria-current] {
  background: var(--lake);
  border-color: var(--lake);
  color: var(--white) !important;
}

.rr-chip small {
  color: inherit;
  opacity: 0.7;
  font-size: 13px;
}

.rr-found {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin: 24px 0 8px;
  font-size: 15px;
  color: var(--ink-2);
}

@media (max-width: 575px) {
  .rr-filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .rr-filter-row::-webkit-scrollbar {
    display: none;
  }

  .rr-filter-row__label {
    min-width: 0;
  }

  .rr-filter-row > * {
    flex-shrink: 0;
  }

  .rr-doc__link {
    white-space: normal;
  }
}

/* ---------- Сетка материалов ---------- */

.rr-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
  padding-block: 32px 8px;
}

.rr-card {
  display: block;
  color: var(--ink) !important;
  text-decoration: none;
}

.rr-card__img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 6px;
  background: var(--salt);
  margin-bottom: 14px;
}

.rr-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.rr-card:hover .rr-card__img img {
  transform: scale(1.03);
}

.rr-card h3 {
  margin: 6px 0 0;
  font-size: 1.08rem;
  line-height: 1.4;
}

.rr-card:hover h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.rr-card p {
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--ink-2);
}

.rr-cards--lead .rr-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px;
  align-items: center;
}

.rr-cards--lead .rr-card:first-child .rr-card__img {
  margin: 0;
}

.rr-cards--lead .rr-card:first-child h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  line-height: 1.22;
  margin-top: 10px;
}

.rr-cards--lead .rr-card:first-child p {
  font-size: 16px;
}

@media (max-width: 991px) {
  .rr-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rr-cards--lead .rr-card:first-child {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 575px) {
  .rr-cards {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------- Пагинация ---------- */

.rr-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.rr-pages a,
.rr-pages span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink) !important;
  text-decoration: none;
  font-size: 15px;
}

.rr-pages a:hover {
  border-color: var(--lake);
}

.rr-pages [aria-current] {
  background: var(--lake);
  border-color: var(--lake);
  color: var(--white) !important;
}

/* ---------- Статья и текстовые страницы ---------- */

.rr-article {
  max-width: 760px;
}

.rr-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--ink-2);
}

.rr-article__meta a {
  color: var(--ink-2) !important;
}

.rr-article h1 {
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem);
  line-height: 1.16;
  margin-bottom: 20px;
}

.rr-article__lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 28px !important;
}

.rr-article__img {
  margin: 0 0 32px;
}

.rr-article__img img {
  width: 100%;
  border-radius: 6px;
}

.rr-prose {
  font-size: 1.07rem;
  line-height: 1.75;
  max-width: 68ch;
}

.rr-prose p,
.rr-prose ul,
.rr-prose ol,
.rr-prose blockquote,
.rr-prose figure,
.rr-prose table {
  margin: 0 0 1.1em;
}

.rr-prose h2,
.rr-prose h3 {
  margin-top: 1.8em;
  margin-bottom: 0.2em;
}

.rr-prose h2 {
  font-size: 1.6rem;
}

.rr-prose h3 {
  font-size: 1.2rem;
}

.rr-prose ul,
.rr-prose ol {
  padding-left: 1.3em;
  margin-bottom: 0;
}

.rr-prose li + li {
  margin-top: 0.4em;
}

.rr-prose blockquote {
  margin-inline: 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--reed);
  font-family: var(--font-head);
  font-size: 1.12rem;
  line-height: 1.6;
}

.rr-prose img {
  border-radius: 6px;
  height: auto !important;
}

.rr-prose a {
  word-break: break-word;
}

.rr-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.rr-prose th,
.rr-prose td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.rr-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.rr-share span {
  color: var(--ink-2);
}

.rr-share button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--lake);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.rr-prevnext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.rr-prevnext a {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink) !important;
  text-decoration: none;
}

.rr-prevnext a:hover {
  border-color: var(--lake);
}

.rr-prevnext small {
  display: block;
  margin-bottom: 4px;
  color: var(--ink-2);
  font-size: 13.5px;
}

.rr-prevnext__next {
  text-align: right;
  grid-column: 2;
}

@media (max-width: 575px) {
  .rr-prevnext {
    grid-template-columns: 1fr;
  }

  .rr-prevnext__next {
    grid-column: 1;
  }
}

/* ---------- Список документов ---------- */

.rr-doc--full {
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: start;
}

.rr-doc__type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 3px 10px 3px 3px;
  background: var(--white);
  color: var(--lake);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.rr-doc p {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--ink-2);
  max-width: 60ch;
}

@media (max-width: 575px) {
  .rr-doc--full {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .rr-doc--full .rr-doc__link {
    grid-column: 2;
  }
}

/* ---------- Формы ---------- */

.rr-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}

.rr-field {
  display: grid;
  gap: 6px;
}

.rr-field--wide {
  grid-column: 1 / -1;
}

.rr-field label {
  font-size: 15px;
  font-weight: 500;
}

.rr-field textarea {
  min-height: 150px;
  resize: vertical;
}

.rr-form__status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 15px;
}

.rr-form__status[data-state="error"] {
  color: #a3352b;
}

@media (max-width: 575px) {
  .rr-form {
    grid-template-columns: 1fr;
  }
}

/* ---------- Люди: контакты координаторов ---------- */

.rr-people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 32px;
}

.rr-person {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.rr-person__photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--salt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 26px;
  color: var(--ink-2);
}

.rr-person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rr-person h3 {
  font-size: 1.02rem;
  margin-bottom: 2px;
}

.rr-person__role {
  font-size: 14.5px;
  color: var(--ink-2);
  margin-bottom: 8px !important;
  line-height: 1.4;
}

.rr-person__contacts {
  font-size: 14.5px;
  line-height: 1.6;
}

.rr-person__contacts a {
  display: block;
  word-break: break-word;
}

@media (max-width: 991px) {
  .rr-people {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .rr-people {
    grid-template-columns: 1fr;
  }
}

/* ---------- Блоки контента ---------- */

.rr-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.rr-split--even {
  grid-template-columns: 1fr 1fr;
}

.rr-split h2 {
  margin-bottom: 16px;
}

@media (max-width: 991px) {
  .rr-split,
  .rr-split--even {
    grid-template-columns: 1fr;
  }
}

.rr-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  border-top: 1px solid var(--line);
  margin: 0;
}

.rr-facts > div {
  padding: 18px 20px 18px 0;
  border-bottom: 1px solid var(--line);
}

.rr-facts dt {
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 400;
}

.rr-facts dd {
  margin: 4px 0 0;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
}

.rr-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.rr-points li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.rr-points h3 {
  margin-bottom: 6px;
}

.rr-points p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15.5px;
}

@media (max-width: 767px) {
  .rr-points {
    grid-template-columns: 1fr;
  }
}

.rr-links {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.rr-links li {
  border-bottom: 1px solid var(--line);
}

.rr-links a {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  color: var(--ink) !important;
  text-decoration: none;
}

.rr-links a:hover strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rr-links span {
  color: var(--ink-2);
  font-size: 15px;
}

.rr-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.rr-gallery a,
.rr-gallery button {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  background: var(--salt);
  padding: 0;
  border: 0;
  cursor: zoom-in;
  position: relative;
}

.rr-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767px) {
  .rr-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.rr-band {
  background: var(--lake-deep);
  color: var(--white);
}

.rr-band h2,
.rr-band h3 {
  color: var(--white);
}

.rr-band p {
  color: rgba(255, 255, 255, 0.82);
}

.rr-band a:not(.rr-btn) {
  color: var(--white);
}

/* Адрес на всю ширину, почта и телефоны — рядом под ним */
.rr-split .rr-facts--plain {
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
}

.rr-facts__wide {
  grid-column: 1 / -1;
}

.rr-facts--plain dd a {
  white-space: nowrap;
}

@media (max-width: 420px) {
  .rr-split .rr-facts.rr-facts--plain {
    grid-template-columns: 1fr;
  }
}

.rr-facts--plain dd {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
}

.rr-embed {
  border-radius: 6px;
  overflow: hidden;
  background: var(--salt);
  min-height: 360px;
  height: 100%;
}

.rr-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.rr-country-group + .rr-country-group {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.rr-country-group__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px !important;
  font-family: var(--font-head) !important;
  font-size: 1.35rem !important;
}

.rr-country-group__title .rr-flag {
  width: 30px;
  height: 20px;
}

.rr-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 48px;
}

.rr-cta h2 {
  margin-bottom: 10px;
}

.rr-cta p {
  margin: 0;
  max-width: 36em;
}

.rr-points--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 767px) {
  .rr-points--3 {
    grid-template-columns: 1fr;
  }
}

.rr-subhead {
  margin-bottom: 4px !important;
}

.rr-subhead + .rr-tasks {
  margin-bottom: 28px;
}

.rr-steps {
  counter-reset: step;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.rr-steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 22px 52px;
  line-height: 1.5;
}

.rr-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -4px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--lake);
  color: var(--lake);
  font-family: var(--font-head);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rr-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 34px;
  bottom: 2px;
  width: 1px;
  background: var(--line);
}

.rr-facts--band {
  border-color: rgba(255, 255, 255, 0.25);
}

.rr-facts--band > div {
  border-color: rgba(255, 255, 255, 0.25);
}

.rr-facts--band dt {
  color: rgba(255, 255, 255, 0.75);
}

.rr-facts--band dd {
  color: var(--white);
  font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem);
}

/* ---------- Карта угодий (Leaflet): полноэкранная страница ---------- */

.rr-atlas {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas:
    "brand map"
    "panel map";
  height: 100vh;
  height: 100dvh;
}

.rr-atlas__brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.rr-atlas__brand .rr-logo img {
  width: 104px;
}

.rr-atlas__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink) !important;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
}

.rr-atlas__back::before {
  content: "";
  width: 7px;
  height: 7px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.rr-atlas__back:hover {
  border-color: var(--lake);
  color: var(--lake) !important;
}

.rr-atlas__panel {
  grid-area: panel;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 22px 24px 0;
  border-right: 1px solid var(--line);
  background: var(--white);
}

.rr-atlas__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.75rem !important;
  margin-bottom: 8px !important;
}

.rr-atlas__count {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 14.5px;
  color: var(--ink-2);
  margin-bottom: 16px !important;
}

.rr-atlas__countries {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rr-atlas__countries .rr-chip {
  min-height: 32px;
  padding: 4px 11px;
  font-size: 14px;
}

.rr-atlas__hint {
  margin: 18px 0 0 !important;
  padding: 16px 0 10px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
}

.rr-atlas__list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  margin: 0 -24px;
  padding: 0 16px 24px;
  list-style: none;
}

.rr-atlas__list li + li {
  margin-top: 6px;
}

.rr-atlas__list button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}

.rr-atlas__list button:hover {
  border-color: var(--lake);
  background: var(--lake-tint);
}

.rr-atlas__list .is-active button {
  border-color: var(--lake);
  background: var(--lake-tint);
  box-shadow: inset 3px 0 0 var(--lake);
}

.rr-atlas__item {
  flex: 1;
  min-width: 0;
}

.rr-atlas__item strong {
  display: block;
  font-weight: 500;
  font-size: 15.5px;
  line-height: 1.35;
}

.rr-atlas__item small {
  display: block;
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 13.5px;
}

.rr-atlas__dot {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lake);
}

.rr-atlas__dot--potential {
  background: var(--white);
  box-shadow: inset 0 0 0 2px var(--lake);
}

/* Стрелка «показать на карте» */
.rr-atlas__go {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--salt);
  position: relative;
  transition: background-color 0.15s;
}

.rr-atlas__go::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid var(--lake);
  border-right: 1.5px solid var(--lake);
  transform: rotate(45deg);
}

.rr-atlas__list button:hover .rr-atlas__go,
.rr-atlas__list .is-active .rr-atlas__go {
  background: var(--lake);
}

.rr-atlas__list button:hover .rr-atlas__go::after,
.rr-atlas__list .is-active .rr-atlas__go::after {
  border-color: var(--white);
}

.rr-atlas__map {
  grid-area: map;
  position: relative;
  min-height: 0;
  background: #20343a;
}

.rr-atlas[data-layer="scheme"] .rr-atlas__map,
.rr-atlas[data-layer="relief"] .rr-atlas__map {
  background: #e8ece9;
}

.rr-atlas__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.rr-atlas__tools {
  position: absolute;
  z-index: 1;
  top: 16px;
  right: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.rr-layers {
  display: inline-flex;
  padding: 3px;
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.rr-layers button,
.rr-atlas__fit {
  min-height: 36px;
  padding: 6px 14px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font: 500 14.5px var(--font-body);
  cursor: pointer;
}

.rr-layers button:hover {
  background: var(--salt);
}

.rr-layers button[aria-pressed="true"] {
  background: var(--lake);
  color: var(--white);
}

.rr-atlas__fit {
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.rr-atlas__fit:hover {
  color: var(--lake);
}

.rr-marker {
  border-radius: 50%;
  border: 3px solid var(--white);
  background: var(--lake);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s;
}

.rr-marker--potential {
  background: var(--white);
  box-shadow: inset 0 0 0 3px var(--lake), 0 1px 6px rgba(0, 0, 0, 0.45);
}

.rr-marker.is-hover {
  transform: scale(1.45);
}

.rr .leaflet-popup-content-wrapper {
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.rr .leaflet-popup-content {
  margin: 14px 16px;
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.45;
}

.rr .leaflet-control-zoom a {
  width: 36px;
  height: 36px;
  line-height: 36px;
  color: var(--ink);
}

.rr-popup strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.rr-popup span {
  display: block;
  color: var(--ink-2);
  font-size: 13.5px;
}

.rr-popup p {
  margin: 10px 0 0 !important;
}

.rr-popup a {
  display: inline-block;
  margin-top: 10px;
  font-weight: 500;
}

@media (max-width: 991px) {
  .rr-atlas {
    grid-template-columns: 1fr;
    grid-template-rows: auto 64vh auto;
    grid-template-areas:
      "brand"
      "map"
      "panel";
    height: auto;
  }

  .rr-atlas__brand,
  .rr-atlas__panel {
    border-right: 0;
    padding-inline: 16px;
  }

  .rr-atlas__list {
    overflow: visible;
    margin: 0 -16px;
    padding: 0 16px 32px;
  }

  .rr-atlas__tools {
    top: 12px;
    right: 12px;
    left: 12px;
    justify-content: space-between;
  }
}

.rr-split .rr-facts {
  grid-template-columns: 1fr 1fr;
}

.rr-photostrip {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 12px;
}

.rr-photostrip img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 6px;
}

.rr-photostrip__caption {
  margin: 12px 0 0 !important;
  font-size: 14px;
  color: var(--ink-2);
}

@media (max-width: 767px) {
  .rr-photostrip {
    grid-template-columns: 1fr 1fr;
  }

  .rr-photostrip img {
    height: 180px;
  }
}

/* ---------- Галерея и просмотрщик ---------- */

.rr-media {
  margin: 0;
}

.rr-media__thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 14px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--lake-deep);
  cursor: pointer;
}

.rr-media__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.rr-media__thumb:hover img {
  transform: scale(1.03);
}

.rr-media__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.rr-media__play::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 20px;
  border-style: solid;
  border-width: 12px 0 12px 19px;
  border-color: transparent transparent transparent var(--lake);
}

.rr-media h3 {
  font-size: 1.05rem;
  margin: 6px 0 0;
}

.rr-media p {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--ink-2);
}

.rr-lightbox {
  width: min(1100px, 94vw);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #0d1a1e;
  overflow: visible;
}

.rr-lightbox::backdrop {
  background: rgba(8, 18, 21, 0.82);
}

.rr-lightbox__body img,
.rr-lightbox__body video {
  display: block;
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
}

.rr-lightbox__body iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.rr-lightbox__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.rr-logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rr-logos li > a,
.rr-logos li > img,
.rr-logos li > span {
  color: var(--ink) !important;
  text-decoration: none;
}

.rr-logos li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-size: 15px;
}

.rr-logos a {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rr-logos img {
  height: 64px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.rr-notfound {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.rr-notfound h1 {
  margin-bottom: 16px;
}

.rr-notfound .rr-lead {
  margin-bottom: 28px;
}

.rr-notfound__code {
  margin: 0 0 8px !important;
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--reed);
}

.rr-note {
  padding: 14px 18px;
  border-left: 3px solid var(--reed);
  background: var(--salt);
  border-radius: 0 4px 4px 0;
}

/* Фото во всю ширину между секциями */
.rr-photoband {
  margin: 0;
}

.rr-photoband img {
  width: 100%;
  height: clamp(300px, 42vw, 640px);
  object-fit: cover;
  object-position: center 45%;
}

.rr-search--head {
  max-width: 640px;
  margin-top: 26px;
}

.rr-search--head input {
  min-height: 52px;
  font-size: 17px;
  border-color: #aebbb9;
}

.rr-search--head .rr-btn {
  min-height: 52px;
  padding-inline: 26px;
}

/* ---------- Фото с подписями и шапка страницы с фото ---------- */

.rr-credit {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-2);
}

.rr-credit a {
  color: inherit !important;
}

.rr-pagehead--image {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(380px, 52vh, 560px);
  overflow: hidden;
  border-bottom: 0;
  background: #1b3a40;
  color: var(--white);
}

.rr-pagehead--image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(11, 29, 34, 0.72) 0%, rgba(11, 29, 34, 0.35) 55%, rgba(11, 29, 34, 0.05) 100%),
    linear-gradient(0deg, rgba(11, 29, 34, 0.55) 0%, rgba(11, 29, 34, 0) 55%);
}

/* Двойной класс — чтобы перебить общее .rr img { height: auto } */
.rr-pagehead--image .rr-pagehead__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rr-pagehead--image .rr-wrap {
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .rr-pagehead--image {
    padding-bottom: 64px;
  }
}

.rr-pagehead--image h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.6rem);
}

.rr-pagehead--image .rr-lead {
  color: rgba(255, 255, 255, 0.9);
  max-width: 34em;
}

.rr-pagehead--image .rr-crumbs,
.rr-pagehead--image .rr-crumbs a {
  color: rgba(255, 255, 255, 0.8) !important;
}

.rr-pagehead--image .rr-crumbs li + li::before {
  color: rgba(255, 255, 255, 0.5);
}

.rr-pagehead__credit,
.rr-photoband__credit,
.rr-band__credit {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 10px;
  max-width: min(560px, 80%);
  text-align: right;
}

.rr-pagehead__credit .rr-credit,
.rr-photoband__credit .rr-credit,
.rr-band__credit .rr-credit {
  color: rgba(255, 255, 255, 0.75);
  font-size: 11.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.rr-photoband {
  position: relative;
}

.rr-photoband::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 70px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.rr-photoband__credit {
  margin: 0;
}

/* Фото внутри секций */

.rr-photo {
  margin: 0;
}

.rr-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.rr-photo figcaption {
  margin-top: 10px;
}

.rr-split--media {
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  align-items: center;
}

.rr-split--media-end {
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  align-items: center;
}

.rr-split--media h2,
.rr-split--media-end h2 {
  margin-bottom: 14px;
}

.rr-points--1 {
  grid-template-columns: 1fr 1fr;
  margin-top: 22px;
}

@media (max-width: 991px) {
  .rr-split--media,
  .rr-split--media-end {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 575px) {
  .rr-points--1 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Полоса с фото на фоне */

.rr-band--photo {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(72px, 8vw, 110px);
}

.rr-band--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(10, 30, 36, 0.88) 0%, rgba(10, 30, 36, 0.7) 50%, rgba(10, 30, 36, 0.5) 100%);
}

.rr-band--photo .rr-band__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rr-band--photo .rr-wrap {
  position: relative;
  z-index: 2;
}

/* Страны с фото угодий */

.rr-places {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.rr-place {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--ink) !important;
  text-decoration: none;
}

.rr-place__img {
  position: relative;
  aspect-ratio: 4 / 5;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--salt);
}

.rr-place__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.rr-place:hover .rr-place__img img {
  transform: scale(1.05);
}

.rr-place__label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 9px;
  border-radius: 4px;
  background: rgba(11, 29, 34, 0.7);
  color: var(--white);
  font-size: 13px;
}

.rr-place__name {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
}

.rr-place:hover .rr-place__name {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rr-place__stat {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.4;
}

.rr-credits {
  margin: 20px 0 0 !important;
  font-size: 12.5px;
  color: var(--ink-2);
}

.rr-credits a {
  color: inherit !important;
}

@media (max-width: 991px) {
  .rr-places {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .rr-places {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .rr-pagehead__credit,
  .rr-photoband__credit,
  .rr-band__credit {
    max-width: calc(100% - var(--gutter) * 2);
  }
}

.rr-submenu__icon {
  width: 22px;
  height: 15px;
  flex-shrink: 0;
}

.rr-submenu__icon rect {
  fill: var(--lake);
}

.rr-submenu__icon circle {
  fill: var(--white);
}

.rr-submenu__sep {
  height: 1px;
  margin: 6px 10px;
  background: var(--line);
}

@media (max-width: 1279px) {
  .rr-submenu__sep {
    display: none;
  }
}

@media (max-width: 575px) {
  .rr-hero__lead {
    font-size: 1.02rem;
  }
}

/* ---------- Переключатель языка ---------- */

.rr-topbar {
  background: var(--salt);
  border-bottom: 1px solid var(--line);
}

.rr-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: calc(1360px + var(--gutter) * 2);
}

.rr-lang {
  display: flex;
  gap: 2px;
}

.rr-lang a {
  padding: 7px 11px;
  color: var(--ink-2) !important;
  font-size: 13.5px;
  text-decoration: none;
}

.rr-lang a:hover {
  color: var(--lake) !important;
}

.rr-lang a[aria-current] {
  color: var(--ink) !important;
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--lake);
}

/* На странице карты — в левой панели рядом с кнопкой «На сайт» */
.rr-atlas__brand {
  gap: 10px;
}

.rr-atlas__brand .rr-logo img {
  width: 88px;
}

.rr-atlas__back {
  white-space: nowrap;
}

.rr-atlas__brand .rr-lang a {
  padding: 6px 6px;
}

.rr-topbar__contacts {
  display: flex;
  gap: 4px 22px;
  font-size: 13.5px;
}

.rr-topbar__contacts a {
  color: var(--ink-2) !important;
  text-decoration: none;
  white-space: nowrap;
}

.rr-topbar__contacts a:hover {
  color: var(--lake) !important;
  text-decoration: underline;
}

@media (max-width: 639px) {
  .rr-topbar__contacts {
    display: none;
  }

  .rr-topbar__inner {
    justify-content: flex-end;
  }
}
