/* fonts.css */
/* Manrope (OFL), локальный хостинг — без Google Fonts */
@font-face{font-family:'Manrope';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/manrope-400-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/manrope-400-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:400;font-display:swap;src:url('/fonts/manrope-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/manrope-400-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:600;font-display:swap;src:url('/fonts/manrope-600-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/manrope-600-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:600;font-display:swap;src:url('/fonts/manrope-600-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/manrope-600-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:700;font-display:swap;src:url('/fonts/manrope-700-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/manrope-700-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:700;font-display:swap;src:url('/fonts/manrope-700-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/manrope-700-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:800;font-display:swap;src:url('/fonts/manrope-800-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:800;font-display:swap;src:url('/fonts/manrope-800-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:800;font-display:swap;src:url('/fonts/manrope-800-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:800;font-display:swap;src:url('/fonts/manrope-800-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;}

/* style.css */
/* Путевой журнал — визуальный язык сайта.
   Кремовая бумага, глубокий зелёный, терракота. Крупная типографика, много воздуха,
   фото как главный носитель настроения. */

:root {
  --paper: #fbf6ec;
  --paper-2: #f4ecdc;
  --ink: #1b2a26;
  --ink-soft: #46564f;
  --pine: #14564e;
  --pine-dark: #0d3b35;
  --terracotta: #d9663a;
  --sand: #e6d7bd;
  --sky: #bcd8d3;
  --line: #e2d8c5;
  --card: #fffdf8;
  --shadow: 0 10px 30px rgba(27, 42, 38, 0.08);
  --radius: 18px;
  --serif: Georgia, 'Times New Roman', 'PT Serif', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--pine); text-decoration-color: var(--sky); text-underline-offset: 3px; }
a:hover { color: var(--terracotta); }

.wrap { width: min(1360px, calc(100% - 48px)); margin: 0 auto; }
.narrow { width: min(940px, calc(100% - 40px)); margin: 0 auto; }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 22px; min-height: 66px; }
.logo {
  font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: -0.2px;
  color: var(--pine-dark); text-decoration: none; display: flex; align-items: center; gap: 9px;
}
.logo-mark {
  width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, var(--terracotta), var(--pine-dark));
  display: inline-grid; place-items: center; color: #fff; font-size: 15px; font-family: var(--sans);
}
.nav { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight:400; }
.nav a:hover { color: var(--terracotta); }

/* ---------- Обложка ---------- */
.hero {
  position: relative; min-height: 460px; display: grid; align-items: end;
  color: #fff; overflow: hidden; border-radius: 0 0 26px 26px;
}
.hero img.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 59, 53, 0.15) 0%, rgba(13, 59, 53, 0.55) 55%, rgba(10, 40, 36, 0.88) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 40px 0 34px; }
.hero .kicker { color: var(--sky); }
.hero h1 {
  font-family: var(--serif); font-size: clamp(30px, 5vw, 54px); line-height: 1.08;
  margin: 10px 0 14px; letter-spacing: -0.6px; max-width: 19ch; color: #fff;
}
.hero p.lead { font-size: clamp(16px, 2vw, 19px); max-width: 62ch; color: #eef3ee; margin: 0 0 20px; }

.kicker {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 700; color: var(--accent-ink, #8a5200);
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: baseline; gap: 7px;
  background: rgba(255, 253, 248, 0.14); border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 8px 14px; border-radius: 100px; font-size: 14px; color: #fff;
  backdrop-filter: blur(4px);
}
.chip b { font-family: var(--serif); font-size: 16px; }
.chip.dark { background: var(--paper-2); border-color: var(--line); color: var(--ink); }
.chip.dark b { color: var(--pine-dark); }

/* ---------- Секции ---------- */
.section { padding: 54px 0; }
.section.tight { padding: 34px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head h2 { font-family: var(--serif); font-size: clamp(24px, 3.4vw, 34px); margin: 6px 0 0; letter-spacing: -0.4px; }
.section-head .more { font-size: 15px; }

h2 { font-family: var(--serif); font-size: clamp(23px, 3vw, 30px); letter-spacing: -0.3px; margin: 44px 0 14px; }
h3 { font-family: var(--serif); font-size: 21px; margin: 28px 0 10px; }
p { margin: 0 0 16px; }
.lead { font-size: 19px; color: var(--ink); }

/* ---------- Сетка карточек ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(27, 42, 38, 0.13); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-media .dist {
  position: absolute; left: 12px; top: 12px;
  background: rgba(13, 59, 53, 0.86); color: #fff; border-radius: 100px;
  padding: 5px 12px; font-size: 13px; font-weight: 600;
}
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin: 0; font-size: 20px; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.card-body h3 a:hover { color: var(--terracotta); }
.card-meta { color: var(--ink-soft); font-size: 14px; display: flex; gap: 12px; flex-wrap: wrap; }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.price { font-family: var(--serif); font-size: 17px; color: var(--pine-dark); }

/* ---------- Статья ---------- */
.article-body { padding: 42px 0 30px; }
.article-body ul, .article-body ol { padding-left: 22px; margin: 0 0 18px; }
.article-body li { margin-bottom: 10px; }
.article-body b { color: var(--pine-dark); }

.chips-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }

.note {
  background: var(--paper-2); border-left: 4px solid var(--terracotta);
  padding: 16px 18px; border-radius: 0 12px 12px 0; margin: 22px 0; font-size: 16px;
}

/* ---------- Климат ---------- */
.climate { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; margin: 20px 0 10px; }
.climate .m {
  border-radius: 12px; padding: 12px 4px 10px; text-align: center;
  color: #10302b; display: flex; flex-direction: column; gap: 2px;
  border: 2px solid transparent;
}
.climate .m b { font-size: 16px; font-family: var(--serif); line-height: 1.1; }
.climate .m span { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.7; }
.climate .m.best { border-color: var(--pine-dark); background-image: linear-gradient(180deg, rgba(13, 59, 53, 0.08), rgba(13, 59, 53, 0)); }
.climate-legend { font-size: 13.5px; color: var(--ink-soft); max-width: 66ch; }

/* ---------- Таблицы ---------- */
.table-wrap { overflow-x: auto; margin: 18px 0 22px; }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); }
th { background: var(--paper-2); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
td:last-child, th:last-child { text-align: right; }
tbody tr:hover { background: rgba(188, 216, 211, 0.18); }
.total-row td { font-weight: 700; background: rgba(20, 86, 78, 0.06); }

/* ---------- FAQ ---------- */
details.faq {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 18px; margin-bottom: 10px;
}
details.faq summary {
  cursor: pointer; font-weight: 600; font-family: var(--serif); font-size: 17.5px;
  list-style: none; display: flex; justify-content: space-between; gap: 14px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; color: var(--terracotta); font-size: 22px; line-height: 1; }
details.faq[open] summary::after { content: '–'; }
details.faq p { margin: 10px 0 0; color: var(--ink-soft); }

/* ---------- Фото объектов ---------- */
.poi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 20px 0; }
.poi { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.poi img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.poi figcaption { padding: 10px 12px; font-size: 13.5px; color: var(--ink-soft); }
.poi figcaption b { display: block; color: var(--ink); font-size: 14.5px; margin-bottom: 3px; }

/* ---------- Прочее ---------- */
.hub-list { display: grid; gap: 14px; }
.hub-row {
  display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px;
  text-decoration: none; color: inherit;
}
.hub-row:hover { border-color: var(--sky); }
.hub-row img { width: 76px; height: 60px; object-fit: cover; border-radius: 10px; }
.hub-row .t { font-family: var(--serif); font-size: 18px; }
.hub-row .s { color: var(--ink-soft); font-size: 14px; }
.hub-row .p { font-family: var(--serif); color: var(--pine-dark); white-space: nowrap; }

.breadcrumbs { font-size: 14px; color: var(--ink-soft); padding: 18px 0 0; }
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs span { opacity: 0.5; margin: 0 6px; }

.credit { font-size: 12px; color: var(--ink-soft); opacity: 0.75; margin-top: 6px; }

/* ---------- Оглавление и мета статьи ---------- */
.article-meta {
  font-size: 13px; color: var(--ink-soft); border-bottom: 1px solid var(--line);
  padding-bottom: 12px; margin: 0 0 22px;
}
.toc {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 22px; margin: 0 0 30px;
}
.toc-title {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-ink, #8a5200); font-weight: 700; margin-bottom: 10px;
}
.toc ol { margin: 0; padding-left: 20px; font-size: 15.5px; }
.toc li { margin-bottom: 6px; }
.toc a { text-decoration: none; border-bottom: 1px dotted var(--sky); }

/* ---------- Скачиваемые файлы ---------- */
.downloads { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.download {
  display: flex; flex-direction: column; gap: 4px; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--pine);
  border-radius: 12px; padding: 16px 18px; color: inherit;
}
.download:hover { border-color: var(--sky); border-left-color: var(--terracotta); }
.download b { font-family: var(--serif); font-size: 17px; color: var(--pine-dark); }
.download span { font-size: 13.5px; color: var(--ink-soft); }

.site-footer {
  margin-top: 60px; background: var(--pine-dark); color: #dfe9e4; padding: 44px 0 30px;
}
.site-footer a { color: var(--sky); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 26px; }
.site-footer h4 { font-family: var(--serif); font-size: 17px; margin: 0 0 10px; color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.site-footer li { margin-bottom: 7px; }
/* ---------- Соцсети в подвале ---------- */
.footer-social { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-social-title { font-family: var(--serif); font-size: 16px; color: #fff; margin-bottom: 12px; }
.footer-social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.soc {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  text-decoration: none; color: #fff; background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.soc:hover, .soc:focus-visible { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.5); }
.soc, .soc span { color: #fff; }
.soc-vk { background: #0060d0; border-color: #0060d0; }
.soc-ok { background: #b35f00; border-color: #b35f00; }
.soc-dzen { background: #000; border-color: #000; }
.soc-tg { background: #0a6ea3; border-color: #0a6ea3; }
.soc-max { background: #3b56d6; border-color: #3b56d6; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.18); margin-top: 30px; padding-top: 16px; font-size: 13px; opacity: 1; }

/* ---------- Адаптив ---------- */
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .hero { min-height: 400px; }
  .climate { grid-template-columns: repeat(6, 1fr); }
  .hub-row { grid-template-columns: 64px 1fr; }
  .hub-row .p { grid-column: 2; }
  .nav { gap: 14px; font-size: 14px; }
}

/* фото внутри статьи */
.article-figure { margin: 28px 0 30px; }
.article-figure img { display: block; width: 100%; height: auto; border-radius: 12px; }
.article-figure figcaption { font-size: 14px; line-height: 1.55; opacity: .72; margin-top: 10px; }
@media (max-width: 720px) { .article-figure { margin: 20px 0 22px; } }

/* выбор города */
.city-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.city-card { display: block; padding: 20px 22px; border: 1px solid var(--line, #e3ded6); border-radius: 14px; background: #fff; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.city-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.city-card-current { outline: 2px solid var(--accent, #1f6fb2); }
.city-name { display: block; font-family: var(--font-head, Georgia, serif); font-size: 22px; margin-bottom: 6px; }
.city-meta { display: block; font-size: 14px; opacity: .72; }
.city-row { padding: 22px 0; border-bottom: 1px solid var(--line, #e8e3db); }
.city-row-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; justify-content: space-between; }
.city-row h2 { margin: 0 0 4px; }
.city-row-meta { font-size: 14px; opacity: .7; }
@media (max-width: 720px) { .city-card { padding: 16px; } .city-name { font-size: 19px; } }

/* слайдер городов в шапке */
.hero-slider { position: relative; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.hero-slide.is-active { opacity: 1; pointer-events: auto; position: relative; }
.hero-slide .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide .hero-inner { position: relative; z-index: 2; }
.hero-city { font-family: var(--font-head, Georgia, serif); font-size: clamp(26px, 4vw, 44px); line-height: 1.12; margin: 0 0 14px; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.hero-cta { margin: 22px 0 0; }
.btn-primary { display: inline-block; background: #c8452f; color: #fff; padding: 13px 22px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.btn-primary:hover { background: #b13b27; }
.hero-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 18px; display: flex; gap: 8px; z-index: 3; }
.hero-dot { width: 34px; height: 5px; border: 0; border-radius: 3px; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; }
.hero-dot.is-active { background: #fff; }
.hero-h1-wrap { position: absolute; left: 0; right: 0; bottom: -9999px; }
.hero-slider .hero-h1-wrap h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 720px) { .hero-city { font-size: 24px; } .hero-dot { width: 26px; } }

/* вкладки городов на странице направлений */
.city-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.city-tab { border: 1px solid var(--line, #e3ded6); background: #fff; border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 15px; cursor: pointer; }
.city-tab span { opacity: .55; font-size: 13px; margin-left: 4px; }
.city-tab.is-active { background: #1f2a24; border-color: #1f2a24; color: #fff; }
.city-tab.is-active span { opacity: .8; }
.city-group { margin: 0 0 10px; }
@media (max-width: 720px) { .city-tab { padding: 8px 13px; font-size: 14px; } }

/* компактная сетка городов + поиск */
.city-search { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; flex-wrap: wrap; }
.city-search input { flex: 1 1 280px; max-width: 420px; padding: 12px 16px; border: 1px solid var(--line, #e3ded6); border-radius: 10px; font: inherit; font-size: 15px; background: #fff; }
.city-search input:focus { outline: 2px solid #1f2a24; outline-offset: 1px; }
.city-search-count { font-size: 14px; opacity: .65; }
.city-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 12px; }
.city-tile { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line, #e3ded6); border-radius: 12px; background: #fff; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.city-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.08); }
.city-tile-name { font-family: var(--serif, Georgia, serif); font-size: 20px; }
.city-tile-count { font-size: 14px; font-weight: 600; }
.city-tile-meta { font-size: 13.5px; opacity: .7; }
.city-tile-top { font-size: 13px; opacity: .55; margin-top: 2px; }
.city-empty { padding: 18px 0; opacity: .75; }
@media (max-width: 720px) { .city-tiles { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; } .city-tile { padding: 13px 14px; } .city-tile-name { font-size: 17px; } }

/* страница достопримечательности */
.poi-hero { display: grid; grid-template-columns: minmax(280px, 460px) 1fr; gap: 28px; align-items: start; margin: 8px 0 26px; }
.poi-hero img { width: 100%; height: auto; border-radius: 14px; }
.poi-hero h1 { margin-top: 6px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin: 0 0 26px; }
.fact { background: #fff; border: 1px solid var(--line, #e3ded6); border-radius: 10px; padding: 12px 14px; }
.fact span { display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; opacity: .6; margin-bottom: 4px; }
.fact b { font-size: 15px; font-weight: 600; }
@media (max-width: 820px) { .poi-hero { grid-template-columns: 1fr; gap: 16px; } }

/* карта */
.map-figure { margin: 0; }
.map-figure img { width: 100%; height: auto; border-radius: 14px; display: block; background: #eef1ea; }
.map-figure figcaption { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 10px; font-size: 14px; opacity: .75; }
.map-legend { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-city { background: #e74c3c; }
.dot-dest { background: #1f6fb2; }

/* фильтры подборки */
.filters { margin: 0 0 16px; }
.filters-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filter-search input { padding: 9px 14px; border: 1px solid var(--line, #e3ded6); border-radius: 9px; font: inherit; font-size: 14.5px; background: #fff; min-width: 210px; }
.filter-select { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; opacity: .9; }
.filter-select select { padding: 8px 10px; border: 1px solid var(--line, #e3ded6); border-radius: 9px; font: inherit; font-size: 14px; background: #fff; }
.filter-check { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }
.filters-count { margin-top: 8px; font-size: 13.5px; opacity: .65; }
@media (max-width: 720px) { .filters-row { gap: 8px; } .filter-search input { min-width: 100%; } }

/* Калькулятор бюджета на странице гида: считается в браузере по тарифам модели. */
.calc {
  margin: 26px 0 30px;
  padding: 22px 22px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.calc-head .kicker { margin-bottom: 4px; }
.calc-head h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: clamp(21px, 2.6vw, 26px);
  letter-spacing: -0.2px;
}
.calc-head p { margin: 0 0 16px; font-size: 15px; color: var(--ink-soft); max-width: 62ch; }
.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px 14px;
  margin-bottom: 18px;
}
.calc-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-soft); }
.calc-field span { line-height: 1.35; }
.calc-field input,
.calc-field select {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--ink);
  min-height: 42px;
}
.calc-field input:focus,
.calc-field select:focus { outline: 2px solid var(--pine); outline-offset: 1px; }
.calc-table { width: 100%; border-collapse: collapse; }
.calc-table th,
.calc-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 15px; }
.calc-table td:nth-child(2),
.calc-table td:nth-child(3),
.calc-table th:nth-child(2),
.calc-table th:nth-child(3) { text-align: right; white-space: nowrap; }
.calc-table tfoot td { border-top: 2px solid var(--line); border-bottom: none; background: var(--paper-2); font-size: 15.5px; }
.calc-sum { margin: 14px 0 4px; font-size: 17px; }
.calc-hint { margin: 0; font-size: 13.5px; color: var(--ink-soft); }
.calc-note { margin: 14px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); opacity: 0.9; }
.calc-actions { margin: 14px 0 0; }
.calc-actions .download { display: inline-flex; flex-direction: column; gap: 2px; }
@media (max-width: 560px) {
  .calc { padding: 16px 14px 14px; }
  .calc-table th, .calc-table td { padding: 8px 6px; font-size: 14px; }
}

/* Обложки внутренних страниц: тёмно-синий градиент вместо зелёного */
.hero::after { background: linear-gradient(95deg, rgba(5, 30, 70, 0.86) 0%, rgba(5, 44, 96, 0.55) 55%, rgba(4, 40, 90, 0.22) 100%) !important; }
.hero h1 { letter-spacing: -0.03em; }
.hero .chip { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.28); }
.hero .btn-primary { background: linear-gradient(180deg, #ffce4d, #ffb000); color: #1d2637; border: 0; }
.hero .btn-primary:hover { color: #1d2637; filter: brightness(1.04); }

/* Подвал: синий фон, светлый текст */
.site-footer { background: linear-gradient(160deg, #08305f 0%, #062a55 100%); }
.site-footer a { color: #d6e8de; text-decoration: none; }
.site-footer a:hover { color: #ffffff; }
.site-footer h4 { color: #ffffff; font-family: var(--sans); font-weight: 800; letter-spacing: 0.02em; }
.footer-bottom { color: #b9cdea; }
.footer-social-title { color: #ffffff; font-family: var(--sans); font-weight: 800; }

/* Мобильная шапка как в референсе: логотип + кнопка города, меню скрыто */
@media (max-width: 760px) {
  .site-header .wrap { min-height: 60px; gap: 10px; flex-wrap: nowrap; }
  .site-header .nav { display: none; }
  .logo { font-size: 15px; gap: 7px; }
  .logo-mark { width: 30px; height: 30px; border-radius: 10px; font-size: 14px; }
  .city-pill { margin-left: auto; padding: 8px 12px; font-size: 12px; }
  .home-hero { min-height: 470px; }
  .home-hero h1 { font-size: 42px; }
  .hero-sub { font-size: 17px; margin-bottom: 20px; }
  .hero-eyebrow { font-size: 10px; letter-spacing: .08em; }
  .hero-note { font-size: 10px; letter-spacing: .07em; }
}

/* ===== РЕБРЕНДИНГ 2026: светлая палитра, синий и жёлтый ===== */
:root {
  --paper: #f6f8fc;
  --paper-2: #eef3fa;
  --ink: #202b2a;
  --ink-soft: #5b6883;
  --pine: #0878ed;
  --pine-dark: #0553b8;
  --terracotta: #ef8a00;
  --sand: #ffe9b8;
  --sky: #cfe3ff;
  --line: #dfe7f3;
  --card: #ffffff;
  --blue: #0878ed;
  --yellow: #ffc21c;
  --shadow: 0 16px 40px rgba(32, 43, 42, 0.10);
  --radius: 16px;
  --serif: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body { background: var(--paper); color: var(--ink); }
h1, h2, h3, h4 { letter-spacing: -0.02em; }
a { color: var(--blue); text-decoration-color: var(--sky); }
a:hover { color: var(--terracotta); }

/* ---------- Шапка ---------- */
.site-header { background: rgba(255, 255, 255, 0.94); box-shadow: 0 6px 24px rgba(25, 54, 91, 0.05); border-bottom: 1px solid #eef2f9; }
.site-header .wrap { min-height: 72px; }
.logo { font-family: var(--sans); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; color: var(--ink); }
.logo-mark { width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(145deg, #0787ff, #0454c9); font-size: 16px; }
.nav a { font-size: 13.5px; font-weight: 700; color: #56627b; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--blue); }
.city-pill {
  display: inline-flex; align-items: center; gap: 8px; margin-left: auto;
  padding: 10px 16px; border: 1px solid #dce5f2; border-radius: 999px;
  font-size: 13px; font-weight: 800; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.city-pill:hover { border-color: var(--blue); color: var(--blue); }
.city-pill span { color: var(--blue); }

/* ---------- Главный герой ---------- */
.home-hero { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; border-radius: 0 0 32px 32px; background: #0b2a52; }
.home-hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.12) brightness(1.05); }
.home-hero .hero-shade { position: absolute; inset: 0; background: linear-gradient(92deg, rgba(5, 30, 70, 0.82) 0%, rgba(5, 44, 96, 0.40) 54%, rgba(4, 40, 90, 0.05) 100%); }
.home-hero-inner { position: relative; z-index: 2; padding: 56px 0 64px; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 800; color: #d7e9ff; }
.hero-eyebrow i { width: 24px; height: 3px; background: var(--yellow); border-radius: 2px; display: inline-block; }
.home-hero h1 { font-size: clamp(44px, 6vw, 84px); line-height: 0.98; letter-spacing: -0.05em; font-weight: 800; color: #fff; margin: 18px 0 14px; text-shadow: 0 8px 28px rgba(6, 30, 60, 0.35); }
.home-hero h1 em { font-style: normal; color: var(--yellow); }
.hero-sub { font-size: clamp(18px, 1.9vw, 24px); font-weight: 700; line-height: 1.35; color: #fff; margin: 0 0 28px; max-width: 640px; }
.search-panel { display: flex; align-items: stretch; gap: 6px; background: #fff; border-radius: 16px; padding: 8px; box-shadow: 0 20px 44px rgba(6, 30, 60, 0.28); max-width: 780px; }
.search-field { display: flex; align-items: center; gap: 12px; padding: 10px 16px; flex: 1 1 46%; min-width: 0; }
.search-field + .search-field { border-left: 1px solid #e7eef8; }
.search-field .ico { font-size: 16px; color: var(--blue); }
.search-field span { min-width: 0; display: block; width: 100%; }
.search-field small { display: block; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #5b6b67; font-weight: 800; margin-bottom: 2px; }
.search-field select { width: 100%; border: 0; background: transparent; font: inherit; font-weight: 800; color: var(--ink); outline: none; padding: 0; }
.search-go {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 26px; border-radius: 12px; border: 0; cursor: pointer;
  background: linear-gradient(180deg, #ffce4d, #ffb000); color: #1d2637;
  font-weight: 800; font-size: 15px; text-decoration: none; white-space: nowrap;
}
.search-go:hover { color: #1d2637; filter: brightness(1.03); }
.hero-note { margin: 16px 0 0; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #c9dcff; font-weight: 800; }
.hero-sticker { position: absolute; right: 48px; top: 44px; z-index: 3; background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 16px; font-size: 13px; font-weight: 800; line-height: 1.3; transform: rotate(-5deg); box-shadow: 0 14px 28px rgba(6, 30, 60, 0.24); }
.hero-sticker span { color: var(--yellow); }

/* ---------- Полоса преимуществ ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; background: #fff; border-radius: 18px; padding: 22px 26px; margin: -36px auto 0; position: relative; z-index: 4; box-shadow: 0 18px 44px rgba(32, 43, 42, 0.10); width: min(1160px, calc(100% - 40px)); }
.benefits > div { display: flex; flex-direction: column; gap: 2px; }
.benefits .benefit-icon { font-size: 21px; }
.benefits b { font-size: 15px; }
.benefits small { color: #63716d; font-size: 13px; }

/* ---------- Карточки-категории ---------- */
.cat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 240px; border-radius: 18px; overflow: hidden; text-decoration: none; color: #fff; padding: 18px; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 26, 54, 0) 28%, rgba(8, 26, 54, 0.88) 100%); }
.cat-card .cat-tag { position: relative; z-index: 2; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 800; opacity: 0.92; }
.cat-card strong { position: relative; z-index: 2; font-size: 19px; margin-top: 6px; color: #fff; }
.cat-card small { position: relative; z-index: 2; font-size: 13px; opacity: 0.85; }
.cat-card .round-arrow { position: absolute; right: 14px; top: 14px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: #202b2a; display: grid; place-items: center; font-size: 14px; }

/* ---------- Блок соцсетей ---------- */
.social-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; background: linear-gradient(100deg, #0878ed, #0a5fd0); border-radius: 22px; padding: 28px 30px; margin: 8px 0 0; }
.social-cta .social-icon { width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, 0.18); display: grid; place-items: center; font-size: 20px; }
.social-cta h2 { color: #fff; margin: 0 0 6px; font-size: 24px; }
.social-cta p { color: #d9e8ff; margin: 0; font-size: 15px; }
.social-cta .social-links { margin-left: auto; display: flex; gap: 10px; }
.social-cta .soc { width: 46px; height: 46px; background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.38); font-size: 13px; }

/* ---------- Адаптив ---------- */
@media (max-width: 900px) {
  .benefits { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 18px; margin-top: -28px; }
  .cat-cards { grid-template-columns: repeat(2, 1fr); }
  .search-panel { flex-wrap: wrap; }
  .search-field { flex: 1 1 40%; }
  .search-field + .search-field { border-left: 0; }
  .search-go { flex: 1 1 100%; padding: 14px 20px; }
  .hero-sticker { display: none; }
}
@media (max-width: 620px) {
  .home-hero { min-height: 520px; border-radius: 0 0 22px 22px; }
  .home-hero-inner { padding: 36px 0 44px; }
  .home-hero h1 { font-size: 46px; }
  .search-panel { display: grid; grid-template-columns: 1fr; gap: 0; padding: 6px; }
  .search-field + .search-field { border-left: 0; border-top: 1px solid #e7eef8; }
  .benefits { grid-template-columns: 1fr 1fr; margin-top: -22px; }
  .cat-cards { grid-template-columns: 1fr; }
  .cat-card { min-height: 190px; }
  .social-cta { padding: 22px; }
  .social-cta .social-links { margin-left: 0; }
}

/* ---------- Широкие экраны: контейнер шире, колонка статьи выровнена ---------- */
@media (min-width: 1500px) {
  .wrap { width: min(1440px, calc(100% - 96px)); }
  .narrow { width: min(1000px, calc(100% - 64px)); }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 32px); }
  .narrow { width: calc(100% - 32px); }
}

/* ---------- Климат на узких экранах: горизонтальная прокрутка вместо переполнения ---------- */
@media (max-width: 700px) {
  .climate {
    display: flex;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .climate .m { flex: 0 0 62px; scroll-snap-align: start; }
  .article-body, .narrow { overflow-x: hidden; }
}

/* ---------- Таблицы и длинные блоки не должны ломать ширину ---------- */
.article-body table { display: block; max-width: 100%; overflow-x: auto; }


/* ---------- «Что ещё посмотреть рядом»: карточки ---------- */
.hub-row .hub-text { display: grid; gap: 3px; min-width: 0; }
.hub-row.no-img { grid-template-columns: 1fr auto; gap: 12px; padding: 14px 18px; }
.poi-others .hub-row { transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.poi-others .hub-row:hover { box-shadow: 0 10px 24px rgba(32, 43, 42, .1); transform: translateY(-1px); }
@media (max-width: 700px) {
  .hub-row { grid-template-columns: 64px 1fr; gap: 12px; }
  .hub-row.no-img { grid-template-columns: 1fr auto; }
  .hub-row .p { grid-column: 2; justify-self: end; }
  .hub-row .t { font-size: 16px; }
  .hub-row .s { font-size: 13px; }
}

/* ---------- Подвал: компактный ---------- */
.site-footer { padding: 38px 0 22px; }
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; line-height: 1.5; color: #d7ebe2; margin: 0 0 14px; max-width: 34ch; }
.footer-brand .footer-social-links { gap: 8px; }
.footer-brand .soc { width: 34px; height: 34px; font-size: 11.5px; }

.footer-main h4 {
  font-size: 11.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #cfe4da;
  margin: 4px 0 12px;
  font-weight: 800;
}
.footer-main ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-main a { font-size: 13.5px; color: #d3e6dd; text-decoration: none; }
.footer-main a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 28px;
  padding-top: 16px;
  font-size: 12px;
  color: #b9d5c9;
}
.footer-sources { color: #a9c8ba; }

@media (max-width: 980px) {
  .footer-main { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 52ch; }
}
@media (max-width: 620px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
}
@media (max-width: 560px) {
  .site-footer { padding: 28px 0 18px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .footer-main h4 { margin-bottom: 9px; }
  .footer-main a { font-size: 13px; }
  .footer-bottom { font-size: 11.5px; }
}

/* ---------- Подвал на телефоне: «Проект» одной лентой ---------- */
@media (max-width: 620px) {
  .footer-main > div:last-child { grid-column: 1 / -1; }
  .footer-main > div:last-child ul { display: flex; flex-wrap: wrap; gap: 8px 18px; }
}

/* контраст подвала */
.site-footer a, .site-footer a:visited { color: #cfe4da; }
.site-footer a:hover { color: #ffffff; }
.site-footer .footer-note, .site-footer small { color: #c2dccf; }

/* контраст подвала (перебиваем поздние CSS) */
.site-footer a, .site-footer a:visited { color: #cfe4da !important; }
.site-footer a:hover { color: #ffffff !important; }
.site-footer { color: #d7ebe2; }


/* Блок «Достопримечательности с описанием» на страницах направлений */
.pl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 18px; }
.pl-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e6ebe6; border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease; }
.pl-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(16, 49, 40, .1); }
.pl-card-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #eef2ee; }
.pl-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-card-body { display: flex; flex-direction: column; gap: 4px; padding: 11px 13px 13px; }
.pl-card-body b { font-size: 14.5px; line-height: 1.3; color: #14342a; }
.pl-card-body small { font-size: 12.5px; line-height: 1.45; color: #6d7d74; }
.pl-card--text { background: linear-gradient(150deg, #f4f8f4 0%, #eaf1ea 100%); border-color: #dfe8df; min-height: 132px; justify-content: flex-end; }
.pl-card--text .pl-card-body b { color: #1d4d3c; }
.pl-card--text:hover { border-color: #c9dbcb; }
.pl-more { margin-top: 16px; font-size: 14px; }
.section-note { margin: 6px 0 0; font-size: 14px; color: #6d7d74; max-width: 62ch; }
@media (max-width: 560px) {
  .pl-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
}


/* Подписка MAX в кабинете */
.sub-cab-slot { margin: 18px 0 6px; }
.sub-cab-card { background: #f4f8f4; border: 1px solid #e2ebe2; border-radius: 16px; padding: 18px 20px; }
.sub-cab-head b { font-size: 15.5px; color: #1d4d3c; }
.sub-cab-info { margin: 8px 0 12px; font-size: 14px; line-height: 1.55; color: #4a5b52; }
.sub-cab-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.sub-cab-link { background: none; border: 0; color: #237a62; font-size: 13.5px; cursor: pointer; text-decoration: underline; padding: 0; font-family: inherit; }
.sub-cab-linkbox { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.sub-cab-code { font-family: ui-monospace, monospace; font-size: 26px; letter-spacing: 4px; color: #14342a; background: #fff; border: 1px dashed #b9d3c2; border-radius: 10px; padding: 10px 16px; display: inline-block; }

/* Переносы: без одиноких слов в последней строке и со сбалансированными заголовками.
   text-wrap: pretty/balance поддерживают Chrome 117+ и Safari 17.5+, остальные игнорируют. */
p, li, .lead, .ck-text { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

/* Служебная подпись карты Яндекса: немного воздуха сверху (детектор: cramped-padding).
   Классы виджета версионные (ymaps-2-1-79-…), поэтому матчим по подстроке. */
ymaps [class*="copyright__content"] { padding-top: 3px; }


/* Обложка на страницах мест: обрезаем по контейнеру, не растягиваем */
.mesto-cover { margin: 18px 0 0; border-radius: 18px; overflow: hidden; background: #eef1ee; }
.mesto-cover img { display: block; width: 100%; height: 420px; object-fit: cover; object-position: center; }
@media (max-width: 760px) { .mesto-cover img { height: 260px; } }
.crumbs { font-size: 13px; color: #7a8794; margin: 0 0 10px; }
.crumbs a { color: inherit; }
.card-noimg { width: 100%; height: 100%; min-height: 180px; background: linear-gradient(135deg,#eef4ef,#e3ece4); }

/* platform.css */
/* ===== Платформа: подбор места и карта приключений ===== */

/* ---------- Куда поехать: подборщик ---------- */
.finder-hero { padding: 34px 0 10px; background: linear-gradient(180deg, #eef5f1 0%, var(--paper) 100%); }
.finder-hero h1 { font-size: clamp(32px, 4.4vw, 52px); margin: 10px 0 12px; letter-spacing: -0.03em; }
.finder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0 16px; }
.ffield { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; }
.ffield small { display: block; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #5b6b67; font-weight: 800; margin-bottom: 4px; }
.ffield select { width: 100%; border: 0; background: transparent; font: inherit; font-weight: 700; color: var(--ink); outline: none; cursor: pointer; }
.finder-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.finder-actions .search-go { height: 48px; padding: 0 26px; }
.lucky { height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid #d6e8de; background: #fff; color: var(--blue); font: inherit; font-weight: 800; cursor: pointer; }
.lucky:hover { border-color: var(--blue); }
.finder-cats { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 6px; }
.fchip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 13.5px; font-weight: 700; color: #46536b; cursor: pointer; }
.fchip.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }

.place-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.place-card { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 26px rgba(32, 43, 42, 0.07); text-decoration: none; color: inherit; }
.place-card img { width: 100%; height: 172px; object-fit: cover; }
.place-card .pc-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.place-card .pc-top { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #63716d; }
.place-card h3 { margin: 0; font-size: 18px; }
.place-card .pc-cats { display: flex; gap: 6px; flex-wrap: wrap; }
.pc-cat { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue); background: #eef5f1; border-radius: 999px; padding: 3px 9px; }
.place-card .pc-meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 8px; font-weight: 800; color: var(--ink); }
.place-card .pc-meta small { font-weight: 600; color: #63716d; }
.place-card.is-lucky { outline: 3px solid var(--yellow); }

.cat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.cat-tile { position: relative; display: block; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; text-decoration: none; color: inherit; }
.cat-tile:hover { border-color: var(--blue); }
.cat-tile .cat-ico { font-size: 26px; }
.cat-tile b { display: block; margin: 8px 0 4px; font-size: 18px; }
.cat-tile small { color: #63716d; }
.cat-tile .cat-count { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 800; color: var(--blue); }

/* ---------- Карта ---------- */
.map-wrap { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 16px 40px rgba(32, 43, 42, 0.12); background: #dfe9f6; }
.map-wrap img.map-bg { display: block; width: 100%; height: auto; }
.map-pin { position: absolute; transform: translate(-50%, -100%); width: 26px; height: 26px; border-radius: 50% 50% 50% 0; background: var(--blue); border: 2px solid #fff; rotate: -45deg; cursor: pointer; box-shadow: 0 4px 10px rgba(6, 30, 60, 0.35); transition: transform 0.15s ease; }
.map-pin::after { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: #fff; opacity: 0.85; }
.map-pin:hover, .map-pin.is-on { transform: translate(-50%, -100%) scale(1.25); z-index: 3; }
.map-pin[data-cat='nature'] { background: #12a150; }
.map-pin[data-cat='history'] { background: #b26a00; }
.map-pin[data-cat='unusual'] { background: #7b3ff2; }
.map-pin[data-cat='kids'] { background: #e0457b; }
.map-pin[data-cat='romance'] { background: #d6336c; }
.map-pin[data-cat='active'] { background: #0b7285; }
.map-pin.is-hidden { display: none; }
.map-panel { position: absolute; right: 16px; top: 16px; width: 300px; background: #fff; border-radius: 14px; box-shadow: 0 18px 40px rgba(32, 43, 42, 0.22); overflow: hidden; display: none; z-index: 5; }
.map-panel.is-open { display: block; }
.map-panel img { width: 100%; height: 140px; object-fit: cover; }
.map-panel .mp-body { padding: 12px 14px 14px; }
.map-panel h3 { margin: 0 0 4px; font-size: 17px; }
.map-panel p { margin: 0 0 8px; font-size: 13px; color: #5b6883; }
.map-panel .mp-meta { display: flex; gap: 10px; font-size: 13px; font-weight: 800; }
.map-panel a { font-size: 13px; font-weight: 800; }
.map-legend { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 0; }
.map-legend button { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; color: #46536b; }
.map-legend button.is-on { border-color: var(--blue); color: var(--blue); }
.map-legend .dot { width: 10px; height: 10px; border-radius: 50%; }
.map-tools { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 0; }
.map-near { margin-top: 18px; }
.near-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.near-item { background: #fff; border-radius: 12px; padding: 12px 14px; border: 1px solid var(--line); }
.near-item b { display: block; }
.near-item small { color: #63716d; }

@media (max-width: 900px) {
  .finder { grid-template-columns: repeat(2, 1fr); }
  .place-grid, .cat-tiles, .near-list { grid-template-columns: repeat(2, 1fr); }
  .map-panel { width: 260px; }
}
@media (max-width: 620px) {
  .finder { grid-template-columns: 1fr; }
  .place-grid, .cat-tiles, .near-list { grid-template-columns: 1fr; }
  .map-panel { position: fixed; left: 12px; right: 12px; bottom: 12px; top: auto; width: auto; }
  .map-pin { width: 22px; height: 22px; }
}

/* ---------- Социальные блоки: был здесь, отзывы, профиль ---------- */
.vr-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 0 0 18px; }
.vr-btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border-radius: 12px; border: 0; cursor: pointer;
  background: linear-gradient(180deg, #ffce4d, #ffb000); color: #1d2637; font: inherit; font-weight: 800; text-decoration: none; }
.vr-btn:hover { filter: brightness(1.03); color: #1d2637; }
.vr-btn:disabled { opacity: .6; cursor: default; }
.vr-btn-ghost { background: #fff; border: 1px solid #d6e8de; color: var(--blue); }
.vr-btn-ghost.is-on, .vr-btn.is-on { background: #e8f5ec; border: 1px solid #b7e0c3; color: #12683a; }
.vr-status { font-size: 13.5px; color: #5b6883; }
.vr-reviews { background: #fff; border-radius: 16px; padding: 20px 22px; box-shadow: 0 10px 26px rgba(32, 43, 42, .07); margin-top: 8px; }
.vr-reviews-head { display: flex; align-items: baseline; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.vr-reviews-head h2 { margin: 0 0 12px; font-size: 22px; }
#vr-rating { font-weight: 800; color: #b26a00; }
.vr-review { border-top: 1px solid var(--line); padding: 12px 0; }
.vr-review-head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; font-size: 13.5px; color: #63716d; }
.vr-review-head b { color: var(--ink); font-size: 15px; }
.vr-stars { color: #f0a500; letter-spacing: 1px; }
.vr-review p { margin: 6px 0 0; }
.vr-form { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 10px; }
.vr-form-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.vr-form input, .vr-form select, .vr-form textarea { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; background: #fbfcff; color: var(--ink); }
.vr-form input { flex: 1 1 180px; }
.vr-form textarea { width: 100%; resize: vertical; }
.vr-profile { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.vr-stat { background: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: 0 10px 26px rgba(32, 43, 42, .07); }
.vr-stat b { display: block; font-size: 28px; letter-spacing: -.02em; }
.vr-stat small { color: #63716d; }
.vr-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.vr-badge { background: #fff; border-radius: 14px; padding: 16px; border: 1px solid var(--line); display: grid; gap: 4px; }
.vr-badge.is-done { border-color: #b7e0c3; background: #f4fbf6; }
.vr-badge-mark { font-size: 22px; color: #c9d3e4; }
.vr-badge.is-done .vr-badge-mark { color: #f0a500; }
.vr-badge b { font-size: 16px; }
.vr-badge small { color: #63716d; }
.vr-progress { display: block; height: 6px; border-radius: 3px; background: #eaf0f9; margin-top: 8px; overflow: hidden; }
.vr-progress i { display: block; height: 100%; background: var(--blue); }
.vr-badge-num { font-size: 12px; color: #5b6b67; font-weight: 800; }
.vr-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.vr-place-chip { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #eef5f1; color: var(--blue); font-weight: 700; text-decoration: none; font-size: 14px; }
.vr-place-chip:hover { background: #d9e8ff; }
.vr-sub { margin: 18px 0 10px; font-size: 17px; }
@media (max-width: 900px) { .vr-profile { grid-template-columns: repeat(2, 1fr); } .vr-badges { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .vr-profile, .vr-badges { grid-template-columns: 1fr; } }

/* ---------- Вход через VK ID и форма входа ---------- */
.vr-vk { margin: 6px 0 18px; }
.vr-vk-or { display: flex; align-items: center; gap: 12px; margin: 16px 0 6px; color: #5b6b67; font-size: 12.5px; font-weight: 700; }
.vr-vk-or::before, .vr-vk-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.vr-auth {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px;
  max-width: 540px; margin: 22px 0 8px; box-shadow: 0 12px 30px rgba(32, 43, 42, 0.07);
}
.vr-auth-tabs { display: inline-flex; gap: 6px; background: #eef3fa; border-radius: 999px; padding: 4px; margin-bottom: 16px; }
.vr-tab {
  border: 0; background: transparent; border-radius: 999px; padding: 9px 18px;
  font: inherit; font-size: 13.5px; font-weight: 800; color: #56627b; cursor: pointer;
}
.vr-tab.is-on { background: #fff; color: var(--blue); box-shadow: 0 2px 8px rgba(32, 43, 42, 0.10); }
.vr-auth-form { display: grid; gap: 12px; }
.vr-auth-form label { display: block; }
.vr-auth-form small {
  display: block; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #5b6b67; font-weight: 800; margin-bottom: 5px;
}
.vr-auth-form input {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  font: inherit; background: #fbfcff; color: var(--ink);
}
.vr-auth-form input:focus { outline: 2px solid #d6e8de; border-color: var(--blue); }
.vr-hint { font-size: 12.5px; color: #5b6b67; margin: 4px 0 0; line-height: 1.5; }
.vr-account-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin: 18px 0 4px;
}
.vr-account-bar b { display: block; font-size: 17px; }
.vr-account-bar small { color: #5b6b67; }

/* hidden всегда скрывает, даже если у элемента задан display */
.vr-auth-form[hidden], #vr-auth[hidden], #vr-account[hidden], .vr-pwd[hidden] { display: none !important; }

/* ---------- Служебные и ленточные страницы ---------- */
.narrow-wide { width: min(920px, calc(100% - 40px)); margin: 0 auto; }
.vr-box {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px;
  box-shadow: 0 12px 30px rgba(32, 43, 42, 0.07); margin: 20px 0;
}
.vr-linkbtn {
  border: 0; background: transparent; color: var(--blue); font: inherit; font-size: 13.5px;
  font-weight: 700; cursor: pointer; padding: 0 6px; text-decoration: underline; text-underline-offset: 3px;
}

/* фото в форме отзыва */
.vr-photo { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; cursor: pointer; }
.vr-photo input[type='file'] { display: none; }
.vr-photo-btn {
  display: inline-flex; align-items: center; gap: 8px; border: 1px dashed #d6e8de; border-radius: 12px;
  padding: 10px 16px; font-weight: 700; font-size: 13.5px; color: var(--blue); background: #f6faff;
}
.vr-photo-note { font-size: 12px; color: #5b6b67; }
.vr-photo-preview { position: relative; display: inline-block; margin-top: 4px; }
.vr-photo-preview img { max-width: 220px; border-radius: 12px; display: block; }
.vr-photo-preview button {
  position: absolute; top: 6px; right: 6px; border: 0; border-radius: 999px; padding: 5px 10px;
  background: rgba(23, 43, 75, 0.85); color: #fff; font: inherit; font-size: 11.5px; font-weight: 700; cursor: pointer;
}

/* лента сообщества */
.feed-layout { display: grid; grid-template-columns: 1fr 300px; gap: 24px; margin-top: 24px; }
.feed-list { display: grid; gap: 16px; }
.feed-item {
  background: #fff; border-radius: 16px; padding: 18px 20px; box-shadow: 0 10px 26px rgba(32, 43, 42, 0.07);
}
.feed-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: #5b6b67; margin-bottom: 8px; }
.feed-head b { color: var(--ink); font-size: 15px; }
.feed-photo { width: 100%; max-height: 360px; object-fit: cover; border-radius: 12px; margin: 6px 0 10px; }
.feed-item p { margin: 0 0 10px; }
.feed-place { font-size: 13px; font-weight: 800; color: var(--blue); }
.feed-side { position: sticky; top: 90px; align-self: start; }
.feed-top-row {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px; background: #f6f9ff; margin-bottom: 8px;
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14px;
}
.feed-top-row b { color: var(--blue); }

/* модерация */
.mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 18px; }
.mod-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 26px rgba(32, 43, 42, 0.07); }
.mod-card img { width: 100%; height: 180px; object-fit: cover; }
.mod-body { padding: 12px 14px 16px; display: grid; gap: 6px; }
.mod-body small { color: #5b6b67; }
.mod-body p { margin: 4px 0 8px; font-size: 13px; color: #46536b; }

@media (max-width: 900px) {
  .feed-layout { grid-template-columns: 1fr; }
  .feed-side { position: static; }
}

/* ---------- «Прямо сейчас»: погода ---------- */
.now-hero { padding: 34px 0 12px; background: linear-gradient(180deg, #eef5f1, var(--paper)); }
.now-controls { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 8px; }
.now-field { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 16px; min-width: 190px; }
.now-field small { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #5b6b67; font-weight: 800; margin-bottom: 3px; }
.now-field select { border: 0; background: transparent; font: inherit; font-weight: 700; color: var(--ink); outline: none; width: 100%; cursor: pointer; }
.now-updated { font-size: 12.5px; color: #5b6b67; margin: 6px 0 0; }
.now-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.now-h2 { font-size: 21px; margin: 0 0 4px; }
.now-sub { color: #5b6b67; font-size: 13.5px; margin: 0 0 14px; }
.now-list { display: grid; gap: 12px; }
.now-card {
  display: flex; gap: 12px; background: #fff; border-radius: 14px; overflow: hidden;
  text-decoration: none; color: inherit; box-shadow: 0 8px 22px rgba(32,43,42,.07); align-items: stretch;
}
.now-card img { width: 110px; height: 92px; object-fit: cover; flex: none; }
.now-card-body { padding: 10px 12px 12px 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.now-card-top { display: flex; align-items: center; gap: 8px; justify-content: space-between; font-size: 12px; }
.now-weather { background: #eef5f1; color: #0553b8; border-radius: 999px; padding: 3px 9px; font-weight: 800; white-space: nowrap; }
.now-km { color: #5b6b67; font-weight: 700; }
.now-card b { font-size: 16px; }
.now-price { font-size: 13px; font-weight: 800; color: var(--ink); margin-top: auto; }

/* ---------- генератор маршрута ---------- */
.trip-result { margin-top: 24px; }
.trip-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: 10px; }
.trip-head h2 { margin: 0; font-size: 22px; }
.trip-stats { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13.5px; color: #5b6883; }
.trip-stats b { color: var(--ink); }
.trip-plan { list-style: none; margin: 0; padding: 0; border-left: 2px solid #dbe7f8; }
.trip-day { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); padding: 14px 0 8px 18px; }
.trip-stop { display: flex; gap: 14px; padding: 0 0 16px 18px; position: relative; }
.trip-stop::before {
  content: ''; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: #fff; border: 3px solid var(--blue);
}
.trip-stop time { font-weight: 800; color: var(--blue); min-width: 48px; }
.trip-stop b { display: block; font-size: 16px; }
.trip-stop small { color: #5b6b67; }
.trip-cats { display: block; font-size: 12px; color: #5b6b67; margin: 2px 0 4px; }
.trip-stop a { font-size: 13px; font-weight: 700; }
.trip-back::before { border-color: #d6e8de; }

/* ---------- бюджет ---------- */
.bud-group { margin: 26px 0; }
.bud-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.bud-card { display: flex; gap: 12px; background: #fff; border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 8px 22px rgba(32,43,42,.07); }
.bud-card img { width: 88px; height: 88px; object-fit: cover; flex: none; }
.bud-card span { padding: 10px 10px 10px 0; display: flex; flex-direction: column; gap: 3px; }
.bud-card b { font-size: 15px; }
.bud-card small { color: #5b6b67; font-size: 12.5px; }
.bud-price { font-weight: 800; color: #12683a; font-size: 15px; margin-top: auto; }

@media (max-width: 900px) { .now-cols { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
  .now-card img { width: 84px; height: 80px; }
  .trip-stop time { min-width: 42px; }
}

/* ---------- отдых с палаткой ---------- */
.camp-wrap { display: block; }
.camp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.camp-card {
  display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden;
  text-decoration: none; color: inherit; box-shadow: 0 10px 26px rgba(32,43,42,.08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.camp-card:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(32,43,42,.12); }
.camp-card img { width: 100%; height: 170px; object-fit: cover; }
.camp-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 5px; }
.camp-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; }
.camp-body b { font-size: 17px; }
.camp-kind { color: #5b6883; font-size: 13px; }
.camp-price { margin-top: 6px; font-weight: 800; color: #12683a; font-size: 14.5px; }
.camp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.camp-list { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 14px; color: #3c4844; line-height: 1.55; }
.camp-list li::marker { color: var(--blue); }
@media (max-width: 820px) { .camp-two { grid-template-columns: 1fr; } }

/* ---------- «Эти выходные» ---------- */
.weekend-plan { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 8px 0 26px; }
.wk-plan-card {
  background: linear-gradient(160deg, #fff, #f3f8ff); border: 1px solid var(--line); border-radius: 18px;
  padding: 20px 22px; display: flex; flex-direction: column; gap: 6px;
  box-shadow: 0 12px 30px rgba(32,43,42,.07);
}
.wk-day { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); font-weight: 800; }
.wk-plan-card b { font-size: 22px; }
.wk-weather { font-size: 14px; color: #12683a; font-weight: 700; }
.wk-meta { font-size: 13px; color: #5f6d69; }
.wk-plan-card .vr-btn { margin-top: 8px; align-self: flex-start; }
.weekend-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.weekend-card {
  display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden;
  text-decoration: none; color: inherit; box-shadow: 0 10px 26px rgba(32,43,42,.07);
}
.weekend-card img { width: 100%; height: 150px; object-fit: cover; }
.weekend-body { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.weekend-top { display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.weekend-body b { font-size: 16px; }
.weekend-body small { color: #5f6d69; font-size: 12.5px; }
.weekend-price { font-weight: 800; color: #12683a; font-size: 14px; margin-top: 4px; }
.wk-camp { font-size: 11.5px; color: #1f6b5a; background: #e8f7fc; border-radius: 999px; padding: 3px 9px; align-self: flex-start; font-weight: 700; }
.weekend-foot { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .weekend-plan { grid-template-columns: 1fr; } }

.vr-settings { display: grid; gap: 12px; margin-bottom: 24px; }
.vr-settings label { display: grid; gap: 5px; font-size: 13.5px; }
.vr-settings small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #5b6b67; font-weight: 800; }
.vr-settings select { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; background: #fff; }
.vr-check { display: flex !important; align-items: center; gap: 9px; font-size: 14px; }
.vr-check input { width: 18px; height: 18px; accent-color: var(--blue); }

/* ---------- галерея фото места ---------- */
.vr-gallery { margin: 26px 0 8px; padding: 20px 22px; background: #fff; border-radius: 18px; box-shadow: 0 10px 26px rgba(32,43,42,.06); }
.vr-gallery-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.vr-gallery-head h2 { margin: 0; font-size: 20px; }
.vr-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.vr-gallery-item img { width: 100%; height: 120px; object-fit: cover; border-radius: 12px; display: block; transition: transform .15s ease; }
.vr-gallery-item:hover img { transform: scale(1.03); }

/* ---------- Интерактивная карта (Mapbox GL) ---------- */
.map-wrap-gl { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 14px 34px rgba(32,43,42,.12); }
.map-gl { position: relative; width: 100%; height: min(72vh, 620px); min-height: 420px; background: #eef5f1; }
.map-loading {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 14px; color: #5f6d69; text-align: center; padding: 20px; z-index: 1;
}
.map-gl .mapboxgl-ctrl-group { border-radius: 12px; box-shadow: 0 6px 18px rgba(32,43,42,.14); }
.map-gl .mapboxgl-ctrl-group button { width: 38px; height: 38px; }
.map-gl .mapboxgl-ctrl-attrib { font-size: 10.5px; }
.mapboxgl-popup-content { padding: 0 !important; border-radius: 14px !important; overflow: hidden; box-shadow: 0 16px 40px rgba(32,43,42,.24) !important; }
.mp-pop img { width: 100%; height: 118px; object-fit: cover; display: block; }
.mp-pop-body { padding: 10px 14px 14px; display: grid; gap: 3px; }
.mp-pop-body b { font-size: 15.5px; }
.mp-pop-body small { color: #5b6b67; font-size: 12px; }
.mp-pop-meta { font-size: 12.5px; color: #3c4844; }
.mp-pop-camp { font-size: 11px; font-weight: 800; color: #1f6b5a; background: #e8f7fc; border-radius: 999px; padding: 2px 8px; justify-self: start; }
.mp-pop-body a { font-size: 13px; font-weight: 800; color: var(--blue); margin-top: 4px; }

@media (max-width: 620px) {
  .map-gl { height: 66vh; min-height: 360px; }
  .map-gl .mapboxgl-ctrl-group button { width: 42px; height: 42px; }
}

/* ---------- Регионы на карте и панель маршрута ---------- */
.region-bubble {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 5px 5px;
  border: 0;
  border-radius: 999px;
  background: #237a62;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(32, 43, 42, 0.28);
  white-space: nowrap;
}
.region-bubble:hover { background: #185c4a; }
.region-bubble b {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 12.5px;
}

.map-route {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  margin: 16px 0 4px;
  box-shadow: 0 10px 26px rgba(32, 43, 42, 0.07);
  display: grid;
  gap: 10px;
}
.map-route-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.map-route-head b { font-size: 15px; }
.map-route-hint { font-size: 12.5px; color: #5b6b67; }
.map-route-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.map-route-empty { font-size: 13px; color: #5b6b67; }
.route-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px 5px 5px;
  border-radius: 999px;
  background: #fff4e5;
  border: 1px solid #ffd8a8;
  font-size: 13px;
  font-weight: 600;
  color: #7a4b00;
}
.route-chip b {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #ff8a00;
  color: #fff;
  font-size: 11.5px;
}
.route-chip button {
  border: 0;
  background: transparent;
  color: #b26a00;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}
.map-route-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.map-route-sum { font-size: 13px; font-weight: 700; color: #12683a; }

.mp-pop-actions { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.mp-pop-add {
  border: 1px solid #ffd8a8;
  background: #fff4e5;
  color: #7a4b00;
  border-radius: 999px;
  padding: 5px 12px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.mp-pop-add:hover { background: #ffe9c9; }

/* ---------- экспорт маршрута ---------- */
.map-route-export { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.map-route-export[hidden] { display: none; }
.map-route-export-label { font-size: 12.5px; color: #5b6b67; }
.route-tool {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dcece4;
  border-radius: 999px;
  padding: 6px 13px;
  background: #fff;
  color: #253450;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.route-tool:hover { border-color: #237a62; color: #237a62; }

/* ---------- стартовая точка маршрута ---------- */
.map-route-start { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.map-route-start label { font-size: 13px; font-weight: 700; color: #253450; }
.map-route-start select {
  appearance: none;
  border: 1px solid #dcece4;
  border-radius: 999px;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0l5 6 5-6z' fill='%237c899f'/></svg>") no-repeat right 12px center;
  padding: 7px 30px 7px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #253450;
  cursor: pointer;
  max-width: 100%;
}
.map-route-start select:hover { border-color: #237a62; }
.route-chip-start { background: #e8f1ff; border-color: #d6e8de; color: #144a3c; }
.route-chip-start b { background: #237a62; }
.route-chip-start button { color: #144a3c; }

/* ---------- вкладки ленты ---------- */
.feed-scope-tabs { display: flex; gap: 8px; margin: 0 0 18px; flex-wrap: wrap; }
.feed-scope {
  border: 1px solid #dcece4;
  background: #fff;
  color: #3c4844;
  border-radius: 999px;
  padding: 8px 16px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}
.feed-scope:hover { border-color: #237a62; color: #237a62; }
.feed-scope.is-on { background: #237a62; border-color: #237a62; color: #fff; }

/* ---------- Подбери мне выходные ---------- */
.wizard-hero { padding: 34px 0 10px; }
.wizard-hero h1 { margin: 6px 0 10px; }
.wizard-hero .lead { margin: 0; }

.wizard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 24px 26px;
  box-shadow: 0 12px 32px rgba(32, 43, 42, .07);
  margin-top: 22px;
}
.wizard-progress { display: flex; gap: 6px; margin-bottom: 20px; }
.wizard-progress i {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: #e6edf8;
  transition: background .2s ease;
}
.wizard-progress i.is-done { background: #237a62; }
.wizard-progress i.is-active { background: #7fb3f2; }

.wizard-q { font-family: var(--serif); font-size: 24px; font-weight: 700; color: #10233f; margin-bottom: 6px; }
.wizard-hint { font-size: 13.5px; color: #5b6b67; margin-bottom: 16px; }
.wizard-options { display: grid; gap: 10px; }
.wz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.wz-opt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-align: left;
  padding: 14px 16px;
  border: 1.5px solid #e1e9f5;
  border-radius: 14px;
  background: #fff;
  color: #2a3634;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease, background .15s ease;
}
.wz-opt small { font-size: 12.5px; font-weight:400; color: #5b6b67; }
.wz-opt:hover { border-color: #9cc4f5; box-shadow: 0 8px 20px rgba(11, 114, 232, .1); transform: translateY(-1px); }
.wz-opt.is-on { border-color: #237a62; background: #f2f8ff; box-shadow: 0 8px 20px rgba(11, 114, 232, .14); }
.wz-ico { font-size: 20px; line-height: 1; }
.wz-city { align-items: center; text-align: center; font-size: 14px; }

.wizard-nav { display: flex; align-items: center; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.wizard-counter { font-size: 12.5px; color: #5b6b67; margin-left: auto; }
.wz-restart {
  border: 1px solid #dcece4; background: #fff; color: #3c4844;
  border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.wz-restart:hover { border-color: #237a62; color: #237a62; }

.wizard-result { margin-top: 34px; }
.wizard-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; align-items: center; }

@media (max-width: 620px) {
  .wizard { padding: 18px 16px 20px; }
  .wizard-q { font-size: 20px; }
  .wz-grid { grid-template-columns: 1fr; }
  .wz-opt { padding: 12px 14px; font-size: 14.5px; }
}

/* ---------- поиск по городам ---------- */
.cp { position: relative; display: block; min-width: 190px; }
.cp-native { display: none !important; }
.cp-input {
  width: 100%;
  border: 1px solid #dcece4;
  border-radius: 999px;
  background: #fff;
  padding: 9px 34px 9px 14px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: #2a3634;
}
.cp-input:focus { outline: none; border-color: #237a62; box-shadow: 0 0 0 3px rgba(11, 114, 232, .12); }
.cp.is-open .cp-input { border-color: #237a62; }
.cp-clear {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: #eef3fb;
  color: #6a7890;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}
.cp-clear:hover { background: #e2ebf9; color: #2a3634; }
.cp-list {
  position: absolute;
  z-index: 60;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: 280px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #dcece4;
  border-radius: 14px;
  box-shadow: 0 18px 38px rgba(32, 43, 42, .16);
  padding: 6px;
}
.cp-list[hidden] { display: none; }
.cp-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 9px;
  padding: 9px 11px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: #2a3634;
  cursor: pointer;
}
.cp-item:hover, .cp-item:focus { background: #f2f8ff; outline: none; }
.cp-item.is-on { background: #e8f1ff; color: #144a3c; }
.cp-empty { padding: 12px; font-size: 13px; color: #5b6b67; }

.cp-search {
  width: 100%;
  border: 1.5px solid #e1e9f5;
  border-radius: 14px;
  background: #fff;
  padding: 12px 16px;
  font: inherit;
  font-size: 15px;
  margin-bottom: 12px;
}
.cp-search:focus { outline: none; border-color: #237a62; box-shadow: 0 0 0 3px rgba(11, 114, 232, .12); }

/* баннер на главной: поле города с поиском */
.hero-search .cp { min-width: 0; width: 100%; }
.hero-search .cp-input { border: 0; background: transparent; padding: 0 26px 0 0; font-size: 15px; font-weight: 700; }
.hero-search .cp-input:focus { box-shadow: none; }
.hero-search .cp-list { top: calc(100% + 10px); }

/* ---------- регионы ---------- */
.region-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.region-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line, #e3ded6);
  border-radius: 16px; overflow: hidden;
  background: #fff; text-decoration: none; color: inherit;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.region-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(32, 43, 42, .12); border-color: #d6e8de; }
.region-cover { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f2; }
.region-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.region-count {
  position: absolute; right: 10px; top: 10px;
  background: rgba(255,255,255,.94); color: #144a3c;
  border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 800;
}
.region-body { display: grid; gap: 3px; padding: 12px 14px 14px; }
.region-body b { font-size: 15.5px; color: #202b2a; }
.region-body small { font-size: 12px; color: #5b6b67; }

.poi-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0 8px; }
.poi-tile {
  display: flex; flex-direction: column;
  border: 1px solid var(--line, #e3ded6); border-radius: 12px; overflow: hidden;
  background: #fff; text-decoration: none; color: inherit;
  transition: box-shadow .16s ease, border-color .16s ease;
}
.poi-tile:hover { box-shadow: 0 10px 22px rgba(32, 43, 42, .12); border-color: #d6e8de; }
.poi-tile-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #f1f5f2; }
.poi-tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.poi-tile-body { display: grid; gap: 2px; padding: 9px 11px 11px; }
.poi-tile-body b { font-size: 13.5px; line-height: 1.3; }
.poi-tile-body small { font-size: 11.5px; color: #5b6b67; }

.region-list { margin: 10px 0 18px; padding-left: 20px; }
.region-list li { margin-bottom: 8px; font-size: 15px; line-height: 1.5; }
.region-list a { color: #185c4a; }

@media (max-width: 1100px) {
  .region-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .poi-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .poi-tiles { grid-template-columns: 1fr; }
}

.region-teaser {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin: 34px 0 10px; padding: 22px 24px;
  border: 1px solid var(--line, #e3ded6); border-radius: 18px;
  background: linear-gradient(120deg, #f4f9ff, #eaf3ff);
}
.region-teaser h2 { font-family: var(--serif); }

/* ---------- избранное ---------- */
.fav-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 6px 0 16px; }
.fav-head b { font-size: 15px; }
.fav-hint { font-size: 12.5px; color: #5b6b67; }
.fav-empty {
  border: 1px dashed #dcece4;
  border-radius: 18px;
  padding: 24px;
  background: #f9fcff;
}
.fav-empty .lead { margin-top: 0; }

/* ---------- кнопка «в избранное» на карточках ---------- */
.hb-card, .place-card, .photo-card, .cat-card, .idea-card { position: relative; }
.fav-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #5b6b67;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(32, 43, 42, .16);
  transition: color .15s ease, transform .15s ease, background .15s ease;
}
.fav-btn:hover { color: #e0405b; transform: scale(1.06); }
.fav-btn.is-on { color: #e0405b; background: #fff; }
.fav-btn:disabled { opacity: .6; cursor: default; }

/* ---------- 12 функций ---------- */
.fun-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fun-card { display: flex; flex-direction: column; border: 1px solid var(--line, #e3ded6); border-radius: 18px; overflow: hidden; background: #fff; text-decoration: none; color: inherit; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.fun-card:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(32, 43, 42, .12); border-color: #d6e8de; }
.fun-cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #f1f5f2; }
.fun-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fun-ico { position: absolute; left: 12px; top: 12px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.95); font-size: 17px; }
.fun-body { display: grid; gap: 3px; padding: 13px 15px 15px; }
.fun-body b { font-size: 16px; color: #202b2a; }
.fun-body small { font-size: 12.5px; color: #5b6b67; }
.fun-count { font-size: 12px; color: #185c4a; font-weight: 700; margin-top: 2px; }
.fun-mini-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.fun-mini { display: grid; gap: 3px; padding: 14px 16px; border: 1px solid var(--line, #e3ded6); border-radius: 14px; background: #f9fcff; text-decoration: none; color: inherit; }
.fun-mini b { font-size: 14.5px; }
.fun-mini small { font-size: 12px; color: #5b6b67; }
.fun-why { font-size: 14px; color: #55627d; background: #f4f8ff; border-left: 3px solid #237a62; padding: 10px 14px; border-radius: 0 10px 10px 0; max-width: 70ch; }

/* рулетка */
.random-box { border: 1px dashed #dcece4; border-radius: 18px; padding: 20px; margin: 18px 0 6px; background: #f9fcff; }
.random-card { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: center; margin-top: 14px; }
.random-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.random-body { display: grid; gap: 4px; }
.random-body b { font-size: 20px; }
.random-body small { color: #5b6b67; font-size: 13px; }
@media (max-width: 620px) { .random-card { grid-template-columns: 1fr; } }

/* топ путешественников */
.top-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 760px; }
.top-item { display: grid; grid-template-columns: 44px 40px 1fr auto; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--line, #e3ded6); border-radius: 14px; background: #fff; }
.top-rank { font-size: 18px; font-weight: 800; color: #185c4a; text-align: center; }
.top-ava { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #e8f1ff; color: #144a3c; font-weight: 800; }
.top-name { display: grid; gap: 2px; }
.top-name a { color: #202b2a; text-decoration: none; font-weight: 700; }
.top-name small { color: #5b6b67; font-size: 12px; }
.top-count { font-size: 13px; color: #55627d; }
.top-count b { font-size: 17px; color: #202b2a; }

@media (max-width: 1000px) { .fun-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fun-mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fun-grid { grid-template-columns: 1fr; } .fun-mini-grid { grid-template-columns: 1fr; } .top-item { grid-template-columns: 32px 1fr auto; } .top-ava { display: none; } }

/* ---------- попутчики ---------- */
.trip-filters { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 20px; }
.trip-filter { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #3c4844; }
.trip-filter select {
  appearance: none; border: 1px solid #dcece4; border-radius: 999px; background: #fff;
  padding: 8px 30px 8px 14px; font: inherit; font-size: 13.5px; font-weight: 600; color: #2a3634; cursor: pointer;
}
.trip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trip-card {
  display: flex; flex-direction: column; gap: 6px;
  border: 1px solid var(--line, #e3ded6); border-radius: 16px; background: #fff; padding: 15px 17px 13px;
}
.trip-card.is-past { opacity: .6; }
.trip-head { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: #5b6b67; }
.trip-date { font-weight: 700; color: #185c4a; }
.trip-title { margin: 2px 0 0; font-size: 17px; }
.trip-title a { color: #202b2a; text-decoration: none; }
.trip-title a:hover { color: #185c4a; }
.trip-route { margin: 0; font-size: 13px; color: #55627d; }
.trip-comment { margin: 4px 0 0; font-size: 13.5px; color: #3c4844; }
.trip-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid #f1f5f2; }
.trip-author { font-size: 12.5px; font-weight: 700; color: #185c4a; text-decoration: none; }
.trip-joins { font-size: 12px; color: #5b6b67; margin-left: auto; }
.trip-btn {
  border: 1px solid #dcece4; background: #fff; color: #2a3634; border-radius: 999px;
  padding: 6px 13px; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.trip-btn:hover { border-color: #237a62; color: #237a62; }
.trip-btn.is-on { background: #e8f1ff; border-color: #b9d7ff; color: #144a3c; }
.trip-del:hover { border-color: #e0405b; color: #e0405b; }

.trip-form { border: 1px solid #dcece4; border-radius: 18px; background: #f9fcff; padding: 18px 20px; margin: 8px 0 26px; }
.trip-form h2 { margin: 0 0 12px; font-size: 18px; }
.trip-form-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.trip-form label { display: grid; gap: 5px; font-size: 12.5px; font-weight: 700; color: #3c4844; }
.trip-form select, .trip-form input, .trip-form textarea {
  border: 1px solid #dcece4; border-radius: 10px; background: #fff; padding: 9px 11px;
  font: inherit; font-size: 13.5px; color: #2a3634; width: 100%;
}
.trip-wide { margin-top: 10px; }
.trip-form-foot { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.trip-msg { font-size: 13px; color: #0a7a3d; font-weight: 700; }

@media (max-width: 1100px) { .trip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .trip-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .trip-grid { grid-template-columns: 1fr; } .trip-form-grid { grid-template-columns: 1fr; } }

/* ---------- попутчики на странице направления ---------- */
.place-trips {
  margin: 18px 0 6px;
  padding: 16px 18px;
  border: 1px solid #dcece4;
  border-radius: 14px;
  background: #fbfbf9;
}
.place-trips-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.place-trips-head a { font-size: 12.5px; color: #185c4a; text-decoration: none; font-weight: 700; }
.place-trips-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.place-trips-list li { font-size: 13.5px; color: #3c4844; }
.pt-date { font-weight: 700; color: #185c4a; margin-right: 6px; }
.pt-seats { color: #5b6b67; margin-left: 6px; }
.pt-comment { display: block; color: #5b6b67; font-size: 12.5px; margin-top: 2px; }

/* список городов рисуется поверх страницы (портал в body) */
.cp-list-portal {
  position: fixed !important;
  z-index: 9999 !important;
  left: 0;
  top: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* ---------- отдых: карточки мест ---------- */
.lz-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.lz-chip {
  border: 1px solid #dcece4; background: #fff; color: #3c4844; border-radius: 999px;
  padding: 7px 14px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}
.lz-chip.is-on { background: #237a62; border-color: #237a62; color: #fff; }
.lz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lz-card { border: 1px solid var(--line, #e3ded6); border-radius: 16px; background: #fff; padding: 15px 17px 13px; display: flex; flex-direction: column; gap: 7px; }
.lz-card h3 { margin: 0; font-size: 17px; }
.lz-card p { margin: 0; font-size: 13.5px; color: #55627d; line-height: 1.45; }
.lz-head { display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; color: #5b6b67; text-transform: uppercase; letter-spacing: .03em; }
.lz-kind { color: #185c4a; font-weight: 800; }
.lz-flags { display: flex; flex-wrap: wrap; gap: 6px; }
.lz-flag { font-size: 11.5px; color: #5b6b67; background: #f4f8ff; border-radius: 999px; padding: 3px 9px; }
.lz-flag.is-yes { color: #0a7a3d; background: #eefbf3; }
.lz-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: auto; padding-top: 8px; border-top: 1px solid #f1f5f2; font-size: 12px; color: #5b6b67; }
.lz-link { margin-left: auto; color: #185c4a; font-weight: 700; text-decoration: none; }

/* ---------- гид: остановки ---------- */
.gd-stops { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 14px; }
.gd-stop { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.gd-num { width: 30px; height: 30px; border-radius: 50%; background: #e8f1ff; color: #144a3c; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.gd-stop b { font-size: 16px; }
.gd-stop small { display: block; color: #5b6b67; font-size: 12px; margin-bottom: 3px; }
.gd-stop p { margin: 2px 0 0; font-size: 14px; color: #3c4844; }
.gd-see { color: #185c4a !important; font-size: 13px !important; }

@media (max-width: 1000px) { .lz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .lz-grid { grid-template-columns: 1fr; } }

/* запасная подборка «Этих выходных»: верхняя строка и цена */
.weekend-body .weekend-top { display: flex; justify-content: space-between; gap: 8px; color: #5b6b67; font-size: 12px; }
.weekend-body .weekend-price { margin-top: 2px; font-size: 12.5px; color: #5f6d69; font-weight: 600; }

.bud-note { margin: -6px 0 12px; color: #5b6b67; font-size: 13.5px; max-width: 70ch; }

/* поиск в пикере города: скрытые пункты */
.cp-item[hidden] { display: none !important; }

/* типы публикаций */
.vr-kind { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .02em;
  color: #0a5b8a; background: #e8f4fb; border-radius: 999px; padding: 3px 9px; margin-right: 8px; }
.vr-review-title { display: block; font-size: 16px; margin: 6px 0 4px; }
.vr-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.vr-tag { font-size: 12.5px; color: #1f6b5a; background: #eef7fb; border-radius: 999px; padding: 3px 10px; text-decoration: none; }
.vr-kind-select, .vr-tags-input { width: 100%; }

/* лента: тип публикации и заголовок */
.feed-kind { font-size: 11px; font-weight: 800; color: #0a5b8a; background: #e8f4fb;
  border-radius: 999px; padding: 3px 9px; margin-right: 8px; }
.feed-title { display: block; font-size: 17px; margin: 4px 0 8px; }
.feed-head { flex-wrap: wrap; }

/* комментарии под публикацией */
.cm { margin-top: 10px; }
.cm-toggle { border: 0; background: none; color: #1f6b5a; font-size: 13.5px; cursor: pointer; padding: 0; }
.cm-body { margin-top: 10px; border-top: 1px solid #f1f5f2; padding-top: 10px; }
.cm-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.cm-item b { font-size: 13.5px; }
.cm-item time { font-size: 11.5px; color: #5b6b67; margin-left: 6px; }
.cm-item p { margin: 2px 0 0; font-size: 14px; }
.cm-empty { color: #5b6b67; font-size: 13px; margin: 0; }
.cm-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cm-form input { flex: 1 1 140px; min-width: 100px; border: 1px solid #e6e9e5; border-radius: 10px; padding: 8px 10px; font: inherit; }
.cm-form button { flex: 0 0 auto; }
@media (max-width: 640px) { .cm-form input { flex: 1 1 100%; } }

/* уровень путешественника */
.vr-level { background: #fff; border-radius: 16px; padding: 16px 18px; margin-bottom: 16px;
  box-shadow: 0 10px 26px rgba(32,43,42,.07); }
.vr-level-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.vr-level-name { font-size: 18px; font-weight: 800; }
.vr-level-points { color: #12683a; font-weight: 800; }
.vr-level-bar { height: 8px; background: #f1f5f2; border-radius: 999px; overflow: hidden; margin: 10px 0 8px; }
.vr-level-bar i { display: block; height: 100%; background: linear-gradient(90deg,#f5b400,#f2542d); }
.vr-level-next { margin: 0; font-size: 13px; color: #5b6b67; }
.vr-level-rows { list-style: none; margin: 10px 0 0; padding: 10px 0 0; border-top: 1px solid #f1f5f2;
  display: grid; gap: 6px; font-size: 13px; }
.vr-level-rows li { display: flex; justify-content: space-between; gap: 10px; color: #48544f; }
.pub-level { margin: 0 0 10px; font-size: 14px; color: #1f6b5a; font-weight: 700; }

/* награды сообщества */
.award-row { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px;
  background: #f7fafd; margin-bottom: 8px; text-decoration: none; color: inherit; }
.award-title { font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #b57f00; }
.award-row b { font-size: 15px; }
.award-row small { font-size: 12px; color: #5b6b67; }

/* подборки мест */
.col-toolbar { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; }
.col-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.col-card { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden;
  text-decoration: none; color: inherit; box-shadow: 0 10px 26px rgba(32,43,42,.07); }
.col-card img { width: 100%; height: 160px; object-fit: cover; display: block; }
.col-body { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.col-body b { font-size: 16px; }
.col-body small { color: #5f6d69; font-size: 12.5px; }
.col-author { font-size: 12px; color: #1f6b5a; font-weight: 700; margin-top: 4px; }
.col-form { display: grid; gap: 12px; background: #fff; border-radius: 16px; padding: 18px;
  box-shadow: 0 10px 26px rgba(32,43,42,.07); margin-bottom: 20px; }
.col-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: #48544f; }
.col-form input[type="text"], .col-form input:not([type]), .col-form textarea {
  border: 1px solid #e6e9e5; border-radius: 12px; padding: 10px 12px; font: inherit; }
.col-form-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.col-check { display: flex; align-items: center; gap: 8px; font-weight:400; }
.col-single { display: block; }
@media (max-width: 640px) { .col-grid { grid-template-columns: 1fr; } }

.col-form[hidden], .col-card[hidden] { display: none !important; }

.col-add { display: flex; align-items: center; gap: 12px; margin: 20px 0 6px; flex-wrap: wrap; }

.cm-photo { cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid #e6e9e5; font-size: 16px; }
.cm-photo.is-on { border-color: #1f6b5a; background: #eef7fb; }
.cm-img { display: block; margin-top: 8px; max-width: 240px; width: 100%; border-radius: 10px; }
.mod-comment.is-hidden { opacity: .6; }

/* админка */
.adm-token { display: flex; gap: 10px; align-items: center; margin: 18px 0; flex-wrap: wrap; }
.adm-token input { border: 1px solid #e6e9e5; border-radius: 12px; padding: 10px 12px; font: inherit; min-width: 260px; }
.adm-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.adm-tab { border: 1px solid #e6e9e5; background: #fff; border-radius: 999px; padding: 8px 16px; cursor: pointer; font: inherit; }
.adm-tab.is-on { background: #237a62; color: #fff; border-color: #237a62; }
.adm-bar { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.adm-bar input { flex: 1 1 240px; border: 1px solid #e6e9e5; border-radius: 12px; padding: 10px 12px; font: inherit; }
.adm-h2 { font-size: 18px; margin: 22px 0 10px; }
.adm-list { display: grid; gap: 10px; }
.adm-row { background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: 0 8px 20px rgba(32,43,42,.06); }
.adm-row b { font-size: 15px; }
.adm-row small { color: #5f6d69; font-size: 12.5px; display: block; margin-top: 2px; }
.adm-row p { margin: 6px 0; font-size: 14px; }
.adm-row .adm-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.adm-row button { border: 1px solid #e6e9e5; background: #fff; border-radius: 10px; padding: 6px 12px; cursor: pointer; font: inherit; font-size: 13px; }
.adm-row button.danger { color: #b3261e; border-color: #f3c7c3; }
.adm-row.is-hidden { opacity: .55; }
.adm-wm { display: grid; gap: 12px; max-width: 520px; background: #fff; border-radius: 16px; padding: 18px; box-shadow: 0 10px 26px rgba(32,43,42,.07); }
.adm-wm label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: #48544f; }
.adm-wm input[type="number"], .adm-wm input[type="text"] { border: 1px solid #e6e9e5; border-radius: 10px; padding: 9px 11px; font: inherit; }
.adm-check { display: flex !important; align-items: center; gap: 8px; font-weight:400; }
.adm-preview-note { margin: 6px 0 0; font-size: 12.5px; color: #5b6b67; }
.adm-preview { position: relative; height: 150px; border-radius: 12px; overflow: hidden;
  background: linear-gradient(160deg,#9fd8f5,#cfe8c4); }
.adm-preview img { position: absolute; right: 10px; bottom: 10px; width: 40%; height: auto; }

/* карта маршрута */
.trip-map-wrap { margin: 18px 0 12px; }
.trip-map { height: 380px; border-radius: 16px; overflow: hidden; background: #eef5fb; box-shadow: 0 10px 26px rgba(32,43,42,.07); }
.trip-map-svg svg { display: block; width: 100%; height: 100%; }
.trip-export { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0 6px; }
.trip-export-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #e6e9e5;
  background: #fff; border-radius: 12px; padding: 10px 14px; font: inherit; font-size: 14px;
  text-decoration: none; color: inherit; cursor: pointer; }
.trip-export-btn:hover { border-color: #237a62; color: #237a62; }
.trip-pin { width: 26px; height: 26px; border-radius: 50%; background: #f2542d; color: #fff; font-weight: 800;
  font-size: 13px; display: flex; align-items: center; justify-content: center; border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(32,43,42,.3); }
.trip-pin.is-start { background: #237a62; }
@media (max-width: 640px) { .trip-map { height: 280px; } }

/* маршрут: план слева, карта справа */
.trip-layout { display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.95fr); gap: 20px; align-items: start; }
.trip-col-plan { min-width: 0; }
.trip-col-map { position: sticky; top: 84px; min-width: 0; }
.trip-col-map .trip-map-wrap { margin: 0 0 12px; }
.trip-col-map .trip-map { overflow: hidden; height: 520px; width: 100%; }
.trip-col-map .trip-export { margin: 0; }
@media (max-width: 900px) {
  .trip-layout { grid-template-columns: 1fr; }
  .trip-col-map { position: static; order: -1; }
  .trip-col-map .trip-map { height: 300px; }
}

/* композер публикации в ленте */
.composer { margin: 14px 0 18px; }
.composer-open { display: inline-flex; }
.composer-form { display: grid; gap: 10px; background: #fff; border-radius: 16px; padding: 16px;
  box-shadow: 0 10px 26px rgba(32,43,42,.07); margin-top: 12px; max-width: 760px; }
.composer-form[hidden] { display: none !important; }
.composer-form label { display: grid; gap: 5px; font-size: 12.5px; font-weight: 700; color: #48544f; }
.composer-form select, .composer-form input:not([type="file"]), .composer-form textarea {
  border: 1px solid #e6e9e5; border-radius: 12px; padding: 10px 12px; font: inherit; font-weight: 400; }
.composer-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.composer-row label { flex: 1 1 220px; }
.composer-photo { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; border: 1px solid #e6e9e5;
  border-radius: 12px; padding: 10px 14px; font-weight: 600; font-size: 13px; }
.composer-photo.is-on { border-color: #1f6b5a; background: #eef7fb; }
.composer-preview { position: relative; }
.composer-preview[hidden] { display: none !important; }
.composer-preview img { display: block; max-width: 280px; width: 100%; border-radius: 12px; }
.composer-preview button { position: absolute; top: 8px; left: 8px; border: 0; border-radius: 8px;
  background: rgba(32,43,42,.7); color: #fff; padding: 4px 8px; cursor: pointer; }

/* статистика маршрута под картой */
.trip-stats-map { display: flex; gap: 18px; flex-wrap: wrap; margin: 12px 0 10px; font-size: 14px; color: #48544f; }
.trip-stats-map b { font-size: 16px; color: #1f2b29; }
@media (max-width: 900px) { .trip-col-map .trip-map { height: 340px; } }

/* идеи для выходных */
.idea-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 22px; }
.idea-tile { position: relative; display: block; border-radius: 18px; overflow: hidden; text-decoration: none;
  color: #fff; min-height: 210px; box-shadow: 0 14px 32px rgba(32,43,42,.14); }
.idea-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.idea-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,20,40,0) 30%, rgba(4,20,40,.82) 100%); }
.idea-tile-body { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end;
  height: 100%; padding: 16px 18px; gap: 4px; }
.idea-tile-kicker { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #ffd166; }
.idea-tile-body b { font-size: 20px; line-height: 1.2; }
.idea-tile-body small { font-size: 13px; opacity: .9; }

.idea-two { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; margin: 18px 0 8px; }
.idea-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.idea-steps li { font-size: 15px; color: #394541; }
.idea-steps b { color: #237a62; margin-right: 6px; }
.idea-money { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.idea-money li { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; color: #394541; padding-bottom: 6px; border-bottom: 1px dashed #e6edf6; }
.idea-money b { color: #1f2b29; }
.idea-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.idea-card { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden;
  text-decoration: none; color: inherit; box-shadow: 0 10px 26px rgba(32,43,42,.07); }
.idea-card img { width: 100%; height: 150px; object-fit: cover; }
.idea-card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.idea-card-body b { font-size: 16px; }
.idea-card-body small { color: #5f6d69; font-size: 12.5px; }
.idea-price { font-size: 13px; font-weight: 700; color: #12683a; margin-top: 2px; }
@media (max-width: 820px) { .idea-two { grid-template-columns: 1fr; } .idea-grid { grid-template-columns: 1fr; } }

/* полезное путешественнику */
.use-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; margin: 22px 0 24px; }
.use-card h2 { margin: 0 0 10px; font-size: 19px; }
.use-note { margin: 0 0 10px; color: #5b6b67; font-size: 13.5px; }
.use-list { margin: 0; padding-left: 20px; display: grid; gap: 7px; font-size: 14.5px; color: #394541; }
.use-list li::marker { color: #237a62; }
.use-check-list { list-style: none; padding-left: 0; }
.use-check-list li::before { content: '☐ '; color: #237a62; font-weight: 800; }
.fuel { display: grid; gap: 10px; }
.fuel label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 700; color: #48544f; }
.fuel input[type="number"] { border: 1px solid #e6e9e5; border-radius: 10px; padding: 9px 11px; font: inherit; font-weight: 400; }
.use-check { display: flex !important; align-items: center; gap: 8px; font-weight:400; }
.fuel-result { margin-top: 14px; display: grid; gap: 6px; font-size: 14px; }
.fuel-row { display: flex; justify-content: space-between; gap: 12px; color: #394541; padding-bottom: 5px; border-bottom: 1px dashed #e6edf6; }
.fuel-row b { color: #1f2b29; }
.fuel-total { border-bottom: 0; font-size: 15.5px; }
.fuel-total b { color: #12683a; }
.use-links { display: flex; gap: 12px; flex-wrap: wrap; }

/* виджет Яндекс.Карт внутри блока маршрута */
.trip-map-frame { display: block; width: 100%; height: 100%; border: 0; border-radius: 16px; background: #eef5fb; }

/* цифры дорожного маршрута */
.trip-route-info { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px;
  background: #1f2b29; color: #fff; border-radius: 10px; padding: 7px 12px; font-size: 13.5px; font-weight: 600; }

/* метки в карточке попутчиков */
.trip-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 4px; }
.trip-tag { background: #eef5f1; color: #17456e; border-radius: 8px; padding: 4px 9px; font-size: 12.5px; font-weight: 600; }

/* клубы */
.club-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-top: 22px; }
.club-tile { position: relative; display: block; border-radius: 18px; overflow: hidden; min-height: 240px; text-decoration: none;
  color: #fff; box-shadow: 0 14px 32px rgba(32,43,42,.14); }
.club-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.club-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,20,40,.05) 25%, rgba(4,20,40,.86) 100%); }
.club-tile-body { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; height: 100%;
  padding: 18px; gap: 6px; }
.club-emoji { font-size: 26px; }
.club-tile-body b { font-size: 21px; }
.club-tile-body small { font-size: 13px; opacity: .9; line-height: 1.35; }
.club-meta { font-size: 12.5px; font-weight: 700; color: #ffd166; margin-top: 4px; }
.club-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.club-count { color: #eaf2fb; font-size: 14px; }
.club-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr); gap: 24px; align-items: start; }
.club-form { display: grid; gap: 8px; margin-bottom: 16px; }
.club-form textarea { border: 1px solid #e6e9e5; border-radius: 12px; padding: 11px 13px; font: inherit; }
.club-form-foot { display: flex; align-items: center; gap: 10px; }
.club-post { background: #fff; border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; box-shadow: 0 8px 20px rgba(32,43,42,.06); }
.club-post b { font-size: 14px; }
.club-post small { color: #5f6d69; font-size: 12px; display: block; margin-top: 2px; }
.club-post p { margin: 6px 0 0; font-size: 14.5px; color: #26364f; white-space: pre-wrap; }
.club-member { display: inline-flex; align-items: center; gap: 6px; background: #eef5f1; color: #17456e; border-radius: 999px;
  padding: 5px 11px; font-size: 13px; font-weight: 600; margin: 0 6px 6px 0; }
@media (max-width: 900px) { .club-layout { grid-template-columns: 1fr; } }

/* динамическая карта направления */
.place-map-dyn { height: 360px; border-radius: 16px; overflow: hidden; background: #eef5fb; }
.place-map-dyn[hidden] { display: none !important; }
@media (max-width: 700px) { .place-map-dyn { height: 280px; } }

/* выбор точек для маршрута на карте */
.vr-select { position: absolute; right: 16px; bottom: 16px; z-index: 5; width: min(320px, calc(100% - 32px));
  background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: 0 14px 34px rgba(32,43,42,.18); }
.vr-select[hidden] { display: none !important; }
.vr-select-head { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; margin-bottom: 8px; }
.vr-select-head span { color: #5b6b67; font-size: 12.5px; }
.vr-select-list { margin: 0 0 10px; padding-left: 0; list-style: none; display: grid; gap: 4px; max-height: 168px; overflow: auto; }
.vr-select-list li { font-size: 13.5px; color: #26364f; }
.vr-select-list b { color: #237a62; margin-right: 6px; }
.vr-select-empty { color: #5b6b67; }
.vr-select-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* слои карты */
.map-layers { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 10px; }
.map-layers-label { font-size: 13px; font-weight: 700; color: #48544f; }
.map-layer { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: #394541; cursor: pointer; }
.map-layer input { accent-color: #237a62; }
.map-layers-status { font-size: 12.5px; color: #5b6b67; }

/* дневник путешествий */
.vr-diary-form { display: grid; gap: 10px; margin: 12px 0; padding: 14px; background: #fbfbf9; border-radius: 14px; }
.vr-diary-form[hidden] { display: none !important; }
.vr-diary-form label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 700; color: #48544f; }
.vr-diary-form input, .vr-diary-form select, .vr-diary-form textarea { border: 1px solid #e6e9e5; border-radius: 10px; padding: 9px 11px; font: inherit; font-weight: 400; }
.vr-diary-photo { display: inline-flex !important; align-items: center; gap: 8px; border: 1px solid #e6e9e5; background: #fff;
  border-radius: 12px; padding: 9px 13px; cursor: pointer; font-size: 13px; }
.vr-diary-photo.is-on { border-color: #1f6b5a; background: #eef7fb; }
.vr-diary-preview img { max-width: 240px; border-radius: 12px; display: block; }
.vr-diary-list { display: grid; gap: 12px; margin-top: 12px; }
.vr-diary-item { background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: 0 8px 20px rgba(32,43,42,.06); }
.vr-diary-item b { font-size: 15px; }
.vr-diary-item small { color: #5f6d69; font-size: 12.5px; display: block; margin-top: 2px; }
.vr-diary-item p { margin: 6px 0 0; font-size: 14.5px; color: #26364f; white-space: pre-wrap; }
.vr-diary-item img { max-width: 320px; width: 100%; border-radius: 12px; margin-top: 8px; }
.vr-diary-del { margin-top: 8px; border: 1px solid #f3c7c3; color: #b3261e; background: #fff; border-radius: 10px; padding: 5px 10px; cursor: pointer; font: inherit; font-size: 12.5px; }

/* афиша событий */
.af-filters { display: flex; gap: 14px; flex-wrap: wrap; align-items: end; margin: 18px 0 8px; }
.af-filters label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 700; color: #48544f; }
.af-filters select { border: 1px solid #e6e9e5; border-radius: 10px; padding: 9px 11px; font: inherit; font-weight: 400; }
.af-check { display: inline-flex !important; align-items: center; gap: 6px; font-weight:400 !important; }
.af-status { font-size: 12.5px; color: #5b6b67; }
.af-composer { margin: 16px 0 8px; }
.af-form { display: grid; gap: 10px; background: #fff; border-radius: 16px; padding: 16px; margin-top: 12px;
  box-shadow: 0 10px 26px rgba(32,43,42,.07); max-width: 760px; }
.af-form[hidden] { display: none !important; }
.af-form label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 700; color: #48544f; }
.af-form input, .af-form select, .af-form textarea { border: 1px solid #e6e9e5; border-radius: 10px; padding: 9px 11px; font: inherit; font-weight: 400; }
.af-row { display: flex; gap: 10px; flex-wrap: wrap; }
.af-row label { flex: 1 1 200px; }
.af-list { display: grid; gap: 14px; margin-top: 18px; }
.af-item { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; background: #fff; border-radius: 16px;
  padding: 14px; box-shadow: 0 10px 26px rgba(32,43,42,.07); }
.af-date { display: grid; place-items: center; background: #eef5f1; border-radius: 12px; padding: 10px; color: #1f2b29; }
.af-date b { font-size: 24px; line-height: 1; }
.af-date small { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: #48544f; }
.af-item h3 { margin: 0 0 4px; font-size: 17px; }
.af-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: #5f6d69; margin-bottom: 4px; }
.af-kind { background: #eef5f1; color: #17456e; border-radius: 8px; padding: 3px 8px; font-weight: 700; }
.af-free { background: #e8f7ee; color: #12683a; border-radius: 8px; padding: 3px 8px; font-weight: 700; }
.af-item p { margin: 6px 0 0; font-size: 14px; color: #394541; }
.af-item a.af-link { display: inline-block; margin-top: 8px; font-size: 13.5px; color: #237a62; }
.af-del { margin-top: 8px; border: 1px solid #f3c7c3; color: #b3261e; background: #fff; border-radius: 8px; padding: 4px 9px; cursor: pointer; font: inherit; font-size: 12px; }
@media (max-width: 640px) { .af-item { grid-template-columns: 1fr; } .af-date { justify-items: start; grid-auto-flow: column; gap: 8px; } }
.af-partner { background: linear-gradient(135deg, #fff6e5, #fff); border: 1px solid #ffe0ad; border-radius: 18px; padding: 18px 20px; }
.af-partner-text { display: grid; gap: 8px; max-width: 720px; }
.af-partner-text b { font-size: 19px; color: #1f2b29; }
.af-partner-text p { margin: 0; font-size: 14px; color: #394541; }
.af-promo-code { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px dashed #e0a83f; border-radius: 12px; padding: 8px 12px; width: max-content; }
.af-promo-code span { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #8a6a1f; }
.af-promo-code b { font-size: 17px; letter-spacing: .08em; color: #1f2b29; }
.af-partner-text .vr-btn { width: max-content; }
.af-partner-ad { margin: 2px 0 0; font-size: 11.5px; color: #5b6b67; }

/* промокоды */
.promo-grid { display: grid; gap: 18px; margin: 22px 0; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.promo-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 30px rgba(32,43,42,.08); display: flex; flex-direction: column; }
.promo-card-banner { background: #f2f6fb; }
.promo-card-banner img { display: block; width: 100%; height: auto; }
.promo-card-body { padding: 16px 18px 18px; display: grid; gap: 8px; align-content: start; }
.promo-service { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: #5b6b67; font-weight: 700; }
.promo-card-body h2 { margin: 0; font-size: 20px; }
.promo-card-body p { margin: 0; font-size: 14px; color: #394541; }
.promo-terms { margin: 0; padding-left: 18px; font-size: 13px; color: #55625f; display: grid; gap: 3px; }
.promo-code-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.promo-code { display: inline-flex; align-items: baseline; gap: 8px; background: #fff8e8; border: 1px dashed #e0a83f; border-radius: 12px; padding: 8px 12px; }
.promo-code span { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #8a6a1f; }
.promo-code b { font-size: 18px; letter-spacing: .08em; color: #1f2b29; }
.promo-code-row .vr-btn { font-size: 13px; padding: 8px 12px; }
.promo-go { width: max-content; }
.promo-until { font-size: 12.5px; color: #5b6b67; }
.promo-disclaimer { font-size: 11.5px; color: #5b6b67; }
.promo-help { background: #f5f8fc; border-radius: 18px; padding: 18px 20px; margin-top: 8px; }
.promo-help b { display: block; margin-bottom: 6px; }
.promo-help ol { margin: 0 0 8px; padding-left: 20px; font-size: 14px; color: #394541; display: grid; gap: 4px; }
.promo-help p { margin: 0; font-size: 12.5px; color: #5f6d69; }
.af-item-promo { display: inline-block; margin-top: 8px; margin-left: 10px; font-size: 13px; font-weight: 700; color: #8a6a1f; }

/* фотоохота */
.hunt-stats { display: flex; gap: 14px; flex-wrap: wrap; margin: 18px 0; }
.hunt-stat { background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: 0 8px 20px rgba(32,43,42,.06); min-width: 120px; }
.hunt-stat b { display: block; font-size: 24px; color: #1f2b29; }
.hunt-stat small { color: #5b6b67; font-size: 12.5px; }
.hunt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.hunt-card { background: #fff; border-radius: 16px; padding: 14px; box-shadow: 0 10px 26px rgba(32,43,42,.07); display: grid; gap: 8px; }
.hunt-card.is-done { background: #f3fbf6; }
.hunt-emoji { font-size: 26px; }
.hunt-card b { font-size: 16px; }
.hunt-card p { margin: 0; font-size: 13.5px; color: #5f6d69; }
.hunt-points { font-size: 13px; font-weight: 800; color: #12683a; }
.hunt-card img { width: 100%; max-height: 150px; object-fit: cover; border-radius: 10px; }
.hunt-btn { border: 0; background: #ffd23f; border-radius: 10px; padding: 9px 12px; font: inherit; font-weight: 800; cursor: pointer; }
.hunt-card.is-done .hunt-btn { background: #e8f7ee; color: #12683a; }
.hunt-modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(9,26,48,.55); padding: 16px; }
.hunt-modal[hidden] { display: none !important; }
.hunt-modal-box { position: relative; background: #fff; border-radius: 18px; padding: 20px; width: min(460px, 100%); }
.hunt-close { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 22px; cursor: pointer; color: #5b6b67; }
.hunt-form { display: grid; gap: 10px; margin-top: 10px; }
.hunt-form label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 700; color: #48544f; }
.hunt-form select { border: 1px solid #e6e9e5; border-radius: 10px; padding: 9px 11px; font: inherit; font-weight: 400; }
.hunt-photo { display: inline-flex !important; align-items: center; gap: 8px; border: 1px solid #e6e9e5; border-radius: 12px; padding: 9px 13px; cursor: pointer; font-size: 13px; }
.hunt-photo.is-on { border-color: #1f6b5a; background: #eef7fb; }
.hunt-preview img { max-width: 100%; border-radius: 12px; }
.hunt-board-list { display: grid; gap: 8px; max-width: 520px; }
.hunt-board-row { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: 0 6px 16px rgba(32,43,42,.06); }
.hunt-board-row b { min-width: 26px; color: #237a62; }
.hunt-board-row span { flex: 1; font-size: 14.5px; }
.hunt-board-row i { font-style: normal; font-weight: 800; color: #1f2b29; }

/* сравнение направлений */
.cmp-picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 18px 0 22px; }
.cmp-picks label { display: grid; gap: 5px; font-size: 12.5px; font-weight: 700; color: #48544f; }
.cmp-picks select { border: 1px solid #e6e9e5; border-radius: 10px; padding: 9px 11px; font: inherit; font-weight: 400; }
.cmp-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 10px 26px rgba(32,43,42,.07); font-size: 14px; }
.cmp-table th, .cmp-table td { padding: 11px 13px; text-align: left; border-bottom: 1px solid #eef3f9; vertical-align: top; }
.cmp-table thead th { background: #f4f8fd; font-size: 13px; }
.cmp-table thead th b { font-size: 15px; color: #1f2b29; }
.cmp-table tbody th { width: 190px; color: #5f6d69; font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; }
.cmp-table td.best { background: #f3fbf6; font-weight: 700; color: #12683a; }
.cmp-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.cmp-tag { background: #eef5f1; color: #17456e; border-radius: 8px; padding: 3px 8px; font-size: 12px; font-weight: 700; }
.cmp-wrap { overflow-x: auto; }

/* местные гиды */
.gd-tools { display: flex; gap: 14px; align-items: end; flex-wrap: wrap; margin: 18px 0; }
.gd-tools label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 700; color: #48544f; }
.gd-tools select, .gd-form input, .gd-form select, .gd-form textarea, .gd-review select, .gd-review textarea {
  border: 1px solid #e6e9e5; border-radius: 10px; padding: 9px 11px; font: inherit; font-weight: 400; }
.gd-status { font-size: 12.5px; color: #5b6b67; }
.gd-form { display: grid; gap: 10px; background: #fff; border-radius: 16px; padding: 16px; margin: 12px 0 18px;
  box-shadow: 0 10px 26px rgba(32,43,42,.07); max-width: 760px; }
.gd-form[hidden] { display: none !important; }
.gd-form label, .gd-review label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 700; color: #48544f; }
.gd-row { display: flex; gap: 10px; flex-wrap: wrap; }
.gd-row label { flex: 1 1 200px; }
.gd-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.gd-card { background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 10px 26px rgba(32,43,42,.07); display: grid; gap: 8px; }
.gd-card h3 { margin: 0; font-size: 17px; }
.gd-card-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: #5f6d69; }
.gd-rating { color: #c98512; font-weight: 800; }
.gd-card p { margin: 0; font-size: 14px; color: #394541; }
.gd-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.gd-tag { background: #eef5f1; color: #17456e; border-radius: 8px; padding: 3px 8px; font-size: 12px; font-weight: 700; }
.gd-card button { border: 1px solid #e6e9e5; background: #fff; border-radius: 10px; padding: 8px 12px; cursor: pointer; font: inherit; font-size: 13px; justify-self: start; }
.gd-modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(9,26,48,.55); padding: 16px; }
.gd-modal[hidden] { display: none !important; }
.gd-modal-box { position: relative; background: #fff; border-radius: 18px; padding: 20px; width: min(560px, 100%); max-height: 86vh; overflow: auto; }
.gd-close { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 22px; cursor: pointer; color: #5b6b67; }
.gd-modal-meta { font-size: 13px; color: #5f6d69; margin-bottom: 8px; }
.gd-modal-about { font-size: 14.5px; color: #26364f; margin: 0 0 12px; }
.gd-review { display: grid; gap: 8px; margin-top: 12px; border-top: 1px solid #eef3f9; padding-top: 12px; }
.gd-review-item { border-bottom: 1px solid #eef3f9; padding-bottom: 8px; margin-bottom: 8px; font-size: 14px; }
.gd-review-item b { font-size: 13.5px; }
.gd-review-item small { color: #5f6d69; margin-left: 8px; }

/* места от жителей */
.up-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 18px 0; }
.up-form { display: grid; gap: 10px; background: #fff; border-radius: 16px; padding: 16px; margin: 12px 0 20px;
  box-shadow: 0 10px 26px rgba(32,43,42,.07); max-width: 780px; }
.up-form[hidden] { display: none !important; }
.up-form label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 700; color: #48544f; }
.up-form input, .up-form select, .up-form textarea { border: 1px solid #e6e9e5; border-radius: 10px; padding: 9px 11px; font: inherit; font-weight: 400; }
.up-row { display: flex; gap: 10px; flex-wrap: wrap; }
.up-row label { flex: 1 1 220px; }
.up-photo { display: inline-flex !important; align-items: center; gap: 8px; border: 1px solid #e6e9e5; border-radius: 12px; padding: 9px 13px; cursor: pointer; font-size: 13px; }
.up-photo.is-on { border-color: #1f6b5a; background: #eef7fb; }
.up-preview img { max-width: 240px; border-radius: 12px; }
.up-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.up-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 26px rgba(32,43,42,.07); }
.up-card img { width: 100%; height: 170px; object-fit: cover; }
.up-card-body { padding: 12px 14px 14px; display: grid; gap: 6px; }
.up-card-body b { font-size: 16px; }
.up-card-body small { color: #5f6d69; font-size: 12.5px; }
.up-card-body p { margin: 0; font-size: 14px; color: #394541; }
.up-mine { display: grid; gap: 8px; margin: 8px 0 4px; }
.up-mine-row { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: #394541; background: #fbfbf9; border-radius: 10px; padding: 8px 12px; }
.up-mine-row i { font-style: normal; font-weight: 800; font-size: 12px; padding: 2px 8px; border-radius: 8px; }
.up-mine-row i.pending { background: #fff4d8; color: #8a6100; }
.up-mine-row i.approved { background: #e8f7ee; color: #12683a; }
.up-mine-row i.rejected { background: #fdeaea; color: #a1271f; }

/* поиск по сообществу */
.sr-form { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 8px; max-width: 720px; }
.sr-form input { flex: 1 1 320px; border: 1px solid #e6e9e5; border-radius: 12px; padding: 12px 14px; font: inherit; }
.sr-status { color: #5b6b67; font-size: 13px; margin: 0 0 14px; }
.sr-group { margin: 20px 0 8px; font-size: 18px; }
.sr-list { display: grid; gap: 10px; }
.sr-item { background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: 0 8px 20px rgba(32,43,42,.06); }
.sr-item b { font-size: 15px; }
.sr-item small { color: #5f6d69; font-size: 12.5px; display: block; margin-top: 2px; }
.sr-item p { margin: 6px 0 0; font-size: 14px; color: #394541; }
.sr-item a { color: #237a62; font-size: 13.5px; }
.sr-people { display: flex; gap: 10px; flex-wrap: wrap; }
.sr-person { background: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: 0 6px 16px rgba(32,43,42,.06); font-size: 14px; }
.sr-person span { color: #5b6b67; font-size: 12.5px; margin-left: 6px; }

/* жалоба в ленте */
.feed-actions { display: flex; gap: 12px; margin-top: 8px; }
.feed-report { border: 0; background: none; color: #8a94a6; font: inherit; font-size: 12.5px; cursor: pointer; padding: 0; }
.feed-report:hover { color: #b3261e; }

/* партнёры */
.pt-tools { display: flex; gap: 14px; align-items: end; flex-wrap: wrap; margin: 18px 0; }
.pt-tools label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 700; color: #48544f; }
.pt-tools select, .pt-form input, .pt-form select, .pt-form textarea { border: 1px solid #e6e9e5; border-radius: 10px; padding: 9px 11px; font: inherit; font-weight: 400; }
.pt-status { font-size: 12.5px; color: #5b6b67; }
.pt-form { display: grid; gap: 10px; background: #fff; border-radius: 16px; padding: 16px; margin: 12px 0 20px;
  box-shadow: 0 10px 26px rgba(32,43,42,.07); max-width: 780px; }
.pt-form[hidden] { display: none !important; }
.pt-form label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 700; color: #48544f; }
.pt-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pt-row label { flex: 1 1 220px; }
.pt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.pt-card { background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 10px 26px rgba(32,43,42,.07); display: grid; gap: 8px; }
.pt-card b { font-size: 16px; }
.pt-card small { color: #5f6d69; font-size: 12.5px; }
.pt-card p { margin: 0; font-size: 14px; color: #394541; }
.pt-discount { background: #fff4d8; color: #8a6100; border-radius: 8px; padding: 3px 8px; font-size: 12.5px; font-weight: 800; justify-self: start; }
.pt-card a.pt-link { color: #237a62; font-size: 13.5px; }
.pt-note { margin-top: 30px; background: #f4f8fd; border-radius: 16px; padding: 18px; max-width: 720px; }
.pt-note h2 { margin: 0 0 8px; font-size: 20px; }
.pt-note p { margin: 0; font-size: 14.5px; color: #394541; }

/* партнёрский блок «Найти жильё рядом» */
.stay-cta { display: grid; gap: 10px; align-items: center; background: #f4f8fd; border: 1px solid #e3ecf7;
  border-radius: 16px; padding: 16px 18px; margin: 22px 0; }
.stay-cta-text { display: grid; gap: 4px; }
.stay-cta-text strong { font-size: 17px; color: #1f2b29; }
.stay-cta-text span { font-size: 14px; color: #48544f; }
.stay-cta-btn { justify-self: start; background: #ffd23f; color: #14203a; border-radius: 10px; padding: 11px 16px;
  font-weight: 800; text-decoration: none; }
.stay-cta-btn:hover { background: #ffdf6b; }
.stay-cta-mark { font-size: 11.5px; color: #8a94a6; }

/* всплывающие уведомления */
.vr-toasts { position: fixed; right: 16px; bottom: 16px; z-index: 80; display: grid; gap: 8px; max-width: min(360px, calc(100vw - 32px)); }
.vr-toast { background: #1f2b29; color: #fff; border-radius: 12px; padding: 12px 16px; font-size: 14px;
  box-shadow: 0 12px 30px rgba(32,43,42,.28); opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.vr-toast.is-in { opacity: 1; transform: none; }
.vr-toast.is-ok { background: #12683a; }
.vr-toast.is-err { background: #a1271f; }

/* единые пропорции обложек в карточках */
.card .card-media, .card-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; }
.card .card-media img, .card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hub-card .hub-media, .place-card img, .feature-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* пустые состояния */
.empty-state { display: grid; gap: 8px; justify-items: start; background: #f4f8fd; border: 1px dashed #cfdcec;
  border-radius: 16px; padding: 22px; margin: 16px 0; max-width: 640px; }
.empty-state b { font-size: 17px; color: #1f2b29; }
.empty-state span { font-size: 14px; color: #48544f; max-width: 46ch; }
.empty-state-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }

/* подзаголовок под H1 */
.hero-sub { margin: 10px 0 4px; font-size: 17px; line-height: 1.45; color: rgba(255,255,255,.92); max-width: 62ch; }
.hero h1 { margin-bottom: 2px; }
@media (max-width: 640px) { .hero-sub { font-size: 15px; } }

/* поиск места в форме публикации */
.place-search { display: grid; gap: 6px; margin-bottom: 8px; }
.place-search-input { width: 100%; border: 1px solid #e6e9e5; border-radius: 10px; padding: 11px 13px; font: inherit; }
.place-search-input:focus { outline: 2px solid #cfe3fb; border-color: #9cc4f0; }
.place-search-status { font-size: 12.5px; color: #5b6b67; }

/* превью нескольких фото */
.composer-preview { display: flex; flex-wrap: wrap; gap: 8px; }
.composer-preview .pv-item { position: relative; width: 96px; height: 96px; border-radius: 12px; overflow: hidden; }
.composer-preview .pv-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.composer-preview .pv-del { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border: 0; border-radius: 50%;
  background: rgba(9,26,48,.72); color: #fff; font-size: 14px; line-height: 1; cursor: pointer; }
.composer-preview .pv-note { width: 100%; font-size: 12.5px; color: #5b6b67; }

/* центр формы входа */
.section:has(.vr-auth) .wrap { max-width: 460px; margin-inline: auto; text-align: left; }
.section:has(.vr-auth) .wrap > .kicker,
.section:has(.vr-auth) .wrap > h1,
.section:has(.vr-auth) .wrap > .lead { text-align: center; }
.section:has(.vr-auth) .wrap > .lead { margin-inline: auto; }
.section:has(.vr-auth) .vr-auth { margin: 22px 0 0; }
.section:has(.vr-auth) .vr-box { margin-inline: auto; }

/* regiony: поиск и пагинация */
#reg-q {
  display: block;
  width: min(620px, 100%);
  margin: 18px auto 26px;
  padding: 16px 20px 16px 52px;
  font: inherit;
  font-size: 16px;
  color: #1b2624;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%237c899f' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='9' r='6'/%3E%3Cpath d='M13.5 13.5 18 18'/%3E%3C/svg%3E") 18px center no-repeat;
  border: 1px solid #e8f0ea;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(32,43,42,.08);
  transition: border-color .18s ease, box-shadow .18s ease;
}
#reg-q::placeholder { color: #9aa7b8; }
#reg-q:focus {
  outline: none;
  border-color: #8fc0f2;
  box-shadow: 0 14px 34px rgba(8,121,232,.16);
}

.reg-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 30px 0 10px;
}
.reg-pager button,
.reg-pager a {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e8f0ea;
  border-radius: 12px;
  background: #fff;
  color: #40556f;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.reg-pager button:hover,
.reg-pager a:hover {
  border-color: #b9d5f5;
  color: #237a62;
  box-shadow: 0 8px 20px rgba(8,121,232,.12);
}
.reg-pager button.is-on,
.reg-pager a.is-on,
.reg-pager .is-on {
  background: linear-gradient(145deg,#1f7a5f,#14503f);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 24px rgba(8,121,232,.28);
}
.reg-pager .reg-pager-dots { border: 0; background: none; color: #9aa7b8; cursor: default; box-shadow: none; }

/* Страницы направлений: светлый герой, вкладки, две колонки */
.dp-hero { padding: 26px 0 0; background: #fff; border-bottom: 1px solid #e6e9e5; }
.dp-hero .wrap { width: min(1160px, calc(100% - 36px)); margin-inline: auto; }
.dp-kicker { margin: 0 0 6px; font-size: 12.5px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: #5b6b67; }
.dp-h1 { margin: 0 0 8px; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; color: #1b2624; }
.dp-sub { margin: 0 0 16px; font-size: 16px; color: #4f5c5a; max-width: 66ch; }
.dp-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 18px 0 20px; }
.dp-meta div { background: #f5f8fc; border-radius: 14px; padding: 12px 14px; }
.dp-meta b { display: block; font-size: 17px; color: #1b2624; }
.dp-meta small { font-size: 12px; color: #5b6b67; }
.dp-tabs { display: flex; gap: 18px; overflow-x: auto; padding: 0 0 14px; }
.dp-tabs a { font-size: 13.5px; font-weight: 800; color: #4f5c5a; text-decoration: none; white-space: nowrap; }
.dp-tabs a:hover { color: #237a62; }

.dp-layout { width: min(1160px, calc(100% - 36px)); margin: 24px auto 40px; display: grid; gap: 26px; }
@media (min-width: 960px) { .dp-layout { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; } }
.dp-main { min-width: 0; }
.dp-main h2 { margin-top: 28px; font-size: clamp(20px, 2.1vw, 25px); color: #1b2624; }
.dp-main p { font-size: 15.5px; line-height: 1.6; color: #2c3d55; }

.dp-aside { display: grid; gap: 14px; }
@media (min-width: 960px) { .dp-aside { position: sticky; top: 76px; align-self: start; } }
.dp-card { background: #fff; border: 1px solid #e6e9e5; border-radius: 16px; padding: 16px;
  box-shadow: 0 10px 26px rgba(32,43,42,.06); }
.dp-card h3 { margin: 0 0 10px; font-size: 15px; color: #1b2624; }
.dp-card a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0;
  border-bottom: 1px solid #f0f4f9; text-decoration: none; color: #1b2624; font-size: 14px; font-weight: 600; }
.dp-card a:last-child { border-bottom: 0; }
.dp-card a:hover { color: #237a62; }
.dp-card a small { color: #5b6b67; font-weight:400; white-space: nowrap; }
.dp-actions { display: grid; gap: 8px; }
.dp-actions a { display: block; text-align: center; border: 1px solid #e6e9e5; border-radius: 12px;
  padding: 10px 12px; font-size: 13.5px; color: #40556f; }
.dp-actions a:hover { border-color: #b9d5f5; color: #237a62; }
.dp-rv { background: #f7fafd; border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
.dp-rv b { font-size: 13.5px; }
.dp-rv p { margin: 4px 0 0; font-size: 13.5px; color: #40556f; }
.dp-rv small { color: #8a95a6; font-size: 12px; }

.dp-cover { display: block; width: 100%; max-height: 380px; object-fit: cover;
  border-radius: 18px; margin: 6px 0 18px; }
@media (max-width: 640px) { .dp-cover { max-height: 220px; } }

/* герой как в макете: тёмная полоса */
.dp-hero { background: linear-gradient(120deg,#2f4a42,#16211f); padding: 30px 0 0; border-bottom: 0; }
.dp-hero .dp-kicker { color: rgba(255,255,255,.62); }
.dp-hero .dp-h1 { color: #fff; }
.dp-hero .dp-sub { color: rgba(255,255,255,.82); }
.dp-hero .dp-tabs { padding: 16px 0 0; }
.dp-hero .dp-tabs a { color: rgba(255,255,255,.72); }
.dp-hero .dp-tabs a:hover { color: #fff; }

/* метрики — белые карточки поверх тёмного героя */
.dp-meta { margin: 22px 0 0; padding-bottom: 20px; }
.dp-meta div { background: #fff; border-radius: 14px; padding: 14px 16px;
  box-shadow: 0 10px 26px rgba(10,24,44,.18); }
.dp-meta b { font-size: 18px; }
.dp-meta small { font-size: 12px; color: #5b6b67; }

/* контент — белая карточка */
.dp-layout { margin-top: 22px; }
.dp-main { background: #fff; border: 1px solid #e6e9e5; border-radius: 18px; padding: 26px 28px;
  box-shadow: 0 10px 30px rgba(32,43,42,.06); }
.dp-main h2:first-of-type { margin-top: 0; }
.dp-cover { border-radius: 14px; max-height: 340px; }

/* кнопки в колонке */
.dp-save { display: grid; gap: 8px; }
.dp-btn-primary { border: 0; border-radius: 12px; padding: 12px 14px; font: inherit; font-weight: 800;
  background: linear-gradient(145deg,#1f7a5f,#14503f); color: #fff; cursor: pointer; }
.dp-btn-ghost { border: 1px solid #dbe6f3; border-radius: 12px; padding: 11px 14px; font: inherit;
  font-weight: 700; background: #eef5f1; color: #1b4f8a; cursor: pointer; }
.dp-map { display: block; text-align: center; background: #eef5f1; border-radius: 12px;
  padding: 26px 12px; text-decoration: none; color: #1b2624; font-weight: 700; font-size: 14px; }

/* герой: фото на фоне, надписи поверх */
.dp-hero { position: relative; overflow: hidden; background: #16211f; padding: 0; border-bottom: 0; }
.dp-hero .dp-cover { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none;
  object-fit: cover; border-radius: 0; margin: 0; }
.dp-hero:before { content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(16,33,29,.35) 0%, rgba(16,33,29,.72) 62%, rgba(16,33,29,.9) 100%); }
.dp-hero-inner { position: relative; z-index: 2; padding: 64px 0 22px; }
.dp-hero .dp-kicker { color: rgba(255,255,255,.72); }
.dp-hero .dp-h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.dp-hero .dp-sub { color: rgba(255,255,255,.9); }
.dp-hero .dp-meta { margin: 20px 0 0; }
.dp-hero .dp-meta div { background: rgba(255,255,255,.94); backdrop-filter: blur(4px); }
.dp-hero .dp-tabs { padding: 14px 0 0; }
.dp-hero .dp-tabs a { color: rgba(255,255,255,.85); }
.dp-hero .dp-tabs a:hover { color: #fff; }

/* кнопки в колонке — столбиком */
.dp-save--stack { display: grid; gap: 8px; }
.dp-save--stack .vr-actions { display: grid; gap: 8px; }
.dp-save--stack .vr-btn { width: 100%; justify-content: center; text-align: center; }
.dp-save--stack .vr-status { font-size: 12px; color: #5b6b67; }

/* пагинация подбора */
.finder-pager { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: center; margin: 22px 0 6px; }
.finder-page { min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid #e8f0ea; border-radius: 12px;
  background: #fff; color: #40556f; font: inherit; font-weight: 700; cursor: pointer; }
.finder-page:hover { border-color: #b9d5f5; color: #237a62; }
.finder-page.is-on { background: linear-gradient(145deg,#1f7a5f,#14503f); border-color: transparent; color: #fff; }
.finder-dots { color: #9aa7b8; padding: 0 4px; }

/* вход: компактнее сверху + преимущества */
.section:has(.vr-auth) { padding-top: 8px; }
.section:has(.vr-auth) .breadcrumbs { margin-bottom: 6px; }
.section:has(.vr-auth) h1 { margin: 4px 0 8px; }
.login-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 0 0 16px; }
.login-benefits div { background: #f5f8fc; border: 1px solid #e6e9e5; border-radius: 14px; padding: 12px; text-align: center; }
.login-benefits span { font-size: 20px; display: block; }
.login-benefits b { display: block; font-size: 14px; margin: 4px 0 2px; color: #1b2624; }
.login-benefits small { font-size: 12px; color: #5b6b67; }

/* подтверждение города */
.vr-city-ask { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center;
  background: rgba(16,33,29,.35); backdrop-filter: blur(2px); padding: 16px; }
.vr-city-ask-card { background: #fff; border-radius: 18px; padding: 22px 24px; max-width: 360px; width: 100%;
  box-shadow: 0 24px 60px rgba(10,24,44,.28); text-align: center; }
.vr-city-ask-card b { font-size: 15px; color: #5b6b67; font-weight: 700; }
.vr-city-ask-city { font-size: 24px; font-weight: 800; color: #1b2624; margin: 6px 0 16px; }
.vr-city-ask-actions { display: grid; gap: 8px; }
.vr-city-ask-actions .vr-btn { width: 100%; justify-content: center; }

/* плитки настроения на главной */
.mood-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.mood-tile { background: #fff; border: 1px solid #e6e9e5; border-radius: 16px; padding: 18px 16px; text-decoration: none;
  color: #1b2624; box-shadow: 0 10px 26px rgba(32,43,42,.06); transition: transform .16s ease, box-shadow .16s ease; }
.mood-tile:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(32,43,42,.12); }
.mood-tile span { font-size: 24px; display: block; margin-bottom: 8px; }
.mood-tile b { font-size: 15px; }

/* пагинация /podbor/ */
.podbor-pager { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: center; margin: 24px 0 8px; }
.podbor-pager .finder-page:disabled { opacity: .45; cursor: default; }

.mood-tile span { font-size: 34px; line-height: 1; margin-bottom: 10px; }
.mood-tile small { display: block; font-size: 12.5px; color: #5b6b67; margin-top: 3px; font-weight:400; }
.mood-grid { gap: 14px; }

/* /podbor/: аккуратная сетка фильтров */
.srch-form { display: block; }
.srch-form > label,
.srch-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 700;
  color: #5b6b67; text-transform: none; letter-spacing: 0; }
.srch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(178px, 1fr)); gap: 14px; align-items: start; }
.srch-form select:not([multiple]) { height: 46px; border: 1px solid #e8f0ea; border-radius: 12px; background: #fff;
  padding: 0 12px; font: inherit; font-size: 14px; font-weight: 600; color: #1b2624; }
.srch-form select:not([multiple]):focus { outline: none; border-color: #8fc0f2; box-shadow: 0 0 0 3px rgba(8,121,232,.12); }
.srch-wide { grid-column: 1 / -1; }
.srch-wide select[multiple] { height: 118px; border: 1px solid #e8f0ea; border-radius: 12px; background: #fff;
  padding: 8px 10px; font: inherit; font-size: 13.5px; color: #1b2624; }
.srch-wide select[multiple] option { padding: 5px 6px; border-radius: 8px; }
.srch-wide select[multiple] option:checked { background: #e6f1fe; color: #0b57a4; }
.srch-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 4px; }
.srch-actions .vr-btn { height: 46px; }

/* сетка фильтров на всю ширину */
.srch, .srch-form { display: block; width: 100%; }
.srch-grid { width: 100%; }
.srch-grid > label { min-width: 0; }


/* /podbor/: фильтры сеткой на уровне формы */
form.srch {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px 18px;
  width: 100%;
  box-sizing: border-box;
  align-items: end;
}
form.srch .srch-grid { display: contents; }
form.srch > label { display: flex; flex-direction: column; gap: 6px; min-width: 0;
  font-size: 12.5px; font-weight: 700; color: #5b6b67; }
form.srch select:not([multiple]) { width: 100%; height: 46px; border: 1px solid #e8f0ea; border-radius: 12px;
  background: #fff; padding: 0 12px; font: inherit; font-size: 14px; font-weight: 600; color: #1b2624; }
form.srch .srch-wide { grid-column: 1 / -1; }
form.srch .srch-wide select[multiple] { width: 100%; height: 104px; border: 1px solid #e8f0ea; border-radius: 12px;
  background: #fff; padding: 8px 10px; font: inherit; font-size: 13.5px; color: #1b2624; }
form.srch .srch-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
form.srch .srch-actions .vr-btn { height: 46px; }

/* «Исключить типы» — выпадающие чекбоксы */
.srch-excl { position: relative; display: flex; flex-direction: column; gap: 6px; }
.srch-excl-label { font-size: 12.5px; font-weight: 700; color: #5b6b67; }
.srch-excl-btn { height: 46px; text-align: left; border: 1px solid #e8f0ea; border-radius: 12px; background: #fff; padding: 0 12px; font: inherit; font-size: 14px; font-weight: 600; color: #1b2624; cursor: pointer; }
.srch-excl-btn:hover { border-color: #b9d5f5; }
.srch-excl-menu { position: absolute; top: 100%; left: 0; z-index: 20; margin-top: 6px; min-width: 260px; background: #fff; border: 1px solid #e8f0ea; border-radius: 14px; box-shadow: 0 18px 40px rgba(32,43,42,.16); padding: 10px; display: grid; gap: 4px; }
.srch-excl-menu label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight:400; color: #1b2624; padding: 6px 8px; border-radius: 8px; cursor: pointer; }
.srch-excl-menu label:hover { background: #f4f8fd; }
.srch-excl-clear { margin-top: 6px; border: 0; background: none; color: #237a62; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; text-align: left; padding: 6px 8px; }

/* выпадающий список «Исключить типы»: скрыт, пока не открыт, и чекбоксы слева */
.srch-excl-menu[hidden] { display: none !important; }
.srch-excl-menu { display: grid; gap: 2px; }
.srch-excl-menu label { display: flex !important; flex-direction: row !important; align-items: center;
  justify-content: flex-start !important; gap: 10px !important; padding: 8px 10px;
  font-size: 14px !important; font-weight:400 !important; color: #1b2624 !important; text-transform: none !important;
  letter-spacing: 0 !important; cursor: pointer; border-radius: 8px; }
.srch-excl-menu label input { order: 0; margin: 0; width: 16px; height: 16px; accent-color: #237a62; flex: 0 0 auto; }
.srch-excl-menu label span { order: 1; }
.srch-excl-clear { justify-self: start; }

/* дневник: 3 колонки, до 10 фото, пагинация */
.vr-diary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .vr-diary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .vr-diary-grid { grid-template-columns: 1fr; } }
.vr-diary-grid .vr-diary-item { background: #fff; border: 1px solid #e6e9e5; border-radius: 16px; padding: 16px;
  box-shadow: 0 10px 26px rgba(32,43,42,.06); display: flex; flex-direction: column; gap: 8px; }
.vr-diary-grid .vr-diary-item img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; }
.vr-diary-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.vr-diary-thumbs img { width: 100%; height: 84px; object-fit: cover; border-radius: 10px; }
.vr-diary-thumbs small { grid-column: 1 / -1; font-size: 12px; color: #5b6b67; }
.vr-diary-pager { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: center; margin: 22px 0 6px; }
.vr-diary-count { text-align: center; font-size: 12.5px; color: #5b6b67; margin: 0; }

/* дневник: три колонки независимо от обёртки */
.vr-diary-list, .vr-diary-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 16px; }
@media (max-width: 900px) { .vr-diary-list, .vr-diary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 620px) { .vr-diary-list, .vr-diary-grid { grid-template-columns: 1fr !important; } }
.vr-diary-list .vr-diary-item, #vr-diary-list .vr-diary-item { background: #fff; border: 1px solid #e6e9e5; border-radius: 16px;
  padding: 16px; box-shadow: 0 10px 26px rgba(32,43,42,.06); }
#vr-diary-list { display: block; }
#vr-diary-list > .vr-diary-grid { display: grid !important; }

/* поиск города в поле «Откуда» */
#f-city-q { height:42px; border:1px solid #e8f0ea; border-radius:12px; background:#fff; padding:0 12px; font:inherit; font-size:14px; color:#1b2624; margin-bottom:8px; }
#f-city-q::placeholder { color:#9aa7b8; }
#f-city-q:focus { outline:none; border-color:#8fc0f2; box-shadow:0 0 0 3px rgba(8,121,232,.12); }

/* город: выпадающий список с поиском */
.citycombo{position:relative}
.citycombo-btn{width:100%;height:46px;text-align:left;border:1px solid #e8f0ea;border-radius:12px;background:#fff;padding:0 12px;font:inherit;font-size:14px;font-weight:600;color:#1b2624;cursor:pointer}
.citycombo-btn:hover{border-color:#b9d5f5}
.citycombo-panel{position:absolute;top:100%;left:0;right:0;z-index:30;margin-top:6px;background:#fff;border:1px solid #e8f0ea;border-radius:14px;box-shadow:0 18px 40px rgba(32,43,42,.16);padding:10px}
.citycombo-panel input{width:100%;height:40px;border:1px solid #e8f0ea;border-radius:10px;padding:0 10px;font:inherit;font-size:14px;margin-bottom:8px}
.citycombo-panel input:focus{outline:none;border-color:#8fc0f2}
.citycombo-list{max-height:260px;overflow:auto;display:grid;gap:2px}
.citycombo-item{text-align:left;border:0;background:none;padding:8px 10px;border-radius:8px;font:inherit;font-size:14px;color:#1b2624;cursor:pointer}
.citycombo-item:hover{background:#f4f8fd}
.citycombo-item.is-on{background:#e6f1fe;color:#0b57a4;font-weight:700}
.citycombo-empty{font-size:13px;color:#9aa7b8;padding:8px 10px}

/* округа на странице регионов */
.reg-districts{display:flex;flex-wrap:wrap;gap:8px;margin:14px auto 18px;justify-content:center;max-width:900px}
.reg-chip{border:1px solid #e8f0ea;background:#fff;border-radius:999px;padding:8px 16px;font:inherit;font-size:13.5px;font-weight:700;color:#4f5c5a;cursor:pointer}
.reg-chip:hover{border-color:#b9d5f5;color:#237a62}
.reg-chip.is-on{background:linear-gradient(145deg,#1f7a5f,#14503f);border-color:transparent;color:#fff}

/* dp-aside-scroll: правая колонка едет вместе со страницей и прокручивается внутри */
@media (min-width: 960px) {
  .dp-aside {
    position: sticky;
    top: 70px;
    max-height: none;
    overflow: visible;
    align-self: start;
  }
}

/* блок цен на билеты */
.tp-price-main{font-size:13px;color:#4f5c5a;margin-bottom:6px}
.tp-price-main b{font-size:20px;color:#1b2624}
.tp-price-dates{display:grid;gap:4px;font-size:13px;color:#4f5c5a}
.tp-price-more{display:inline-block;margin-top:10px;font-size:13px;font-weight:700;color:#237a62;text-decoration:none}
.tp-price-more:hover{text-decoration:underline}

/* кнопка к билетам вместо внешнего виджета */
.tp-price-cta{display:block;margin-top:10px;text-align:center;background:linear-gradient(145deg,#1f7a5f,#14503f);color:#fff !important;border-radius:12px;padding:11px 12px;font-weight:800;font-size:13.5px;text-decoration:none !important;border:0 !important}
.tp-price-cta:hover{filter:brightness(1.05)}

/* широкий партнёрский блок */
.dp-wide-cta{padding:26px 0 8px}
.dp-wide-cta .wrap{width:min(1160px,calc(100% - 36px));margin-inline:auto}
.dp-wide-cta h2{font-size:clamp(20px,2.2vw,26px);color:#1b2624}

/* dp-layout-fixed: жёсткая привязка колонок — сторонние вставки не могут сдвинуть правую колонку */
.dp-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}
.dp-layout > .dp-main {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}
.dp-layout > .dp-aside {
  grid-column: 2;
  grid-row: 1;
}
/* всё, что вставили извне (реклама и т.п.) — отдельной строкой во всю ширину */
.dp-layout > *:not(.dp-main):not(.dp-aside) {
  grid-column: 1 / -1;
  grid-row: 2;
}
@media (max-width: 959px) {
  .dp-layout { grid-template-columns: minmax(0, 1fr); }
  .dp-layout > .dp-main,
  .dp-layout > .dp-aside,
  .dp-layout > *:not(.dp-main):not(.dp-aside) { grid-column: 1; grid-row: auto; }
}

/* dp-aside-flow: колонка прокручивается вместе со страницей, без прилипания */
.dp-aside, .dp-layout > .dp-aside {
  position: static !important;
  top: auto !important;
  max-height: none !important;
  overflow: visible !important;
  align-self: start;
}

/* партнёрский блок «билеты и жильё» */
.dp-partner-cta{padding:26px 0 10px}
.dp-partner-cta .wrap{width:min(1160px,calc(100% - 36px));margin-inline:auto}
.dp-partner-card{display:flex;flex-wrap:wrap;gap:18px;align-items:center;justify-content:space-between;background:linear-gradient(135deg,#eef5f1,#fbfbf9);border:1px solid #d7e8e0;border-radius:18px;padding:20px 22px}
.dp-partner-card b{display:block;font-size:17px;color:#1b2624;margin-bottom:4px}
.dp-partner-card span{font-size:13.5px;color:#55625f}
.dp-partner-actions{display:flex;gap:10px;flex-wrap:wrap}
.dp-partner-btn{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(145deg,#1f7a5f,#14503f);color:#fff;border-radius:12px;padding:12px 18px;font-weight:800;font-size:14px;text-decoration:none;border:0}
.dp-partner-btn.ghost{background:#fff;color:#185c4a;border:1px solid #cfe2f7}
.dp-partner-btn:hover{filter:brightness(1.05)}

/* список достопримечательностей на странице направления */
.poi-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.poi-item { display: flex; gap: 14px; background: #fff; border: 1px solid #e6e9e5; border-radius: 14px; padding: 16px 18px; box-shadow: 0 8px 22px rgba(32,43,42,.05); }
.poi-num { flex: 0 0 30px; height: 30px; border-radius: 50%; background: linear-gradient(145deg,#1f7a5f,#14503f); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.poi-item b { display: block; font-size: 15.5px; color: #1b2624; margin-bottom: 5px; }
.poi-item p { margin: 0; font-size: 13.8px; line-height: 1.45; color: #55625f; }
@media (max-width: 700px) { .poi-list { grid-template-columns: 1fr; } }

/* переключатель «направления / маршруты» в админке */
.adm-pages-kinds { display: flex; gap: 8px; margin: 0 0 12px; }
.adm-pages-kinds .vr-chip { border: 1px solid #e8f0ea; background: #fff; border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 13px; font-weight: 700; color: #4f5c5a; cursor: pointer; }
.adm-pages-kinds .vr-chip.is-on { background: linear-gradient(145deg, #1f7a5f, #14503f); border-color: transparent; color: #fff; }

/* карточка места — ссылка */
.poi-item{text-decoration:none;transition:box-shadow .18s ease,transform .18s ease}
.poi-item:hover{box-shadow:0 14px 30px rgba(32,43,42,.12);transform:translateY(-2px)}
.poi-more{display:inline-block;margin-top:8px;font-size:12.5px;font-weight:800;color:#237a62}

/* mobile-qa: аккуратные табы и хлебные крошки на телефоне */
@media (max-width: 719px){
  .dp-tabs{overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;padding-bottom:2px}
  .dp-tabs::-webkit-scrollbar{display:none;height:0}
  .dp-tabs a{white-space:nowrap}
  .dp-crumbs,.breadcrumbs{font-size:12.5px;line-height:1.35}
  .dp-h1{font-size:clamp(24px,7vw,32px);line-height:1.15}
  .poi-item{padding:14px}
  .dp-partner-card{padding:16px}
}

.dp-partner-ad{margin:10px 0 0;font-size:11.5px;color:#5b6b67}

.trips-widget{min-height:120px;background:#fff;border:1px solid #e6e9e5;border-radius:16px;padding:14px;box-shadow:0 10px 26px rgba(32,43,42,.06)}
.trips-widget iframe{max-width:100%;border:0}

/* карточка «экскурсии» */
.trips-cta{display:flex;align-items:center;gap:16px;background:linear-gradient(135deg,#f2fbf6,#eef8ff);border:1px solid #d8ecdf;border-radius:18px;padding:18px 20px;text-decoration:none}
.trips-cta-ico{font-size:30px;line-height:1}
.trips-cta-body{flex:1;min-width:0}
.trips-cta-body b{display:block;font-size:17px;color:#1b2624;margin-bottom:4px}
.trips-cta-body span{font-size:13.5px;color:#55625f}
.trips-cta-go{white-space:nowrap;background:linear-gradient(145deg,#1f7a5f,#14503f);color:#fff;border-radius:12px;padding:11px 18px;font-weight:800;font-size:14px}
@media (max-width:640px){.trips-cta{flex-wrap:wrap;gap:12px}.trips-cta-go{width:100%;text-align:center}}

/* предложение Яндекс Браузера */
.yb-offer{position:fixed;left:0;right:0;bottom:0;z-index:60;padding:12px 16px 14px;transform:translateY(120%);transition:transform .35s ease;pointer-events:none}
.yb-offer.is-on{transform:translateY(0);pointer-events:auto}
.yb-offer-in{max-width:1040px;margin:0 auto;display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #e6e9e5;border-radius:16px;box-shadow:0 18px 40px rgba(32,43,42,.18);padding:12px 14px}
.yb-offer-ico{font-size:22px;line-height:1}
.yb-offer-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.yb-offer-text b{font-size:14.5px;color:#1b2624;line-height:1.3}
.yb-offer-text span{font-size:12.5px;line-height:1.35;color:#55625f}
.yb-offer-btn{white-space:nowrap;background:linear-gradient(145deg,#1f7a5f,#14503f);color:#fff;border-radius:11px;padding:9px 16px;font-weight:800;font-size:13.5px;text-decoration:none}
.yb-offer-close{background:none;border:0;font-size:16px;color:#5b6b67;cursor:pointer;padding:4px 6px;line-height:1}
@media (max-width:640px){.yb-offer-in{flex-wrap:wrap}.yb-offer-btn{width:100%;text-align:center}.yb-offer-text span{display:none}}

/* модальное окно публикации */
.cm-modal{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:20px}
.cm-modal[hidden]{display:none}
.cm-modal-back{position:absolute;inset:0;background:rgba(12,24,40,.55);backdrop-filter:blur(2px)}
.cm-modal-box{position:relative;width:min(560px,100%);max-height:88vh;overflow:auto;background:#fff;border-radius:18px;padding:22px 22px 18px;box-shadow:0 30px 70px rgba(12,24,40,.35)}
.cm-modal-title{margin:0 0 14px;font-size:20px;color:#1b2624}
.cm-modal-x{position:absolute;top:12px;right:12px;border:0;background:#f1f5fa;border-radius:50%;width:32px;height:32px;cursor:pointer;font-size:14px;color:#4f5c5a}
.cm-modal-box .input{margin-bottom:10px}
.cm-modal-box label{display:block;font-size:13px;font-weight:700;color:#4f5c5a;margin-bottom:5px}
.cm-modal-box input[type=text],.cm-modal-box textarea,.cm-modal-box select{width:100%;border:1px solid #e8f0ea;border-radius:10px;padding:10px 12px;font:inherit;font-size:14px}
.cm-modal-box textarea{min-height:110px;resize:vertical}
.cm-modal-box .btn{margin-top:6px}
@media (max-width:640px){.cm-modal-box{padding:18px}}

/* согласия при регистрации */
.vr-consent{margin:14px 0 4px;display:flex;flex-direction:column;gap:10px}
.vr-check{display:flex;gap:10px;align-items:flex-start;font-size:12.5px;line-height:1.55;color:#4f5c5a;cursor:pointer}
.vr-check input{flex:0 0 auto;width:17px;height:17px;margin:1px 0 0;accent-color:#1f7a5f;cursor:pointer}
.vr-check a{color:#237a62;text-decoration:underline}
.vr-check input:invalid{outline:2px solid #ffb4b4;border-radius:3px}

/* кнопка .btn — основной стиль кнопок сайта */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(145deg, #1f7a5f, #14503f);
  color: #fff; border: 0; border-radius: 12px;
  padding: 13px 22px; font: inherit; font-size: 15px; font-weight: 800;
  text-decoration: none; cursor: pointer; line-height: 1.2;
  box-shadow: 0 10px 24px rgba(6, 101, 213, 0.28);
  transition: transform 0.12s ease, filter 0.12s ease;
}
.btn:hover { filter: brightness(1.07); transform: translateY(-1px); color: #fff; }
.btn:active { transform: none; }
.btn:focus-visible { outline: 3px solid rgba(8, 121, 232, 0.35); outline-offset: 2px; }
.btn[disabled], .btn.is-muted { opacity: 0.55; box-shadow: none; cursor: default; transform: none; }

/* кнопка «показать ещё» на странице всех мест */
.near-more .btn { min-width: 260px; padding: 15px 26px; font-size: 15.5px; }
@media (max-width: 620px) { .near-more .btn { width: 100%; min-width: 0; } }
\n/* промо-блоки в тексте страниц */\n.promo-inline-inner { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 18px; align-items: center; }\n.promo-inline-banner img { display: block; width: 100%; height: auto; border-radius: 14px; }\n@media (max-width: 720px) { .promo-inline-inner { grid-template-columns: 1fr; } }\n
.af-item-erid { font-size: 11px; color: #5b6b67; margin-left: 8px; }

/* журнал */
.jr-places { display: grid; gap: 12px; margin-top: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.jr-place { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid #e6edf6; border-radius: 14px; padding: 10px; text-decoration: none; color: inherit; }
.jr-place img { width: 84px; height: 62px; object-fit: cover; border-radius: 10px; flex: none; }
.jr-place b { display: block; font-size: 14.5px; color: #1f2b29; }
.jr-place small { display: block; font-size: 12px; color: #5b6b67; margin-top: 2px; }
.jr-place:hover { border-color: #b9d3f5; }

/* фото места: бейдж лайков и курсор-увеличение */
.vr-gallery-item { position: relative; cursor: zoom-in; }
.vr-gallery-likes { position: absolute; left: 6px; bottom: 6px; background: rgba(8,14,18,.72); color: #fff; font-size: 11.5px; padding: 3px 7px; border-radius: 999px; }

/* партнёрский блок «Билеты на автобус и поезд» (Travelpayouts / Туту.ру) */
.tpaf-card .tpaf-text { margin: 0 0 12px; font-size: 13.5px; line-height: 1.55; color: #55625f; }
.tpaf-btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 42px; padding: 0 16px; border-radius: 12px; background: #237a62; color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; }
.tpaf-btn:hover { background: #185c4a; color: #fff; }
.tpaf-erid { margin: 8px 0 0; font-size: 11px; color: #5b6b67; }
.tpaf-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 20px 0 4px; padding: 16px 20px; border: 1px solid #e3e8e3; border-radius: 14px; background: #fbfdfb; max-width: 620px; }
.tpaf-strip-body { flex: 1 1 220px; display: grid; gap: 3px; min-width: 0; }
.tpaf-strip-body b { font-size: 14.5px; line-height: 1.35; color: #1d2a26; }
.tpaf-strip-body span { font-size: 13px; line-height: 1.4; color: #55625f; }
.tpaf-strip .tpaf-btn { flex: 0 0 auto; width: auto; min-height: 38px; padding: 0 16px; font-size: 13.5px; }
.tpaf-strip .tpaf-erid { flex-basis: 100%; margin: 4px 0 0; font-size: 10.5px; }
@media (max-width: 640px) { .tpaf-strip { max-width: none; padding: 14px; } .tpaf-strip .tpaf-btn { width: 100%; } }

/* карточка Туту в сайдбаре */
.tpaf-card { padding: 16px 16px 14px; }
.tpaf-head { display: flex; align-items: center; gap: 10px; margin: 0 0 11px; }
.tpaf-ico { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 11px; background: #eaf4ef; display: grid; place-items: center; font-size: 18px; }
.tpaf-title b { display: block; font-size: 14.5px; line-height: 1.25; color: #1d2a26; }
.tpaf-title span { display: block; margin-top: 2px; font-size: 11.5px; color: #5f7186; }
.tpaf-list { list-style: none; margin: 0 0 13px; padding: 0; display: grid; gap: 5px; }
.tpaf-list li { position: relative; padding-left: 18px; font-size: 12.5px; line-height: 1.4; color: #55625f; }
.tpaf-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #237a62; font-weight: 700; font-size: 12px; }
.tpaf-card .tpaf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 100%; min-height: 40px; padding: 0 14px; border-radius: 11px; background: #237a62; color: #fff; font-weight: 700; font-size: 13.5px; text-decoration: none; transition: background .15s; }
.tpaf-card .tpaf-btn::after { content: "→"; font-weight: 400; }
.tpaf-card .tpaf-btn:hover { background: #185c4a; color: #fff; }
.tpaf-card .tpaf-erid { margin: 9px 0 0; font-size: 10.5px; line-height: 1.3; color: #5b6b67; }

/* redesign.css */
/* Слой редизайна: шрифт Manrope и холодная палитра из нового макета.
   Подключается последним, чтобы аккуратно переопределить токены. */
/* Manrope подключён локально через /fonts.css */

:root {
  --ink: #1b2624;
  --ink-soft: #4f5c5a;
  --paper: #f5f8fc;
  --paper-2: #eaf1f9;
  --card: #ffffff;
  --line: #e6e9e5;
  --pine: #237a62;
  --pine-dark: #0a5fbd;
  --terracotta: #ffad28;
  --accent-ink: #8a5200;
  --sand: #eef5f1;
  --sky: #eaf4ff;
  --blue: #237a62;
  --navy: #1b2624;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(32, 43, 42, .08);
}

body {
  font-family: 'Manrope', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

h1, h2, h3, .hero h1, .kicker, .btn, button, input, select, textarea {
  font-family: 'Manrope', 'Segoe UI', Arial, sans-serif;
}

/* кнопки — как в макете: плотные, скругление 12 */
.vr-btn, .btn-primary, .btn-ghost, .lucky, .stay-cta-btn, .hunt-btn {
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* контейнер чуть шире, как в макете */
.wrap { width: min(1160px, calc(100% - 36px)); margin-inline: auto; }

/* карточки — белые на холодном фоне */
.card, .region-card, .hub-card, .feed-item, .gd-card, .pt-card, .af-item, .sr-item, .vr-box {
  background: var(--card);
  border-radius: var(--radius);
}

/* ссылки в тексте */
a:hover { color: var(--blue); }

/* чипы и пилюли */
.chip, .pc-cat, .vr-tag, .cmp-tag, .gd-tag {
  border-radius: 10px;
}

/* блоки главной: поиск, подборки, сезон */
.home-search { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 0 30px; }
.home-search h2 { margin: 0 0 6px; font-size: clamp(24px, 3vw, 32px); }
.home-search-lead { margin: 0 0 16px; color: var(--muted, #687990); font-size: 15px; max-width: 62ch; }
.home-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; align-items: end; }
.home-form label { display: grid; gap: 5px; font-size: 12.5px; font-weight: 700; color: #4f5c5a; }
.home-form select { border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; font: inherit; background: #fff; }
.home-form-actions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.home-form-status { font-size: 13px; color: #687990; }
.home-block { padding: 34px 0; }
.home-block-last { padding-bottom: 54px; }
.home-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.home-head h2 { margin: 0; font-size: clamp(21px, 2.4vw, 27px); }
.home-note { font-size: 13px; color: #5b6b67; }
.home-note-big { font-size: 15px; color: #4f5c5a; max-width: 62ch; margin: 0 0 14px; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.pick-grid-sm { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.pick-card { display: grid; background: #fff; border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: 0 10px 26px rgba(32,43,42,.07); transition: transform .18s ease, box-shadow .18s ease; }
.pick-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(32,43,42,.12); }
.pick-cover { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.pick-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pick-body { display: grid; gap: 3px; padding: 11px 13px 13px; }
.pick-body b { font-size: 15px; }
.pick-body small { font-size: 12.5px; color: #5b6b67; }
.collection-row { display: grid; gap: 22px; }
.collection h3 { margin: 0 0 10px; font-size: 16px; }
.home-links { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) { .pick-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .pick-body b { font-size: 14px; } }

/* страница подбора */
.srch { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 18px 0 22px; align-items: end; }
.srch label { display: grid; gap: 5px; font-size: 12.5px; font-weight: 700; color: #4f5c5a; }
.srch select { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; background: #fff; }
.srch-wide { grid-column: span 2; }
.srch-actions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.srch-status { font-size: 13px; color: #687990; }
@media (max-width: 640px) { .srch { grid-template-columns: 1fr 1fr; } .srch-wide { grid-column: 1 / -1; } }

/* вкладки ленты по типам */
.feed-kind-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 18px; }
.feed-kind-tab { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px;
  font-size: 13.5px; font-weight: 700; color: #4f5c5a; cursor: pointer; }
.feed-kind-tab:hover { border-color: #b9d5f5; color: var(--blue); }
.feed-kind-tab.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }

/* паспорт путешественника */
.pp-h2 { margin: 26px 0 12px; font-size: 20px; }
.pp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.pp-card { display: block; background: #fff; border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: 0 8px 22px rgba(32,43,42,.07); }
.pp-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.pp-card-body { display: grid; gap: 2px; padding: 10px 12px 12px; }
.pp-card-body b { font-size: 15px; }
.pp-card-body small { font-size: 12.5px; color: #5b6b67; }
.pp-progress { display: grid; gap: 10px; max-width: 620px; }
.pp-progress-row { display: grid; grid-template-columns: 1fr 140px 70px; gap: 10px; align-items: center; font-size: 14px; }
.pp-bar { display: block; height: 8px; background: #e9f0f8; border-radius: 999px; overflow: hidden; }
.pp-bar i { display: block; height: 100%; background: linear-gradient(90deg,#1f7a5f,#14503f); border-radius: 999px; }
.pp-progress-row small { color: #687990; text-align: right; }
@media (max-width: 640px) { .pp-progress-row { grid-template-columns: 1fr 70px; } .pp-progress-row small { display: none; } }

/* промо-блок сообщества */
.feed-promo { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: linear-gradient(120deg,#eaf4ff,#fbfbf9); border: 1px solid #d7e8e0; border-radius: 16px; padding: 16px 18px; margin: 16px 0 6px; }
.feed-promo-text { display: grid; gap: 3px; }
.feed-promo-text b { font-size: 16px; }
.feed-promo-text span { font-size: 13.5px; color: #4f5c5a; }

/* карточка поста */
.feed-item { background: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: 0 10px 26px rgba(32,43,42,.06); }
.feed-top { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.feed-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
  background: linear-gradient(145deg,#1f7a5f,#14503f); color: #fff; flex: 0 0 auto; }
.feed-meta { display: grid; gap: 2px; min-width: 0; }
.feed-meta a { text-decoration: none; color: var(--ink); font-size: 15px; }
.feed-meta small { font-size: 12.5px; color: #5b6b67; }
.feed-follow { margin-left: auto; border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 7px 12px; font-size: 12.5px; font-weight: 700; color: #4f5c5a; cursor: pointer; }
.feed-follow:hover { border-color: #b9d5f5; color: var(--blue); }
.feed-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.feed-act { border: 0; background: none; padding: 0; font: inherit; font-size: 13px; color: #4f5c5a; cursor: pointer; }
.feed-act:hover { color: var(--blue); }
.feed-act-static { cursor: default; color: #5b6b67; }

/* nav.css */
/* Навигация: выпадающая группа «Куда поехать», бургер на мобильных.
   Файл подключается после style.css и перекрывает прежние правила .nav. */

/* --- бургер: по умолчанию скрыт --- */
.nav-burger {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid #dcece4;
  border-radius: 12px;
  background: #fff;
  color: #202b2a;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* --- выпадающая группа --- */
.nav-drop { position: relative; }
/* невидимый мостик: мышь не «выпадает» из меню по дороге вниз */
.nav-drop::after {
  content: '';
  position: absolute;
  left: -14px;
  right: -14px;
  top: 100%;
  height: 18px;
}
.nav-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: #56627b;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
}
.nav-drop-btn:hover,
.nav-drop-btn.is-active,
.nav-drop-btn[aria-expanded='true'] { color: var(--blue); }
.nav-caret { font-size: 11px; transform: translateY(-1px); }

/* --- выравнивание пунктов меню по одной высоте --- */
.site-header .nav {
  align-items: center;
  line-height: 1.2;
}
.site-header .nav > a,
.site-header .nav .nav-drop-btn {
  display: inline-flex;
  align-items: center;
  height: 22px;
  line-height: 22px;
  padding: 0;
  font-size: 13.5px;
  font-weight: 700;
}
.site-header .nav .nav-drop-btn .nav-caret {
  line-height: 1;
  transform: translateY(0);
  margin-left: 1px;
}
.site-header .nav .nav-drop { display: inline-flex; align-items: center; height: 22px; }


.nav-drop-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 268px;
  background: #fff;
  border: 1px solid #e6eefa;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(12, 38, 76, 0.14);
  padding: 8px;
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 80;
}
.nav-drop-panel::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  background: #fff;
  border-left: 1px solid #e6eefa;
  border-top: 1px solid #e6eefa;
  transform: rotate(45deg);
}
.nav-drop.is-open .nav-drop-panel,
.nav-drop:hover .nav-drop-panel,
.nav-drop:focus-within .nav-drop-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-drop-panel a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  color: #3c4844;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.nav-drop-panel a:hover,
.nav-drop-panel a:focus-visible { background: #f2f7ff; color: var(--blue); }
.nav-drop-panel a[aria-current='page'] { background: #eef5f1; color: var(--blue); font-weight: 800; }

/* --- планшет: чуть компактнее --- */
@media (max-width: 1100px) {
  .site-header .wrap { gap: 16px; }
  .nav { gap: 16px; }
}

/* --- мобильные: меню прячем в бургер, группа раскрывается списком --- */
@media (max-width: 860px) {
  .nav-burger { display: inline-flex; }
  .site-header .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px 20px 20px;
    background: #fff;
    border-bottom: 1px solid #eef2f9;
    box-shadow: 0 22px 40px rgba(12, 38, 76, 0.16);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    z-index: 90;
  }
  .site-header .nav.is-open { display: flex; }
  .site-header { position: relative; }
  .site-header .nav > a,
  .site-header .nav .nav-drop-btn {
    height: auto;
    line-height: 1.35;
    padding: 12px 6px;
    font-size: 16px;
    border-bottom: 1px solid #f1f5fb;
  }
  .site-header .nav .nav-drop { height: auto; display: block; }
  .nav-drop { width: 100%; }
  .nav-drop-btn { width: 100%; justify-content: space-between; }
  .nav-drop-panel,
  .nav-drop.is-open .nav-drop-panel,
  .nav-drop:focus-within .nav-drop-panel {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 6px 10px;
    min-width: 0;
    width: 100%;
  }
  .nav-drop-panel::before { display: none; }
  .nav-drop.is-open .nav-drop-panel { display: grid; }
  .nav-drop:hover .nav-drop-panel { display: none; }
  .nav-drop.is-open:hover .nav-drop-panel { display: grid; }
  .nav-drop-panel a { padding: 11px 8px; font-size: 15px; white-space: normal; }
  .login-pill { margin-left: 8px; }
}



/* --- мобильная шапка: длинное имя пользователя не должно ломать ширину --- */
@media (max-width: 860px) {
  .site-header .wrap { gap: 8px; }
  .login-pill { max-width: 132px; padding: 9px 12px; }
  .login-pill #nav-auth-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    display: inline-block;
    vertical-align: middle;
  }
  .logo { min-width: 0; }
  .logo > span:last-child { white-space: nowrap; }
}

/* ---------- кнопка входа/профиля: компактная ---------- */
.site-header .login-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px 0 6px;
  border: 1px solid #e3ebf7;
  border-radius: 999px;
  background: #fff;
  color: #3c4844;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(32, 43, 42, 0.05);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.site-header .login-pill:hover { border-color: #d6e8de; box-shadow: 0 4px 14px rgba(32, 43, 42, 0.1); }

.pill-avatar {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #3b9cff, #0a67e0);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.login-pill.is-guest .pill-avatar { background: #eef4fd; color: #0a67e0; }

#nav-auth-label {
  max-width: 132px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  #nav-auth-label { max-width: 96px; }
}
@media (max-width: 860px) {
  .site-header .login-pill { height: 34px; padding: 0 10px 0 5px; gap: 6px; }
  .pill-avatar { width: 24px; height: 24px; font-size: 11.5px; }
  #nav-auth-label { max-width: 74px; }
}
@media (max-width: 560px) {
  /* на телефоне оставляем только аватар с буквой */
  .site-header .login-pill { padding: 0; width: 36px; justify-content: center; }
  .site-header .login-pill #nav-auth-label { display: none; }
}

/* ---------- иконка/буква в аватаре ---------- */
.pill-avatar-icon { display: block; }
.pill-avatar-letter { display: none; }
.login-pill.is-guest .pill-avatar-icon { display: block; }
.login-pill.is-guest .pill-avatar-letter { display: none; }
.login-pill:not(.is-guest) .pill-avatar-icon { display: none; }
.login-pill:not(.is-guest) .pill-avatar-letter { display: block; }

/* ---------- город в шапке ---------- */
.city-switch { position: relative; margin-right: 10px; }
.city-switch-btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid #dcece4; background: #fff; border-radius: 999px;
  padding: 7px 13px; font: inherit; font-size: 13px; font-weight: 700; color: #2a3634;
  cursor: pointer; max-width: 190px; transition: border-color .15s ease, color .15s ease;
}
.city-switch-btn:hover { border-color: #237a62; color: #237a62; }
.city-switch-ico { font-size: 13px; }
.city-switch-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
.city-switch-caret { font-size: 10px; color: #5b6b67; }
.city-switch-panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 120;
  width: 300px; background: #fff; border: 1px solid #e6eefa; border-radius: 16px;
  box-shadow: 0 20px 44px rgba(12, 38, 76, .16); padding: 10px;
}
.city-switch-panel[hidden] { display: none; }
.city-switch-search {
  width: 100%; border: 1px solid #dcece4; border-radius: 10px;
  padding: 9px 12px; font: inherit; font-size: 13.5px; margin-bottom: 8px;
}
.city-switch-search:focus { outline: none; border-color: #237a62; }
.city-switch-list { max-height: 280px; overflow-y: auto; display: grid; gap: 2px; }
.city-switch-item {
  display: flex; align-items: baseline; gap: 8px; width: 100%; text-align: left;
  border: 0; background: transparent; border-radius: 9px; padding: 8px 10px;
  font: inherit; cursor: pointer; color: #2a3634;
}
.city-switch-item:hover, .city-switch-item:focus { background: #f2f8ff; outline: none; }
.city-switch-item.is-on { background: #e8f1ff; }
.city-switch-item b { font-size: 13.5px; }
.city-switch-item small { font-size: 11.5px; color: #5b6b67; margin-left: auto; }
.city-switch-geo {
  width: 100%; margin-top: 8px; border: 1px dashed #dcece4; background: #f9fcff;
  border-radius: 10px; padding: 9px; font: inherit; font-size: 12.5px; font-weight: 700;
  color: #185c4a; cursor: pointer;
}

@media (max-width: 860px) {
  .city-switch { margin-right: 6px; }
  .city-switch-btn { padding: 7px 10px; font-size: 12.5px; max-width: 150px; }
  .city-switch-name { max-width: 90px; }
  .city-switch-panel { position: fixed; left: 12px; right: 12px; top: 70px; width: auto; }
}

/* ---------- группы в выпадающем меню ---------- */
.nav-drop-panel { min-width: 250px; padding: 8px; }
.nav-drop-group { display: grid; gap: 2px; }
.nav-drop-group + .nav-drop-group { margin-top: 6px; padding-top: 8px; border-top: 1px solid #f1f5f2; }
.nav-drop-title {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em;
  color: #93a0b5; font-weight: 800; padding: 6px 12px 4px;
}
.nav-drop-panel a { white-space: nowrap; }

/* поиск по городам: скрытые пункты не показываем */
.city-switch-item[hidden] { display: none !important; }

/* против автозаполнения: скрытое поле-обманка и форма */
.city-switch-form { margin: 0; }
.cs-decoy {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  opacity: 0; pointer-events: none; border: 0; padding: 0;
}
.city-switch-search[readonly] { cursor: text; }

.city-switch-slot { margin-bottom: 8px; }

/* уведомления в шапке */
.nav-bell-wrap { position: relative; display: none; align-items: center; }
.nav-bell-wrap.is-on { display: flex; }
.nav-bell { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line, #e6e9e5);
  background: #fff; cursor: pointer; font-size: 17px; line-height: 1; }
.nav-bell-count { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; border-radius: 9px;
  background: #f2542d; color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.nav-bell-panel { position: absolute; right: 0; top: 48px; width: 320px; background: #fff; border-radius: 16px;
  box-shadow: 0 18px 44px rgba(32,43,42,.16); z-index: 60; overflow: hidden; }
.nav-bell-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid #f1f5f2; }
.nav-bell-head button { border: 0; background: none; color: #1f6b5a; font-size: 12.5px; cursor: pointer; }
.nav-bell-list { max-height: 320px; overflow: auto; }
.nav-bell-row { display: block; padding: 11px 14px; border-bottom: 1px solid #f8f8f5; text-decoration: none; color: inherit; }
.nav-bell-row.is-new { background: #f2f9fd; }
.nav-bell-row b { display: block; font-size: 13.5px; font-weight: 600; }
.nav-bell-row time { font-size: 11.5px; color: #5b6b67; }
.nav-bell-empty { padding: 14px; color: #5b6b67; font-size: 13px; margin: 0; }

.nav-bell-wrap[hidden], .nav-bell-panel[hidden], .nav-bell-count[hidden] { display: none !important; }

/* логотип-картинка */
.logo-img { display: block; height: 52px; width: auto; }
.logo-icon { display: block; width: 34px; height: 34px; border-radius: 9px; }
@media (max-width: 860px) {
  .logo-img { height: 42px; }
  .logo-icon { width: 30px; height: 30px; }
}

/* dropdown-compact: панель меню не выходит за экран */
.nav-drop-panel {
  max-height: min(82vh, 560px) !important;
  overflow-y: auto;
  overscroll-behavior: contain;
  min-width: 300px !important;
  max-width: min(340px, calc(100vw - 32px));
  scrollbar-width: thin;
}
@media (max-width: 1100px) {
  .nav-drop-panel { left: auto !important; right: -8px !important; transform: translateY(-6px) !important; }
  .nav-drop-panel::before { left: auto; right: 26px; margin-left: 0; }
}


/* поиск в шапке */
.nav-search {
  display: flex; align-items: center; gap: 0;
  margin-left: 10px; flex: 0 1 260px; min-width: 150px;
  background: #f2f6fc; border: 1px solid #e8f0ea; border-radius: 999px;
  padding: 3px 4px 3px 14px;
}
.nav-search input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  font: inherit; font-size: 13.5px; color: #1b2624; padding: 6px 0;
}
.nav-search input::placeholder { color: #5b6b67; }
.nav-search button {
  border: 0; background: #237a62; color: #fff; width: 30px; height: 30px;
  border-radius: 50%; display: grid; place-items: center; cursor: pointer; flex: 0 0 auto;
}
.nav-search button:hover { background: #185c4a; }
.nav-more-link { font-size: 14px; font-weight: 700; color: #3c4b60; text-decoration: none; white-space: nowrap; }
.nav-more-link:hover, .nav-more-link.is-active { color: #237a62; }

/* на средних экранах поиск сжимается, на узких — уходит в бургер */
@media (max-width: 1180px) { .nav-search { flex-basis: 190px; } .nav-more-link { display: none; } }
@media (max-width: 980px) { .nav-search { display: none; } }


/* шапка в одну строку: меню не переносится при появлении колокольчика и счётчиков */
.site-header .wrap { flex-wrap: nowrap; }
.site-header .nav { flex-wrap: nowrap; white-space: nowrap; min-width: 0; }
.site-header .nav a { white-space: nowrap; }
.site-header .nav-search { flex: 1 1 200px; min-width: 120px; max-width: 320px; }
.site-header .city-switch { flex: 0 0 auto; }
.site-header .nav-bell-wrap { flex: 0 0 auto; }
.site-header .login-pill { flex: 0 0 auto; }

/* на средних экранах убираем лишние пункты меню, чтобы строка не ломалась */
@media (max-width: 1180px) {
  .site-header .nav-more-link { display: none; }
}
@media (max-width: 1020px) {
  .site-header .nav .nav-links-extra { display: none; }
}

.sub-cta-card{display:flex;gap:24px;align-items:center;justify-content:space-between;background:linear-gradient(135deg,#eef6f0,#eaf1f8);border:1px solid #dfe9e0;border-radius:20px;padding:26px 28px}
.sub-cta-text{max-width:62ch}
.sub-cta-text h2{margin:8px 0 8px;font-size:clamp(19px,2.2vw,25px);line-height:1.25;color:#14342a}
.sub-cta-text p{margin:0;font-size:14.5px;line-height:1.6;color:#4a5b52}
.sub-cta-action{display:flex;flex-direction:column;gap:8px;align-items:flex-start;flex:0 0 auto}
.sub-cta-btn{white-space:nowrap}
.sub-cta-note{font-size:12.5px;color:#4f5c5a;max-width:16ch;line-height:1.4}
@media(max-width:760px){.sub-cta-card{flex-direction:column;align-items:flex-start;padding:20px}}


/* Навигация кабинета */
.cab-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 6px; }
.cab-nav a { display: inline-flex; align-items: center; padding: 9px 15px; border-radius: 999px; border: 1px solid #dfe8df; background: #fff; color: #3c4844; font-size: 13.5px; font-weight: 600; text-decoration: none; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.cab-nav a:hover { background: #f2f8f3; border-color: #c6dccb; color: #1d4d3c; }
.cab-nav a[aria-current='page'] { background: #1f6f54; border-color: #1f6f54; color: #fff; }
.cab-nav .cab-nav-sub { border-color: #cfe3d6; color: #1f6f54; }
.cab-nav .cab-nav-sub::before { content: '🔔'; margin-right: 6px; font-size: 12px; }
@media (max-width: 620px) { .cab-nav { gap: 6px; } .cab-nav a { padding: 8px 12px; font-size: 12.5px; } }

/* home.css */
/* Главная в стиле макета: баннер с готовым логотипом, белая панель поиска,
   полоса преимуществ, крупные фото-карточки с бейджем расстояния, синяя полоса. */

/* ---------- Шапка: логотип-квадрат + двухстрочный знак ---------- */
.site-header {
  background: #fff;
  box-shadow: 0 3px 15px rgba(25, 54, 91, 0.07);
  border-bottom: 0;
}
.site-header .wrap { min-height: 70px; gap: 18px; }
.logo {
  gap: 10px;
  font-weight: 900;
  font-size: 16px;
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: #202d4b;
  font-family: var(--sans);
}
.logo .logo-mark {
  background: linear-gradient(140deg, #0b9aff, #0758ca);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex: none;
}
.logo b { color: #ffb400; font-weight: 900; }
.nav { gap: clamp(12px, 1.7vw, 26px); }
.nav a { font-size: 12.5px; font-weight: 800; color: #3c4844; white-space: nowrap; }
.nav a:hover, .nav a[aria-current='page'] { color: #2a866c; }
.city-pill, .login-pill {
  border: 1px solid #dce4ef;
  border-radius: 30px;
  padding: 10px 18px;
  font-size: 12.5px;
  font-weight: 800;
  color: #202d4b;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.city-pill:hover, .login-pill:hover { border-color: #2a866c; color: #2a866c; }

/* ---------- Герой с баннером ---------- */
.banner-hero {
  position: relative;
  min-height: 620px;
  background: #0785e7 url('/img/hero-banner.jpg?v=2') center 34% / cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 22px;
  overflow: hidden;
}
.banner-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 54, 108, 0.16), transparent 70%);
}
.banner-hero .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hero-search {
  position: relative;
  z-index: 2;
  width: min(680px, 92%);
  background: #fff;
  border-radius: 50px;
  padding: 8px;
  display: flex;
  align-items: stretch;
  box-shadow: 0 10px 26px rgba(8, 46, 93, 0.34);
  gap: 4px;
}
.hero-search label { display: flex; align-items: center; gap: 10px; padding: 8px 16px; flex: 1 1 42%; min-width: 0; }
.hero-search label > i {
  width: 26px; height: 26px; flex: none; border-radius: 8px; display: grid; place-items: center;
  background: #eaf4ff; color: #2a866c; font-style: normal; font-size: 13px; font-weight: 900;
}
.hero-search .period { border-left: 1px solid #dce4ef; }
.hero-search small { display: block; color: #5b6b67; font-size: 10px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.hero-search select {
  border: 0; outline: 0; background: transparent; font: inherit; font-weight: 800;
  font-size: 13.5px; width: 100%; color: #253450; cursor: pointer;
}
.hero-search .search-go {
  border: 0; border-radius: 40px; padding: 0 26px; height: 50px;
  background: linear-gradient(#ffda43, #ffb400);
  box-shadow: 0 4px 0 #df9000;
  color: #342800; font-weight: 900; font-size: 13.5px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  white-space: nowrap; text-decoration: none;
}
.hero-search .search-go:hover { color: #342800; filter: brightness(1.03); }

/* ---------- Полоса преимуществ ---------- */
.benefits {
  max-width: 1260px;
  margin: 0 auto;
  padding: 16px 18px;
  min-height: 86px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 47, 77, 0.08);
  border-radius: 0 0 20px 20px;
  position: relative;
  z-index: 3;
  width: calc(100% - 40px);
}
.benefits > * {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 45px; border-right: 1px solid #dce3ed; text-decoration: none; color: inherit;
  padding: 0 6px;
}
.benefits > *:last-child { border-right: 0; }
.benefits .benefit-icon { font-size: 26px; line-height: 1; }
.benefits b { font-size: 12.5px; line-height: 1.12; font-weight: 800; }

/* ---------- Фото-карточки с расстоянием ---------- */
.photo-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.photo-card {
  position: relative; display: block; height: 210px; border-radius: 17px; overflow: hidden;
  color: #fff; text-decoration: none; box-shadow: 0 6px 16px rgba(23, 47, 77, 0.16);
  transition: transform 0.18s ease;
}
.photo-card:hover { transform: translateY(-4px); color: #fff; }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(3, 20, 43, 0.88), rgba(3, 20, 43, 0) 68%);
}
.photo-card .distance {
  position: absolute; right: 10px; top: 10px; z-index: 2;
  background: rgba(21, 40, 73, 0.85); border-radius: 20px; padding: 7px 11px;
  font-size: 11px; font-weight: 800;
}
.photo-card .pc-info { position: absolute; left: 15px; bottom: 14px; z-index: 2; display: flex; flex-direction: column; gap: 2px; }
.photo-card .pc-info b { font-size: 17px; font-weight: 900; }
.photo-card .pc-info small { font-size: 11px; font-weight: 700; opacity: 0.92; }
.photo-card .round-arrow {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #183354;
  display: grid; place-items: center; font-size: 16px; font-weight: 900;
}

/* ---------- Синяя полоса «Планируй путешествия» ---------- */
.weekend-band {
  max-width: 1320px; min-height: 118px; margin: 34px auto;
  padding: 18px 44px; display: flex; align-items: center; gap: 24px;
  background: linear-gradient(90deg, #d9efff, #f5fbff 55%, #d9efff);
  border-radius: 18px; position: relative; overflow: hidden;
}
.weekend-band .band-icon {
  width: 96px; height: 78px; flex: none; background: #fff8dc; border: 7px solid #fff;
  box-shadow: 0 6px 13px rgba(41, 75, 109, 0.14); border-radius: 8px;
  transform: rotate(-7deg); display: grid; place-items: center; color: #72a886; font-size: 26px;
}
.weekend-band h2 { font-size: 21px; margin: 0 0 3px; font-weight: 900; }
.weekend-band p { font-size: 12.5px; font-weight: 700; color: #53617a; margin: 0; }
.weekend-band .band-cta {
  margin-left: auto; border: 0; border-radius: 40px; padding: 14px 24px;
  background: linear-gradient(#ffda43, #ffb400); box-shadow: 0 4px 0 #df9000;
  color: #342800; font-weight: 900; font-size: 13px; white-space: nowrap; text-decoration: none;
}
.weekend-band .band-cta:hover { color: #342800; }
.weekend-band .compass {
  width: 62px; height: 62px; border-radius: 50%; background: #e2f3ff; border: 6px solid #fff;
  display: grid; place-items: center; color: #2a866c; font-size: 26px; flex: none;
}

/* ---------- Полоса «не сиди дома» ---------- */
.ideas-band {
  max-width: 1260px; margin: 0 auto 46px; padding: 0 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.ideas-band small { font-size: 10.5px; letter-spacing: 0.18em; color: #2a866c; font-weight: 900; }
.ideas-band h2 { font-size: 24px; line-height: 1.22; margin: 6px 0 0; letter-spacing: -0.02em; }
.ideas-band a {
  border: 2px solid #2a866c; border-radius: 25px; padding: 12px 20px;
  color: #2a866c; font-size: 12.5px; font-weight: 800; white-space: nowrap; text-decoration: none;
}
.ideas-band a:hover { background: #2a866c; color: #fff; }

/* ---------- Подвал в одну строку ---------- */
.site-footer { background: #0d3b35; color: #fff; }
.site-footer h4 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #cfe4da; margin: 0 0 12px; font-weight: 800; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.site-footer ul a { font-size: 13px; color: #d3e6dd; }
.site-footer ul a:hover { color: #fff; }
.site-footer .footer-brandline .logo { color: #fff; }
.site-footer .logo { color: #fff; }
.site-footer p, .site-footer small { font-size: 12.5px; color: #d7ebe2; margin: 0; }
.site-footer .footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer .footer-links a { font-size: 11.5px; color: #d9ebe4; font-weight: 700; }
.site-footer .footer-links a:hover { color: #fff; }

/* ---------- Адаптив ---------- */
@media (max-width: 950px) {
  .photo-cards { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .benefits > *:nth-child(3) { border-right: 0; }
  .weekend-band { flex-wrap: wrap; padding: 18px 24px; }
  .weekend-band .compass { display: none; }
  .ideas-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
  .site-header .wrap { min-height: 62px; }
  .banner-hero { min-height: 560px; background-position: 43% center; padding-bottom: 18px; }
  .hero-search {
    width: 93%; border-radius: 18px; display: grid; grid-template-columns: 1fr 1fr; padding: 8px; gap: 0;
  }
  .hero-search label { padding: 6px 8px; gap: 8px; }
  .hero-search .period { border-left: 1px solid #dce4ef; }
  .hero-search .search-go { grid-column: span 2; height: 46px; margin-top: 4px; }
  .benefits { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 14px 10px; }
  .benefits > * { border-right: 0; justify-content: flex-start; }
  .benefits b { font-size: 11.5px; }
  .photo-cards { grid-template-columns: 1fr; }
  .photo-card { height: 180px; }
  .weekend-band { margin: 24px 16px; }
  .weekend-band .band-icon { width: 64px; height: 54px; font-size: 20px; }
  .weekend-band h2 { font-size: 17px; }
  .weekend-band .band-cta { margin-left: 0; }
  .ideas-band h2 { font-size: 20px; }
}

/* ---------- призыв к подборщику на главной ---------- */
.wizard-cta-wrap { padding: 4px 0 18px; }
.wizard-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border-radius: 20px;
  background: linear-gradient(120deg, #237a62 0%, #185c4a 60%, #08488f 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(9, 60, 120, .22);
  transition: transform .15s ease, box-shadow .15s ease;
}
.wizard-cta:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(9, 60, 120, .28); }
.wizard-cta-ico { font-size: 34px; line-height: 1; flex: none; }
.wizard-cta-body { display: grid; gap: 4px; flex: 1 1 auto; min-width: 0; }
.wizard-cta-body b { font-size: 19px; }
.wizard-cta-body span { font-size: 13.5px; color: #d6e7ff; line-height: 1.45; }
.wizard-cta-go {
  flex: none;
  background: #fff;
  color: #185c4a;
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 13.5px;
  font-weight: 800;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .wizard-cta { flex-wrap: wrap; gap: 12px; padding: 18px; }
  .wizard-cta-go { width: 100%; text-align: center; }
  .wizard-cta-body b { font-size: 17px; }
}

/* ---------- Блоки главной: рядом, выходные, один день, неизведанное ---------- */
.nb-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}
.nb-city { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #3c4844; }
.nb-city select {
  appearance: none;
  border: 1px solid #dcece4;
  border-radius: 999px;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0l5 6 5-6z' fill='%237c899f'/></svg>") no-repeat right 12px center;
  padding: 8px 30px 8px 14px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: #2a3634;
  cursor: pointer;
}
.nb-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.nb-chip {
  border: 1px solid #dcece4;
  background: #fff;
  color: #3c4844;
  border-radius: 999px;
  padding: 7px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.nb-chip:hover { border-color: #237a62; color: #237a62; }
.nb-chip.is-on { background: #237a62; border-color: #237a62; color: #fff; }

.hb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hb-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line, #e3ded6);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.hb-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(32, 43, 42, .12); border-color: #d6e8de; }
.hb-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #f1f5f2; }
.hb-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hb-badge {
  position: absolute; left: 10px; top: 10px;
  background: rgba(255, 255, 255, .94);
  color: #144a3c;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .01em;
}
.hb-badge-weather { background: rgba(10, 95, 196, .92); color: #fff; }
.hb-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.hb-sub { font-size: 11.5px; color: #5b6b67; }
.hb-body b { font-size: 15.5px; line-height: 1.25; color: #202b2a; }
.hb-meta { font-size: 12.5px; color: #185c4a; font-weight: 700; margin-top: 2px; }
.nb-empty { margin-top: 14px; }

@media (max-width: 1100px) {
  .hb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .hb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .hb-body b { font-size: 14.5px; }
}
@media (max-width: 480px) {
  .nb-city { width: 100%; }
  .nb-city select { flex: 1; }
  .nb-chip { padding: 6px 11px; font-size: 12.5px; }
}

/* ---------- бар выбора региона ---------- */
.region-bar-wrap { padding: 6px 0 2px; }
.region-bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 18px;
  border: 1px solid #dcece4; border-radius: 16px;
  background: linear-gradient(120deg, #f6faff, #eef5ff);
}
.region-bar-label { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.region-bar-ico { font-size: 20px; }
.region-bar-label b { display: block; font-size: 14px; color: #202b2a; }
.region-bar-label small { font-size: 12px; color: #5b6b67; }
.region-bar-pick { min-width: 240px; }
.region-bar-geo {
  border: 1px solid #dcece4; background: #fff; color: #253450;
  border-radius: 999px; padding: 8px 15px; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.region-bar-geo:hover { border-color: #237a62; color: #237a62; }
.region-bar-all { font-size: 12.5px; font-weight: 700; color: #185c4a; text-decoration: none; }
.region-bar-all:hover { text-decoration: underline; }

@media (max-width: 700px) {
  .region-bar { padding: 12px 14px; gap: 10px; }
  .region-bar-label { width: 100%; margin-right: 0; }
  .region-bar-pick { min-width: 0; width: 100%; }
  .region-bar-geo { flex: 1 1 auto; }
}

/* ---------- идея дня ---------- */
.idea-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 16px; align-items: stretch; }
.idea-main { position: relative; display: block; border-radius: 18px; overflow: hidden; min-height: 220px; text-decoration: none; color: #fff; }
.idea-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.idea-main-body { position: absolute; inset: auto 0 0 0; padding: 16px 18px; background: linear-gradient(180deg, transparent, rgba(6, 24, 48, .9)); }
.idea-main-body b { display: block; font-size: 20px; line-height: 1.2; }
.idea-main-body small { color: #cfe3ff; font-size: 12.5px; }
.idea-cards { display: contents; }
.idea-card { display: flex; flex-direction: column; border: 1px solid var(--line, #e3ded6); border-radius: 16px; overflow: hidden; background: #fff; text-decoration: none; color: inherit; }
.idea-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.idea-card span { padding: 10px 12px 12px; display: grid; gap: 2px; }
.idea-card b { font-size: 14.5px; }
.idea-card small { font-size: 11.5px; color: #5b6b67; }
@media (max-width: 1000px) {
  .idea-grid { grid-template-columns: 1fr 1fr; }
  .idea-main { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .idea-grid { grid-template-columns: 1fr; }
}

/* мобильная иллюстрация показывается только на телефонах */
.hero-art { display: none; }

/* ================= МОБИЛЬНАЯ ГЛАВНАЯ (≤ 767px) ================= */
.m-benefits, .m-links { display: none; }

@media (max-width: 767px) {
  /* --- баннер: вертикальная иллюстрация во всю ширину, без обрезки --- */
  .banner-hero {
    min-height: 0;
    display: block;
    padding: 0;
    background: #dff0ff;
    overflow: visible;
    /* герой на телефоне — во всю ширину, без «карточки»: иначе форма-поиск
       внутри превращается в карточку в карточке */
    border-radius: 0;
  }
  .banner-hero::before { display: none; }
  .hero-art {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center top;
  }
  .banner-hero .hero-inner, .hero-dots { display: none; }

  /* --- поиск: белая карточка поверх баннера --- */
  .hero-search {
    position: relative;
    z-index: 3;
    width: auto !important;
    margin: 10px 14px 0;
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-auto-flow: row;
    padding: 12px;
    border-radius: 22px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    box-shadow: 0 18px 36px rgba(8, 46, 93, .22);
  }
  .hero-search > * { grid-column: 1 / -1; width: 100%; }
  .hero-search label {
    flex: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    min-height: 56px;
    border-radius: 14px;
    background: #f4f8ff;
  }
  .hero-search .period { border-left: 0; border-top: 0; }
  .hero-search label > span { flex: 1 1 auto; min-width: 0; }
  .hero-search label .cp { width: 100%; min-width: 0; }
  .hero-search label .cp-input { width: 100%; font-size: 15.5px; padding: 6px 26px 6px 0; }
  .hero-search label > i {
    width: 32px; height: 32px; border-radius: 10px; font-size: 15px;
    background: #fff; box-shadow: 0 2px 8px rgba(8, 46, 93, .1);
  }
  .hero-search small { font-size: 10.5px; letter-spacing: .03em; }
  .hero-search select { font-size: 15.5px; min-height: 42px; }
  .hero-search .search-go {
    width: 100%;
    height: 54px;
    margin-top: 2px;
    border-radius: 16px;
    font-size: 15.5px;
    letter-spacing: .01em;
    gap: 10px;
  }
  .hero-search .search-go:active { transform: translateY(1px); box-shadow: 0 2px 0 #df9000; }

  /* --- компактные преимущества: 4 плитки 2×2 --- */
  .benefits { display: none; }
  .m-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 14px 14px 0;
  }
  .m-benefits a {
    display: flex; align-items: center; gap: 10px;
    min-height: 62px; padding: 10px 13px;
    background: #fff; border-radius: 16px;
    box-shadow: 0 6px 18px rgba(23, 47, 77, .08);
    text-decoration: none; color: #202b2a;
    -webkit-tap-highlight-color: transparent;
    transition: transform .12s ease, box-shadow .12s ease;
  }
  .m-benefits a:active { transform: scale(.98); box-shadow: 0 3px 10px rgba(23, 47, 77, .1); }
  .m-benefits a span { font-size: 24px; line-height: 1; flex: none; }
  .m-benefits a b { font-size: 12.5px; line-height: 1.15; font-weight: 800; }

  /* --- быстрые разделы --- */
  .m-links {
    display: grid;
    gap: 8px;
    margin: 14px 14px 0;
  }
  .m-links a {
    display: flex; align-items: center; gap: 12px;
    min-height: 56px; padding: 12px 15px;
    background: #fff; border-radius: 16px;
    box-shadow: 0 4px 14px rgba(23, 47, 77, .07);
    text-decoration: none; color: #202b2a;
    -webkit-tap-highlight-color: transparent;
    transition: transform .12s ease, box-shadow .12s ease;
  }
  .m-links a:active { transform: scale(.99); box-shadow: 0 2px 8px rgba(23, 47, 77, .1); }
  .m-links a span { font-size: 21px; line-height: 1; flex: none; }
  .m-links a b { font-size: 14.5px; font-weight: 700; flex: 1 1 auto; }
  .m-links a i { font-style: normal; font-size: 20px; color: #9aa7bb; }

  /* --- карточки «Куда отправимся?» в две колонки --- */
  .cat-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-card { min-height: 176px; border-radius: 18px; }
  .cat-card strong { font-size: 14px; }
  .cat-card small { font-size: 11.5px; }

  /* --- секции: отступы под палец --- */
  .section { padding: 22px 0; }
  .section-head h2 { font-size: 21px; }
  .more { font-size: 12.5px; }
  .wrap { width: calc(100% - 28px); }
}

/* ---------- регионы на главной ---------- */
.home-regions { margin: 26px 0 10px; padding: 18px 20px; border: 1px solid var(--line, #e3ded6); border-radius: 18px; background: linear-gradient(120deg, #fbfbf9, #eef5ff); }
.home-regions-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.home-regions-head h2 { margin: 4px 0 0; font-size: 21px; }
.home-regions-list { display: flex; flex-wrap: wrap; gap: 8px; }
.home-regions-list a {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid #dcece4; border-radius: 999px;
  padding: 8px 14px; font-size: 13.5px; font-weight: 700; color: #2a3634; text-decoration: none;
}
.home-regions-list a:hover { border-color: #237a62; color: #237a62; }
.home-regions-list a span { font-size: 11.5px; color: #5b6b67; font-weight: 700; }
@media (max-width: 620px) { .home-regions { padding: 14px 15px; } .home-regions-list a { font-size: 13px; padding: 7px 12px; } }
