/* Внутренние страницы: шапка страницы и секции (Block / *). Mobile first, ≥1024px — макет 1440. */

/* ---------- шапка страницы ---------- */
.page-hero{ position:relative; background:linear-gradient(180deg,var(--bg-section-top) 0%,var(--bg-deep) 100%); border-bottom:1px solid var(--border-subtle); }
.page-hero__content{ position:relative; display:flex; flex-direction:column; gap:16px; padding:20px var(--gutter) 32px; overflow:hidden; }
.page-hero__ornament{ position:absolute; top:0; right:0; bottom:0; width:112px; background:var(--ornament, none) left top/112px auto repeat-y; opacity:calc(var(--ornament-opacity) * .45); pointer-events:none; } /* одна вертикальная полоса узора, как в макете */
.crumbs{ position:relative; display:flex; flex-wrap:wrap; gap:4px 8px; font:400 14px/20px var(--font-text); }
.crumbs a{ color:inherit; opacity:.7; text-decoration:none; }
.crumbs a:hover{ opacity:1; text-decoration:underline; }
.crumbs__sep{ opacity:.4; }
.page-hero__body{ position:relative; display:flex; flex-direction:column; align-items:flex-start; gap:16px; margin-top:8px; }
.page-hero__eyebrow{ margin:0; font:400 14px/20px var(--font-text); text-transform:uppercase; letter-spacing:.04em; }
.page-hero__title{ margin:0; max-width:100%; min-width:0; font:400 46px/48px var(--font-display); text-transform:uppercase; overflow-wrap:normal; }
@media (min-width:1024px){ .page-hero__title{ max-width:1040px; } }
.page-hero__title.is-normal{ text-transform:none; }
.page-hero__lead{ max-width:1040px; font:400 16px/24px var(--font-text); }
.page-hero__lead p{ margin:0; }
.page-hero__lead p + p{ margin-top:8px; }
.page-hero__lead a{ color:inherit; }
.page-hero__meta{ margin:0; font:400 16px/24px var(--font-text); }
.page-hero__buttons{ display:flex; flex-wrap:wrap; gap:12px; margin:8px 0 0; }
.page-hero__media{ position:relative; height:260px; background:var(--bg-deep); overflow:hidden; }
.page-hero__slide{ position:absolute; inset:0; background:center/cover no-repeat; }
.page-hero__controls{ position:absolute; right:var(--gutter); bottom:40px; display:flex; gap:8px; }
.btn-square--solid{ background:var(--wine-900); border-color:var(--cream-100); }
@media (min-width:1024px){
  .page-hero__content{ gap:24px; padding:40px 64px; }
  .page-hero__ornament{ width:300px; background-size:300px auto; opacity:calc(var(--ornament-opacity) * .35); }
  .page-hero__body{ gap:24px; margin-top:0; }
  .page-hero__eyebrow{ font-size:20px; line-height:28px; }
  .page-hero--event .page-hero__eyebrow{ font-size:22px; line-height:32px; }
  .page-hero__title{ font-size:96px; line-height:96px; }
  .page-hero__title.is-normal{ font-size:64px; line-height:68px; max-width:1100px; }
  .page-hero__lead,.page-hero__meta{ font-size:20px; line-height:28px; }
  .page-hero__media{ height:512px; }
  .page-hero__controls{ right:64px; bottom:38px; }
}

/* ---------- секция ---------- */
.s{ position:relative; padding:0 0 48px; background:var(--bg-page); color:var(--text-primary); }
.s--deep{ background:var(--bg-deep); }
.s--light{ background:var(--bg-light); }
.s--border{ border-top:1px solid var(--border-subtle); }
.s + .s:not(.s--light):not(.s--deep):not(.s-ti){ border-top:1px solid var(--border-faint); }
.s-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:16px; padding:32px var(--gutter) 24px; }
.s-head .link-arrow{ flex:0 0 auto; margin-bottom:8px; }
.s-title{ margin:0; max-width:100%; font:400 44px/48px var(--font-display); text-transform:uppercase; overflow-wrap:normal; }
.s > .s-body:first-child,.s > .gallery:first-child{ padding-top:40px; }
.s > .gallery:first-child{ margin-top:0; }
.s-title--l{ font-size:40px; line-height:44px; }
.s-title--xm{ font-size:40px; line-height:40px; }
.s-title--m{ font-size:32px; line-height:36px; }
.s-title--ms{ font-size:24px; line-height:28px; } /* мобилка 24, десктоп 48 (Правила по Пушкинской карте) */
.s-title--s{ font:600 18px/24px var(--font-text); letter-spacing:.02em; }
.s-title--normal{ text-transform:none; }
.s-body{ padding:0 var(--gutter); }
.s-intro{ margin-bottom:32px; }
.s-subtitle{ margin:0 0 24px; font:400 16px/20px var(--font-text); opacity:.8; }
.s-note{ margin:24px 0 0; font:400 12px/16px var(--font-text); opacity:.7; }
.s-note--line{ padding-top:16px; border-top:1px solid var(--border-subtle); }
.s-actions{ margin:32px 0 0; }
.s-after{ margin:32px 0 0; font:400 16px/24px var(--font-text); }
.s-after a{ color:inherit; }
.group-label{ margin:40px 0 0; padding-bottom:12px; border-bottom:1px solid var(--border-subtle); font:400 14px/20px var(--font-text); text-transform:uppercase; letter-spacing:.02em; }
.group-label--plain{ border:0; padding:0; margin:32px 0 16px; font:600 18px/24px var(--font-text); }
.group-label:first-child{ margin-top:0; }
@media (min-width:1024px){
  .s{ padding-bottom:96px; }
  .s-head{ padding:64px 64px 32px; }
  .s-head .link-arrow{ margin-bottom:16px; }
  .s-title{ font-size:96px; line-height:96px; }
  .s-title--l{ font-size:80px; line-height:80px; }
  .s-title--xm{ font-size:64px; line-height:64px; }
  .s-title--m,.s-title--ms{ font-size:48px; line-height:52px; }
  .s-title--s{ font-size:24px; line-height:28px; }
  .s-body{ padding:0 64px; }
  .s > .s-body:first-child,.s > .gallery:first-child{ padding-top:96px; }
  .s-intro{ margin-bottom:48px; max-width:1312px; }
  .s-subtitle{ margin:0 0 48px; font-size:28px; line-height:36px; }
  .s-note{ margin-top:32px; font-size:14px; line-height:20px; }
  .group-label{ margin-top:64px; font-size:18px; line-height:24px; }
}

/* ---------- текст ---------- */
.rich{ font:400 16px/24px var(--font-text); }
.rich > :first-child{ margin-top:0; }
.rich > :last-child{ margin-bottom:0; }
.rich p,.rich ul,.rich ol{ margin:0 0 16px; }
.rich ul,.rich ol{ padding-left:20px; }
.rich a{ color:inherit; text-decoration:underline; text-underline-offset:3px; }
.rich small{ font-size:14px; line-height:20px; opacity:.7; }
.rich h2,.rich h3{ margin:32px 0 16px; font:600 20px/24px var(--font-text); text-transform:uppercase; letter-spacing:.02em; }
.rich--small{ font-size:14px; line-height:20px; }
.rich--small p{ margin-bottom:8px; }
.s--light .rich,.s--light .s-subtitle{ color:var(--text-inverse-body); }
.s-text .s-body{ max-width:1440px; }
@media (min-width:1024px){
  .rich{ font-size:20px; line-height:28px; }
  .rich p{ margin-bottom:20px; }
  .rich small{ font-size:14px; line-height:20px; }
  .rich--small{ font-size:18px; line-height:24px; }
  .rich--small p{ margin-bottom:12px; }
  .s-text:not(.s-html) .s-head + .s-body,.s-text > .s-body:first-child{ padding-top:0; }
}

.toggle{ display:inline-flex; align-items:center; gap:8px; margin-top:16px; padding:0; background:none; border:0; color:inherit; cursor:pointer; font:600 14px/20px var(--font-text); text-transform:uppercase; letter-spacing:.02em; }
.toggle .icon{ width:16px; height:16px; transition:transform .2s; }
.toggle[aria-expanded="true"] .icon{ transform:rotate(180deg); }
.toggle--bar{ display:flex; justify-content:space-between; width:100%; padding-top:12px; border-top:1px solid var(--border-subtle); }
.more{ margin-top:16px; }
/* блоки, свернутые только на мобилке: .m-more[hidden] + кнопка .m-toggle */
.m-toggle{ margin-top:12px; }
@media (min-width:1024px){ .m-more[hidden]{ display:block; } .m-toggle{ display:none !important; } }
.tags{ display:flex; flex-wrap:wrap; gap:8px; margin:0 0 24px; }
.tag{ text-transform:none; letter-spacing:0; font:400 14px/20px var(--font-text); padding:4px 12px; }

/* ---------- якорное меню ---------- */
.anchors{ position:sticky; top:0; z-index:20; background:var(--bg-deep); border-bottom:1px solid var(--border-subtle); }
.anchors__track{ display:flex; gap:24px; padding:0 var(--gutter); overflow-x:auto; scrollbar-width:none; }
.anchors__track::-webkit-scrollbar{ display:none; }
.anchors__item{ flex:0 0 auto; padding:20px 0 18px; border-bottom:1px solid transparent; color:inherit; text-decoration:none; font:600 12px/16px var(--font-text); text-transform:uppercase; letter-spacing:.04em; white-space:nowrap; }
.anchors__item.is-active{ border-bottom-color:currentColor; }
@media (hover:hover){ .anchors__item:hover{ border-bottom-color:currentColor; } } /* на телефоне «наведение» залипает после нажатия — подчеркивался второй пункт */
.anchors--buttons{ position:static; background:none; border:0; padding:24px 0 0; }
.anchors--buttons .anchors__track{ flex-wrap:wrap; gap:8px; overflow:visible; }
.anchors--buttons .anchors__item{ padding:8px 16px; border:1px solid var(--border-subtle); font-size:14px; line-height:20px; letter-spacing:.02em; }
@media (hover:hover){ .anchors--buttons .anchors__item:hover{ background:var(--accent-bg); color:var(--accent-fg); } }
@media (min-width:1024px){
  .anchors__track{ gap:40px; padding:0 64px; }
  .anchors__item{ padding:20px 0 16px; font-size:14px; line-height:20px; }
  .anchors--buttons{ padding-top:48px; }
}
[id]{ scroll-margin-top:72px; }

