@font-face { font-family: "Onest"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/onest-cyrillic-400.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/onest-latin-400.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: "Onest"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/onest-cyrillic-500.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/onest-latin-500.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: "Onest"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/onest-cyrillic-600.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/onest-latin-600.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: "Onest"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/onest-cyrillic-700.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/onest-latin-700.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; }

/* Cultguide.ru — дизайн-токены и компоненты (перенесены из утверждённого макета design/styles.css без изменений вида).
   Источник истины: doc/CULTGUIDE_VISUAL_STYLE_REQUIREMENTS.md + CULTGUIDE_STYLE_REFERENCE.png.
   Сайт светлый по требованию бренда: одна (светлая) тема, все цвета заданы явно. */

/* Layout: светлая рамка-портал 1360px; произведения — единственный источник цвета, интерфейс нейтрален. */
:root {
  /* color */
  --c-burgundy: #781D40;       /* основной: кнопки, активные пункты, .ru */
  --c-burgundy-hover: #5E1632;
  --c-burgundy-tint: #F6EDF0;  /* фон активного чипа */
  --c-ink: #24242B;            /* текст, заголовки, иконки */
  --c-ink-2: #6B6B73;          /* вторичный текст */
  --c-bg: #F8F8F6;             /* фон страницы */
  --c-surface: #FFFFFF;        /* хедер, карточки, поля */
  --c-line: #E9E9E6;           /* границы */
  --c-subtle: #F1F1EE;         /* подложки */
  --c-gold: #C59A5D;           /* редкий декоративный акцент */
  --c-hero: #1A120E;           /* затемнение hero (глубокий чёрно-коричневый) */
  --c-on-dark: #FFFFFF;
  --c-on-dark-2: rgba(255, 255, 255, .78);
  --c-focus: #781D40;

  /* type */
  --f-sans: "Onest", "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --fs-hero: clamp(32px, 4.2vw, 52px);
  --fs-h1: clamp(28px, 3.2vw, 42px);
  --fs-h2: clamp(22px, 2.3vw, 30px);
  --fs-h3: 18px;
  --fs-body: 17px;
  --fs-nav: 16px;
  --fs-meta: 14px;
  --fs-small: 13px;

  /* space & shape */
  --container: 1360px;
  --gutter: clamp(16px, 2.6vw, 36px);
  --section: clamp(44px, 5.5vw, 72px);
  --r-hero: 20px;
  --r-block: 18px;
  --r-card: 14px;
  --r-field: 14px;
  --shadow-1: 0 1px 2px rgba(36, 36, 43, .05), 0 4px 16px rgba(36, 36, 43, .05);
  --header-h: 76px;

  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font: 400 var(--fs-body)/1.55 var(--f-sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-burgundy); }
:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: var(--fs-h1); line-height: 1.12; font-weight: 700; }
h2 { font-size: var(--fs-h2); line-height: 1.2; font-weight: 650; }
h3 { font-size: var(--fs-h3); line-height: 1.3; font-weight: 600; }
p { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--c-surface); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.site-header .container { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo img { height: 46px; width: auto; }
.logo-word { font-weight: 700; font-size: 27px; letter-spacing: -0.02em; color: var(--c-ink); line-height: 1; }
.logo-word span { color: var(--c-burgundy); }
.logo:hover { color: inherit; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { list-style: none; display: flex; gap: clamp(16px, 2.6vw, 44px); margin: 0; padding: 0; }
.main-nav a { font-size: var(--fs-nav); font-weight: 500; padding: 8px 0; position: relative; display: inline-flex; align-items: center; gap: 6px; }
.main-nav a[aria-current="page"] { color: var(--c-burgundy); }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--c-burgundy); }
.header-actions { display: flex; gap: 6px; flex: none; }
.icon-btn { width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--c-ink); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { background: var(--c-subtle); color: var(--c-burgundy); }
.icon-btn svg { width: 24px; height: 24px; }
.menu-btn { display: none; }