/* ---------- карусель фото ---------- */
.gallery{ margin-top:32px; }
.gallery__track{ display:flex; gap:8px; padding:0 var(--gutter); overflow-x:auto; scroll-snap-type:x mandatory; scroll-padding:0 var(--gutter); scrollbar-width:none; }
.gallery__track::-webkit-scrollbar{ display:none; }
.gallery__item{ flex:0 0 auto; width:300px; aspect-ratio:300/224; scroll-snap-align:start; background:var(--bg-section-top); overflow:hidden; }
.gallery__controls .btn-square{ width:48px; height:44px; }
@media (min-width:1024px){ .gallery__controls .btn-square{ width:56px; height:44px; } }
.gallery__item img{ width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.gallery__item:hover img{ transform:scale(1.03); }
.gallery__bar{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px var(--gutter) 0; }
.gallery__caption{ margin:0; font:400 12px/16px var(--font-text); opacity:.7; }
.gallery__controls{ display:flex; gap:8px; }
.btn-arrow{ display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; padding:0; background:none; border:0; color:inherit; cursor:pointer; }
.btn-arrow .icon{ width:24px; height:24px; }
.btn-arrow:disabled{ opacity:.3; cursor:default; }
.gallery--grid .gallery__item{ width:calc((100% - 24px) / 1.2); }
@media (min-width:1024px){
  .gallery{ margin-top:48px; }
  .gallery__track{ gap:16px; padding:0 64px; scroll-padding:0 64px; }
  .gallery__item{ width:424px; }
  .gallery__bar{ padding:24px 64px 0; }
  .gallery__caption{ font-size:20px; line-height:28px; }
  .gallery--grid .gallery__track{ display:grid; grid-template-columns:repeat(3,1fr); overflow:visible; }
  .gallery--grid .gallery__item{ width:auto; aspect-ratio:424/288; }
  .gallery--grid .gallery__controls{ display:none; }
}

/* ---------- видео-карточки ---------- */
.media-row{ display:flex; gap:12px; margin-top:32px; padding:0 var(--gutter); overflow-x:auto; scrollbar-width:none; }
.media-card{ position:relative; flex:0 0 auto; display:flex; align-items:center; justify-content:center; width:300px; aspect-ratio:16/9; background:rgba(68,38,35,.3) center/cover; color:inherit; text-decoration:none; }
.s--dark .media-card,.s--deep .media-card{ background-color:rgba(225,215,196,.4); }
.media-card__title{ position:absolute; left:16px; bottom:12px; font:500 16px/20px var(--font-text); }
@media (min-width:1024px){ .media-row{ gap:32px; margin-top:48px; padding:0 64px; } .media-card{ width:576px; } }

/* ---------- текст + фото ---------- */
.s-ti{ display:flex; flex-direction:column; padding:0; }
.s-ti__text{ display:flex; flex-direction:column; align-items:flex-start; gap:16px; padding:40px var(--gutter); }
.s-ti__image{ aspect-ratio:390/336; background:var(--bg-section-top); overflow:hidden; }
.s-ti__image img{ width:100%; height:100%; object-fit:cover; }
.s-ti .toggle{ margin-top:0; }
@media (min-width:1024px){
  .s-ti{ flex-direction:row; align-items:stretch; }
  .s-ti__text{ flex:0 0 60%; gap:24px; padding:96px 64px; }
  .s-ti__image{ flex:1 1 auto; aspect-ratio:auto; min-height:560px; }
  .s-ti--left .s-ti__image{ order:-1; }
}

/* ---------- главы истории ---------- */
.chapters{ list-style:none; margin:40px 0 0; padding:0; border-top:1px solid var(--border-subtle); }
.chapter{ display:flex; flex-direction:column; gap:12px; padding:24px 0; border-bottom:1px solid var(--border-subtle); }
.chapter__when{ display:flex; align-items:baseline; gap:12px; }
.chapter__year{ font:400 32px/36px var(--font-display); }
.chapter__label{ font:400 12px/16px var(--font-text); opacity:.6; }
.chapter__title{ margin:0 0 8px; font:600 16px/20px var(--font-text); text-transform:uppercase; letter-spacing:.02em; }
.chapter .toggle{ margin-top:8px; }
.chapter .rich--small{ font-size:16px; line-height:24px; }
.chapter__teaser{ opacity:.85; }
@media (max-width:1023px){ .s-chapters .s-actions .btn{ width:100%; justify-content:space-between; } }
@media (min-width:1024px){
  .chapters{ margin-top:64px; }
  .chapter{ flex-direction:row; gap:0; padding:24px 0 32px; }
  .chapter__when{ flex:0 0 368px; flex-direction:column; gap:4px; }
  .chapter__year{ font-size:48px; line-height:52px; }
  .chapter__label{ font-size:14px; line-height:20px; }
  .chapter__body{ flex:1 1 auto; }
  .chapter__title{ font-size:24px; line-height:28px; }
  .chapter .rich--small{ font-size:20px; line-height:28px; }
  .chapter .toggle,.person .toggle{ font-size:18px; line-height:24px; }
}

/* ---------- хронология / награды ---------- */
.timeline{ margin:0; }
.timeline__row{ display:flex; flex-direction:column; gap:8px; padding:20px 0; border-bottom:1px solid var(--border-subtle); }
.timeline--big .timeline__row{ border-bottom:0; border-top:1px solid var(--border-subtle); }
.timeline--big .timeline__text{ opacity:.85; }
.timeline__year{ font:400 32px/36px var(--font-display); }
.timeline__text{ margin:0; font:400 16px/24px var(--font-text); }
.s-text + .s-timeline{ border-top:0; }
/* История в лицах — статья: высокое фото в шапке, медиа уже контента */
.page-hero--tall .page-hero__media{ height:361px; }
.page-hero--tall .page-hero__media img{ height:100%; object-fit:cover; }
.s-text--narrow-media .gallery__item{ width:260px; aspect-ratio:260/200; }
.s-text--narrow-media .media-card{ width:342px; }
.s-text--narrow-media .s-after{ font-size:16px; line-height:24px; }
.s-text--narrow-media .s-after a{ text-decoration:none; }
.s-text--narrow-media .tags{ margin-bottom:24px; }
@media (min-width:1024px){
  .page-hero--tall .page-hero__media{ height:671px; }
  .s-text--narrow-media .gallery__track{ gap:16px; max-width:1008px; }
  .s-text--narrow-media .gallery__item{ width:300px; aspect-ratio:300/240; }
  .s-text--narrow-media .media-row{ margin-top:32px; }
  .s-text--narrow-media .media-card{ width:944px; }
  .s-text--narrow-media .s-after{ margin-top:48px; font-size:18px; line-height:24px; }
  .s-text--narrow-media .tags{ margin-bottom:40px; }
  .s-text--narrow-media .rich{ font-size:20px; line-height:30px; }
}
/* Реквизиты: заголовок-свертка со ссылкой */
.s-headline{ padding:0 0 48px; }
.s-files{ padding-bottom:48px; }
.s-headline + .s,.s + .s-headline{ border-top:0; }
.headline{ display:flex; flex-wrap:wrap; align-items:center; gap:12px 24px; padding-bottom:16px; border-bottom:1px solid var(--border-subtle); }
.headline .s-title{ flex:1 1 auto; }
.headline__icon{ width:20px; height:20px; order:2; }
.headline__link{ flex:0 0 100%; order:3; color:inherit; text-decoration:underline; text-underline-offset:4px; font:600 12px/16px var(--font-text); text-transform:uppercase; letter-spacing:.02em; }
@media (min-width:1024px){
  .s-headline{ padding:64px 0 96px; }
  .s-files{ padding-bottom:0; }
  .headline{ flex-wrap:nowrap; gap:32px; padding-bottom:24px; }
  .headline__icon{ width:16px; height:16px; order:3; }
  .headline__link{ flex:0 0 auto; order:2; font-size:18px; line-height:24px; }
}
.s-text + .s-timeline .s-head{ padding-top:0; }
.s-timeline .rich + .timeline{ margin-top:32px; }
@media (min-width:1024px){
  .timeline__row{ flex-direction:row; align-items:center; gap:48px; padding:24px 0; }
  .timeline--big .timeline__row{ padding:32px 0; }
  .timeline__year{ flex:0 0 400px; font-size:48px; line-height:52px; }
  .timeline--short .timeline__year{ flex-basis:160px; }
  .timeline__text{ font-size:20px; line-height:28px; max-width:860px; }
  .s-awards .timeline__year{ flex-basis:192px; }
}

/* ---------- люди строкой ---------- */
.people-rows{ display:flex; flex-direction:column; }
.person{ display:grid; grid-template-columns:96px 1fr; gap:12px 16px; align-items:center; padding:24px 0; border-bottom:1px solid var(--border-subtle); }
.person:last-child{ border-bottom:0; }
.person__photo{ width:96px; height:120px; background:var(--bg-section-top); overflow:hidden; }
.person__photo img{ width:100%; height:100%; object-fit:cover; }
.person__head{ min-width:0; }
.person__body{ grid-column:1 / -1; }
.person__role{ margin:0 0 4px; font:400 12px/16px var(--font-text); text-transform:uppercase; opacity:.7; }
.person__name{ margin:0; font:400 32px/36px var(--font-display); }
.person__regalia{ margin:0 0 12px; font:400 14px/20px var(--font-text); opacity:.8; }
.person__bio .rich--small{ font-size:16px; line-height:24px; }
.person__awards{ margin-top:16px; padding-top:16px; border-top:1px solid var(--border-subtle); }
.person__label{ margin:0 0 8px; font:600 14px/20px var(--font-text); text-transform:uppercase; }
.person__awards ul{ list-style:none; margin:0; padding:0; font:400 14px/20px var(--font-text); opacity:.85; }
.person .toggle--bar{ margin-top:16px; }
@media (min-width:1024px){
  .person{ grid-template-columns:320px 1fr; gap:0 48px; align-items:start; padding:40px 0; }
  .person__photo{ grid-row:1 / span 2; width:320px; height:400px; }
  .s-people--small .person{ grid-template-columns:240px 1fr; }
  .s-people--small .person__photo{ width:240px; height:300px; }
  .person__head{ grid-column:2; }
  .person__body{ grid-column:2; }
  .person__role{ margin-bottom:8px; font-size:20px; line-height:28px; }
  .person__name{ font-size:48px; line-height:52px; margin-bottom:16px; }
  .person__bio .rich--small{ font-size:20px; line-height:28px; }
  .person__bio .rich--small p{ margin-bottom:16px; }
  .person__regalia{ font-size:18px; line-height:24px; }
  .person__label{ font-size:18px; line-height:24px; }
  .person__awards ul{ font-size:18px; line-height:28px; }
}

/* ---------- люди сеткой ---------- */
.members{ display:flex; flex-direction:column; margin-top:8px; }
.member{ display:grid; grid-template-columns:96px 1fr; gap:4px 16px; align-content:start; padding:20px 0; border-bottom:1px solid var(--border-subtle); }
.member__photo{ grid-row:1 / span 4; width:96px; height:120px; background:var(--bg-section-top); overflow:hidden; }
.member__photo img{ width:100%; height:100%; object-fit:cover; }
.member__name{ margin:0; font:700 16px/24px var(--font-text); }
.member__role{ margin:0; font:400 14px/20px var(--font-text); opacity:.8; }
.member__regalia{ margin:4px 0 0; font:400 12px/16px var(--font-text); opacity:.7; }
.member .more{ grid-column:1 / -1; }
.member .toggle--bar{ grid-column:1 / -1; margin-top:12px; font-size:12px; line-height:16px; }
.s--light .member__photo{ background:#5a2b28; }
@media (min-width:1024px){
  .members{ display:grid; grid-template-columns:repeat(2,1fr); gap:48px 32px; margin-top:48px; }
  .member{ display:flex; flex-direction:column; gap:0; padding:0; border:0; }
  .member__photo{ width:auto; height:auto; aspect-ratio:416/384; margin-bottom:12px; }
  .members--3{ grid-template-columns:repeat(3,1fr); }
  .members--4{ grid-template-columns:repeat(4,1fr); }
  .members--2{ grid-template-columns:repeat(2,304px); }
  .members--4 .member__photo,.members--2 .member__photo{ aspect-ratio:304/384; }
  .member__name{ margin-bottom:4px; font:500 24px/28px var(--font-text); }
  .member__role{ font-size:18px; line-height:24px; }
  .member__regalia{ font-size:14px; line-height:20px; opacity:.6; }
  .member .toggle--bar{ margin-top:auto; padding-top:12px; font-size:14px; line-height:20px; }
  .s-members__split{ display:grid; grid-template-columns:1fr 640px; gap:64px; align-items:start; }
  .s-members__split .members{ margin-top:0; }
  .s-members__split .s-intro{ margin:0; }
}

/* ---------- вкладки / чипы ---------- */
.chips{ display:flex; flex-wrap:wrap; gap:8px; margin:0 0 32px; }
.chip{ display:inline-flex; align-items:center; justify-content:center; min-height:40px; padding:8px 16px; border:1px solid var(--border-subtle); background:none; color:inherit; cursor:pointer; text-decoration:none; font:600 14px/20px var(--font-text); text-transform:uppercase; letter-spacing:.02em; }
.chip:hover{ border-color:var(--border-strong); }
.chip.is-active{ background:var(--accent-bg); color:var(--accent-fg); border-color:var(--accent-bg); }
.chips--small .chip{ min-height:36px; padding:8px 16px; font-size:14px; line-height:20px; }
.chips--stretch{ flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; }
.chips--stretch .chip{ flex:0 0 auto; }
.tab-panel .s-title{ margin-bottom:24px; }
@media (min-width:1024px){
  .chips{ gap:12px; margin-bottom:48px; }
  .chip{ min-height:48px; padding:12px 24px; font-size:18px; line-height:24px; }
  .chips--small{ margin-bottom:24px; gap:8px; }
  .chips--small .chip{ min-height:36px; padding:8px 16px; font-size:14px; line-height:20px; }
  .chips--stretch .chip{ flex:1 1 0; }
  .tab-panel .s-title{ margin-bottom:32px; }
}

/* ---------- аккордеоны и документы ---------- */
.acc{ border-bottom:1px solid var(--border-subtle); }
.acc__head{ display:flex; align-items:center; gap:16px; padding:20px 0; cursor:pointer; list-style:none; }
.acc__head::-webkit-details-marker{ display:none; }
.acc__title{ flex:1 1 auto; font:600 16px/20px var(--font-text); text-transform:uppercase; letter-spacing:.02em; }
.acc__count{ flex:0 0 auto; font:400 12px/16px var(--font-text); opacity:.6; }
.acc__icon{ flex:0 0 auto; width:20px; height:20px; transition:transform .2s; }
.acc[open] > .acc__head .acc__icon{ transform:rotate(180deg); }
.acc__body{ padding:0 0 24px; }
.acc--big .acc__title{ font:400 32px/36px var(--font-display); text-transform:uppercase; letter-spacing:0; }
.acc--big > .acc__head{ padding:32px 0 24px; }
.acc--big .acc__icon{ width:24px; height:24px; }
.acc--inline{ border:0; }
.acc--inline .acc__head{ padding:12px 0; justify-content:flex-start; gap:8px; }
.acc--inline .acc__title{ flex:0 0 auto; font-size:14px; }
.acc__title[data-closed]::before{ content:attr(data-closed); }
.acc[open] .acc__title[data-open]::before{ content:attr(data-open); }
.accs--2{ display:grid; gap:32px; }
.acc-card{ border-bottom:0; }
.acc-card__title{ margin:0 0 8px; font:500 20px/24px var(--font-text); }
.acc-card__subtitle{ margin:0 0 16px; font:400 16px/24px var(--font-text); opacity:.8; }
.acc-card .acc{ border-top:1px solid var(--border-subtle); border-bottom:1px solid var(--border-subtle); }
.acc-card .acc__head{ padding:24px 0; }
.acc-card .acc__body .rich{ font-size:16px; line-height:24px; }
.table-wrap{ overflow-x:auto; margin-bottom:16px; }
.table{ width:100%; border-collapse:collapse; font:400 14px/20px var(--font-text); }
.table th,.table td{ padding:12px 16px 12px 0; text-align:left; vertical-align:top; border-bottom:1px solid var(--border-subtle); }
.table th{ font-weight:600; }
@media (min-width:1024px){
  .acc__head{ padding:28px 0; }
  .acc__title{ font-size:24px; line-height:28px; }
  .acc__count{ font-size:14px; line-height:20px; }
  .acc--big .acc__title{ font-size:48px; line-height:52px; }
  .acc--inline .acc__title{ font-size:18px; }
  .accs--2{ grid-template-columns:1fr 1fr; gap:48px; }
  .acc-card__title{ font-size:24px; line-height:28px; }
  .acc-card__subtitle{ font-size:20px; line-height:28px; }
  .acc-card .acc__body .rich{ font-size:20px; line-height:28px; }
  .accs--2{ gap:40px; }
  .table{ font-size:18px; line-height:24px; }
}
.docs{ list-style:none; margin:0; padding:0; }
.docs-empty{ margin:0; padding:12px 0; border-top:1px solid var(--border-subtle); font:400 14px/20px var(--font-text); opacity:.6; }
.doc{ display:grid; grid-template-columns:auto auto 1fr; align-items:center; gap:8px 12px; padding:16px 0; border-top:1px solid var(--border-subtle); }
.doc[hidden]{ display:none; }
.doc__type{ padding:4px 12px; border:1px solid var(--border-subtle); font:400 14px/20px var(--font-text); text-transform:uppercase; }
.doc__name{ grid-column:1 / -1; font:400 16px/24px var(--font-text); }
.doc__size{ font:400 14px/20px var(--font-text); opacity:.6; }
.doc__link{ grid-column:1 / -1; justify-self:start; color:inherit; font:600 12px/16px var(--font-text); text-transform:uppercase; border-bottom:1px solid currentColor; text-decoration:none; }
@media (min-width:1024px){
  .doc{ grid-template-columns:auto 1fr auto auto; gap:24px; padding:20px 0; }
  .doc__name{ grid-column:auto; font-size:20px; line-height:28px; }
  .doc__link{ grid-column:auto; justify-self:end; font-size:14px; line-height:20px; }
  .acc:not(.acc--big):not(.acc--files):not(.acc--inline) .acc__title{ font:600 24px/28px var(--font-text); }
  .acc:not(.acc--big):not(.acc--files):not(.acc--inline) > .acc__head{ padding:28px 0; }
}
.acc--files .acc__head{ padding:0 0 24px; border-bottom:1px solid var(--border-subtle); }
.s + .s-files{ border-top:0; }
.s-files > .s-body:first-child{ padding-top:0; }
.s-files{ padding-top:32px; }
@media (min-width:1024px){ .s-files{ padding-top:0; } .s-files > .s-body:first-child{ padding-top:0; } .acc--files .acc__icon{ width:16px; height:16px; } }
.files{ list-style:none; margin:0; padding:0; }
.file a{ display:flex; flex-direction:column; gap:4px; padding:12px 0; border-bottom:1px solid var(--border-faint); color:inherit; text-decoration:none; }
.file a:hover .file__name{ text-decoration:underline; }
/* документ без загруженного файла — та же строка, но не ссылка */
.file__row{ display:flex; flex-direction:column; gap:4px; padding:12px 0; border-bottom:1px solid var(--border-faint); }
@media (min-width:1024px){ .file__row{ flex-direction:row; gap:0; padding:16px 0; } }
.file__name{ font:400 14px/20px var(--font-text); opacity:.85; }
.file__meta{ font:500 14px/20px var(--font-text); }
@media (min-width:1024px){
  .file a{ flex-direction:row; gap:0; padding:16px 0; }
  .file__name{ flex:0 0 320px; margin-right:48px; font-size:18px; line-height:24px; }
  .file__meta{ font-weight:400; }
  .file__meta{ font-size:20px; line-height:28px; }
}

/* ---------- ключ / значение, карта ---------- */
.kv{ margin:0; }
.kv__row{ display:flex; flex-direction:column; gap:4px; padding:12px 0; border-bottom:1px solid var(--border-subtle); }
.kv dt{ font:400 14px/20px var(--font-text); opacity:.7; }
.kv dd{ margin:0; font:400 16px/24px var(--font-text); }
.kv dd a{ color:inherit; text-decoration:none; }
.kv dd a:hover{ text-decoration:underline; }
.kv--small .kv__row{ padding:8px 0; }
.s-kv .acc--inline .acc__title{ font:700 16px/24px var(--font-text); text-transform:none; letter-spacing:0; }
.s-kv__after{ margin-top:32px; }
.kv--small dt{ font-size:12px; line-height:16px; }
.kv--small dd{ font-size:14px; line-height:20px; }
.s-kv__grid{ display:flex; flex-direction:column; gap:32px; }
.s-kv__after{ margin-top:24px; }
.acc--inline + .s-actions,.kv + .s-actions{ margin-top:32px; }
.map{ position:relative; aspect-ratio:1; background:#8b7068; }
.map iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; filter:grayscale(.3); }
@media (min-width:1024px){
  .s-kv .s-body{ padding-top:0; }
  .s-kv__grid{ flex-direction:row; gap:64px; }
  .s-kv__list{ flex:1 1 auto; }
  .s-kv--map .s-kv__list{ flex:0 0 540px; }
  .s-kv--map .s-kv{ padding-top:64px; }
  .map{ flex:1 1 auto; aspect-ratio:auto; min-height:480px; }
  .kv__row{ flex-direction:row; gap:48px; padding:16px 0; }
  .kv dt{ flex:0 0 320px; font-size:18px; line-height:24px; }
  .s-kv .s-head + .s-body{ padding-top:0; }
  .s-kv .acc--inline{ margin-top:32px; }
  .s-kv .acc--inline .acc__title{ font:500 24px/28px var(--font-text); text-transform:none; letter-spacing:0; }
  .s-kv .acc--inline .acc__icon{ width:20px; height:20px; }
  .s-kv__after{ margin-top:64px; opacity:.85; }
  .s-kv .s-actions{ margin-top:64px; }
  .kv dd{ font-size:20px; line-height:28px; }
  .s-kv--map .kv dt{ flex-basis:50%; }
  .kv--small dt{ flex-basis:33%; font-size:14px; line-height:20px; }
  .kv--small dd{ font-size:16px; line-height:24px; }
}
.s-kv--map{ padding-top:40px; }
@media (min-width:1024px){ .s-kv--map{ padding-top:64px; } }

/* ---------- полоса (режим работы кассы) ---------- */
.s-strip{ padding:0; }
.s-strip__inner{ display:flex; flex-direction:column; gap:12px; padding:32px var(--gutter); }
.s-strip__text{ margin:0; font:400 16px/24px var(--font-text); }
@media (min-width:1024px){ .s-strip__inner{ flex-direction:row; align-items:center; gap:48px; padding:40px 64px; } .s-strip__text{ font-size:20px; line-height:28px; } .s-strip .s-title--m{ font-size:40px; line-height:44px; } }

/* ---------- шаги / колонки ---------- */
.steps{ list-style:none; margin:0; padding:0; display:grid; gap:24px; }
.step{ padding-top:16px; border-top:1px solid var(--border-subtle); }
.s--light .step,.s--light .s-note--line{ border-color:var(--border-inverse); }
.step__label{ display:block; margin-bottom:12px; font:400 32px/36px var(--font-display); text-transform:uppercase; }
.step__title{ margin:0 0 8px; font:500 20px/24px var(--font-text); }
.step .rich--small{ font-size:16px; line-height:24px; }
.s-steps.s--light .s-title--l{ font-size:32px; line-height:36px; }
@media (min-width:1024px){
  .steps{ gap:32px; }
  .steps--2{ grid-template-columns:repeat(2,1fr); }
  .steps--3{ grid-template-columns:repeat(3,1fr); }
  .steps--4{ grid-template-columns:repeat(4,1fr); }
  .step{ padding-top:24px; }
  .step__label{ margin-bottom:16px; font-size:48px; line-height:52px; }
  .step__title{ font-size:24px; line-height:28px; margin-bottom:12px; }
  .step .rich--small{ font-size:20px; line-height:28px; }
  .s-steps.s--light .s-title--l{ font-size:80px; line-height:80px; }
}

/* ---------- карточки ---------- */
.cards{ display:grid; gap:16px; }
.card{ position:relative; display:flex; flex-direction:column; }
.card__image{ aspect-ratio:416/312; overflow:hidden; background:var(--bg-section-top); }
.card__image img{ width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.card:hover .card__image img{ transform:scale(1.03); }
.card__body{ display:flex; flex:1 1 auto; flex-direction:column; gap:8px; padding:20px 0 0; }
.cards--plate .card__body{ padding:20px; background:var(--wine-700); }
.cards--plate .card{ background:none; }
.card__title{ margin:0; font:400 32px/36px var(--font-display); }
.card .rich--small{ font-size:16px; line-height:24px; opacity:.85; }
.card__more .link-arrow{ font-size:12px; line-height:16px; }
.card__more .link-arrow .icon{ width:24px; height:18px; }
.cards{ gap:48px; }
.card__title a{ color:inherit; text-decoration:none; }
.card--link .card__title a::after{ content:""; position:absolute; inset:0; }
.card__more{ margin:auto 0 0; padding-top:8px; }
.card .tags{ margin:0; }
.cards--outline .card__body{ padding:20px 0 0; }
@media (min-width:1024px){
  .cards{ gap:32px; }
  .cards--2{ grid-template-columns:repeat(2,1fr); }
  .cards--3{ grid-template-columns:repeat(3,1fr); }
  .cards--2 .card__image{ aspect-ratio:640/312; }
  .card__body{ gap:12px; padding-top:24px; }
  .cards--plate .card__body{ padding:32px; gap:20px; }
  .card__title{ font-size:48px; line-height:52px; }
  .card .rich--small{ font-size:18px; line-height:24px; }
  .cards--plain .card__body{ gap:20px; }
  .card__more .link-arrow{ font-size:14px; line-height:20px; }
}

/* ---------- программы ---------- */
.programs{ list-style:none; margin:0; padding:0; border-top:1px solid var(--border-subtle); }
.program{ padding:24px 0; border-bottom:1px solid var(--border-subtle); }
.program:first-child{ padding-top:0; }
.program__title{ margin:0 0 4px; font:500 20px/24px var(--font-text); }
.program .rich{ opacity:.7; }
@media (min-width:1024px){ .program{ padding:24px 0; } .program:first-child{ padding-top:24px; } .program__title{ font-size:24px; line-height:28px; } .program .rich{ font-size:18px; line-height:24px; } }

/* ---------- шкала возврата ---------- */
.scale{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,1fr); border-left:1px solid var(--border-inverse); }
.scale__item{ display:flex; flex-direction:column; gap:8px; padding:16px; border-right:1px solid var(--border-inverse); border-bottom:1px solid var(--border-inverse); }
.scale__value{ font:400 48px/48px var(--font-display); }
.scale__label{ font:400 14px/20px var(--font-text); color:var(--text-inverse-body); }
@media (min-width:1024px){ .scale{ grid-template-columns:repeat(4,1fr); } .scale__item{ padding:32px; gap:12px; } .scale__value{ font-size:80px; line-height:80px; } .scale__label{ font-size:18px; line-height:24px; } }

/* ---------- каталог ---------- */
.catalog{ display:flex; gap:16px; margin:0 calc(-1 * var(--gutter)); padding:0 var(--gutter); overflow-x:auto; scroll-snap-type:x mandatory; scroll-padding-inline:var(--gutter); scrollbar-width:none; }
.catalog::after{ content:""; flex:0 0 calc(var(--gutter) - 16px); } /* отступ справа у последней карточки */
.catalog::-webkit-scrollbar{ display:none; }
.product{ flex:0 0 240px; scroll-snap-align:start; }
.product__image{ position:relative; aspect-ratio:304/400; background:var(--border-subtle); /* «нет фото» — rgba(225,215,196,.48) */ overflow:hidden; margin-bottom:12px; }
.product__image img{ width:100%; height:100%; object-fit:cover; }
.product__dots{ position:absolute; left:12px; bottom:12px; display:flex; gap:6px; }
.product__dots i{ width:6px; height:6px; border-radius:50%; background:var(--cream-100); opacity:.4; }
.product__dots i.is-current{ opacity:1; }
.product__arrows{ position:absolute; right:12px; bottom:12px; display:flex; gap:4px; }
.product__arrow{ display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; padding:0; border:1px solid var(--cream-100); background:var(--wine-900); color:var(--cream-100); cursor:pointer; }
.product__arrow .icon{ width:20px; height:15px; }
.product__arrow[data-dir="-1"] .icon{ transform:rotate(180deg); }
.product__title{ margin:0 0 4px; font:600 16px/20px var(--font-text); }
.product__price{ margin:0 0 8px; font:500 14px/20px var(--font-text); }
.product__text{ margin:0; font:400 12px/16px var(--font-text); opacity:.7; }
@media (min-width:1024px){ .catalog{ display:grid; grid-template-columns:repeat(4,1fr); gap:32px; margin:0; padding:0; overflow:visible; } .product{ flex:none; } .catalog::after{ display:none; } .product__title{ font-size:24px; line-height:28px; } .product__price{ font-size:20px; line-height:28px; } .product__text{ font-size:14px; line-height:20px; } }

/* ---------- рамки-карточки ---------- */
.boxes{ display:grid; gap:16px; }
.box{ display:flex; flex-direction:column; gap:12px; padding:24px; border:1px solid var(--border-subtle); }
.box__title{ margin:0; font:500 20px/24px var(--font-text); }
.box__text{ margin:0; font:400 14px/20px var(--font-text); opacity:.85; }
.box__more{ margin:auto 0 0; padding-top:4px; }
.box .link-arrow{ font-size:12px; line-height:16px; }
@media (min-width:1024px){ .boxes--3{ grid-template-columns:repeat(3,1fr); gap:32px; } .boxes--2{ grid-template-columns:repeat(2,1fr); gap:32px; } .box{ padding:32px; gap:16px; } .box__title{ font-size:24px; line-height:28px; } .box__text{ font-size:18px; line-height:24px; } .box .link-arrow{ font-size:14px; line-height:20px; } }

/* ---------- совет ---------- */
.council{ list-style:none; margin:0; padding:0; display:grid; gap:0 32px; }
.council__item{ padding:16px 0; border-bottom:1px solid var(--border-subtle); }
.s-council .group-label--plain{ font:500 20px/24px var(--font-text); }
@media (min-width:1024px){ .s-council .group-label--plain{ font:600 24px/28px var(--font-text); text-transform:uppercase; letter-spacing:.02em; } .s-council .s-head + .s-body{ padding-top:32px; } }
.council__name{ margin:0 0 4px; font:500 16px/24px var(--font-text); }
.council__text{ margin:0; font:400 14px/20px var(--font-text); opacity:.85; }
@media (min-width:1024px){ .council--2{ grid-template-columns:1fr 1fr; } .council__item{ padding:24px 0; } .council__name{ font-size:20px; line-height:28px; } .council__text{ font-size:18px; line-height:24px; } }
.s-council .s-body{ padding-top:40px; }
@media (min-width:1024px){ .s-council > .s-body:first-child{ padding-top:64px; } .s-council .s-body{ padding-top:64px; } }
.s-faces .media-row .media-card{ width:100%; }
@media (min-width:1024px){ .s-faces .media-row .media-card{ width:576px; } }
@media (min-width:600px) and (max-width:1023px){ .s-ti__image{ aspect-ratio:auto; max-height:420px; } .members{ display:grid; grid-template-columns:1fr 1fr; gap:0 24px; } .news-grid{ grid-template-columns:1fr 1fr; } }

/* ---------- история в лицах ---------- */
.faces{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,1fr); gap:24px 12px; }
.face a{ display:flex; flex-direction:column; gap:12px; color:inherit; text-decoration:none; }
.face__photo{ display:flex; align-items:center; justify-content:center; aspect-ratio:1; background:var(--bg-section-top); overflow:hidden; }
.face__photo img{ width:100%; height:100%; object-fit:cover; filter:grayscale(1); transition:filter .3s; }
.face a:hover img{ filter:none; }
.face__initials{ font:400 48px/1 var(--font-display); }
.s-text + .s-faces{ border-top:0; }
.face__name{ font:400 20px/24px var(--font-display); }
@media (min-width:1024px){ .faces{ grid-template-columns:repeat(4,1fr); gap:48px 32px; } .face__initials{ font-size:80px; } .face__name{ font-size:28px; line-height:32px; } }

/* ---------- формы ---------- */
.form{ position:relative; display:flex; flex-direction:column; gap:20px; }
.form--plate{ padding:28px 20px; background:var(--wine-700); gap:24px; }
.form--plate .form__actions .btn{ width:100%; min-height:56px; }
.field__input::placeholder{ font-size:16px; }
.check input{ width:24px; height:24px; }
.form__grid{ display:grid; gap:16px; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field__label{ font:400 14px/20px var(--font-text); }
.field__input{ width:100%; min-height:48px; padding:12px 16px; border:1px solid transparent; border-radius:0; background:var(--cream-100); color:var(--wine-950); font:400 16px/24px var(--font-text); appearance:none; }
.field__input::placeholder{ color:rgba(37,11,9,.55); }
.field__input:focus{ outline:2px solid var(--cream-100); outline-offset:2px; }
.field__input[aria-invalid="true"]{ border-color:#d9534f; box-shadow:inset 0 0 0 1px #d9534f; }
textarea.field__input{ resize:vertical; min-height:112px; }
.field__select{ position:relative; display:block; }
.field__select .icon{ position:absolute; right:16px; top:50%; width:20px; height:20px; transform:translateY(-50%); color:var(--wine-950); pointer-events:none; }
.check{ display:flex; gap:12px; align-items:flex-start; font:400 12px/16px var(--font-text); cursor:pointer; }
.check input{ flex:0 0 auto; width:20px; height:20px; margin:0; accent-color:var(--cream-100); }
.check a{ color:inherit; }
.form__actions{ display:flex; flex-direction:column; align-items:flex-start; gap:12px; }
.form__note{ margin:0; font:400 12px/16px var(--font-text); opacity:.8; }
.form__status{ margin:0; font:500 16px/24px var(--font-text); }
.form__status:empty{ display:none; }
.form.is-sent .form__grid,.form.is-sent .check,.form.is-sent .form__actions{ display:none; }
.s-feedback{ padding-top:32px; }
.s-feedback__grid{ display:flex; flex-direction:column; gap:24px; }
.s-feedback__aside{ display:flex; flex-direction:column; gap:16px; }
.s-feedback .box{ display:flex; flex-direction:column; gap:12px; padding:24px 20px; }
.s-feedback .box__title{ margin:0; }
.s-feedback .box .rich--small{ font-size:16px; line-height:24px; opacity:.85; }
.s-feedback .box__more{ margin:0; }
@media (min-width:1024px){ .s-feedback .box{ padding:32px; } .s-feedback .box .rich--small{ font-size:18px; line-height:24px; } }
.s-feedback .s-title{ margin-bottom:8px; }
@media (min-width:1024px){
  .form--plate{ padding:56px; }
  .form--plate .form__actions .btn{ width:auto; }
  .field__input::placeholder{ font-size:18px; }
  .form__grid{ grid-template-columns:1fr 1fr; gap:24px; }
  .field--wide{ grid-column:1 / -1; }
  .check{ font-size:14px; line-height:20px; }
  .form__actions{ flex-direction:row; align-items:center; gap:24px; }
  .s-feedback{ padding-top:48px; }
  .s-feedback__grid{ display:grid; grid-template-columns:1fr 416px; gap:96px; align-items:start; }
}

/* ---------- модальное окно ---------- */
.modal{ width:min(720px, calc(100% - 32px)); max-height:calc(100% - 32px); padding:32px 24px; border:0; background:var(--bg-page); color:var(--text-primary); }
.modal::backdrop{ background:#0a0c0b; }
.modal__close{ position:absolute; top:12px; right:12px; display:inline-flex; width:40px; height:40px; align-items:center; justify-content:center; background:none; border:0; color:inherit; cursor:pointer; }
.modal__close .icon{ width:24px; height:24px; }
.modal__eyebrow{ margin:0; font:400 14px/20px var(--font-text); text-transform:uppercase; opacity:.7; }
.modal__title{ margin:0 40px 8px 0; font:400 32px/36px var(--font-display); text-transform:uppercase; }
@media (min-width:1024px){ .modal{ padding:48px 56px; } .modal__title{ font-size:48px; line-height:52px; } }

/* ---------- Афиша ---------- */
.afisha{ padding-top:24px; }
.afisha__filters{ margin:0; padding:0 var(--gutter); }
.afisha__filters.chips--stretch{ flex-wrap:wrap; overflow:visible; }
.afisha__filters .chip{ min-height:36px; padding:8px 16px; }
.afisha__list{ padding:0 var(--gutter); }
.afisha__month{ margin-top:32px; }
.afisha__month + .afisha__month{ padding-top:32px; border-top:1px solid var(--border-subtle); }
.afisha__month-title{ margin:0 0 8px; font:400 32px/36px var(--font-display); text-transform:uppercase; }
.afisha .event-row:last-child{ border-bottom:0; }
.empty-state{ display:flex; flex-direction:column; align-items:flex-start; gap:20px; padding:48px 0 96px; }
.empty-state__title{ margin:0; font:400 32px/36px var(--font-display); }
.empty-state__text{ margin:0; font:400 16px/24px var(--font-text); opacity:.85; }
.empty-state__actions{ display:flex; flex-direction:column; align-items:flex-start; gap:16px; margin:0; padding-top:12px; }
@media (min-width:1024px){
  .afisha{ padding-top:48px; }
  .afisha__filters{ padding:0 64px; }
  .afisha__filters.chips--stretch{ flex-wrap:nowrap; }
  .afisha__filters .chip{ min-height:48px; padding:12px 24px; }
  .afisha__list{ padding:0 64px; }
  .afisha__month{ margin-top:48px; }
  .afisha__month + .afisha__month{ padding-top:32px; }
  .afisha__month-title{ margin-bottom:16px; font-size:48px; line-height:52px; }
  .empty-state{ padding:80px 0 160px; }
  .empty-state__title{ font-size:48px; line-height:52px; }
  .empty-state__text{ font-size:20px; line-height:28px; }
  .empty-state__actions{ flex-direction:row; gap:16px; }
}
.event-row__meta{ text-transform:uppercase; }

/* ---------- событие (21, 30.x) ---------- */
.page-hero--event .page-hero__buttons{ flex-direction:column; align-items:flex-start; gap:16px; margin-top:8px; }
.page-hero--event .page-hero__buttons .btn{ width:100%; justify-content:space-between; }
.btn.is-disabled{ opacity:.4; pointer-events:none; }
.facts{ display:flex; flex-direction:column; padding:0 var(--gutter); border-bottom:1px solid var(--border-subtle); }
.fact{ display:flex; flex-direction:column; gap:8px; padding:16px 0; border-bottom:1px solid var(--border-subtle); }
.fact:last-child{ border-bottom:0; }
.fact__label{ font:400 14px/20px var(--font-text); opacity:.6; }
.fact__value{ font:500 20px/24px var(--font-text); }
.alert-wrap{ padding:24px var(--gutter) 0; }
.alert{ display:flex; flex-direction:column; gap:8px; padding:16px 20px; border:1px solid var(--wine-950); border-left-width:4px; background:var(--cream-100); color:var(--wine-950); }
.alert p{ margin:0; }
.alert a{ color:inherit; }
.alert__title{ font:700 16px/24px var(--font-text); }
.alert__text{ font:400 16px/24px var(--font-text); opacity:.85; }
.event{ padding-top:40px; }
.event__grid{ display:flex; flex-direction:column; gap:32px; padding:0 var(--gutter); }
.event__desc .rich p:first-child{ font-weight:500; }
.event__desc .rich small{ opacity:.6; }
.event__aside{ display:flex; flex-direction:column; gap:16px; }
.event .box__text{ font-size:16px; line-height:24px; }
.event .gallery{ margin-top:48px; }
.event-other{ border-top:0; }
@media (min-width:1024px){
  .page-hero--event .page-hero__buttons{ flex-direction:row; align-items:center; gap:40px; margin-top:16px; }
  .page-hero--event .page-hero__buttons .btn{ width:auto; }
  .facts{ display:grid; grid-template-columns:repeat(3,1fr); padding:0 64px; border-bottom:0; }
  .fact{ min-height:148px; padding:32px; border-bottom:1px solid var(--border-subtle); border-left:1px solid var(--border-subtle); }
  .fact:last-child{ border-bottom:1px solid var(--border-subtle); }
  .fact:nth-child(3n){ border-right:1px solid var(--border-subtle); }
  .fact:last-child{ border-right:1px solid var(--border-subtle); }
  .fact__value{ font-size:24px; line-height:28px; }
  .alert-wrap{ padding:40px 64px 0; }
  .alert{ padding:24px 28px; }
  .alert__title{ font:500 24px/28px var(--font-text); }
  .alert__text{ font-size:20px; line-height:28px; }
  .event{ padding-top:64px; }
  .event__grid{ display:grid; grid-template-columns:1fr 416px; gap:64px; padding:0 64px; }
  .event__desc .rich p{ margin-bottom:24px; }
  .event .gallery{ margin-top:64px; }
}
.gallery--strip .gallery__item{ width:300px; aspect-ratio:3/2; }
@media (min-width:1024px){ .gallery--strip .gallery__track{ gap:32px; } .gallery--strip .gallery__item{ width:432px; } .gallery--strip .gallery__bar{ padding-top:16px; } .gallery--strip .gallery__caption{ font-size:14px; line-height:20px; opacity:.6; } }

/* ---------- новости ---------- */
.news-list{ padding-top:32px; }
.news-grid{ display:grid; gap:32px; }
.news-grid .news-card{ margin:0; padding:0 0 24px; }
.news-grid .news-card__title{ font-size:20px; line-height:24px; }
.pager .nav-links{ display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:48px; }
.pager .page-numbers{ display:inline-flex; align-items:center; justify-content:center; min-width:40px; height:40px; padding:0 8px; border:1px solid transparent; color:inherit; text-decoration:none; font:600 18px/1 var(--font-text); opacity:.7; }
.pager .page-numbers.current{ border-color:var(--border-subtle); opacity:1; }
.pager .page-numbers.dots{ border:0; }
.pager .screen-reader-text{ position:absolute; clip:rect(0 0 0 0); width:1px; height:1px; overflow:hidden; }
.article{ padding-top:40px; padding-bottom:32px; }
.article__body{ max-width:1312px; }
.article__body p:first-child{ font-weight:500; }
.article .gallery{ margin-top:40px; }
.page-hero--news .page-hero__eyebrow{ font-size:16px; line-height:20px; }
.more-news{ border-top:1px solid var(--border-subtle); }
.more-news__title{ font-size:48px; line-height:48px; }
.more-news .news-card__cover{ height:240px; }
.more-news .news-card__title{ font-size:20px; line-height:24px; }
.more-news__all{ margin:0; padding:24px var(--gutter) 0; }
@media (min-width:1024px){
  .news-list{ padding-top:48px; }
  .news-list > .s-body:first-child{ padding-top:0; }
  .news-grid{ grid-template-columns:repeat(3,1fr); }
  .news-grid{ grid-template-columns:repeat(3,1fr); gap:48px 32px; }
  .news-grid .news-card{ padding:0; border:0; }
  .news-grid .news-card__title{ font-size:24px; line-height:28px; }
  .pager .nav-links{ margin-top:48px; }
  .pager .page-numbers{ min-width:48px; height:48px; }
  .article{ padding-top:64px; padding-bottom:64px; }
  .article__body p{ margin-bottom:24px; }
  .article .gallery{ margin-top:64px; }
  .page-hero--news .page-hero__title.is-normal{ font-size:80px; line-height:80px; }
  .page-hero--news .page-hero__eyebrow{ font-size:20px; line-height:32px; }
  .more-news{ padding:96px 0; }
  .more-news .s-head.more-news__head{ padding:0 64px 40px; }
  .more-news__title{ font-size:56px; line-height:60px; text-transform:none; }
  .more-news .news-card__cover{ height:220px; }
  .more-news .news-card{ gap:12px; }
  .more-news .news-card__date{ font-size:16px; line-height:24px; }
  .more-news .news-card__title{ font-size:20px; line-height:28px; }
  .more-news__all{ display:none; }
}

/* ---------- поиск, 404 ---------- */
.search-form{ display:flex; align-items:center; gap:16px; padding-bottom:12px; border-bottom:1px solid var(--cream-100); }
.search-form > .icon{ flex:0 0 auto; width:24px; height:24px; }
.search-form__input{ flex:1 1 auto; min-width:0; padding:4px 0; border:0; border-radius:0; background:none; color:inherit; font:400 32px/36px var(--font-display); outline:none; }
.search-form__input::placeholder{ color:inherit; opacity:.4; }
.search-form__input::-webkit-search-cancel-button{ -webkit-appearance:none; }
.search-page{ padding-top:32px; padding-bottom:64px; }
.search-page .s-body{ display:flex; flex-direction:column; gap:32px; }
.search-page__count{ margin:0; font:400 14px/20px var(--font-text); opacity:.6; }
.search-page__tabs{ margin:-16px 0 0; }
.results{ list-style:none; margin:0; padding:0; max-width:864px; }
.result{ display:flex; flex-direction:column; gap:8px; padding:20px 0; border-top:1px solid var(--border-subtle); }
.result__type{ margin:0; font:400 14px/20px var(--font-text); opacity:.6; }
.result__title{ margin:0; font:500 20px/24px var(--font-text); text-transform:uppercase; }
.result__title a{ color:inherit; text-decoration:underline; text-underline-offset:4px; }
.result__text{ margin:0; font:400 16px/24px var(--font-text); opacity:.85; }
.search-empty{ display:flex; flex-direction:column; align-items:flex-start; gap:16px; padding-top:8px; }
.search-empty__title{ margin:0; font:400 32px/36px var(--font-display); }
.search-empty__text{ margin:0; font:400 16px/24px var(--font-text); opacity:.85; }
.search-empty .chips{ margin:0; }
.error-page{ display:flex; align-items:flex-start; padding:48px var(--gutter) 80px; overflow:hidden; }
.error-page__inner{ position:relative; display:flex; flex-direction:column; align-items:flex-start; gap:16px; }
.error-page__code{ margin:0; font:400 160px/140px var(--font-display); }
.error-page__title{ margin:0; font:400 32px/36px var(--font-display); text-transform:uppercase; }
.error-page__text{ margin:0; max-width:640px; font:400 16px/24px var(--font-text); }
.error-page__actions{ display:flex; flex-direction:column; align-items:flex-start; gap:16px; margin:8px 0 0; }
.error-page .btn{ gap:32px; padding:16px 24px; min-height:56px; font-size:18px; line-height:24px; }
.error-page__text--wide{ max-width:none; }
.site-header--bare{ display:flex; align-items:center; }
@media (min-width:1024px){
  .search-form{ gap:24px; padding-bottom:20px; }
  .search-form__input{ font-size:48px; line-height:52px; }
  .search-page{ padding-top:48px; padding-bottom:64px; }
  .search-page .s-body{ gap:48px; }
  .search-page__tabs{ margin-top:-24px; }
  .result{ gap:10px; padding:28px 0; }
  .result__title{ font-size:24px; line-height:28px; }
  .result__text{ font-size:18px; line-height:24px; }
  .search-empty{ padding-top:24px; }
  .search-empty__title{ font-size:48px; line-height:52px; }
  .search-empty__text{ font-size:20px; line-height:28px; }
  .error-page{ padding:96px 64px 160px; }
  .error-page__inner{ gap:24px; }
  .error-page__code{ font-size:280px; line-height:240px; }
  .error-page__title{ font-size:48px; line-height:52px; }
  .error-page__text{ font-size:20px; line-height:28px; }
  .error-page__actions{ flex-direction:row; gap:32px; margin-top:16px; }
}

/* ---------- карта сайта ---------- */
.sitemap{ display:grid; gap:32px; }
.sitemap__title{ margin:0 0 20px; font:400 32px/36px var(--font-display); text-transform:uppercase; }
.sitemap__title a{ color:inherit; text-decoration:none; }
.sitemap ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.sitemap li a{ color:inherit; font:400 16px/24px var(--font-text); text-decoration:none; opacity:.85; }
@media (min-width:1024px){ .sitemap__title{ font-size:48px; line-height:52px; } .sitemap li a{ font-size:18px; line-height:24px; } }
.sitemap li a:hover{ text-decoration:underline; }
@media (min-width:1024px){ .sitemap{ grid-template-columns:repeat(3,1fr); gap:64px 32px; } .sitemap__group{ padding-top:20px; border-top:1px solid var(--border-subtle); } }

/* ---------- светлые секции: линии ---------- */
.s--light .acc,.s--light .kv__row,.s--light .timeline,.s--light .timeline__row,.s--light .chapter,.s--light .doc,.s--light .program,.s--light .programs,.s--light .toggle--bar,.s--light .tab-more__toggle{ border-color:var(--border-inverse); }
.s--light .chip{ border-color:var(--border-inverse); }

/* ---------- кнопки, правовой текст, анкета ---------- */
.buttons{ display:flex; flex-direction:column; align-items:stretch; gap:16px; margin:0; }
.buttons .btn{ width:100%; min-height:56px; justify-content:space-between; }
@media (min-width:1024px){ .buttons{ flex-direction:row; align-items:flex-start; } .buttons .btn{ width:auto; gap:32px; padding:16px 24px; } }
/* инструкции карточками (32.4) */
.s-guide > .s-body:first-child{ padding-top:40px; }
.guide{ display:flex; flex-direction:column; gap:24px; }
.guide__card{ display:flex; flex-direction:column; gap:24px; padding:24px 20px; background:var(--cream-100); color:var(--wine-950); }
.guide__title{ margin:0; font:700 16px/24px var(--font-text); }
.guide__steps{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:24px; }
.guide__step{ display:flex; flex-direction:column; gap:8px; padding-top:24px; border-top:1px solid #442623; }
.guide__label{ font:400 32px/36px var(--font-display); text-transform:uppercase; }
.guide__step-title{ margin:0; font:500 20px/24px var(--font-text); }
.guide__text{ font:400 16px/24px var(--font-text); color:#26241f; }
.guide__text a{ color:inherit; }
.boxes--plain .box{ padding:0; border:0; }
.boxes--plain .box .rich--small{ opacity:.85; }
.s-boxes + .s-buttons{ border-top:0; }
.s-guide + .s-boxes{ border-top:0; padding-bottom:0; }
.s-guide{ padding-bottom:0; }
.s-guide + .s-boxes > .s-body:first-child{ padding-top:48px; }
@media (min-width:1024px){ .s-guide + .s-boxes > .s-body:first-child{ padding-top:96px; } .s-boxes + .s-buttons > .s-body:first-child{ padding-top:96px; } }
@media (min-width:1024px){
  .s-guide > .s-body:first-child{ padding-top:48px; }
  .guide{ flex-direction:row; gap:32px; }
  .guide__card{ flex:1 1 0; padding:40px; }
  .guide__title{ font:500 24px/28px var(--font-text); }
  .guide__label{ font-size:48px; line-height:52px; }
  .guide__step-title{ font-size:24px; line-height:28px; }
  .guide__text{ font-size:20px; line-height:28px; }
  .boxes--plain .box .rich--small{ font-size:18px; line-height:24px; }
  .s-buttons{ padding-bottom:120px; }
}
.s-legal__grid{ display:flex; flex-direction:column; gap:32px; }
.legal-toc{ display:none; }
.legal-toc__title{ margin:0 0 12px; font:400 14px/20px var(--font-text); opacity:.6; }
.legal-toc ol{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.legal-toc a{ color:inherit; text-decoration:none; font:400 14px/20px var(--font-text); }
.legal-toc a:hover{ text-decoration:underline; }
.legal__item{ padding-top:24px; border-top:1px solid var(--border-subtle); }
.legal__item + .legal__item{ margin-top:32px; }
.legal__title{ margin:0 0 12px; font:500 18px/24px var(--font-text); }
.legal .rich{ opacity:.85; }
.option{ position:relative; cursor:pointer; }
.option input{ position:absolute; opacity:0; }
.option{ display:flex; align-items:center; gap:12px; min-height:40px; cursor:pointer; }
.option input{ position:absolute; width:1px; height:1px; opacity:0; }
.option__mark{ flex:0 0 auto; width:24px; height:24px; border:1px solid var(--cream-100); border-radius:50%; display:grid; place-content:center; }
.option input:checked + .option__mark::after{ content:""; width:12px; height:12px; border-radius:50%; background:var(--cream-100); }
.option input:focus-visible + .option__mark{ outline:2px solid var(--border-strong); outline-offset:2px; }
.option input[aria-invalid="true"] + .option__mark{ border-color:#b42318; }
.option span:last-child{ font:400 14px/20px var(--font-text); }
.survey{ max-width:864px; gap:28px; }
.survey .question{ margin:0; padding:0; border:0; }
.survey .question__title{ margin:0 0 12px; padding:0; font:700 16px/24px var(--font-text); }
.survey .question__options{ display:flex; flex-direction:column; gap:12px; }
.survey .question--inline .question__options{ flex-direction:row; flex-wrap:wrap; gap:12px 32px; }
.survey .btn--primary{ background:var(--cream-100); color:var(--wine-950); border-color:var(--cream-100); }
.s-survey > .s-body:first-child{ padding-top:48px; }
.s-survey{ padding-bottom:64px; }
@media (min-width:1024px){
  .s-legal__grid{ display:grid; grid-template-columns:304px 832px; gap:96px; align-items:start; }
  .legal-toc{ display:block; position:sticky; top:24px; }
  .legal__item{ padding-top:32px; }
  .legal__item + .legal__item{ margin-top:48px; }
  .legal__title{ font-size:24px; line-height:28px; margin-bottom:16px; }
  .legal .rich{ font-size:18px; line-height:24px; }
  .survey{ gap:40px; }
  .survey .question__title{ font:500 24px/28px var(--font-text); margin-bottom:12px; }
  .s-survey > .s-body:first-child{ padding-top:48px; }
  .s-survey{ padding-bottom:120px; }
}
.acc--files .acc__head{ justify-content:space-between; } .acc--files .acc__head .s-title{ flex:1 1 auto; }

/* ---------- просмотр фото ---------- */
.lightbox{ display:flex; flex-direction:column; width:100vw; max-width:none; height:100vh; max-height:none; margin:0; padding:16px 24px 24px; border:0; background:#0a0c0b; color:var(--cream-100); }
.lightbox:not([open]){ display:none; }
.lightbox::backdrop{ background:#0a0c0b; }
.lightbox__top{ display:flex; align-items:center; justify-content:space-between; }
.lightbox__count{ margin:0; font:400 14px/20px var(--font-text); opacity:.6; }
.lightbox__btn{ display:inline-flex; align-items:center; justify-content:center; padding:0; border:0; background:none; color:inherit; cursor:pointer; }
.lightbox__close{ width:32px; height:32px; }
.lightbox__close .icon{ width:24px; height:24px; }
.lightbox__stage{ flex:1 1 auto; display:flex; flex-direction:column; justify-content:center; gap:12px; min-height:0; margin:0; }
.lightbox__img{ display:block; width:100%; max-height:100%; object-fit:contain; }
.lightbox__caption{ font:400 14px/20px var(--font-text); opacity:.75; }
.lightbox__caption:empty{ display:none; }
.lightbox__nav{ display:flex; gap:8px; margin-top:16px; }
.lightbox__prev,.lightbox__next{ width:48px; height:44px; border:1px solid var(--border-subtle); }
.lightbox__prev .icon{ transform:rotate(180deg); }
.lightbox__prev .icon,.lightbox__next .icon{ width:32px; height:24px; }
.lightbox__thumbs{ display:flex; gap:8px; margin-top:16px; overflow-x:auto; scrollbar-width:none; }
.lightbox__thumbs::-webkit-scrollbar{ display:none; }
.lightbox__thumb{ flex:0 0 auto; width:56px; height:40px; padding:0; border:1px solid transparent; background:none; opacity:.45; cursor:pointer; }
.lightbox__thumb img{ display:block; width:100%; height:100%; object-fit:cover; }
.lightbox__thumb.is-current{ opacity:1; border-color:var(--cream-100); }
@media (min-width:1024px){
  .lightbox{ padding:32px 64px 32px; }
  .lightbox__close{ width:32px; height:32px; }
  .lightbox__close .icon{ width:32px; height:32px; }
  .lightbox__stage{ position:relative; align-items:center; padding:24px 120px; }
  .lightbox__img{ max-width:1080px; max-height:720px; }
  .lightbox__nav{ position:absolute; left:64px; right:64px; top:50%; display:flex; justify-content:space-between; margin:0; transform:translateY(-50%); pointer-events:none; }
  .lightbox__prev,.lightbox__next{ width:56px; height:44px; border:0; pointer-events:auto; }
  .lightbox__thumbs{ justify-content:center; margin-top:0; }
  .lightbox__thumb{ width:96px; height:64px; }
}

/* ===== правки после ревью 08.11 ===== */
/* линии-разделители секций */
.s + .s.s--border,.s.s--border{ border-top:1px solid var(--border-subtle); }
/* светлые секции — cream-100, как в макете; «Как купить билет» — бежевый cream-200 */
.s--light{ background:var(--bg-page); }
.s--beige{ background:var(--cream-200); color:var(--wine-950); }
/* отступы секций без заголовка */
@media (min-width:1024px){
  .s-text > .s-body:first-child{ padding-top:64px; }
  .s-text{ padding-bottom:64px; }
  .page-hero + .s-text > .s-body:first-child{ padding-top:96px; }
  .page-hero + .s-text{ padding-bottom:96px; }
  .s-text + .s .s-head{ padding-top:64px; }
  .s-text + .s-steps > .s-body:first-child{ padding-top:96px; }
  .s-people > .s-body:first-child{ padding-top:64px; }
  .s-people{ padding-bottom:64px; }
  .s-people + .s-gallery > .gallery:first-child{ padding-top:0; }
  .s-text + .s-gallery > .gallery:first-child{ padding-top:48px; }
  .s-kv > .s-body:first-child{ padding-top:0; }
  .s-feedback > .s-body:first-child{ padding-top:0; }
  .s-feedback{ padding-bottom:48px; }
  .cards{ gap:64px 32px; }
  .s-programs .gallery__item{ width:496px; aspect-ratio:496/416; }
}
.chapters{ border-top:0; }
/* одиночные аккордеоны (Правила, Расписание, Стоимость) */
.s-accordion:not(:has(.s-head)){ padding-bottom:0; }
.s-accordion:not(:has(.s-head)) > .s-body{ padding-top:0; }
.acc--big{ border-bottom:0; }
@media (min-width:1024px){ .acc--big > .acc__head{ padding:64px 0; } .acc--big .acc__icon{ width:32px; height:32px; } }
/* шкала возврата: разделители только между ячейками */
.scale{ border-left:1px solid var(--border-inverse); border-top:1px solid var(--border-inverse); }
.scale__item{ border:0; border-right:1px solid var(--border-inverse); border-bottom:1px solid var(--border-inverse); padding:20px 16px; }
.s-scale .s-note--line{ margin-top:24px; padding-top:0; border-top:0; font-size:14px; line-height:20px; }
.s-scale .s-head + .s-body{ padding-top:0; }
@media (min-width:1024px){ .s-scale .s-note--line{ margin-top:24px; } .scale{ gap:0; } }
.page-hero__lead{ max-width:1312px; }
/* контакты: список + карта */
@media (min-width:1024px){
  .s-kv--map .s-kv__grid{ align-items:flex-start; gap:64px; }
  .s-kv--map .s-kv__list{ flex:0 0 608px; }
  .s-kv--map .kv dt{ flex:0 0 344px; }
  .map{ height:480px; min-height:0; }
}
.s-kv--map .kv__row{ border-color:var(--border-faint); }
.map{ aspect-ratio:auto; height:280px; }
/* поля форм как в макете */
.field__input{ background:#fff; min-height:56px; }
textarea.field__input{ min-height:128px; }
.check input{ appearance:none; -webkit-appearance:none; width:20px; height:20px; border:1px solid var(--cream-100); background:transparent; cursor:pointer; display:grid; place-content:center; }
.check input:checked{ background:var(--cream-100); }
.check input:checked::after{ content:""; width:10px; height:6px; border-left:2px solid var(--wine-950); border-bottom:2px solid var(--wine-950); transform:rotate(-45deg) translate(1px,-1px); }
.check input:focus-visible{ outline:2px solid var(--cream-100); outline-offset:2px; }
/* педагоги: таблица квалификации и подписи групп (макет студии) */
.person .kv--small .kv__row{ padding:12px 0; }
.person .toggle--bar[aria-expanded="true"]{ border-top:0; padding-top:0; }
.group-label{ font-size:14px; line-height:20px; }
@media (min-width:1024px){
  .person .kv--small dt{ flex:0 0 240px; font-size:14px; line-height:20px; opacity:.7; }
  .person .kv--small dd{ font-size:18px; line-height:24px; }
  .person .kv--small .kv__row{ gap:24px; }
  .person .more{ margin-top:16px; padding-top:16px; border-top:1px solid var(--border-subtle); }
  .person .toggle--bar{ font-size:18px; line-height:24px; }
  .group-label{ margin-top:40px; padding-bottom:16px; font:400 22px/32px var(--font-text); border-bottom:0; }
}
/* модальное окно: отступы внутри формы, чтобы клик по полям не закрывал окно */
/* окно заявки — светлое (макеты 22.x, 29.x) */
.modal{ padding:0; }
.modal > .form{ padding:16px 24px 32px; gap:24px; }
.modal.is-light{ width:100%; max-width:none; height:100%; max-height:none; margin:0; background:var(--cream-100); color:var(--wine-950); }
.modal.is-light .modal__head{ display:flex; flex-direction:column-reverse; gap:12px; }
.modal.is-light .modal__head-text{ display:flex; flex-direction:column; gap:12px; }
.modal.is-light .modal__close{ position:static; align-self:flex-end; width:40px; height:40px; color:var(--wine-950); }
.modal.is-light .modal__title{ margin:0; }
.modal.is-light .modal__lead{ margin:0; color:#26241f; opacity:1; }
.modal.is-light .field__label{ color:#26241f; }
.modal.is-light .field__input{ background:var(--cream-100); border-color:#442623; }
.modal.is-light .field__input:focus{ outline-color:#442623; }
.modal.is-light .field__input::placeholder{ color:#26241f; opacity:.6; }
.modal.is-light .field__select .icon{ color:var(--wine-950); }
.modal.is-light .check{ color:#26241f; }
.modal.is-light .check input{ width:24px; height:24px; border-color:#442623; }
.modal.is-light .check input:checked{ background:var(--wine-950); border-color:var(--wine-950); }
.modal.is-light .check input:checked::after{ border-color:var(--cream-100); }
.modal.is-light .check input:focus-visible{ outline-color:#442623; }
.modal.is-light .btn{ border-color:var(--wine-950); color:var(--wine-950); }
.modal.is-light .btn--primary{ background:var(--wine-950); color:var(--cream-100); }
.modal.is-light .form__note{ color:#26241f; opacity:.7; }
.modal.is-light .field__file{ color:var(--wine-950); font-weight:400; text-transform:none; letter-spacing:0; }
.modal.is-light .form__done-text a{ color:inherit; }
.modal.is-light .form__actions .btn{ width:100%; min-height:56px; font-size:18px; line-height:24px; }
.modal.is-light .form__grid{ gap:16px; }
@media (min-width:1024px){
  .modal.is-light{ width:720px; height:fit-content; max-height:calc(100% - 64px); margin:auto; } /* по контенту: у открытого dialog inset:0, height:auto растягивал окно */
  .modal > .form{ padding:56px; gap:32px; }
  .modal.is-light .modal__head{ flex-direction:row; align-items:flex-start; justify-content:space-between; gap:24px; }
  .modal.is-light .modal__head-text{ gap:16px; }
  .modal.is-light .modal__close{ align-self:flex-start; }
  .modal.is-light .form__grid{ gap:24px; }
  .modal.is-light .form__actions .btn{ width:auto; }
}
/* ошибки заполнения (29.1) и ошибка отправки (29.3) */
.field__input[aria-invalid="true"]{ border:2px solid #b42318; box-shadow:none; }
.field__error,.check__error{ display:block; color:#b42318; font:400 14px/20px var(--font-text); }
.check__error{ flex-basis:100%; font-size:16px; line-height:24px; }
.check{ flex-wrap:wrap; }
.check input[aria-invalid="true"]{ border:2px solid #b42318; }
.form__error{ padding:16px 20px; border:1px solid #b42318; background:none; }
.form__error-title{ color:#b42318; font:500 18px/24px var(--font-text); }
.form__error-text{ font:400 16px/24px var(--font-text); }
.modal.is-light .form__error-text{ color:#26241f; }
.form.is-sending .btn[type=submit]{ opacity:.7; }
@media (min-width:1024px){ .check__error{ font-size:18px; line-height:24px; } .form__error-text{ font-size:18px; line-height:24px; } }
.form__done-actions{ display:flex; flex-wrap:wrap; gap:16px; margin:0; }
.modal.is-light .field__input[aria-invalid="true"],.modal.is-light .check input[aria-invalid="true"]{ border:2px solid #b42318; }
/* мобильные свертки: скрытое скрыто всегда до 1024 */
@media (max-width:1023px){ .m-more[hidden]{ display:none !important; } .cards__more .btn{ width:100%; min-height:44px; justify-content:center; } }
@media (max-width:1023px){ .s-programs .s-title{ font-size:32px; line-height:36px; } .program .rich{ font-size:16px; line-height:24px; } .card__image{ aspect-ratio:342/240; } .s-title--l{ font-size:48px; line-height:48px; } }
@media (min-width:600px) and (max-width:1023px){ .cards{ display:grid; grid-template-columns:1fr 1fr; gap:32px 24px; } }
/* карта: 280 только на мобилке */
@media (min-width:1024px){ .map{ height:480px; } .s-kv--map .kv dt{ flex:0 0 320px; } .s-catalog + .s-kv--map{ padding-top:0; } .s-catalog + .s-kv--map .s-head{ padding-top:0; } }
/* карточки: компактный вариант (инструменты) и крупная плашка (мастер-классы) */
.cards--plate .card__body{ padding:24px; gap:12px; }
.cards--big.cards--plate .card__body{ padding:32px; gap:20px; }
.cards--compact .card__image{ aspect-ratio:416/280; }
.cards--compact .card__title{ font-size:26px; line-height:30px; }
.cards--compact .card .rich--small{ font-size:15px; line-height:24px; }
.cards--compact .card__body{ gap:8px; }
@media (min-width:1024px){ .cards--compact .card__title{ font-size:32px; line-height:36px; } .cards--compact .card .rich--small{ font-size:16px; line-height:24px; } .cards--compact .card__body{ padding-top:24px; } .cards--compact{ gap:32px; } }
/* шкала суммы возврата: левая линия у ячейки, линия под блоком */
.scale{ border:0; border-bottom:1px solid var(--border-inverse); }
.scale__item{ border:0; border-left:1px solid var(--border-inverse); padding:20px 16px; }
@media (min-width:1024px){ .scale{ display:flex; gap:8px; } .scale__item{ flex:1 1 0; padding:32px; } }
.acc-card__title{ text-transform:uppercase; }
.product__title{ font:500 20px/24px var(--font-text); }
.product__price{ font:500 18px/24px var(--font-text); }
.product__text{ font:400 14px/20px var(--font-text); }
.guide__step{ gap:16px; }
.gallery__controls .btn-arrow{ width:48px; height:44px; }
@media (min-width:1024px){ .gallery__controls .btn-arrow{ width:56px; height:44px; } .gallery__controls{ gap:8px; } }
/* светлые секции: элементы в темном цвете */
.s--light .btn-circle,.s--light .media-card .btn-circle{ border-color:var(--wine-950); color:var(--wine-950); }

/* ---------- формы: состояния и новые поля ---------- */
.modal__lead{ margin:0 0 8px; font:400 16px/24px var(--font-text); opacity:.85; }
.form__note{ font-size:14px; line-height:20px; }
.check{ font-size:14px; line-height:20px; }
.modal > .form[hidden]{ display:none; }
.field__file{ display:inline-flex; align-items:center; gap:8px; cursor:pointer; font:600 14px/20px var(--font-text); text-transform:uppercase; letter-spacing:.02em; }
.field__file input{ position:absolute; width:1px; height:1px; opacity:0; }
.field__file:focus-within span{ outline:2px solid var(--cream-100); outline-offset:4px; }
.field__hint{ font:400 12px/16px var(--font-text); opacity:.7; }
.form__error[hidden],.form__done[hidden]{ display:none; }
.form__error-title{ margin:0 0 4px; }
.form__error-text{ margin:0; }
.form__done{ display:flex; flex-direction:column; align-items:flex-start; gap:12px; }
.form__done-title{ margin:0; font:400 40px/44px var(--font-display); text-transform:uppercase; }
.form__done-text{ margin:0; font:400 16px/24px var(--font-text); }
.form__done-text a{ color:inherit; }
.form.is-sent .modal__title,.form.is-sent .modal__lead,.form.is-sent .form__error,.form.is-sent .form__status,.form.is-sent .s-title,.form.is-sent .form__note--law{ display:none; }
.form.is-sending{ opacity:.75; }
.form__note--law{ margin:0; font:400 12px/16px var(--font-text); opacity:.8; }
@media (min-width:1024px){ .form__done-title{ font-size:64px; line-height:64px; } .modal__lead{ font-size:20px; line-height:28px; } }

/* ---------- объявление поверх страницы ---------- */
.site-notice:not([hidden]){ position:fixed; left:24px; right:24px; bottom:24px; z-index:90; display:flex; align-items:flex-start; gap:12px; padding:16px 20px; background:var(--cream-100); color:var(--wine-950); box-shadow:0 12px 40px rgba(0,0,0,.35); }
.site-notice__body{ flex:1 1 auto; display:flex; flex-direction:column; gap:4px; }
.site-notice__title{ margin:0; font:700 16px/24px var(--font-text); }
.site-notice__text{ margin:0; font:400 16px/24px var(--font-text); color:#26241f; }
.site-notice__text a{ color:inherit; }
.site-notice__close{ flex:0 0 auto; width:24px; height:24px; padding:0; border:0; background:none; color:inherit; cursor:pointer; }
.site-notice__close .icon{ width:24px; height:24px; }
@media (min-width:1024px){
  .site-notice:not([hidden]){ left:auto; right:32px; bottom:auto; top:120px; width:420px; }
  .site-notice__title{ font:500 24px/28px var(--font-text); }
  .site-notice__text{ font-size:18px; line-height:24px; }
}
/* версия для слабовидящих: объявление — полосой над панелью, не поверх кнопок шапки */
html[data-a11y] .site-notice:not([hidden]){ position:static; width:auto; margin:0; box-shadow:none; border-bottom:2px solid currentColor; }

/* ---------- видео ---------- */
.s-video .s-head + .s-body{ padding-top:0; }
.videos{ display:flex; gap:12px; margin:0 calc(-1 * var(--gutter)); padding:0 var(--gutter); overflow-x:auto; scrollbar-width:none; }
.videos::-webkit-scrollbar{ display:none; }
.video{ flex:0 0 260px; }
.video--main{ flex:0 0 100%; }
.video__frame{ position:relative; aspect-ratio:16/9; background:var(--bg-section-top) center/cover; overflow:hidden; }
.video__frame iframe,.video__frame button,.video__link{ position:absolute; inset:0; width:100%; height:100%; border:0; padding:0; }
.video__frame button,.video__link{ display:flex; align-items:center; justify-content:center; background:rgba(10,12,11,.35); color:var(--cream-100); cursor:pointer; }
.video__play{ width:0; height:0; border-style:solid; border-width:12px 0 12px 20px; border-color:transparent transparent transparent currentColor; }
.video--main .video__play{ border-width:18px 0 18px 32px; }
.video__frame iframe ~ .video__caption{ display:none; }
.video__caption{ position:absolute; left:16px; bottom:12px; margin:0; font:400 12px/16px var(--font-text); opacity:.8; pointer-events:none; }
.video__title{ margin:12px 0 4px; font:700 16px/24px var(--font-text); }
.video__meta{ margin:0; font:400 14px/20px var(--font-text); opacity:.6; }
@media (min-width:1024px){
  .s-video{ padding:0 0 120px; }
  .s-video .s-head{ padding-top:120px; padding-bottom:32px; }
  .videos{ display:grid; grid-template-columns:repeat(3,1fr); gap:32px; margin:0; padding:0; overflow:visible; }
  .video{ flex:none; }
  .video--main{ grid-column:1 / -1; }
  .video__caption{ left:24px; bottom:20px; font-size:14px; line-height:20px; }
  .video__title{ margin-top:16px; font:500 24px/28px var(--font-text); }
}

/* ---------- блоки редактора между секциями ---------- */
.page-blocks > :not(section):not(nav):not(.invite):not(div.s){ max-width:1440px; margin-left:auto; margin-right:auto; padding-left:var(--gutter); padding-right:var(--gutter); }
@media (min-width:1024px){ .page-blocks > :not(section):not(nav):not(.invite):not(div.s){ padding-left:64px; padding-right:64px; } }

/* ---------- репертуар (23.1 / 23.2) ---------- */
.programs{ padding-bottom:0; }
.programs-list{ padding:24px var(--gutter) 64px; }
.programs-list--inner{ padding-top:0; }
.program-row{ position:relative; display:flex; flex-direction:column; gap:8px; padding:20px 0; border-top:1px solid var(--border-subtle); color:inherit; text-decoration:none; }
.programs-list .program-row:last-child{ border-bottom:1px solid var(--border-subtle); }
.program-row__meta{ display:flex; gap:12px; font:400 14px/20px var(--font-text); opacity:.6; }
.program-row__title-row{ display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.program-row__title{ font:400 32px/36px var(--font-display); text-transform:uppercase; }
.program-row__arrow{ flex:0 0 auto; width:32px; height:24px; margin-top:6px; }
/* название программы: на телефоне переносится свободно (min-width:0 — чтобы flex-ячейка не распирала страницу), пары слов склеены только на десктопе */
.program-row__title{ min-width:0; overflow-wrap:break-word; }
@media (min-width:1024px){ .nw-d{ white-space:nowrap; } }
.program-row__preview{ display:none; }
.program-page__body{ display:flex; flex-direction:column; gap:16px; padding:40px var(--gutter); }
.program-page__lead{ margin:0; font:700 16px/24px var(--font-text); }
.program-page__credits{ margin:0; font:400 16px/24px var(--font-text); }
.docs--single{ margin-top:16px; }
.docs--single .doc{ border-bottom:1px solid var(--border-subtle); }
.program-page .gallery{ margin-top:0; }
.program-page{ padding-bottom:64px; }
.program-upcoming{ border-top:0; padding-bottom:64px; }
.program-upcoming .s-body{ padding:0 var(--gutter); }
.program-other{ padding-bottom:0; }
.program-upcoming + .program-other{ border-top:0; }
@media (min-width:1024px){
  .programs-list{ padding:48px 64px 64px; }
  .programs-list--inner{ padding:0 64px 96px; }
  .program-row{ display:grid; grid-template-columns:64px 1fr 0 240px 32px; column-gap:32px; align-items:center; padding:32px 0; transition:background .2s,padding .2s; }
  .program-row__meta,.program-row__title-row{ display:contents; }
  .program-row__num,.program-row__type{ grid-row:1; font:400 14px/20px var(--font-text); opacity:.6; }
  .program-row__num{ grid-column:1; }
  .program-row__title{ grid-row:1; grid-column:2; font-size:48px; line-height:52px; }
  .program-row__type{ grid-column:4; text-align:right; }
  .program-row__arrow{ grid-row:1; grid-column:5; margin:0; }
  .program-row__preview{ display:block; grid-row:1; grid-column:3; width:0; height:0; margin-left:-32px; overflow:hidden; opacity:0; transition:width .2s,height .2s,margin .2s,opacity .2s; }
  .program-row__preview img{ display:block; width:176px; height:112px; object-fit:cover; }
  .program-row:hover,.program-row:focus-visible{ background:var(--overlay-hover); padding-inline:24px; }
  .program-row:hover .program-row__preview,.program-row:focus-visible .program-row__preview{ width:176px; height:112px; margin-left:0; opacity:1; }
  .program-page{ padding-bottom:96px; }
  .program-page__body{ gap:24px; padding:64px; }
  .program-page__lead{ font:500 20px/28px var(--font-text); }
  .program-page__credits{ font-size:20px; line-height:28px; }
  .docs--single{ margin-top:0; }
}

/* ---------- Карточки: вид «Список-оглавление» (variant=index) ---------- */
.s-cards .s-body{ position:relative; }
.vindex{ margin:0; padding:0; list-style:none; border-top:1px solid var(--border-subtle); }
.vindex__link{ position:relative; display:grid; grid-template-columns:96px minmax(0,1fr); grid-template-areas:"thumb num" "thumb title" "thumb text"; align-content:center; gap:4px 16px; padding:20px 0; border-bottom:1px solid var(--border-subtle); color:inherit; text-decoration:none; transition:background-color .3s var(--ease-out, ease); } /* подсветка — в пределах колонки контента, как разделители */
.vindex__num{ grid-area:num; font:400 14px/20px var(--font-text); letter-spacing:.04em; opacity:.6; }
.vindex__thumb{ grid-area:thumb; align-self:start; width:96px; height:96px; overflow:hidden; background:var(--bg-deep); }
.vindex__thumb img{ width:100%; height:100%; object-fit:cover; }
.vindex__title{ grid-area:title; font:400 28px/32px var(--font-display); text-transform:uppercase; transition:transform .45s var(--ease-out, ease); }
.vindex__text{ grid-area:text; font:400 14px/20px var(--font-text); opacity:.8; }
.vindex__arrow{ display:none; }
.vindex__preview{ display:none; }
@media (hover:hover){ .vindex__link:hover{ background:var(--overlay-hover); } }
@media (min-width:1024px){
  .vindex__link{ grid-template-columns:96px minmax(0,1fr) 400px 56px; grid-template-areas:"num title text arrow"; align-items:center; gap:0 32px; padding:36px 0; }
  .vindex__thumb{ display:none; }
  .vindex__num{ font:400 32px/36px var(--font-display); opacity:.5; transition:opacity .3s; }
  .vindex__title{ font-size:56px; line-height:60px; }
  .vindex__text{ font-size:18px; line-height:26px; }
  .vindex__arrow{ grid-area:arrow; display:flex; align-items:center; justify-content:center; width:56px; height:56px; border:1px solid var(--border-strong); border-radius:50%; transition:background-color .3s, color .3s; }
  .vindex__arrow .icon{ width:24px; height:24px; transition:transform .35s var(--ease-out, ease); }
  .vindex__num,.vindex__arrow{ transition:opacity .3s, transform .45s var(--ease-out, ease), background-color .3s, color .3s; }
  .vindex__link:hover .vindex__num{ opacity:1; transform:translateX(24px); } /* подсветка не шире колонки — номер и стрелка отступают от ее краев */
  .vindex__link:hover .vindex__title{ transform:translateX(16px); }
  .vindex__link:hover .vindex__arrow{ transform:translateX(-24px); }
  .vindex__link:hover .vindex__arrow{ background:var(--accent-bg); color:var(--accent-fg); }
  .vindex__link:hover .vindex__arrow .icon{ transform:translateX(3px); }
  .vindex{ position:relative; z-index:1; } /* текст строк — поверх превью */
  .vindex__preview img{ filter:brightness(.6); }
  .vindex__preview{ display:block; position:absolute; top:0; left:0; z-index:0; width:216px; /* 216×162: лежит под текстом, по высоте чуть больше строки — заходит только на поля соседних строк */ aspect-ratio:4/3; overflow:hidden; pointer-events:none; opacity:0; transform:translate3d(var(--px,0),var(--py,0),0) scale(.85) rotate(-3deg); transition:opacity .3s var(--ease-out, ease), transform .5s var(--ease-out, ease); box-shadow:0 24px 48px rgba(0,0,0,.35); }
  .vindex__preview.is-on{ opacity:1; transform:translate3d(var(--px,0),var(--py,0),0) scale(1) rotate(-2deg); }
  .vindex__preview img{ width:100%; height:100%; object-fit:cover; }
}
html[data-a11y] .vindex__preview{ display:none; }

/* ---------- Карточки: вид «Мозаика из фото» (variant=mosaic) ---------- */
.mosaic{ display:grid; grid-template-columns:1fr; gap:12px; }
.mosaic__tile{ position:relative; display:block; aspect-ratio:5/4; overflow:hidden; isolation:isolate; background:var(--bg-deep); color:var(--cream-100); text-decoration:none; }
.mosaic__img{ position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover; transition:transform 1.2s var(--ease-out, ease); }
.mosaic__tile::after{ content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg, rgba(37,11,9,0) 25%, rgba(37,11,9,.6) 60%, rgba(37,11,9,.95) 100%); transition:opacity .5s; }
.mosaic__body{ position:absolute; inset:0; display:flex; flex-direction:column; justify-content:flex-end; gap:8px; padding:20px; }
.mosaic__num{ position:absolute; top:16px; left:20px; font:400 14px/20px var(--font-text); letter-spacing:.04em; opacity:.85; }
.mosaic__title{ font:400 28px/30px var(--font-display); text-transform:uppercase; text-shadow:0 1px 12px rgba(0,0,0,.25); }
.mosaic__text{ font:400 14px/20px var(--font-text); opacity:.9; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.mosaic__more{ display:none; }
@media (min-width:600px) and (max-width:1023px){ .mosaic{ grid-template-columns:1fr 1fr; } .mosaic__tile:first-child{ grid-column:1 / -1; } }
@media (min-width:1024px){
  .mosaic{ grid-template-columns:repeat(12,1fr); grid-auto-rows:300px; gap:16px; }
  .mosaic__tile{ aspect-ratio:auto; grid-column:span 4; }
  .mosaic__tile:nth-child(1){ grid-column:1 / 8; grid-row:span 2; }
  .mosaic__tile:nth-child(2),.mosaic__tile:nth-child(3){ grid-column:8 / 13; }
  .mosaic__tile:nth-child(7){ grid-column:1 / 8; }
  .mosaic__tile:nth-child(8){ grid-column:8 / 13; }
  .mosaic__body{ padding:32px; gap:12px; }
  .mosaic__num{ top:28px; left:32px; font:400 28px/32px var(--font-display); }
  .mosaic__title{ font-size:40px; line-height:44px; max-width:520px; transition:transform .5s var(--ease-out, ease); }
  .mosaic__tile:nth-child(1) .mosaic__title{ font-size:72px; line-height:72px; }
  .mosaic__text,.mosaic__more{ max-height:0; opacity:0; transform:translateY(12px); transition:max-height .5s var(--ease-out, ease), opacity .4s, transform .5s var(--ease-out, ease); }
  .mosaic__text{ max-width:480px; font-size:16px; line-height:24px; -webkit-line-clamp:3; }
  .mosaic__more{ display:inline-flex; align-items:center; gap:12px; font:600 14px/20px var(--font-text); text-transform:uppercase; letter-spacing:.02em; }
  .mosaic__more .icon{ width:24px; height:20px; }
  .mosaic__tile:hover .mosaic__img,.mosaic__tile:focus-visible .mosaic__img{ transform:scale(1.06); }
  .mosaic__tile:hover .mosaic__text,.mosaic__tile:hover .mosaic__more,.mosaic__tile:focus-visible .mosaic__text,.mosaic__tile:focus-visible .mosaic__more{ max-height:96px; opacity:1; transform:none; }
  .mosaic__tile:hover::after{ opacity:1; }
}
@media (hover:none) and (min-width:1024px){ .mosaic__text,.mosaic__more{ max-height:none; opacity:1; transform:none; } }
html[data-a11y] .mosaic__tile{ background:var(--a11y-bg); color:var(--a11y-fg); border:1px solid var(--a11y-fg); }
html[data-a11y] .mosaic__tile::after{ display:none; }
html[data-a11y] .mosaic__img{ display:none; }
html[data-a11y] .mosaic__text,html[data-a11y] .mosaic__more{ max-height:none; opacity:1; transform:none; }

/* Как купить билет: примечание 16/24, на мобилке у свернутых шагов без линии сверху (макет 09) */
.s-steps .s-note--line{ font-size:16px; line-height:24px; opacity:.85; }
@media (max-width:1023px){ .steps--collapse .step + .step{ border-top:0; padding-top:24px; } }

@media (max-width:1023px){ .page-hero--m400 .page-hero__media{ height:400px; } }

/* Команда мастерских на мобилке: строки с квадратным фото 64 (костюм) / 102 (инструменты), отступы 12 */
@media (max-width:1023px){
  .members--m64 .member,.members--m102 .member{ grid-template-columns:64px 1fr; align-items:center; column-gap:16px; padding:12px 0; }
  .members--m102 .member{ grid-template-columns:102px 1fr; }
  .members--m64 .member__photo{ width:64px; height:64px; grid-row:1 / span 3; align-self:center; }
  .members--m102 .member__photo{ width:102px; height:102px; grid-row:1 / span 3; align-self:center; }
}

/* Шаги-аккордеон на мобилке (локации экскурсии) */
.step__head{ display:flex; width:100%; align-items:flex-start; justify-content:space-between; gap:16px; padding:0; border:0; background:none; color:inherit; font:inherit; text-align:left; cursor:pointer; }
.step__icon{ flex:0 0 auto; width:20px; height:20px; margin-top:2px; transition:transform .3s; }
.step__head[aria-expanded="true"] .step__icon{ transform:rotate(180deg); }
@media (max-width:1023px){
  .steps--acc{ gap:0; }
  .steps--acc .step{ padding:20px 0 28px; }
  .steps--acc .step__title{ margin:0; }
  .steps--acc .step__body{ display:none; padding-top:12px; }
  .steps--acc .step.is-open .step__body{ display:block; animation:kt-fade .35s ease; }
}
@media (min-width:1024px){ .step__head{ cursor:default; pointer-events:none; } .step__icon{ display:none; } }

/* ===== правки по ревью живого сайта, круг 2 (10.11) ===== */
/* 1/80. стрелки каруселей */
.btn-arrow:not(:disabled):hover,.btn-arrow:not(:disabled):focus-visible{ background:var(--overlay-hover); } /* 80: Figma Button / Icon Slider Hover — rgba(255,255,255,.06) */
/* 2. поиск, новость, карта сайта: без двойного верхнего отступа (макет: форма y365, текст новости через 64 после фото, карта сайта 48) */
.search-page{ padding-top:24px; }
.search-page > .s-body:first-child,.article > .s-body:first-child{ padding-top:0; }
.s-sitemap > .s-body:first-child{ padding-top:24px; }
.s-sitemap{ padding-bottom:64px; }
@media (min-width:1024px){
  .search-page{ padding-top:48px; }
  .s-sitemap > .s-body:first-child{ padding-top:48px; }
  .s-sitemap{ padding-bottom:120px; }
}
/* 3. новость: заголовок 32/36 на мобилке, 1040 на десктопе */
.page-hero--news .page-hero__title.is-normal{ font-size:32px; line-height:36px; }
@media (min-width:1024px){ .page-hero--news .page-hero__title.is-normal{ font-size:80px; line-height:80px; max-width:1040px; } }
/* 5. внутренние страницы 390: от крошек до H1 40 (крошки 20 + спейсер 8 + 2×gap 16) */
@media (max-width:1023px){ .page-hero__body{ margin-top:24px; } }
/* 6. Афиша: hero→фильтры 32, чипы 36 с зазором 12, разделитель месяцев 3px, между строками 8/16 (шаг 196 на 1440) */
.afisha{ padding-top:32px; }
.afisha__filters{ gap:12px; }
.afisha__filters .chip,.chips--small .chip{ min-height:36px; padding:7px 16px; }
.afisha__month + .afisha__month{ border-top:3px solid var(--border-subtle); }
.afisha__month .event-row + .event-row{ margin-top:8px; }
@media (min-width:1024px){
  .afisha{ padding-top:48px; }
  .afisha__filters .chip{ min-height:48px; padding:11px 24px; }
  .afisha__month-title{ margin-bottom:16px; }
  .afisha__month .event-row + .event-row{ margin-top:16px; }
}
/* 7. Репертуар: на ховере превью встает между заголовком и типом (x840–1016), заголовок сужается до 624; в покое заголовок 880 */
@media (min-width:1024px){
  .program-row{ grid-template-columns:64px minmax(0,1fr) auto 272px 64px; column-gap:0; }
  .program-row__title{ margin-left:32px; }
  .program-row__type{ margin-left:32px; }
  .program-row__arrow{ margin-left:32px; }
  .program-row__preview{ margin-left:0; }
  .program-row:hover .program-row__preview,.program-row:focus-visible .program-row__preview{ margin-left:32px; }
}
/* 17. поиск 390: заголовок результата 16 */
@media (max-width:1023px){ .result__title{ font-size:16px; line-height:20px; } }
/* 20. карта сайта: без линий над группами, заголовок → первая ссылка 12 */
.sitemap__group{ padding-top:20px; border-top:0; }
.sitemap__title{ margin-bottom:12px; }
@media (min-width:1024px){ .sitemap{ gap:56px 32px; } .sitemap__group{ border-top:0; } }
/* 21. даты новостей: в списке и «Других новостях» обычным регистром; капс только на главной */
.news-card__date{ text-transform:none; }
.home-news .news-card__date{ text-transform:uppercase; }
/* 22. Новости 390: от hero до первой карточки 32 */
.news-list > .s-body:first-child{ padding-top:0; }
/* 24. 600–1023: факты события и карта сайта в 2 колонки */
@media (min-width:600px) and (max-width:1023px){
  .facts{ display:grid; grid-template-columns:1fr 1fr; column-gap:24px; }
  .fact:nth-last-child(2):nth-child(odd){ border-bottom:0; }
  .sitemap{ grid-template-columns:1fr 1fr; gap:48px 32px; }
}
/* 25. Анкета, «отправлено» (макет 32.3): вопросы скрыты, «Благодарим за участие!» сразу под hero */
.form.is-sent .question{ display:none; }
.s-survey:has(.form.is-sent){ padding-bottom:120px; }
.s-survey:has(.form.is-sent) > .s-body:first-child{ padding-top:24px; }
.survey .form__done{ gap:16px; scroll-margin-top:24px; }
.survey .form__done-title{ font-size:32px; line-height:36px; }
.survey .form__done-text{ max-width:720px; opacity:.85; }
.survey .form__done-actions{ display:inline-flex; flex-direction:column; align-items:stretch; }
.survey .form__done-actions .btn{ justify-content:space-between; min-height:56px; }
@media (min-width:1024px){
  .s-survey:has(.form.is-sent){ padding-bottom:200px; }
  .s-survey:has(.form.is-sent) > .s-body:first-child{ padding-top:48px; }
  .survey .form__done{ gap:24px; }
  .survey .form__done-title{ font-size:48px; line-height:52px; }
  .survey .form__done-text{ font-size:20px; line-height:28px; }
  .survey .form__done-actions{ flex-direction:row; align-items:center; }
}
/* 27/51. чекбокс согласия в одной строке с текстом во всех формах */
.check > span{ flex:1 1 0; min-width:0; }
.check__error{ flex-basis:100%; }
/* 28. Анкета 390: варианты столбиком, кнопка на всю ширину 56 */
@media (max-width:1023px){
  .survey .question--inline .question__options{ flex-direction:column; gap:12px; }
  .survey .form__actions{ align-items:stretch; width:100%; }
  .survey .form__actions .btn{ width:100%; min-height:56px; justify-content:space-between; }
}
/* 31. Документы/Коррупция 390: заголовки аккордеонов обычным регистром 20/24, строка документа — [PDF] и размер сверху, затем название и «Скачать» (561:61795) */
@media (max-width:1023px){
  .acc--docs > .acc__head{ gap:24px; }
  .acc--docs .acc__title{ font:500 20px/24px var(--font-text); text-transform:none; letter-spacing:0; }
  .acc--docs .acc__count{ font-size:14px; line-height:20px; }
  .doc{ grid-template-columns:auto 1fr; gap:8px 12px; }
  .doc__type{ order:0; padding:4px 12px; }
  .doc__size{ order:1; }
  .doc__name{ order:2; grid-column:1 / -1; }
  .doc__link{ order:3; grid-column:1 / -1; }
  .acc--docs .chips--small{ gap:8px; margin:8px 0 16px; }
}
/* 72. 1024–1279: политика и карта сайта без переполнения */
@media (min-width:1024px){
  .s-legal__grid{ grid-template-columns:minmax(0,304px) minmax(0,832px); }
  .sitemap{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (min-width:1024px) and (max-width:1279px){
  .s-legal__grid{ gap:48px; }
  .sitemap__title{ font-size:36px; line-height:40px; }
}
@media (min-width:1024px){ .cards--2{ grid-template-columns:repeat(2,minmax(0,1fr)); } .cards--3{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (min-width:1024px) and (max-width:1279px){ .card__title{ font-size:36px; line-height:40px; } }
/* 32. Гудков: лента «Из архива» до правого края экрана */
@media (min-width:1024px){ .s-text--narrow-media .gallery__track{ max-width:none; } }
/* 33. руководители: между именем и регалиями 16, строка грида не растягивается под фото */
@media (min-width:1024px){ .person{ grid-template-rows:auto 1fr; } }
/* 34. Об ансамбле, Резиденция: под лидом пустое место как в макете (ряд кнопок 48/34 + gap) */
.page-hero--gap .page-hero__body{ padding-bottom:50px; }
@media (min-width:1024px){ .page-hero--gap .page-hero__body{ padding-bottom:72px; } }
/* 35. Состав 390: подзаголовок группы 32/36 */
@media (max-width:1023px){ .tab-panel .s-title--l{ font-size:32px; line-height:36px; } }
/* 36. Как оставить отзыв: заметки 16/24 и кнопки 18/24 на мобилке; шаги двух карточек выровнены по рядам (subgrid) */
@media (max-width:1023px){
  .boxes--plain .box .rich--small{ font-size:16px; line-height:24px; }
  .buttons .btn{ font-size:18px; line-height:24px; }
}
@media (min-width:1024px){
  .guide{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:32px; row-gap:24px; }
  .guide__card{ grid-row:span 4; display:grid; grid-template-rows:subgrid; row-gap:24px; align-content:start; }
  .guide__steps{ grid-row:span 3; display:grid; grid-template-rows:subgrid; row-gap:24px; }
  .guide__step{ justify-content:flex-start; }
}
/* 42/57. якорное меню: полоса 56 (390) / 64 (1440), подчеркивание на 4px под текстом (макет 07.10) */
.anchors__track{ align-items:center; height:56px; }
.anchors__item{ padding:0 0 4px; }
.anchors--buttons .anchors__track{ height:auto; align-items:flex-start; }
@media (min-width:1024px){ .anchors__track{ height:64px; } .anchors__item{ padding:0 0 4px; } }
[id]{ scroll-margin-top:72px; }
/* 38. 600–1023: «Визитная карточка» — фото не выше 16:10, кадр по центру 35% */
@media (min-width:600px) and (max-width:1023px){ .s-ti__image{ aspect-ratio:16/10; max-height:none; } .s-ti__image img{ object-position:center 35%; } }
/* 39. История в лицах: инициалы 40/64; видео «90 лиц» на 390 — карточки 304×172 */
.face__initials{ font-size:40px; }
@media (min-width:1024px){ .face__initials{ font-size:64px; } }
@media (max-width:1023px){ .s-faces .media-row .media-card{ width:304px; } }
/* 40. Политика: H1 80/96, hero→первый раздел 81, шаг оглавления 32, текущий пункт подчеркнут */
.legal-toc li{ line-height:20px; }
.legal-toc a.is-active{ text-decoration:underline; text-underline-offset:3px; }
@media (min-width:1024px){
  .page-hero--legal .page-hero__title{ font-size:80px; line-height:96px; }
  .s-legal > .s-body:first-child{ padding-top:48px; }
}
/* 44. Гудков и История в лицах 390: лицо в кадре целиком */
@media (max-width:1023px){
  .page-hero__slide.has-mobile:not(.has-mobile--s){ background-image:var(--bg-m) !important; background-position:center top; }
  .page-hero--faces .page-hero__slide{ background-position:22% center; }
}
.legal-toc li{ font-size:14px; }
/* 41. Студия 390: подпись группы в одну строку; Документы 390: чипы годов 56/62 — раскладка 5+2 */
@media (max-width:1023px){ .group-label{ letter-spacing:0; } }
.chips--small .chip{ padding:7px 15px; }
/* 42. Об ансамбле 390: «PDF, 5,9 МБ» 16/24 Regular */
@media (max-width:1023px){ .file__meta{ font:400 16px/24px var(--font-text); } }
/* 43. крошки на мобилке в одну строку, последняя обрезается многоточием */
@media (max-width:1023px){
  .crumbs{ flex-wrap:nowrap; white-space:nowrap; min-width:0; }
  .crumbs > *{ flex:0 0 auto; }
  .crumbs > [aria-current]{ flex:0 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; }
}
/* 55. высота кнопок как в макете (рамка внутри): 48 на мобилке, 56 на десктопе и у «больших» мобильных кнопок — раньше 50/58 из-за рамки 1px */
.btn{ padding-top:11px !important; padding-bottom:11px !important; }
.cookie-bar .btn,.form--plate .form__actions .btn,.error-page .btn,.buttons .btn,.modal.is-light .form__actions .btn,.survey .form__done-actions .btn,.survey .form__actions .btn,.mobile-menu__buy,.page-hero--event .page-hero__buttons .btn{ padding-top:15px !important; padding-bottom:15px !important; }
@media (min-width:1024px){ .btn{ padding-top:15px !important; padding-bottom:15px !important; } }
/* 47. «Заявка отправлена» в окне (22.7): окно по контенту, крестик в строке с заголовком, Primary со стрелкой */
.modal .form.is-sent{ gap:24px; }
.modal .form.is-sent .modal__head{ flex-direction:row; justify-content:flex-end; }
.modal .form__done{ gap:12px; }
.modal .form__done-title{ font-size:32px; line-height:36px; }
.modal .form__done-text{ font-size:16px; line-height:24px; color:var(--wine-950); }
.modal .form__done-actions{ width:100%; margin-top:12px; }
.modal .form__done-back{ width:100%; justify-content:space-between; gap:32px; min-height:56px; padding:15px 24px; font-size:18px; line-height:24px; }
.modal.is-light:has(.form.is-sent:not([hidden])){ height:fit-content; margin:auto 0; }
@media (min-width:1024px){
  .modal.is-light:has(.form.is-sent:not([hidden])){ margin:auto; }
  .modal .form.is-sent{ position:relative; gap:0; }
  .modal .form.is-sent .modal__head{ position:absolute; top:56px; right:56px; }
  .modal .form__done{ gap:16px; padding-right:64px; }
  .modal .form__done-title{ font-size:48px; line-height:52px; }
  .modal .form__done-text{ font-size:20px; line-height:28px; }
  .modal .form__done-actions{ width:auto; margin-top:16px; }
  .modal .form__done-back{ width:auto; }
}
/* 52. поля: текст и подсказки 18/24; пустой select — цветом плейсхолдера */
.field__input{ font-size:18px; line-height:24px; }
.field__input::placeholder{ font-size:18px; }
select.field__input{ padding-right:44px; }
select.field__input:has(option[value=""]:checked){ color:rgba(38,36,31,.6); }
select.field__input option{ color:var(--wine-950); }
/* 53. дата: шеврон справа */
.field__date .field__input{ padding-right:44px; }
.field__date .icon{ width:16px; height:16px; }
.field__select .icon{ width:16px; height:16px; }
/* 54. фокус поля без двойной рамки */
.field__input:focus{ outline:none; }
.field__input:focus-visible{ outline:none; border-color:var(--wine-950); box-shadow:inset 0 0 0 1px var(--wine-950); }
.modal.is-light .field__input:focus-visible{ border-color:var(--wine-950); }
/* 55. согласие: ссылка без подчеркивания; на мобилке текст кнопки окна слева */
.check a{ text-decoration:none; }
.check a:hover{ text-decoration:underline; }
@media (max-width:1023px){ .modal.is-light .form__actions .btn[type=submit]{ justify-content:flex-start; } }
.form__done-text a[href^="tel:"]{ white-space:nowrap; }
/* 56. Сувениры: «нет фото» почти цвета фона, название 20/24 → 24/28 Medium, цена 18 → 20 Medium */
.product__image{ background:rgba(225,215,196,.115); }
@media (min-width:1024px){ .product__title{ font:500 24px/28px var(--font-text); } .product__price{ font:500 20px/28px var(--font-text); } }
/* 58. линия .s--border видна (перебивала «.s + .s:not(...)» с rgba(255,255,255,.04)) */
.s.s--border:not(#_){ border-top:1px solid var(--border-subtle); }
/* 59. соседние секции одного тона без двойных отступов (Пушкинская 561:37242, Экскурсии 561:37414) */
@media (min-width:1024px){
  .s-text:not(:has(> .s-head)):has(+ .s-text > .s-head:first-child){ padding-bottom:0; }       /* текст → «ПРОКантеле»: 64 */
  .anchors + .s-text > .s-head:first-child{ padding-top:96px; }                                   /* «Экскурсия» сверху 96 */
  .s-text:has(+ .s-steps > .s-body:first-child){ padding-bottom:96px; }                           /* текст → шаги: 96 */
  .s-text + .s-steps > .s-body:first-child{ padding-top:0; }
  .s:has(> .gallery:last-child):has(+ .s:not(.s--light):not(.s--beige) > .s-head:first-child){ padding-bottom:0; } /* галерея → следующий заголовок: 64 */
  .s-text:has(+ .s--beige){ padding-bottom:96px; }
}
/* 60. «Как купить билет»: сверху 96, заголовок→шаги 48, шаги→сноска 48, текст шагов brown-800 */
.s--beige .rich,.s--beige .step .rich--small{ color:var(--text-inverse-body); }
@media (min-width:1024px){
  .s-steps.s--beige > .s-head{ padding-top:96px; padding-bottom:48px; }
  .s-steps.s--beige .s-note--line{ margin-top:48px; }
}
/* 61. Костюм: абзацы 24, текст→галерея 112; «Услуги мастерской» — строки 76 без верхней линии */
@media (min-width:1024px){
  .s-text--osnova .rich p{ margin-bottom:24px; }
  .s-text--osnova .rich > :last-child{ margin-bottom:0; }
  .s-text--osnova .gallery{ margin-top:112px; }
  .s-programs--services .program{ padding:24px 0; }
}
.s-programs--services .programs{ border-top:0; }
.program__title:last-child{ margin-bottom:0; }
@media (max-width:1023px){ .s-programs--services .program:first-child{ padding-top:24px; } }
/* 62. Инструменты: ряды карточек одной высоты, «Выбрать инструмент из наличия» через 80 после карточек, текст «Команды» 576 */
@media (min-width:1024px){
  .cards--compact{ grid-auto-rows:1fr; }
  .s-cards .cards + .s-after,.s-cards .s-after{ margin-top:80px; font-size:18px; line-height:28px; }
  .s-members__split{ gap:96px; }
}
/* 63. Возврат: подзаголовок канала на 16 от заголовка, ячейки суммы стыкуются; 390 — заголовки 38/48 и 48/48 */
.acc-card__title{ margin-bottom:12px; }
@media (min-width:1024px){ .acc-card__title{ margin-bottom:16px; } .scale{ gap:0; } }
@media (max-width:1023px){ .s-text--m38 .s-title{ font-size:38px; line-height:48px; } .s-scale .s-title{ font-size:48px; line-height:48px; } }
/* 64. Контакты: плашка кассы padding 48 (высота 140), «Скачать карточку» → плашка 64; 390 — заголовок плашки 28/32 */
@media (min-width:1024px){ .s-strip__inner{ padding:48px 64px; } .s-strip .s-title--m{ line-height:44px; } }
@media (max-width:1023px){ .s-strip__inner{ gap:8px; } .s-strip .s-title--m{ font-size:28px; line-height:32px; } }
@media (min-width:1024px){ .s-kv--map:has(+ .s-strip){ padding-bottom:64px; } }
/* 65. Обратная связь 390: hero → форма 24 */
@media (max-width:1023px){ .s-feedback{ padding-top:24px; } .s-feedback > .s-body:first-child{ padding-top:0; } }
/* 66. Посетителям (хаб) 390: сверху 64, подпись карточки padding 20 / gap 8 */
@media (max-width:1023px){
  .page-hero + .s-cards > .s-body:first-child{ padding-top:64px; }
  .cards--plate:not(.cards--big) .card__body{ padding:20px; gap:8px; }
}
/* 67. мобильные заголовки по макетам 390 */
@media (max-width:1023px){
  .page-hero--m48 .page-hero__title{ font-size:48px; line-height:48px; }
  .page-hero--m40 .page-hero__title{ font-size:40px; line-height:48px; }
  .s--m48 > .s-head .s-title,.s--m48 > .s-ti__text > .s-title,.s--m48 > .s-body > .headline .s-title{ font-size:48px; line-height:48px; } /* только заголовок секции, не подзаголовки внутри (вкладки «Состава») */
  .s--m40 > .s-head .s-title,.s--m40 > .s-ti__text > .s-title{ font-size:40px; line-height:48px; }
  .s--m46 > .s-head .s-title,.s--m46 > .s-ti__text > .s-title{ font-size:46px; line-height:48px; }
  .s--m40-44 > .s-head .s-title,.s--m40-44 > .s-ti__text > .s-title{ font-size:40px; line-height:44px; }
  .s--m32 > .s-head .s-title,.s--m32 > .s-ti__text > .s-title{ font-size:32px; line-height:36px; }
  .invite--m48 .invite__title{ font-size:48px; line-height:48px; }
  .s-title--ms{ line-height:24px; }
}
/* 69. ?cards=index: на 390 заголовок 24/28 с переносом — без горизонтальной прокрутки */
@media (max-width:1023px){ .vindex__title{ font-size:24px; line-height:28px; overflow-wrap:break-word; min-width:0; } }
/* 70. ?cards=mosaic: затемнение сверху под номером, нижнее сильнее; на 600–1023 последняя плитка на всю ширину */
.mosaic__tile::before{ content:""; position:absolute; inset:0 0 auto; height:35%; z-index:-1; background:linear-gradient(180deg, rgba(37,11,9,.45) 0%, rgba(37,11,9,0) 100%); pointer-events:none; }
.mosaic__tile::after{ background:linear-gradient(180deg, rgba(37,11,9,0) 20%, rgba(37,11,9,.7) 55%, rgba(37,11,9,.97) 100%); }
.mosaic__num,.mosaic__title{ text-shadow:0 1px 12px rgba(0,0,0,.35); }
@media (min-width:600px) and (max-width:1023px){ .mosaic__tile:last-child:nth-child(even){ grid-column:1 / -1; } }
html[data-a11y] .mosaic__tile::before{ display:none; }
/* 75. крупный шрифт (L/XL) и узкие экраны: колонки сеток сжимаются, длинные слова переносятся — без горизонтальной прокрутки */
.acc__title{ min-width:0; overflow-wrap:break-word; }
.anchors--buttons .anchors__item{ white-space:normal; max-width:100%; }
@media (min-width:1024px){
  .reviews__cards{ grid-template-columns:repeat(4,minmax(0,1fr)); }
  .steps--2{ grid-template-columns:repeat(2,minmax(0,1fr)); } .steps--3{ grid-template-columns:repeat(3,minmax(0,1fr)); } .steps--4{ grid-template-columns:repeat(4,minmax(0,1fr)); }
  .s-feedback__grid{ grid-template-columns:minmax(0,1fr) minmax(0,416px); }
  .members--2{ grid-template-columns:repeat(2,minmax(0,304px)); }
  .members--3{ grid-template-columns:repeat(3,minmax(0,1fr)); } .members--4{ grid-template-columns:repeat(4,minmax(0,1fr)); }
  .s-members__split{ grid-template-columns:minmax(0,1fr) minmax(0,640px); }
  .history__content{ min-width:0; }
}
/* 80. Primary: рамка brown-700 и в светлом окне; ховеры «Развернуть/Читать главу» и «Скачать» */
.modal.is-light .btn--primary{ border-color:var(--brown-700); }
.toggle span{ text-decoration:underline transparent; text-underline-offset:4px; transition:text-decoration-color .2s; }
.toggle:hover span,.toggle:focus-visible span{ text-decoration-color:currentColor; }
.toggle:hover .icon{ transform:translateY(2px); }
.toggle[aria-expanded="true"]:hover .icon{ transform:rotate(180deg) translateY(2px); }
.doc__link{ transition:opacity .2s, border-color .2s; }
.doc__link:hover,.doc__link:focus-visible{ opacity:.8; border-bottom-color:transparent; }
/* 85. поле поиска: видимый фокус — линия под полем вместо полного отсутствия обводки */
.search-panel__form:focus-within,.search-form:focus-within{ border-bottom-color:currentColor; box-shadow:0 1px 0 0 currentColor; }
.search-panel__form input:focus-visible,.search-form__input:focus-visible{ outline:none; }

/* ---------- событие и новость без текста; лента из 1–3 фото ---------- */
/* событие без описания: теги — над карточками, «Купить онлайн» и «Касса» — в ряд на всю ширину (без пустой колонки слева) */
.event--nodesc .event__grid{ gap:24px; }
.event--nodesc .tags{ margin:0; }
@media (min-width:1024px){
  .event--nodesc .event__grid{ display:flex; flex-direction:column; gap:32px; }
  .event--nodesc .event__aside{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; }
}
/* новость без текста: сразу фото (без пустого блока текста) */
.article--photos > .gallery:first-child{ margin-top:0; padding-top:0; }
/* 1–3 фото: плитки 3/2 в ряд (на 1440 — по трети ширины), без прокрутки; на телефоне одно фото — на всю ширину */
.gallery--few .gallery__item:only-child{ width:100%; }
@media (min-width:1024px){
  .gallery--few .gallery__track{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); overflow:visible; }
  .gallery--few .gallery__item,.gallery--few .gallery__item:only-child{ width:auto; }
  .gallery--few .gallery__controls{ display:none; } /* листать нечего */
}

/* шапки новости и события: кадр по верхней трети (центр обрезал головы) */
.page-hero--news .page-hero__slide,.page-hero--event .page-hero__slide{ background-position:center 30%; }


/* ===== сверка «макет ↔ сайт» (SBS, 10.11): a.json / b.json / c.json ===== */
/* a#11. узор шапки страницы на 1440: Ornament .18 × Pattern .20 (было .18 × .35) */
@media (min-width:1024px){ .page-hero__ornament{ opacity:calc(var(--ornament-opacity) * .2); } }
/* a#26 / b#10. чипы-вкладки: рамка внутри размера — 36 (pad 8/16) на 390, 48 (pad 12/24) на 1440 */
.chip{ min-height:36px; padding:7px 15px; }
@media (min-width:1024px){ .chip{ min-height:48px; padding:11px 23px; } }
/* a#26. поиск: «Найдено N» → вкладки 32 (390) / 48 (1440) — это gap колонки, без отрицательного отступа */
.search-page__tabs,.search-page__tabs:not(#_){ margin-top:0; }
/* a#27 / a#29. поиск 390: в шапке под «Поиск» пустая строка лида (16 + 24) — шапка 200, поле с y280 */
@media (max-width:1023px){ .page-hero--search .page-hero__body{ padding-bottom:40px; } }
/* a#28. заголовок результата поиска на 390: 16/24 Bold */
@media (max-width:1023px){ .result__title{ font-weight:700; line-height:24px; } }
/* a#17. новость: после ленты фото 96 (390 — 64) до «Других новостей», над ними линия border-subtle (Gallery pb 96/64, More news stroke 48%) */
.s.article:has(> .gallery:last-child):not(#_){ padding-bottom:64px; }
@media (min-width:1024px){ .s.article:has(> .gallery:last-child):not(#_){ padding-bottom:96px; } }
.s.more-news:not(#_){ border-top:1px solid var(--border-subtle); }
/* a#18. кадр шапки новости как в макете: 1440 — полоса 30–77% высоты кадра (центр ниже середины), 390 — 4–93% */
.page-hero--news .page-hero__slide{ background-position:center 40%; }
@media (min-width:1024px){ .page-hero--news .page-hero__slide{ background-position:center 57%; } }
/* a#21. строка репертуара 390: стрелка по вертикальному центру названия (Title row align CENTER) */
@media (max-width:1023px){ .program-row__title-row{ align-items:center; } .program-row__arrow{ margin-top:0; } }
/* a#23 / b#37. строка документа: колонка типа 64 (название с x152), плашка PDF 28 с рамкой внутри, строка 68; «Скачать →» у программки */
.doc__type{ padding:3px 11px; }
@media (min-width:1024px){ .doc{ grid-template-columns:64px minmax(0,1fr) auto auto; padding:20px 0 19px; } .doc__type{ justify-self:start; } }
.doc__link--arrow{ display:inline-flex; align-items:center; gap:8px; padding-bottom:8px; border-bottom:1px solid var(--border-subtle); }
.doc__link--arrow .icon{ width:24px; height:18px; transition:transform .2s; }
.doc__link--arrow:hover .icon{ transform:translateX(8px); }
.doc__link--arrow:hover,.doc__link--arrow:focus-visible{ opacity:1; border-bottom-color:currentColor; }
/* b#1 / b#50. «Текст + фото» на 390: фото 390×260 (во всех мобильных макетах) */
@media (max-width:599px){ .s-ti__image{ aspect-ratio:390/260; } }
/* b#11. «Визитная карточка» 1440: абзацы через 16 (paragraphSpacing 16), у свернутого на мобилке хвоста нет лишнего нижнего отступа — блок 724 */
.rich .m-more > :last-child{ margin-bottom:0; }
@media (min-width:1024px){ .s-ti .rich p{ margin-bottom:16px; } .s-ti .rich > :last-child,.s-ti .rich .m-more > :last-child{ margin-bottom:0; } }
/* b#3 / b#5. главы истории: подпись «Глава N» 14/20; заголовок → лид 12 (390) / 16 (1440); текст → «Свернуть / Читать главу» 12 / 24 */
.chapter__label{ font-size:14px; line-height:20px; }
.chapter__title{ margin-bottom:12px; }
.chapter .toggle{ margin-top:12px; }
@media (min-width:1024px){ .chapter__title{ margin-bottom:16px; } .chapter .toggle{ margin-top:24px; } }
/* b#3 / b#12. руководители: должность → имя 8 (390) / 16 (1440) */
.person__role{ margin-bottom:8px; }
@media (min-width:1024px){ .person__role{ margin-bottom:16px; } }
/* b#4. награды руководителей 18/24 */
@media (min-width:1024px){ .person__awards ul{ line-height:24px; } }
/* b#7. «Руководство» на 390: без линии между руководителями */
@media (max-width:1023px){ .s-people:not(.s-people--small) .person{ border-bottom:0; } }
/* b#10 / b#12–15. «Состав»: вкладки → название группы 24 (390) / 40 (1440) */
.s-tabs-people .chips{ margin-bottom:24px; }
@media (min-width:1024px){ .s-tabs-people .chips{ margin-bottom:40px; } }
/* b#18 и др. Секции страниц лежат в .page-blocks (блоки редактора), поэтому правила «.page-hero + .s-…» не срабатывали:
   первая текстовая секция после шапки — 96 сверху и снизу на 1440 (Резиденция «История здания», Инструменты «Idea») */
@media (min-width:1024px){
  .page-hero + .page-blocks > .s-text:first-child > .s-head:first-child,
  .page-hero + .page-blocks > .s-text:first-child > .s-body:first-child{ padding-top:96px; }
  .page-hero + .page-blocks > .s-text:first-child{ padding-bottom:96px; }
}
/* b#20 / b#21. Резиденция, хронология: без линии над секцией; «Хронология» сразу после отступа текста (96), заголовок → строки 48; год и текст по верху */
.s-text + .s-timeline:not(#_){ border-top:0; }
@media (min-width:1024px){
  .s-text + .s-timeline > .s-head:not(#_){ padding-top:0; padding-bottom:48px; }
  .timeline--big .timeline__row{ align-items:flex-start; }
}
/* b#22. Резиденция 390: текст → «Хронология» 64 (pb текста 48 + 16); первый текст после шапки — заголовок через 40 (Text p40) */
@media (max-width:1023px){
  .s-text + .s-timeline > .s-head:not(#_){ padding-top:16px; }
  .page-hero + .page-blocks > .s-text:first-child > .s-head:first-child{ padding-top:40px; }
}
/* b#25. История в лицах 390: имя героя 22/26 */
@media (max-width:1023px){ .face__name{ font-size:22px; line-height:26px; } }
/* b#27. История в лицах: интро, «Статьи» и «90 лиц» — без линий между секциями */
.page-blocks > .s-faces:not(#_){ border-top:0; }
/* b#28. Гудков: «← Все герои рубрики» подчеркнута; видео → ссылка 48 (390) / 112 (1440) */
.s-text--narrow-media .s-after a{ text-decoration:underline; text-underline-offset:4px; }
.s-text--narrow-media .s-after{ margin-top:48px; }
@media (min-width:1024px){ .s-text--narrow-media .s-after:not(#_){ margin-top:112px; } }
/* b#32 / b#34. реквизиты (Requisite / Row): линия белая 4% (border-faint), строка 72 (390) / 60 (1440) вместе с линией */
.kv__row{ border-bottom-color:var(--border-faint); padding-bottom:11px; }
@media (min-width:1024px){ .kv__row{ padding:16px 0 15px; } }
/* b#34. «Учредительные документы»: таблица → строка свертки 32, свертка → абзац 64 (по тексту, без внутренних 12 у summary) */
@media (min-width:1024px){ .s-kv .acc--inline{ margin-top:20px; } .s-kv .acc--inline + .s-kv__after{ margin-top:52px; } }
/* b#43 / b#44 / b#45. Общественный совет: карточка p12 (390) / p16 (1440), между карточками 24 / 32; подпись группы → карточка 24 / 32;
   список → лента фото 64 / 96; на 390 подписи «Председатель / Члены совета» обычным регистром, имена Bold */
.council{ row-gap:24px; }
.council__item{ padding:12px 0; }
.s-council .group-label--plain{ margin:24px 0 24px; text-transform:none; letter-spacing:0; }
.s-council .group-label--plain:first-child{ margin-top:0; }
.s-council .gallery{ margin-top:64px; }
@media (max-width:1023px){ .council__name{ font-weight:700; } }
@media (min-width:1024px){
  .council{ row-gap:32px; }
  .council__item{ padding:16px 0; }
  .s-council .group-label--plain{ margin:32px 0 16px; padding-bottom:16px; text-transform:uppercase; letter-spacing:.02em; }
  .s-council .group-label--plain:first-child{ margin-top:0; }
  .s-council .gallery{ margin-top:96px; }
}
/* b#35 / b#39. Документы и Коррупция 1440: от фото до первого аккордеона 64 (Accordion padding-top 64) */
@media (min-width:1024px){ .page-hero + .page-blocks > .s-docs:first-child > .s-body:first-child{ padding-top:64px; } }
/* b#37. аккордеоны документов (Document / Row): линия под заголовком открытого раздела и под каждым документом,
   перед первым документом линии нет; фильтр годов 8 сверху / 16 снизу */
.acc--docs .doc{ border-top:0; border-bottom:1px solid var(--border-subtle); }
.acc--docs[open]{ border-bottom:0; }
.acc--docs[open] > .acc__head{ border-bottom:1px solid var(--border-subtle); }
.acc--docs .chips--small{ margin:8px 0 16px; }
.s--light .acc--docs .doc,.s--light .acc--docs[open] > .acc__head{ border-color:var(--border-inverse); }
.acc--docs .docs-empty{ border-top:0; }
/* b#39. Коррупция: аккордеоны → «Сообщить о коррупции» без линии, 64 + заголовок секции 64 */
.s-docs + .s-boxes:not(#_){ border-top:0; }
@media (min-width:1024px){ .s-docs:has(+ .s-boxes){ padding-bottom:64px; } }
/* b#42. «Сообщить о коррупции» 390: карточки p24/20, описание 16/24 */
@media (max-width:1023px){ .s-boxes .box{ padding:24px 20px; } .s-boxes .box__text{ font-size:16px; line-height:24px; } }
/* b#48 / b#49. Студия, «Молодежная студия — это место…» (Path): 96 сверху и снизу (390 — 40 / 48), заголовок → шаги 48 (32),
   шаг без номера: линия, 24, заголовок, 16, текст; шаги через 32 */
.s-steps:not(:has(.step__label)) .step{ padding-top:24px; }
.s-steps:not(:has(.step__label)) .step__title{ margin-bottom:16px; }
.s-steps.s--light:not(.s--beige):not(:has(.step__label)) > .s-head{ padding-top:40px; padding-bottom:32px; }
.s-steps.s--light:not(.s--beige):not(:has(.step__label)) .steps{ gap:32px; }
@media (min-width:1024px){
  .s-steps.s--light:not(.s--beige):not(:has(.step__label)) > .s-head{ padding-top:96px; padding-bottom:48px; }
  .s--light:has(> .gallery:last-child):not(#_){ padding-bottom:96px; }
}
/* b#54. теги (Tag p4/12, рамка внутри) — 28; подпись группы педагогов на 1440 с линией снизу (Label p0/0/16 + stroke) */
.tag{ padding:3px 11px; }
@media (min-width:1024px){ .s-people .group-label:not(.group-label--plain){ border-bottom:1px solid var(--border-subtle); } }
/* c#44 / c#59. ошибка согласия (29.1) — отдельной строкой под чекбоксом во всю ширину: 20 под строкой, 14/20 (390); 24, 18/24 (1440).
   Раньше «.check > span» (flex-basis 0) перебивал flex-basis:100% у ошибки — она вставала справа и сжимала текст согласия */
.check{ row-gap:20px; }
.check > .check__error{ flex:0 0 100%; font-size:14px; line-height:20px; }
@media (min-width:1024px){ .check{ row-gap:24px; } .check > .check__error{ font-size:18px; line-height:24px; } }
/* b#21 / b#27 / c#6 / c#16 / c#24 / c#26 / c#55. Секции без линии сверху: в макетах линия между секциями либо есть (border-subtle 48% —
   флаг «Линия сверху», .s--border), либо ее нет; полупрозрачной 4% по умолчанию нет ни в одном макете */
.s + .s:not(.s--border):not(.more-news):not(#_){ border-top:0; }
/* c#4. лид шапки из двух строк — один блок с переносом (Пушкинская карта), без отступа между абзацами */
.page-hero__lead p + p{ margin-top:0; }
/* c#5. теги → текст 48 (Meta wrap pb 24 + Body pt 24 на 390, 48 на 1440) */
.s-text:not(.s-text--narrow-media) .tags{ margin-bottom:48px; }
/* c#8. «Как купить билет» 390: сверху 40, заголовок → линия шага 32, линия → «ШАГ 1» 24; шаги → линия примечания 48 */
@media (max-width:1023px){
  .s-steps.s--beige > .s-head{ padding-top:40px; padding-bottom:32px; }
  .s-steps.s--beige .step{ padding-top:24px; }
  .s-steps.s--beige .s-note--line{ margin-top:48px; }
}
/* c#10. Детям, вводный текст: абзацы через пустую строку (12 + 24 + 12 на 390, 16 + 28 + 16 на 1440) */
.s-text--blank .rich p{ margin-bottom:48px; }
.s-text--blank .rich > :last-child{ margin-bottom:0; }
@media (min-width:1024px){ .s-text--blank .rich p{ margin-bottom:60px; } .s-text--blank .rich > :last-child{ margin-bottom:0; } }
/* c#9. Детям 1440: после ленты фото 96 до линии следующей секции (у соседней секции есть линия — двойного отступа нет) */
@media (min-width:1024px){ .s:has(> .gallery:last-child):has(+ .s.s--border):not(#_){ padding-bottom:96px; } }
/* c#0. Посетителям 390: карточки 64 сверху и снизу */
@media (max-width:1023px){
  .page-hero + .page-blocks > .s-cards:first-child > .s-body:first-child{ padding-top:64px; }
  .page-hero + .page-blocks > .s-cards:first-child:last-child{ padding-bottom:64px; }
}
/* c#3. ?cards=mosaic: номер плитки читается на светлых фото — плотнее затемнение сверху и тень у номера */
.mosaic__tile::before{ height:40%; background:linear-gradient(180deg, rgba(37,11,9,.7) 0%, rgba(37,11,9,.35) 55%, rgba(37,11,9,0) 100%); }
.mosaic__num{ opacity:1; text-shadow:0 1px 2px rgba(0,0,0,.6), 0 0 16px rgba(0,0,0,.45); }
/* c#23 / c#27 / c#39. точечные отступы секций по мобильным макетам (класс секции): 24 / 72 сверху, 24 снизу; c#36 — 64 снизу на 1440 */
@media (max-width:1023px){
  .s.s--mt24 > .s-body:first-child,.s.s--mt24 > .s-head:first-child{ padding-top:24px; }
  .s.s--mt72 > .s-body:first-child,.s.s--mt72 > .s-head:first-child{ padding-top:72px; }
  .s.s--mb24:not(#_){ padding-bottom:24px; }
}
@media (min-width:1024px){ .s.s--pb64:not(#_){ padding-bottom:64px; } }
/* Костюм 1440: «Основа» — текст через 64 после шапки (общее правило первой секции дает 96) */
@media (min-width:1024px){ .page-hero + .page-blocks > .s-text--osnova:first-child > .s-body:first-child{ padding-top:64px; } }
/* c#14. мастер-классы (крупная плашка) на 390: внутренний отступ 20 */
@media (max-width:1023px){ .cards--big.cards--plate .card__body{ padding:20px; } }
/* c#15. «Экскурсия»: заголовок → текст 16 (390) / 24 (1440) */
.s-text > .s-head:has(.s-title--xm){ padding-bottom:16px; }
@media (min-width:1024px){ .s-text > .s-head:has(.s-title--xm){ padding-bottom:24px; } }
/* c#17. локации-аккордеон 390: 24 сверху, 32 снизу */
@media (max-width:1023px){ .steps--acc .step{ padding:24px 0 32px; } }
/* c#18. стрелки слайдера в шапке на 390 — 24 от низа фото */
@media (max-width:1023px){ .page-hero__controls{ bottom:24px; } }
/* c#21 / c#22. Сувениры, «Где купить»: каталог → заголовок 64 (390) / 96 (1440), заголовок → список 64 (390) / 96 (1440) */
.s-catalog + .s-kv--map:not(#_){ padding-top:0; }
.s-catalog + .s-kv--map > .s-head + .s-body{ padding-top:40px; }
@media (max-width:1023px){ .s-catalog:has(+ .s-kv--map){ padding-bottom:32px; } }
@media (min-width:1024px){ .s-catalog + .s-kv--map > .s-head:not(#_){ padding-top:0; } .s-catalog + .s-kv--map > .s-head + .s-body:not(#_){ padding-top:64px; } }
/* c#29. Возврат: текст раскрытого способа 16/24 (390) / 20/28 (1440) */
.acc-card .acc__body.rich{ font-size:16px; line-height:24px; }
@media (min-width:1024px){ .acc-card .acc__body.rich{ font-size:20px; line-height:28px; } }
/* c#31. подписи шкалы возврата — цветом процентов (#250b09) */
.scale__label{ color:inherit; }
/* c#32. «Услуги мастерской» 390: строка 16/16 (одна строка 56, две — 80) */
@media (max-width:1023px){ .s-programs--services .program,.s-programs--services .program:first-child{ padding:16px 0; } }
/* c#34 / c#38. «Команда» мастерских на светлом фоне: абзацы #250b09, как в макете */
.s-members.s--light .rich{ color:var(--wine-950); }
/* c#40 / c#41. Контакты 390: список сразу через 40 после шапки; порядок: список → карта → «Скачать карточку» (12/16) → плашка кассы */
@media (max-width:1023px){
  .s-kv--map > .s-body:first-child{ padding-top:0; }
  .s-kv--map .s-kv__list{ display:contents; }
  .s-kv--map .map{ order:1; }
  .s-kv--map .s-kv__list > .s-actions{ order:2; margin-top:32px; }
  .s-kv--map .s-actions .link-arrow{ font-size:12px; line-height:16px; }
}
/* c#37. «Показать еще» в карточках инструментов на 390: текст слева, отступ 20 */
@media (max-width:1023px){ .cards__more .btn{ justify-content:flex-start; padding-left:20px; padding-right:20px; } }
/* c#48. «Написать нам»: заголовок → первое поле 16 (390) / 24 (1440); ссылки-стрелки в плашках — малые (иконка 24×18, высота 28) */
.s-feedback .form .s-title{ margin-bottom:0; }
@media (max-width:1023px){ .s-feedback .form--plate{ gap:16px; } }
.s-feedback .box .link-arrow .icon,.s-boxes .box .link-arrow .icon{ width:24px; height:18px; }
.s-feedback .box .link-arrow,.s-boxes .box .link-arrow{ gap:8px; }
/* c#46. «Отправить» на 390: 18/24, текст слева, отступ 24 */
@media (max-width:1023px){ .form--plate .form__actions .btn{ justify-content:flex-start; padding-left:24px; padding-right:24px; font-size:18px; line-height:24px; } }
/* c#49. поле сообщения без уголка изменения размера */
textarea.field__input{ resize:none; }
/* c#54. Как оставить отзыв 390: шапка → «Вариант 1» 48 (тело 24 + плашка 24), шаги через 16 */
@media (max-width:1023px){ .s-guide > .s-body:first-child{ padding-top:24px; } .guide__steps{ gap:16px; } }
/* c#57 / c#60. Анкета 390: кнопка «Отправить анкету» 18/24 по центру; шапка → первый вопрос 24 */
@media (max-width:1023px){
  .survey .form__actions .btn{ justify-content:center; font-size:18px; line-height:24px; }
  .s-survey > .s-body:first-child{ padding-top:24px; }
}
/* c#61. Политика 390: заголовки разделов 16/24 Bold, заголовок шапки 26/32 */
@media (max-width:1023px){ .legal__title{ font:700 16px/24px var(--font-text); } .page-hero--legal .page-hero__title{ font-size:26px; line-height:32px; } }
/* c#62. Карта сайта 1440: шаг ссылок 36 (18/24 + 12) — строка списка не выше ссылки */
.sitemap li{ line-height:24px; }
/* версия для слабовидящих на телефоне: заголовки секций 40/44, как раньше (модификаторы s--m48/46/40-44/32 не перебивают) */
@media (max-width:1023px){
  html[data-a11y] .s[class*="s--m"] > .s-head .s-title,html[data-a11y] .s[class*="s--m"] > .s-ti__text > .s-title,html[data-a11y] .invite--m48 .invite__title{ font-size:40px; line-height:44px; }
}

/* Ошибки форм (c#45, c#50): на темном фоне — светлый красный #FF8A7A (текст и рамка), на светлом — #B42318.
   Поле с ошибкой в фокусе остается красным: фокус не перебивает ошибку (рамка становится толще). */
.form{ --form-error:#ff8a7a; }
.is-light .form,.form.is-light{ --form-error:#b42318; }
html[data-a11y="black-on-white"] .form,html[data-a11y="blue"] .form{ --form-error:#b42318; }
html[data-a11y="white-on-black"] .form{ --form-error:#ff8a7a; }
.field__input[aria-invalid="true"],.modal.is-light .field__input[aria-invalid="true"],.check input[aria-invalid="true"],.modal.is-light .check input[aria-invalid="true"]{ border:2px solid var(--form-error, #b42318); box-shadow:none; }
.option input[aria-invalid="true"] + .option__mark{ border-color:var(--form-error, #b42318); }
.field__error,.check__error,.form__error-title{ color:var(--form-error, #b42318); }
.form__error{ border-color:var(--form-error, #b42318); }
.field__input[aria-invalid="true"]:focus,.field__input[aria-invalid="true"]:focus-visible,.modal.is-light .field__input[aria-invalid="true"]:focus,.modal.is-light .field__input[aria-invalid="true"]:focus-visible,html[data-a11y] .field__input[aria-invalid="true"]:focus-visible,html[data-a11y] .modal.is-light .field__input[aria-invalid="true"]:focus-visible{ border-color:var(--form-error, #b42318); box-shadow:inset 0 0 0 1px var(--form-error, #b42318); }
/* c#53. Кнопки-ссылки («Оставить отзыв на bus.gov.ru / на Яндекс Картах») на телефоне: 14/20 в одну строку, как остальные мобильные кнопки; стрелка не сжимается */
@media (max-width:1023px){
  .buttons .btn{ gap:12px; padding-left:16px; padding-right:16px; font-size:14px; line-height:20px; white-space:nowrap; }
  .buttons .btn .icon{ flex:0 0 auto; }
}
@media (max-width:359px){ .buttons .btn{ white-space:normal; } }

/* Доступность (аудит): кнопка паузы слайдера — видна только при фокусе с клавиатуры, макет не меняет */
.slider-pause{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.slider-pause:focus-visible{ position:static; width:auto; height:48px; margin:0; padding:0 16px; overflow:visible; clip:auto; border:1px solid currentColor; background:var(--bg-deep); color:inherit; font:500 14px/20px var(--font-text); text-transform:uppercase; cursor:pointer; }
/* Поле поиска: видимый признак фокуса (раньше outline:none без замены) — линия под полем становится плотнее */
.search-panel__form:focus-within,.search-form:focus-within{ box-shadow:0 1px 0 0 currentColor; }
/* Мобильное меню и просмотр фото: высота по видимой области (на iOS 100vh уходит под панель браузера) */
@supports (height:100dvh){
  .mobile-menu{ min-height:calc(100dvh - 56px); max-height:calc(100dvh - 56px); }
  .lightbox{ height:100dvh; }
}

/* Печать: черный текст на белом, без шапки сайта, слайдеров, кнопок и служебных плашек */
@media print{
  html,body{ background:#fff !important; color:#000 !important; }
  .site-header,.a11y-panel,.a11y-img-off,.cookie-bar,.site-notice,.mobile-menu,.search-panel,.skip-link,dialog,.hero__controls,.page-hero__controls,.page-hero__media,.hero__slides,.gallery__nav,.site-footer__partners,.site-footer__nav,.btn,.btn-circle,.btn-square,.link-arrow,.toggle,.chips,.pager,.invite,.s-invite,.map,.home-afisha__ornament,.page-hero__ornament,.event-row__image,.news-card__cover,form{ display:none !important; }
  *,*::before,*::after{ background:transparent !important; color:#000 !important; box-shadow:none !important; text-shadow:none !important; animation:none !important; transition:none !important; opacity:1 !important; border-color:#999 !important; }
  .hero,.page-hero,.s,section{ min-height:0 !important; height:auto !important; padding-top:12px !important; padding-bottom:12px !important; }
  .hero__title img{ filter:invert(1); max-height:80px; width:auto; }
  .more,.m-more,[hidden].more,.tab-more,.tab-more[hidden]{ display:block !important; }
  details > *{ display:block !important; }
  a{ text-decoration:underline; }
  h1,h2,h3{ break-after:avoid; }
  .event-row,.news-card,.card,.fact,.doc,.box{ break-inside:avoid; }
}
/* Состав: руководитель и первые карточки видны сразу, остальные артисты вкладки — за полосой «Артисты» (кнопка [data-more-toggle] → .tab-more) */
.tab-more:not([hidden]){ display:flow-root; }
.tab-more__toggle{ min-height:44px; margin-top:0; }
@media (min-width:1024px){
  .tab-more__toggle{ display:flex; justify-content:space-between; width:100%; min-height:0; margin-top:0; padding:16px 0; border-top:1px solid var(--border-subtle); border-bottom:1px solid var(--border-subtle); }
  .members + .tab-more__toggle{ margin-top:48px; }
}

/* Текст + фото: отдельный кадр из мобильного макета (<name>-mob), пока стоит демо-фото */
.s-ti__mob{ display:none; }
@media (max-width:599px){
  .s-ti__image.has-mob > .kt-pic, .s-ti__image.has-mob > img{ display:none; }
  .s-ti__image.has-mob .s-ti__mob{ display:block; height:100%; }
}
@media (max-width:599px){ .page-hero__slide.has-mobile--s{ background-image:var(--bg-m) !important; background-position:center; } }
/* Лента-меню разделов: гаснущий край там, где есть еще пункты */
.anchors.has-more-r .anchors__track{ -webkit-mask-image:linear-gradient(to left, transparent 0, #000 56px); mask-image:linear-gradient(to left, transparent 0, #000 56px); }
.anchors.has-more-l .anchors__track{ -webkit-mask-image:linear-gradient(to right, transparent 0, #000 56px); mask-image:linear-gradient(to right, transparent 0, #000 56px); }
.anchors.has-more-l.has-more-r .anchors__track{ -webkit-mask-image:linear-gradient(to right, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%); mask-image:linear-gradient(to right, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%); }

/* ===== Правки заказчика 19.11 ===== */
/* Хронология: раскрытый текст главы того же тона, что и анонс (раньше анонс был приглушен, а текст — нет) */
.chapter .more{ opacity:.85; }
/* Награды: текст на всю ширину колонки */
@media (min-width:1024px){ .s-awards .timeline__text,.s-timeline .timeline__text{ max-width:none; flex:1 1 auto; } }
/* Реквизиты — раскрывающийся блок, как «Документы» */
.acc--headline .acc__body{ padding:20px 0 8px; }
.acc--headline .rich p{ margin:0 0 8px; }
.acc--headline .headline__more{ margin:16px 0 0; }
.s-headline:has(.acc--headline){ padding-bottom:32px; }
@media (min-width:1024px){ .acc--headline .acc__body{ padding:32px 0 8px; } .acc--headline .rich{ font-size:20px; line-height:28px; max-width:none; } .s-headline:has(.acc--headline){ padding-bottom:64px; } }
/* Состав: слово «Артисты» на полосе крупнее */
.tab-more__toggle > span{ font-size:16px; line-height:24px; }
@media (min-width:1024px){ .tab-more__toggle > span{ font-size:24px; line-height:28px; letter-spacing:.02em; } }
/* История в лицах: карточка со статьей подсвечивается при наведении */
.face a .face__name{ text-decoration:underline; text-decoration-color:transparent; text-underline-offset:5px; text-decoration-thickness:1px; transition:text-decoration-color .2s; }
.face a:hover .face__name,.face a:focus-visible .face__name{ text-decoration-color:currentColor; }
.face a .face__photo img{ transition:filter .3s, transform .5s var(--ease-out, ease); }
.face a:hover .face__photo img{ transform:scale(1.04); }
/* Страница героя: видео того же размера, что карточки видео в «Кантеле сегодня»; ссылка «Назад» без подчеркивания, с подсветкой */
@media (min-width:1024px){ .s-text--narrow-media .media-card{ width:576px; } }
.s-text--narrow-media .s-after a{ display:inline-flex; align-items:center; gap:8px; padding:10px 0; font:600 14px/20px var(--font-text); text-transform:uppercase; letter-spacing:.04em; text-decoration:none !important; opacity:.85; transition:opacity .2s, transform .2s; }
.s-text--narrow-media .s-after a:hover,.s-text--narrow-media .s-after a:focus-visible{ opacity:1; transform:translateX(-4px); }
@media (min-width:1024px){ .s-text--narrow-media .s-after a{ font-size:18px; line-height:24px; } }
/* Карточки в четыре колонки (инструменты мастерской): одинаковые блоки в один ряд */
@media (min-width:1024px){
  .cards--4{ grid-template-columns:repeat(4,minmax(0,1fr)); gap:32px 24px; }
  .cards--4.cards--compact .card__title{ font-size:26px; line-height:30px; }
  .cards--4 .card{ height:100%; }
}
/* Мобильная версия (правки 19.11) */
@media (max-width:1023px){
  /* надпись в кнопке блока-приглашения — по центру */
  .invite .btn{ justify-content:center; text-align:center; }
  /* шапка «Об ансамбле»: отступ под подзаголовком как у остальных страниц, а не под пустой ряд кнопок из макета */
  .page-hero--gap .page-hero__body{ padding-bottom:24px; }
  /* детские программы: без линий между программами одной возрастной группы */
  .s-programs:not(.s-programs--services) .program{ border-bottom:0; padding:0 0 20px; }
  .s-programs:not(.s-programs--services) .program:last-child{ padding-bottom:0; }
  .s-programs:not(.s-programs--services) .programs{ padding-top:20px; }
}
@media (max-width:1023px){
  /* меньше «воздуха»: текст → преподаватель → карусель (Школа йоухикко), заголовок «Где купить» → адрес (Сувениры) */
  .s--mb24 + .s-people > .s-body{ padding-top:16px; }
  .s-people + .s-gallery > .gallery{ padding-top:0; }
  .s-people:has(+ .s-gallery){ padding-bottom:32px; }
  .s-kv--map > .s-head + .s-body{ padding-top:0; }
  /* Афиша: танцоры в центре кадра */
}
@media (max-width:1023px){ .s-kv--map > .s-head{ padding-bottom:0; } }
/* «Сумма возврата»: без линии под шкалой (правки 19.11) */
.scale{ border-bottom:0; }

/* Правки 19.11 (решение 19.11): на десктопе под руководителем сразу все артисты, сворачивание — только до 1023px.
   Полоса «Артисты» остается подписью раздела, без стрелки. */
@media (min-width:1024px){
  .tab-more,.tab-more[hidden]{ display:flow-root !important; height:auto !important; opacity:1 !important; overflow:visible !important; }
  .tab-more__toggle{ pointer-events:none; cursor:default; }
  .tab-more__toggle svg{ display:none; }
}

/* Правки 20.11 */
/* стрелки баннеров на внутренних страницах — только белые стрелки, без фона и рамок (как на главной) */
.page-hero__controls .btn-square,.page-hero__controls .btn-square--solid{ background:none; border:0; color:#fff; opacity:.75; filter:drop-shadow(0 1px 6px rgba(0,0,0,.55)); }
.page-hero__controls .btn-square:hover,.page-hero__controls .btn-square:focus-visible{ background:none; color:#fff; opacity:1; }
/* таблицы в текстах (строки с «|»): расписание, стоимость, режим работы */
.rich .table-wrap{ margin:8px 0 24px; }
.rich .table-wrap:last-child{ margin-bottom:0; }
.table--plain{ font:inherit; }
.table--plain td{ padding:10px 24px 10px 0; }
.table--plain td:last-child{ padding-right:0; }
.table--plain td:first-child{ white-space:nowrap; }
.table--plain tr:has(td:first-child:empty) td{ padding-top:0; }
.table--plain tr:has(+ tr td:first-child:empty) td{ border-bottom:0; padding-bottom:4px; }
@media (max-width:599px){ .table--plain td:first-child{ white-space:normal; } .table--plain td{ padding-right:12px; } }
.s-strip__text--rich{ flex:1; max-width:720px; }
.s-strip__text--rich p{ margin:0 0 4px; }
.s-strip__text--rich .table-wrap{ margin:0 0 20px; }
@media (min-width:1024px){ .s-strip__inner:has(.s-strip__text--rich){ align-items:flex-start; } }
.table--plain td:nth-child(1):nth-last-child(3){ width:240px; }
.table--plain td:nth-child(2):nth-last-child(2){ width:200px; }
@media (max-width:599px){ .table--plain td:nth-child(1):nth-last-child(3){ width:auto; } .table--plain td:nth-child(2):nth-last-child(2){ width:auto; white-space:nowrap; } }
.s-strip__text--rich .table--plain td:first-child{ width:50%; }

/* Правки 22.11 */
/* «Артисты» в составе — крупнее, шрифтом заголовков */
.tab-more__toggle > span{ font:400 28px/32px var(--font-display); letter-spacing:0; text-transform:none; }
@media (min-width:1024px){ .tab-more__toggle > span{ font-size:40px; line-height:44px; letter-spacing:0; } }
/* телефон: надпись в широких кнопках форм — по центру */
@media (max-width:1023px){ .modal.is-light .form__actions .btn[type=submit],.form--plate .form__actions .btn{ justify-content:center; text-align:center; } }
/* Видео-карточки: файл или VK/Rutube играют в самой карточке */
button.media-card{ border:0; padding:0; cursor:pointer; font:inherit; color:inherit; }
.media-card--player{ display:block; border:0; background:#000; object-fit:contain; }
.media-card[style] .btn-circle{ background:rgba(20,8,7,.6); border-color:#fff; color:#fff; }

/* Видео во всплывающем окне (кнопка «Смотреть видео» в карточках) */
button.link-arrow{ background:none; border-width:0 0 1px; border-style:solid; padding:0 0 8px; cursor:pointer; text-align:left; }
.video-modal{ width:min(1120px, calc(100% - 32px)); max-width:none; padding:0; border:0; background:none; overflow:visible; }
.video-modal::backdrop{ background:rgba(10,8,8,.92); }
.video-modal__player{ display:block; width:100%; aspect-ratio:16/9; max-height:calc(100vh - 120px); border:0; background:#000; }
.video-modal__close{ position:absolute; right:0; bottom:100%; width:44px; height:44px; padding:0; border:0; background:none; color:#fff; font:300 36px/44px var(--font-text); cursor:pointer; }
.video-modal__close:hover,.video-modal__close:focus-visible{ opacity:.7; }
.media-card[style] .media-card__title{ text-shadow:0 1px 2px rgba(0,0,0,.9), 0 0 12px rgba(0,0,0,.7); }

/* 24.11: стрелки у ленты видео (запущенный ролик перехватывает мышь) */
.media__bar{ display:flex; justify-content:flex-end; gap:8px; padding:16px var(--gutter) 0; }
.media__bar .btn-arrow{ width:48px; height:44px; }
.media.is-static .media__bar{ display:none; }
@media (min-width:1024px){ .media__bar{ padding:16px 64px 0; } .media__bar .btn-arrow{ width:56px; } }
/* 24.11: кнопка «Наверх» */
.to-top{ position:fixed; right:16px; bottom:16px; z-index:40; display:inline-flex; align-items:center; justify-content:center; width:48px; height:48px; padding:0; border:1px solid rgba(225,215,196,.5); background:var(--wine-950,#250b09); color:#fff; cursor:pointer; opacity:0; visibility:hidden; transform:translateY(8px); transition:opacity .25s, transform .25s, visibility .25s; }
.to-top.is-visible{ opacity:1; visibility:visible; transform:none; }
.to-top:hover,.to-top:focus-visible{ background:var(--cream-200,#e1d7c4); color:var(--wine-950,#250b09); }
.to-top .icon{ width:24px; height:24px; transform:rotate(-90deg); }
@media (min-width:1024px){ .to-top{ right:32px; bottom:32px; width:56px; height:56px; } }
@media print{ .to-top{ display:none; } }
/* 24.11: данные события — строкой, без таблицы-сетки */
@media (min-width:1024px){
  .facts{ display:flex; flex-direction:row; flex-wrap:wrap; gap:24px 64px; padding:40px 64px; border-bottom:1px solid var(--border-subtle); }
  .fact,.fact:last-child,.fact:nth-child(3n){ min-height:0; padding:0; border:0; }
}
/* 24.11: «пустота» между соседними темными блоками без разделительной линии — отступы складывались вдвое */
@media (min-width:1024px){
  .s-text.s--dark + .s-faces.s--dark:not(.s--border),.s-text.s--dark + .s-catalog.s--dark:not(.s--border){ margin-top:-64px; }
  .s-text.s--dark + .s-people.s--dark:not(.s--border){ margin-top:-104px; }
  .s-tabs-people.s--dark + .s-headline.s--dark{ margin-top:-128px; }
}

/* 24.11 (вечер): шапки разделов прежней высоты (512), кадры «Об ансамбле», «Афиша», «Молодежная студия» перекадрированы — головы и ноги целы.
   На экранах шире ~1640 высота плавно растет (512 → 600 на 1920 → максимум 800), иначе на широком мониторе фото режется по головам. */
@media (min-width:1441px){
  .page-hero__media{ height:clamp(512px, 31.25vw, 800px); }
  .page-hero--tall .page-hero__media{ height:clamp(671px, 41vw, 900px); }
}

/* 24.11: мозаика из четырех плиток (инструменты) — четыре в один ряд, без большой первой и без «дырки» */
@media (min-width:600px) and (max-width:1023px){ .mosaic--4 .mosaic__tile:first-child,.mosaic--4 .mosaic__tile:last-child:nth-child(even){ grid-column:auto; } }
@media (min-width:1024px){
  .mosaic--4{ grid-template-columns:repeat(4,1fr); grid-auto-rows:440px; }
  .mosaic--4 .mosaic__tile:nth-child(n){ grid-column:auto; grid-row:auto; }
  .mosaic--4 .mosaic__tile:nth-child(n) .mosaic__title{ font-size:28px; line-height:30px; }
  .mosaic--4 .mosaic__body{ padding:24px; }
  .mosaic--4 .mosaic__num{ top:20px; left:24px; }
  .mosaic--4 .mosaic__text{ font-size:14px; line-height:20px; -webkit-line-clamp:5; }
  .mosaic--4 .mosaic__tile:hover .mosaic__text,.mosaic--4 .mosaic__tile:focus-visible .mosaic__text{ max-height:110px; }
}
a.mosaic__tile:not([href]){ cursor:default; }
/* 24.11: планшет (600–1023): шапка была 260px при ширине до 1023 — полоса 4:1, фото резалось по головам. Высота растет с шириной, пропорция как на компьютере */
@media (min-width:600px) and (max-width:1023px){
  .page-hero__media{ height:max(260px, 35.556vw); }
  .page-hero--tall .page-hero__media{ height:max(361px, 46.6vw); }
  .page-hero--m400 .page-hero__media{ height:max(400px, 35.556vw); }
}
/* 24.11: аудит кадров в шапках на всех ширинах 320–2560 */
/* телефоны 390–599: высота растет с шириной (пропорция 3:2, как на 390) — иначе на 480–599 полоса сужалась и резала головы */
@media (max-width:599px){
  .page-hero__media{ height:max(260px, 66.667vw); }
  .page-hero--tall .page-hero__media{ height:max(361px, 92.56vw); }
  .page-hero--m400 .page-hero__media{ height:max(400px, 102.56vw); }
}
/* планшет: мобильный кадр (портрет) в широкой полосе — показываем лицо, а не макушку */
@media (min-width:600px) and (max-width:1023px){ .page-hero__slide.has-mobile:not(.has-mobile--s){ background-position:center 42%; } }
/* новости на компьютере: кадр ближе к верху фото (как у событий) — при 57% у групповых фото срезались головы */
@media (min-width:1024px){ .page-hero--news .page-hero__slide{ background-position:center 30%; } }
/* шапки новости и события на очень широких экранах: высота до 860 (было 680 — на 2560 оставалась полоса 3,8:1) */
@media (min-width:1441px){ .page-hero--news .page-hero__media,.page-hero--event .page-hero__media{ height:min(35.556vw, 860px); } }
/* кадр фото в шапке новости/события выбирается в редакторе («Кадр фото в шапке») */
.page-hero.page-hero--focus-top .page-hero__slide{ background-position:center 12%; }
.page-hero.page-hero--focus-center .page-hero__slide{ background-position:center 55%; }
.page-hero.page-hero--focus-bottom .page-hero__slide{ background-position:center 70%; }

/* 25.11: «История в лицах» — люди без фото идут простым списком имен в колонки */
.names{ list-style:none; margin:0; padding:0; columns:1; column-gap:32px; }
.names + .faces{ margin-top:48px; }
.names__item{ break-inside:avoid; padding:10px 0; border-bottom:1px solid var(--border-subtle); font:400 20px/26px var(--font-display); }
.names__link{ display:inline-flex; align-items:center; gap:10px; color:var(--cream-200,#e1d7c4); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:5px; }
.names__link .icon{ width:20px; height:20px; flex:none; }
.names__link:hover,.names__link:focus-visible{ color:#fff; }
@media (min-width:600px){ .names{ columns:2; } }
@media (min-width:1024px){ .names{ columns:4; column-gap:32px; } .names__item{ padding:12px 0; font-size:22px; line-height:28px; } }

/* 25.11. Лента новостей без анонсов: карточка занимает две строки сетки (фото и дата с заголовком), пустых строк под анонс нет. */
@media (min-width:1024px){ @supports (grid-template-rows:subgrid){ .news-grid .news-card{ grid-row:span 2; margin-bottom:16px; } } }

/* 25.11. Список «Лица»: у ссылок без подчеркивания и стрелки; при наведении строка подсвечивается. */
.names__link{ display:block; border-radius:0; margin:-10px -12px; padding:10px 12px; color:inherit; text-decoration:none; transition:color .2s, background-color .2s; }
.names__link:hover,.names__link:focus-visible{ color:#fff; background:rgba(225,215,196,.12); }
@media (min-width:1024px){ .names__link{ margin:-12px -12px; padding:12px; } }
/* 28.11: на телефоне вертикальные групповые фото в горизонтальной рамке — кадр по людям, а не по центру (иначе видны прожекторы, а ноги/головы срезаны) */
@media (max-width:1023px){
  img[src*="/about-01"]{ object-position:50% 85%; }
  img[src*="/studio-01"]{ object-position:50% 25%; }
}