/* ---------- hero ---------- */
.hero-wrap { padding-top: 20px; }
.hero {
  position: relative; overflow: hidden; border-radius: var(--r-hero);
  background: var(--c-hero); color: var(--c-on-dark);
  min-height: clamp(380px, 33vw, 460px); display: flex; align-items: center;
}
.hero-art { position: absolute; inset: 0 0 0 auto; width: 64%; height: 100%; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 28%; }
.hero-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--c-hero) 0%, rgba(26, 18, 14, .86) 16%, rgba(26, 18, 14, .35) 42%, rgba(26, 18, 14, 0) 64%);
}
.hero-body { position: relative; z-index: 1; padding: clamp(28px, 5vw, 72px); width: min(100%, 820px); display: grid; gap: 18px; }
.hero h1 { font-size: var(--fs-hero); line-height: 1.1; font-weight: 700; letter-spacing: -0.015em; }
.hero-lead { color: var(--c-on-dark-2); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.45; max-width: 30em; }
.hero-credit { position: absolute; right: 18px; bottom: 14px; z-index: 1; font-size: 12px; color: rgba(255, 255, 255, .62); }
.hero-credit a:hover { color: #fff; }

.search { margin-top: 10px; display: flex; align-items: center; background: var(--c-surface); border-radius: var(--r-field); padding: 5px 5px 5px 18px; width: min(100%, 620px); box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
.search svg { width: 22px; height: 22px; color: var(--c-ink-2); flex: none; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 17px var(--f-sans); color: var(--c-ink); padding: 14px 12px; }
.search input::placeholder { color: #8C8C93; }
.search:focus-within { box-shadow: 0 0 0 3px rgba(197, 154, 93, .55), 0 6px 24px rgba(0, 0, 0, .18); }
.search-hints { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: var(--fs-meta); color: var(--c-on-dark-2); }
.search-hints a { border-bottom: 1px solid rgba(255, 255, 255, .3); }
.search-hints a:hover { color: #fff; }

/* ---------- buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 12px; padding: 13px 22px; font: 600 16px var(--f-sans); cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--c-burgundy); color: #fff; }
.btn-primary:hover { background: var(--c-burgundy-hover); color: #fff; }
.btn-secondary { background: var(--c-surface); border-color: var(--c-line); color: var(--c-ink); }
.btn-secondary:hover { border-color: var(--c-burgundy); color: var(--c-burgundy); }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-surface); font-size: 15px; font-weight: 500; cursor: pointer; color: var(--c-ink); font-family: var(--f-sans); }
.chip small { color: var(--c-ink-2); font-size: 13px; font-weight: 500; }
.chip:hover { border-color: var(--c-burgundy); color: var(--c-burgundy); }
.chip[aria-pressed="true"] { background: var(--c-burgundy-tint); border-color: var(--c-burgundy); color: var(--c-burgundy); }
.tag { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--c-subtle); font-size: 13px; color: var(--c-ink-2); font-weight: 500; }

/* ---------- sections ---------- */
.section { padding-top: var(--section); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head p { color: var(--c-ink-2); font-size: 15px; margin-top: 6px; }
.more-link { font-weight: 600; font-size: 15px; color: var(--c-burgundy); display: inline-flex; gap: 6px; align-items: center; }
.more-link:hover { color: var(--c-burgundy-hover); }
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* ---------- cards ---------- */
.card { display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-card); overflow: hidden; transition: box-shadow .2s, transform .2s; min-width: 0; }
a.card:hover { color: inherit; box-shadow: var(--shadow-1); }
a.card:hover h3 { color: var(--c-burgundy); }
.card-img { aspect-ratio: 4 / 3; background: var(--c-subtle); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
a.card:hover .card-img img { transform: scale(1.03); }
.card-body { padding: 16px 18px 18px; display: grid; gap: 6px; align-content: start; flex: 1; }
.card-meta { font-size: var(--fs-meta); color: var(--c-ink-2); }
.card-foot { margin-top: auto; padding-top: 8px; display: flex; gap: 10px; align-items: center; justify-content: space-between; font-size: var(--fs-meta); color: var(--c-ink-2); }

/* artist card: работа как обложка, без рамки */
.artist-card { display: grid; gap: 10px; }
.artist-card .card-img { aspect-ratio: 3 / 4; border-radius: var(--r-card); }
.artist-card h3 { font-size: 16px; }
.artist-card:hover h3 { color: var(--c-burgundy); }

/* artwork tiles: изображение главное */
.art-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.art-tile { display: grid; gap: 10px; align-content: start; }
.art-tile .frame { aspect-ratio: 1 / 1; background: var(--c-subtle); border-radius: 12px; overflow: hidden; display: grid; place-items: center; }
.art-tile .frame img { width: 100%; height: 100%; object-fit: cover; }
.art-tile h3 { font-size: 15px; font-weight: 600; line-height: 1.35; }
.art-tile:hover h3 { color: var(--c-burgundy); }
.art-tile .card-meta { font-size: 13px; }

/* city tiles */
.city-grid { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.city-tile { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-card); font-weight: 600; }
.city-tile span { color: var(--c-ink-2); font-weight: 500; font-size: 14px; font-variant-numeric: tabular-nums; }
.city-tile:hover { border-color: var(--c-burgundy); }

/* excursion card */
.exc-card .card-img { aspect-ratio: 3 / 2; position: relative; }
.ad-label { position: absolute; left: 10px; top: 10px; background: rgba(255, 255, 255, .92); color: var(--c-ink-2); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.exc-card h3 { font-size: 16px; line-height: 1.35; }
.rating { display: inline-flex; gap: 4px; align-items: center; color: var(--c-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.rating svg { width: 15px; height: 15px; color: var(--c-gold); }
.rating small { color: var(--c-ink-2); font-weight: 400; font-size: 13px; }
.price { font-weight: 700; color: var(--c-ink); font-size: 16px; font-variant-numeric: tabular-nums; }
.price small { font-weight: 400; color: var(--c-ink-2); font-size: 13px; }
.partner-note { margin-top: 14px; font-size: 12.5px; color: var(--c-ink-2); }

/* ---------- inner pages ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--c-ink-2); padding-top: 22px; }
.crumbs a:hover { color: var(--c-burgundy); }
.crumbs span[aria-hidden] { color: #B5B5BA; }
.page-head { padding-top: 14px; display: grid; gap: 10px; }
.page-sub { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--c-ink-2); font-size: 16px; }
.page-sub b { color: var(--c-ink); font-weight: 600; }

.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; align-items: start; }
.aside { position: sticky; top: calc(var(--header-h) + 20px + env(safe-area-inset-top, 0px)); display: grid; gap: 16px; }
.panel { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-block); padding: 22px; display: grid; gap: 14px; }
.panel h2 { font-size: 18px; }
.facts { display: grid; gap: 0; margin: 0; }
.facts div { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--c-line); font-size: 15px; }
.facts div:first-child { border-top: 0; padding-top: 0; }
.facts dt { color: var(--c-ink-2); }
.hours { margin-top: 18px; }
.hours h3 { font-size: 15px; font-weight: 600; margin: 0 0 8px; }
.hours .facts div { padding: 7px 0; font-size: 14px; }
.hours .source-note { margin: 8px 0 0; }
.facts dd { margin: 0; font-weight: 500; }
.facts dd a { color: var(--c-burgundy); }
.source-note { font-size: 12.5px; color: var(--c-ink-2); line-height: 1.45; }

.prose { display: grid; gap: 14px; max-width: 68ch; }
.prose p { font-size: 17px; line-height: 1.65; }

.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; border-radius: var(--r-block); overflow: hidden; aspect-ratio: 16 / 8; }
.gallery figure { margin: 0; background: var(--c-subtle); overflow: hidden; }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

.mapbox { aspect-ratio: 16 / 10; border-radius: 12px; background: var(--c-subtle); display: grid; place-items: center; color: var(--c-ink-2); font-size: 14px; text-align: center; padding: 16px; border: 1px dashed #D6D6D2; }

/* review */
.reviews { display: grid; gap: 14px; }
.review { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-card); padding: 18px 20px; display: grid; gap: 8px; }
.review header { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.review header b { font-weight: 600; }
.review header time { color: var(--c-ink-2); font-size: 14px; }
.review p { font-size: 16px; line-height: 1.6; }
.review-form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.field input, .field textarea { font: 400 16px var(--f-sans); color: var(--c-ink); background: var(--c-surface); border: 1px solid #DCDCD8; border-radius: 12px; padding: 12px 14px; width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--c-burgundy); box-shadow: 0 0 0 3px var(--c-burgundy-tint); }
.form-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.form-ok { color: #2F6B3D; font-weight: 600; font-size: 15px; }

/* painting page */
.art-stage { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; padding-top: 18px; }
.art-figure { margin: 0; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-block); padding: clamp(14px, 2.5vw, 32px); display: grid; gap: 12px; }
.art-figure img { width: 100%; height: auto; border-radius: 4px; }
.art-figure figcaption { font-size: 13px; color: var(--c-ink-2); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.art-title { display: grid; gap: 8px; }
.art-title .by { font-size: 18px; color: var(--c-ink-2); }
.art-title .by a { color: var(--c-burgundy); font-weight: 600; }

/* artist page */
.artist-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding-top: 18px; }
.artist-head .lead { font-size: 18px; color: var(--c-ink-2); max-width: 40ch; }
.strip { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; aspect-ratio: 16 / 7; }
.strip a { border-radius: 12px; overflow: hidden; background: var(--c-subtle); }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 8px; }
.stat b { display: block; font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--c-ink-2); }
.museum-list { display: grid; gap: 0; }
.museum-list a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--c-line); font-size: 15px; }
.museum-list a:first-child { border-top: 0; padding-top: 0; }
.museum-list span { color: var(--c-ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* theatre list */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 22px 0 18px; }
.list { display: grid; gap: 14px; }
.row-card { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 20px; align-items: center; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-card); padding: 12px; }
.row-card:hover { box-shadow: var(--shadow-1); color: inherit; }
.row-card:hover h3 { color: var(--c-burgundy); }
.row-card .thumb { aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: var(--c-subtle); }
.row-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.row-card .info { display: grid; gap: 6px; }
.row-card .side { text-align: right; font-size: 14px; color: var(--c-ink-2); padding-right: 10px; display: grid; gap: 4px; }
.row-card .side b { color: var(--c-ink); font-size: 18px; font-variant-numeric: tabular-nums; }
.pager { display: flex; justify-content: center; margin-top: 26px; }

/* ---------- footer ---------- */
.site-footer { margin-top: calc(var(--section) + 8px); background: var(--c-surface); border-top: 1px solid var(--c-line); }
.site-footer .container { padding-block: 44px 36px; display: grid; gap: 30px; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); }
.site-footer h3 { font-size: 15px; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; color: var(--c-ink-2); }
.site-footer .about { color: var(--c-ink-2); font-size: 14px; display: grid; gap: 14px; align-content: start; }
.footer-base { border-top: 1px solid var(--c-line); }
.footer-base .container { padding-block: 16px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; color: var(--c-ink-2); grid-template-columns: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .layout-aside, .art-stage { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; }
}
@media (max-width: 960px) {
  .main-nav { display: none; }
  .menu-btn { display: grid; }
  .site-header .container { justify-content: space-between; }
  .grid-4, .city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout-aside, .art-stage, .artist-head { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
  .site-footer .container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row-card { grid-template-columns: 160px minmax(0, 1fr); }
  .row-card .side { grid-column: 2; text-align: left; padding: 0; display: flex; gap: 12px; }
  .row-card .side b { font-size: 15px; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; --fs-body: 16px; }
  .logo img { height: 38px; }
  .logo-word { font-size: 22px; }
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-art { position: relative; width: 100%; height: 230px; inset: auto; }
  .hero-art img { object-position: 38% 22%; }
  .hero-art::after { background: linear-gradient(180deg, rgba(26, 18, 14, 0) 45%, var(--c-hero) 100%); }
  .hero-body { padding: 4px 20px 26px; gap: 14px; }
  .hero-credit { top: 200px; bottom: auto; right: 12px; }
  .search { flex-wrap: wrap; padding: 6px; gap: 6px; }
  .search svg { margin-left: 10px; }
  .search input { padding: 12px 8px; }
  .search .btn { width: 100%; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .gallery { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; aspect-ratio: auto; }
  .gallery figure:first-child { grid-row: auto; aspect-ratio: 4 / 3; }
  .gallery figure:not(:first-child) { display: none; }
  .row-card { grid-template-columns: minmax(0, 1fr); padding: 10px; }
  .row-card .side { grid-column: 1; }
  .strip { grid-template-columns: minmax(0, 1fr); aspect-ratio: auto; }
  .strip a { aspect-ratio: 16 / 9; }
  .strip a:not(:first-child) { display: none; }
  .facts div { grid-template-columns: 110px minmax(0, 1fr); }
  .site-footer .container { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .grid-4, .city-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}


/* ---------- дополнения для сайта (не меняют вид компонентов макета) ---------- */
.preview-bar { background: #FFF6E5; border-bottom: 1px solid #F0D9A8; color: #6B4A12; font-size: 14px; }
.preview-bar .container { padding-block: 10px; }
.search-wrap { position: relative; width: min(100%, 620px); }
.search-wrap .search { width: 100%; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 5; background: var(--c-surface); color: var(--c-ink); border: 1px solid var(--c-line); border-radius: var(--r-field); box-shadow: var(--shadow-1); overflow: hidden; }
.suggest:empty { display: none; }
.suggest a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; font-size: 15px; border-top: 1px solid var(--c-line); }
.suggest a:first-child { border-top: 0; }
.suggest a span { color: var(--c-ink-2); font-size: 13px; white-space: nowrap; }
.suggest a:hover, .suggest a:focus { background: var(--c-subtle); }
.mobile-nav { display: none; background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 0 14px; display: grid; }
.mobile-nav a { display: block; padding: 10px 0; font-weight: 500; }
.mobile-nav.open { display: block; }
@media (min-width: 961px) { .mobile-nav.open { display: none; } }
.page-search { margin: 18px 0 8px; }
.page-search .search { box-shadow: none; border: 1px solid var(--c-line); }
.empty { padding: 28px; text-align: center; color: var(--c-ink-2); background: var(--c-surface); border: 1px dashed #D6D6D2; border-radius: var(--r-block); }
.pager { gap: 10px; flex-wrap: wrap; align-items: center; }
.pager .current { font-weight: 600; color: var(--c-ink-2); font-size: 15px; padding: 0 6px; }
.letter-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 8px; }
.letter-nav a { min-width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--c-line); border-radius: 10px; background: var(--c-surface); font-weight: 600; font-size: 15px; }
.letter-nav a:hover { border-color: var(--c-burgundy); }
.letter-group { padding-top: 28px; }
.letter-group > h2 { margin-bottom: 14px; }
.no-img { width: 100%; height: 100%; display: grid; place-items: center; color: #B5B5BA; }
.no-img svg { width: 44px; height: 44px; }
.stage-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.stage-list li { padding: 11px 0; border-top: 1px solid var(--c-line); font-size: 15px; display: grid; gap: 2px; }
.stage-list li:first-child { border-top: 0; padding-top: 0; }
.stage-list span { color: var(--c-ink-2); font-size: 14px; }
.mapbox button { font: inherit; color: var(--c-burgundy); background: none; border: 0; cursor: pointer; font-weight: 600; }
.mapbox iframe { width: 100%; height: 100%; border: 0; border-radius: 12px; }
.mapbox.loaded { padding: 0; border: 0; }
.errorlist { color: #A3262A; font-size: 14px; margin: 0; padding: 0; list-style: none; }
.alert { padding: 14px 18px; border-radius: var(--r-card); background: #EAF5EC; color: #2F6B3D; font-weight: 600; font-size: 15px; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.prose h2 + p { margin-top: -4px; }
.results-group { padding-top: 30px; }
.results-group h2 { margin-bottom: 16px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filters select { font: 500 15px var(--f-sans); color: var(--c-ink); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 999px; padding: 8px 14px; }

.photo-credits { margin: 6px 0 0; font-size: 11px; color: var(--c-ink-2); opacity: .75; }
.photo-credits a { color: inherit; }

/* журнал */
.card-kicker { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--c-burgundy); }
.card-kicker a { color: inherit; }
.article-card h3 { font-size: 19px; line-height: 1.3; }
.article-ph { display: flex; align-items: flex-end; width: 100%; height: 100%; padding: 18px; font-size: 22px; font-weight: 600; color: var(--c-on-dark); background: linear-gradient(135deg, var(--c-burgundy) 0%, var(--c-hero) 100%); }
.article-ph-museums { background: linear-gradient(135deg, #2F4A5A 0%, var(--c-hero) 100%); }
.article-ph-art { background: linear-gradient(135deg, var(--c-gold) 0%, #5A3A1E 100%); }
.article-ph-culture { background: linear-gradient(135deg, #4B4B57 0%, var(--c-hero) 100%); }
.article-lead { font-size: 19px; line-height: 1.55; color: var(--c-ink-2); max-width: 68ch; }
.article-body h2 { margin-top: 12px; }
.article-body a { color: var(--c-burgundy); text-decoration: underline; text-underline-offset: 3px; }
.mention-list { display: grid; margin: 0; padding: 0; list-style: none; }
.mention-list li { padding: 10px 0; border-top: 1px solid var(--c-line); font-size: 15px; display: grid; gap: 2px; }
.mention-list li:first-child { border-top: 0; padding-top: 0; }
.mention-list a { font-weight: 500; }
.mention-list a:hover { color: var(--c-burgundy); }
.mention-list span { color: var(--c-ink-2); font-size: 14px; }

/* страница экскурсии */
.exc-gallery { aspect-ratio: 16 / 7; }
.exc-more-photos { margin-top: 12px; }
.exc-more-photos summary { cursor: pointer; color: var(--c-burgundy); font-weight: 500; font-size: 15px; }
.exc-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 12px; }
.exc-photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--c-subtle); }
.exc-buy .btn { width: 100%; }
.exc-price { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.exc-price small { font-size: 15px; font-weight: 400; color: var(--c-ink-2); }
.exc-buy-note { font-size: 13px; color: var(--c-ink-2); margin-top: -4px; }
.prose h3 { font-size: 17px; margin-top: 6px; }
.exc-ad-mark { font-size: 11px; color: var(--c-ink-2); opacity: .8; margin-top: -6px; }

/* ---------- навигация, служебные страницы (ux 17.11) ---------- */
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.legal-links a:hover, .site-footer a:hover { color: var(--c-burgundy); }
.cookie-note { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--c-surface); border-top: 1px solid var(--c-line); box-shadow: 0 -4px 16px rgba(0, 0, 0, .06); font-size: 14px; color: var(--c-ink-2); }
.cookie-note .container { display: flex; gap: 12px 20px; align-items: center; justify-content: space-between; padding-block: 12px; }
.cookie-note a { color: var(--c-burgundy); }
.link-cols { list-style: none; padding: 0; margin: 0; columns: 3 260px; column-gap: 32px; }
.link-cols li { break-inside: avoid; padding: 4px 0; line-height: 1.35; }
.link-cols a:hover { color: var(--c-burgundy); }
.link-cols small, .country-row small { color: var(--c-ink-2); font-size: 13px; font-weight: 400; }
.country-list { display: grid; gap: 22px; }
.country-row h2 { font-size: 20px; margin-bottom: 10px; }
.country-row h2 a:hover { color: var(--c-burgundy); }
.country-row .chips { list-style: none; padding: 0; margin: 0; }
ul.chips { list-style: none; padding: 0; margin: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--c-ink-2); margin: 4px 0 8px; }
.consent input { margin-top: 3px; accent-color: var(--c-burgundy); }
.consent a { color: var(--c-burgundy); }
.field-help { display: block; font-size: 13px; color: var(--c-ink-2); font-weight: 400; margin-top: 4px; }
.review-form .suggest { position: absolute; left: 0; right: 0; z-index: 20; }
.about-intro { display: grid; gap: 28px; }
.about-stats { gap: 36px; }
.about-cards .panel { display: block; }
.about-cards .panel h3 { margin-bottom: 6px; }
.about-cards .panel p { color: var(--c-ink-2); font-size: 15px; margin: 0; }
.about-cards a.panel:hover { border-color: var(--c-burgundy); }
.about-contact { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: start; }
.about-contact a { color: var(--c-burgundy); }
.legal h2 { font-size: 20px; margin-top: 28px; }
@media (max-width: 760px) {
  .about-contact { grid-template-columns: minmax(0, 1fr); }
  .cookie-note .container { flex-direction: column; align-items: stretch; }
}
.entry-section { padding-top: 28px; }
.entry-grid { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.entry-tile { display: grid; gap: 4px; padding: 18px 20px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-card); }
.entry-tile b { font-size: 18px; }
.entry-tile span { color: var(--c-ink-2); font-size: 14px; }
.entry-tile:hover { border-color: var(--c-burgundy); }
@media (max-width: 960px) { .entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .entry-grid { grid-template-columns: minmax(0, 1fr); } }
.small-cities { list-style: none; padding: 0; margin: 0; columns: 3 300px; column-gap: 32px; }
.small-cities li { break-inside: avoid; padding: 0 0 14px; display: grid; gap: 4px; font-size: 15px; line-height: 1.35; }
.small-cities b { font-size: 15px; }
.small-cities a { color: var(--c-ink-2); }
.small-cities a:hover { color: var(--c-burgundy); }
.city-tile span { white-space: nowrap; }

/* мобильное меню («бутерброд»): список строками на всю ширину; .site-header .container не должен делать его флексом */
.site-header .mobile-nav ul.container { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: stretch; height: auto; gap: 0; align-items: stretch; padding-top: 4px; padding-bottom: 12px;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.mobile-nav li + li { border-top: 1px solid var(--c-line); }
.mobile-nav a { padding: 14px 0; font-size: 17px; }
.mobile-nav a:hover { color: var(--c-burgundy); }
@media (max-width: 640px) {
  .city-tile { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 14px 16px; }
}

/* карточка театра/музея: на телефоне контакты сразу после фото и описания, отзывы и подборки — ниже */
.main-col, .after-aside { display: grid; gap: var(--section); min-width: 0; }
@media (max-width: 960px) {
  .layout-aside > .main-col { display: contents; }
  .layout-aside > .main-col > * { order: 1; }
  .layout-aside > .aside { order: 2; }
  .layout-aside > .main-col > .after-aside { order: 3; }
  .layout-aside { gap: var(--section); }
}
