:root {
  --red: #e32636;
  --red-dark: #b71927;
  --ink: #17191d;
  --muted: #66707a;
  --line: #e7e9ec;
  --paper: #fff;
  --wash: #f5f6f7;
  --radius: 18px;
  --shadow: 0 16px 40px rgba(21,28,38,.08);
  --container: 1240px

}

/* Kaluga afisha pilot: restored section switcher and news/event bridges. */
.section-switcher{display:flex;align-self:stretch;align-items:center;gap:6px;margin-left:10px}.section-switcher a{display:flex;height:42px;align-items:center;padding:0 17px;border-radius:999px;color:#c9cdd3;font-size:.92rem;font-weight:850;text-decoration:none}.section-switcher a:hover{background:#292c32;color:#fff}.section-switcher a.is-active{background:var(--red);color:#fff}.event-sections{background:#fffaf2}.event-sections .section-nav__scroll a:hover{background:#ffefd7}.event-sections .category-icon{color:#9a5700}.section-heading--events{border-color:#a45a00}.section-heading--events h2{color:#7b4300}.home-events{margin-top:32px}.home-events__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.home-event{display:grid;grid-template-columns:118px minmax(0,1fr);min-height:166px;overflow:hidden;border:1px solid #eadfcf;border-radius:18px;background:#fffaf2;text-decoration:none}.home-event:not(:has(img)){grid-template-columns:1fr}.home-event>img{width:118px;height:166px;object-fit:cover}.home-event>span:last-child{display:flex;min-width:0;align-self:center;flex-direction:column;padding:15px}.home-event time{color:#a45a00;font-weight:900}.home-event strong{display:-webkit-box;overflow:hidden;margin-top:5px;line-height:1.25;-webkit-box-orient:vertical;-webkit-line-clamp:3}.home-event small{margin-top:8px;color:var(--muted)}
@media(max-width:860px){.site-header__inner:has(.section-switcher){flex-wrap:wrap;padding:10px 0}.section-switcher{order:3;width:100%;height:46px;justify-content:center;margin:0;border-top:1px solid #30333a}.section-switcher a{height:34px;padding-inline:24px}}
@media(max-width:680px){.home-events__grid{grid-template-columns:1fr}.home-event{grid-template-columns:92px minmax(0,1fr);min-height:130px}.home-event>img{width:92px;height:130px}}

* {
  box-sizing: border-box

}

html {
  scroll-behavior: smooth

}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  font-size: 16px;
  line-height: 1.6

}

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

}

a {
  color: inherit;
  text-decoration-color: rgba(227,38,54,.45);
  text-underline-offset: 3px

}

a:hover {
  color: var(--red)

}

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

}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap

}

.focusable:focus {
  position: fixed !important;
  z-index: 9999;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  background: #fff

}

.utility-bar {
  background: var(--ink);
  color: #dfe3e7;
  font-size: .78rem

}

.utility-bar__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 7px 0

}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none

}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05

}

.brand__text strong {
  font-size: 1.55rem;
  letter-spacing: -.04em

}

.brand__text small {
  margin-top: 7px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .01em

}

.breaking-strip {
  background: #fff4f5;
  border-bottom: 1px solid #ffd9dd;
  color: var(--red-dark);
  font-weight: 700

}

.breaking-strip .block {
  padding: 10px 0

}

.main-content {
  min-height: 60vh;
  padding: 38px 0 72px

}

.breadcrumb-wrap {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: .84rem

}

.breadcrumb-wrap ol {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none

}

.sidebar {
  min-width: 0

}

.page-title,.view-header+h1,h1 {
  font-size: clamp(2rem,4vw,3.8rem);
  line-height: 1.08;
  letter-spacing: -.045em

}

.view-news>.view-header {
  margin-bottom: 24px

}

.view-news .view-content {

}

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

}

.news-grid__item:first-child {
  grid-column: span 2;
  grid-row: span 2

}

.news-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .22s ease,box-shadow .22s ease

}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow)

}

.news-card__media {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg,#f0f1f3,#e2e5e9)

}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease

}

.news-card:hover .news-card__media img {
  transform: scale(1.025)

}

.news-card__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: linear-gradient(135deg,var(--ink),#303741);
  color: #fff;
  text-decoration: none

}

.news-card__placeholder span {
  font-size: 3rem;
  font-weight: 900;
  opacity: .9

}

.news-card__body {
  padding: 20px

}

.news-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
  color: var(--muted);
  font-size: .76rem

}

.news-card__meta .field__item a {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff0f1;
  color: var(--red-dark);
  font-weight: 800;
  text-decoration: none

}

.news-card__title {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -.025em

}

.news-card__title a {
  text-decoration: none

}

.news-card__lead {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 10px;
  color: var(--muted);
  font-size: .92rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3

}

.news-grid__item:first-child .news-card__title {
  font-size: clamp(1.55rem,3vw,2.35rem)

}

.news-grid__item:first-child .news-card__body {
  padding: 26px

}

.news-article {
  max-width: 900px;
  margin-inline: auto

}

.news-article__header {
  margin-bottom: 30px

}

.news-article__category a {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff0f1;
  color: var(--red-dark);
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none

}

.news-article h1 {
  margin: 18px 0

}

.news-article__lead {
  max-width: 780px;
  color: #4b535c;
  font-size: 1.25rem;
  line-height: 1.5

}

.news-article__meta {
  display: flex;
  gap: 22px;
  margin-top: 22px;
  color: var(--muted);
  font-size: .86rem

}

.news-article__cover {
  overflow: hidden;
  margin: 0 0 34px;
  border-radius: 22px;
  background: var(--wash)

}

.news-article__cover img {
  width: 100%

}

.news-article__body {
  font-family: Georgia,"Times New Roman",serif;
  font-size: 1.15rem;
  line-height: 1.82

}

.news-article__body p {
  margin: 0 0 1.45em

}

.news-article__body h2,.news-article__body h3 {
  font-family: Inter,system-ui,sans-serif;
  line-height: 1.25

}

.news-article__body a {
  color: var(--red-dark)

}

.news-article__body blockquote {
  margin: 2em 0;
  padding: 8px 0 8px 24px;
  border-left: 4px solid var(--red);
  font-size: 1.25rem

}

.news-gallery {
  margin-top: 42px

}

.news-gallery .field__items {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 14px

}

.news-gallery img {
  border-radius: 14px

}

.news-article__source,.news-article__footer {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line)

}

.site-footer {
  padding: 52px 0;
  background: var(--ink);
  color: #d8dde2

}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 50px

}

.brand--footer {
  color: #fff

}

.site-footer p {
  max-width: 420px;
  color: #aeb6bf;
  font-size: .9rem

}

.site-footer__note {
  font-size: .78rem

}

.site-footer a:hover {
  color: #fff

}

@media (max-width:980px) {

.news-grid {
  grid-template-columns: repeat(2,minmax(0,1fr))

  }

.site-footer__grid {
  grid-template-columns: 1fr 1fr

  }

.brand__text small {
  display: none

  }

}

@media (max-width:700px) {

.brand__text strong {
  font-size: 1.25rem

  }

.main-content {
  padding-top: 24px

  }

.news-grid {
  grid-template-columns: 1fr;
  gap: 18px

  }

.news-grid__item:first-child {
  grid-column: auto;
  grid-row: auto

  }

.news-card__body,.news-grid__item:first-child .news-card__body {
  padding: 17px

  }

.news-grid__item:first-child .news-card__title {
  font-size: 1.35rem

  }

.news-article__lead {
  font-size: 1.08rem

  }

.news-article__body {
  font-size: 1.05rem

  }

.news-gallery .field__items {
  grid-template-columns: 1fr

  }

.site-footer__grid {
  grid-template-columns: 1fr;
  gap: 24px

  }

}

@media (prefers-reduced-motion:reduce) {

* {
  scroll-behavior: auto !important;
  transition: none !important

  }

}

.network-contact {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: .8rem

}

.network-contact>div:first-child {
  display: flex;
  align-items: center;
  gap: 10px

}

.network-contact strong {
  color: var(--muted);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em

}

.network-contact a {
  text-decoration: none

}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px

}

.social-links a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: .76rem;
  font-weight: 800;
  text-decoration: none

}

.social-links a:hover {
  border-color: var(--red);
  background: #fff1f2;
  color: var(--red-dark)

}

.site-footer .network-contact {
  display: block

}

.site-footer .network-contact>div:first-child {
  display: grid;
  gap: 3px;
  margin-bottom: 14px

}

.site-footer .network-contact strong {
  color: #fff

}

.site-footer .social-links a {
  border-color: #3b424b;
  background: #252a31;
  color: #fff

}

.contact-page__lead {
  max-width: 760px;
  font-size: 1.2rem;
  color: var(--muted)

}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
  margin: 28px 0 42px

}

.contact-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--wash);
  text-decoration: none

}

.contact-card strong {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted)

}

.contact-card span {
  margin-top: 6px;
  font-size: 1.25rem;
  font-weight: 800

}

.social-links--large {
  gap: 12px;
  margin: 22px 0 36px

}

.social-links--large a {
  min-height: 46px;
  padding: 10px 17px;
  font-size: .92rem

}

.node--type-page .field--name-body {
  max-width: 920px

}

.node--type-page .field--name-body table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse

}

.node--type-page .field--name-body td,.node--type-page .field--name-body th {
  padding: 12px;
  border: 1px solid var(--line)

}

@media (max-width:700px) {

.contact-cards {
  grid-template-columns: 1fr

  }

}

.brand__logo {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex: 0 0 auto

}

.footer-socials, .subscribe-card__icons {
  display: flex;
  gap: 9px;
  align-items: center

}

.social-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f2f4;
  color: #151515;
  transition: .18s ease

}

.social-icon:hover {
  background: var(--accent,#e5182b);
  color: #fff;
  transform: translateY(-2px)

}

.social-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor

}

.editorial-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 310px;
  gap: 48px;
  align-items: start

}

.editorial-sidebar {
  border-left: 1px solid #e5e7eb;
  padding-left: 28px

}

.sidebar-sticky {
  position: sticky;
  top: 20px

}

.sidebar-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-bottom: 3px solid #151515;
  padding-bottom: 8px

}

.sidebar-heading span {
  font-size: 1.35rem;
  font-weight: 900

}

.sidebar-heading a {
  font-size: .8rem;
  color: var(--accent,#e5182b)

}

.headline-feed {
  list-style: none;
  margin: 0;
  padding: 0

}

.headline-feed li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid #e5e7eb

}

.headline-feed time {
  font-size: .72rem;
  color: #8b9098;
  padding-top: 3px

}

.headline-feed a {
  font-size: .92rem;
  line-height: 1.32;
  font-weight: 700;
  color: #1b1d20;
  text-decoration: none

}

.headline-feed a:hover {
  color: var(--accent,#e5182b)

}

.subscribe-card {
  margin-top: 24px;
  padding: 22px;
  border-radius: 18px;
  background: #151515;
  color: #fff

}

.subscribe-card strong {
  font-size: 1.15rem

}

.subscribe-card p {
  color: #c7c9ce;
  font-size: .88rem

}

.subscribe-card .social-icon {
  background: #2b2d31;
  color: #fff

}

.news-gallery__grid .field__items {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px

}

.news-gallery__grid .field__item {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #f1f2f4;
  aspect-ratio: 4/3

}

.news-gallery__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s

}

.news-gallery__grid .field__item:hover img {
  transform: scale(1.025)

}

.section-title {
  border-bottom: 3px solid #151515;
  margin: 32px 0 18px

}

.section-title h2 {
  display: inline-block;
  margin: 0 0 -3px;
  padding: 0 0 9px;
  border-bottom: 3px solid var(--accent,#e5182b)

}

.responsive-video {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 16px;
  overflow: hidden

}

.responsive-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0

}

.site-footer a {
  display: block;
  color: inherit

}

.site-footer .social-icon {
  display: grid

}

.footer-socials {
  margin-top: 14px

}

.footer-socials .social-icon {
  background: #2b2d31;
  color: #fff

}

.social-icon--telegram {
  background: #229ed9;
  color: #fff

}

.social-icon--vk {
  background: #0077ff;
  color: #fff

}

.social-icon--ok {
  background: #ee8208;
  color: #fff

}

.social-icon--max {
  background: #735cff;
  color: #fff

}

.social-icon--telegram:hover {
  background: #188bc1

}

.social-icon--vk:hover {
  background: #0068df

}

.social-icon--ok:hover {
  background: #d97400

}

.social-icon--max:hover {
  background: #6048ed

}

.brand--footer .brand__logo {
  background: #fff;
  border-radius: 10px;
  padding: 3px

}

.social-icon--dzen {
  background: #111;
  color: #fff

}

.social-icon--dzen:hover {
  background: #333

}

@media (max-width:980px) {

.editorial-layout {
  grid-template-columns: 1fr

  }

.editorial-sidebar {
  border-left: 0;
  padding-left: 0

  }

.sidebar-sticky {
  position: static

  }

.headline-feed {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 0 24px

  }

}

@media (max-width:680px) {

.brand__text small {
  display: none

  }

.brand__logo {
  width: 44px;
  height: 44px

  }

.editorial-layout {
  gap: 28px

  }

.headline-feed {
  grid-template-columns: 1fr

  }

.news-gallery__grid .field__items {
  grid-template-columns: 1fr

  }

}

.path-node .content-column>.region-content>h1,.path-node .content-column>.region-content>.block-page-title-block,.path-node .content-column>.region-content>.block-system-main-block>h1 {
  display: none

}

.section-kicker {
  margin-bottom: 16px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase

}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0,1.65fr) minmax(260px,.8fr);
  gap: 18px

}

.hero-story {
  position: relative;
  display: block;
  min-height: 520px;
  overflow: hidden;
  border-radius: 24px;
  background: #202329;
  color: #fff;
  text-decoration: none

}

.hero-story>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover

}

.hero-story__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,transparent 28%,rgba(0,0,0,.86))

}

.hero-story__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  padding: 38px

}

.hero-story__content small,.compact-story small,.shelf-card small {
  color: var(--red);
  font-size: .73rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase

}

.hero-story__content strong {
  font-size: clamp(2rem,4vw,3.45rem);
  line-height: 1.03;
  letter-spacing: -.045em

}

.hero-story__content em {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 12px;
  color: #ddd;
  font-style: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2

}

.hero-stack {
  display: grid;
  grid-template-rows: repeat(4,1fr);
  gap: 12px

}

.compact-story {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none

}

.compact-story img {
  width: 104px;
  height: 78px;
  border-radius: 11px;
  object-fit: cover

}

.compact-story strong {
  display: block;
  margin-top: 4px;
  line-height: 1.2

}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 48px 0 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--ink)

}

.section-heading h2 {
  margin: 0;
  font-size: 1.65rem;
  letter-spacing: -.03em

}

.section-heading a {
  color: var(--red);
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none

}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden

}

.popular-card {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 12px;
  min-height: 132px;
  padding: 22px;
  background: #fff;
  text-decoration: none

}

.popular-card>b {
  color: #d4d7db;
  font-size: 2rem;
  line-height: 1

}

.popular-card small {
  color: var(--red);
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase

}

.popular-card strong {
  display: block;
  margin-top: 5px;
  line-height: 1.25

}

.shelf-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px

}

.shelf-card {
  text-decoration: none

}

.shelf-card img {
  width: 100%;
  aspect-ratio: 16/10;
  margin-bottom: 11px;
  border-radius: 14px;
  object-fit: cover

}

.shelf-card strong {
  display: block;
  margin-top: 3px;
  line-height: 1.27

}

.sidebar-popular {
  margin-top: 24px

}

.sidebar-popular>a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none

}

.sidebar-popular>a b {
  color: #c6c9cd;
  font-size: 1.25rem

}

.ad-slot {
  display: none

}

.news-article__cover {
  aspect-ratio: 16/9

}

.news-article__cover .field,.news-article__cover .field__item {
  height: 100%

}

.news-article__cover img {
  height: 100%;
  object-fit: cover

}

.news-gallery__grid--collage .field__items {
  grid-template-columns: repeat(12,1fr);
  grid-auto-rows: 120px

}

.news-gallery__grid--collage .field__item {
  grid-column: span 6;
  aspect-ratio: auto

}

.news-gallery__grid--collage .field__item:nth-child(5n/**/+1) {
  grid-column: span 8;
  grid-row: span 2

}

.news-gallery__grid--collage .field__item:nth-child(5n/**/+2) {
  grid-column: span 4;
  grid-row: span 2

}

.news-gallery__grid--collage .field__item:nth-child(5n/**/+3),.news-gallery__grid--collage .field__item:nth-child(5n/**/+4),.news-gallery__grid--collage .field__item:nth-child(5n/**/+5) {
  grid-column: span 4

}

.news-gallery__grid--collage img {
  width: 100%;
  height: 100%;
  object-fit: cover

}

.news-article__body>h1:first-child,.news-article__body>p:first-child>strong:only-child {
  display: none

}

.news-article__body p:has(>img) {
  display: inline-block;
  width: calc(50% - 9px);
  margin: 0 14px 14px 0;
  vertical-align: top

}

.news-article__body p:has(>img):nth-of-type(even) {
  margin-right: 0

}

.news-article__body p:has(>img) img {
  width: 100%;
  height: 320px;
  border-radius: 14px;
  object-fit: cover

}

@media (max-width:980px) {

.home-hero {
  grid-template-columns: 1fr

  }

.hero-stack {
  grid-template-columns: repeat(2,1fr);
  grid-template-rows: auto

  }

.popular-grid {
  grid-template-columns: repeat(2,1fr)

  }

.shelf-grid {
  grid-template-columns: repeat(2,1fr)

  }

}

@media (max-width:680px) {

.hero-story {
  min-height: 430px

  }

.hero-story__content {
  padding: 24px

  }

.hero-stack,.popular-grid,.shelf-grid {
  grid-template-columns: 1fr

  }

.compact-story {
  grid-template-columns: 96px 1fr

  }

.news-gallery__grid--collage .field__items {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 240px

  }

.news-gallery__grid--collage .field__item:nth-child(n) {
  grid-column: auto;
  grid-row: auto

  }

}

.content-column.is-news-page>div>div>h1 {
  display: none

}

.view-counter {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none

}

.news-video {
  margin-top: 34px

}

.lightbox-ready {
  cursor: zoom-in

}

.photo-lightbox {
  box-sizing: border-box;
  width: min(94vw,1280px);
  max-width: none;
  height: min(92vh,900px);
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #111;
  color: #fff;
  box-shadow: 0 30px 100px rgba(0,0,0,.55)

}

html.lightbox-open,
html.lightbox-open body {
  overflow: hidden !important;
}

.photo-lightbox::backdrop {
  background: rgba(5,7,10,.9);
  backdrop-filter: blur(5px)

}

.photo-lightbox[open] {
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  align-items: center

}

.photo-lightbox figure {
  display: grid;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 28px;
  place-items: center

}

.photo-lightbox figure img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain

}

.photo-lightbox figcaption {
  align-self: end;
  color: #c8ccd1;
  font-size: .82rem

}

.photo-lightbox button {
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
  font-size: 3rem

}

.photo-lightbox__close {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 14px;
  width: 48px;
  height: 48px;
  font-size: 2.2rem

}

.news-gallery__grid--collage .field__item:nth-child(n/**/+6) {
  display: none

}

.news-gallery__grid--collage {
  position: relative

}

.news-gallery__grid--collage:has(.field__item:nth-child(6))::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.76);
  color: #fff;
  content: "Открыть все фото";
  font-size: .78rem;
  font-weight: 800;
  pointer-events: none

}

@media (max-width:680px) {

.photo-lightbox[open] {
  width: calc(100vw - 16px);
  max-width: calc(100vw - 16px);
  overflow-x: hidden;
  grid-template-columns: 44px 1fr 44px

  }

.photo-lightbox figure {
  padding: 18px 0

  }

.photo-lightbox button {
  font-size: 2.2rem

  }

}

.news-gallery__grid--collage>div {
  display: grid;
  grid-template-columns: repeat(12,1fr);
  grid-auto-rows: 120px;
  gap: 12px

}

.news-gallery__grid--collage>div>div {
  overflow: hidden;
  border-radius: 14px;
  background: #eef0f2

}

.news-gallery__grid--collage>div>div:nth-child(5n/**/+1) {
  grid-column: span 8;
  grid-row: span 2

}

.news-gallery__grid--collage>div>div:nth-child(5n/**/+2) {
  grid-column: span 4;
  grid-row: span 2

}

.news-gallery__grid--collage>div>div:nth-child(5n/**/+3),.news-gallery__grid--collage>div>div:nth-child(5n/**/+4),.news-gallery__grid--collage>div>div:nth-child(5n/**/+5) {
  grid-column: span 4

}

.news-gallery__grid--collage>div>div:nth-child(n/**/+6) {
  display: none

}

.news-gallery__grid--collage>div>div img {
  width: 100%;
  height: 100%;
  object-fit: cover

}

.news-gallery__grid--collage:has(>div>div:nth-child(6))::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.76);
  color: #fff;
  content: "Открыть все фото";
  font-size: .78rem;
  font-weight: 800;
  pointer-events: none

}

@media (max-width:680px) {

.news-gallery__grid--collage>div {
  grid-template-columns: 1fr;
  grid-auto-rows: 240px

  }

.news-gallery__grid--collage>div>div:nth-child(n) {
  grid-column: auto;
  grid-row: auto

  }

.news-gallery__grid--collage>div>div:nth-child(n/**/+4) {
  display: none

  }

}

.event-sections {
  background: #fff8ed

}

.event-sections a:hover {
  color: #a45a00

}

.events-page__lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.1rem

}

.events-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 24px

}

.event-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff

}

.event-card__poster {
  display: grid;
  aspect-ratio: 3/4;
  place-items: center;
  background: #f3f2ef

}

.event-card__poster img {
  width: 100%;
  height: 100%;
  object-fit: contain

}

.event-card__empty {
  color: #9a6b2f;
  font-weight: 900

}

.event-card__body {
  padding: 16px

}

.event-card__body small {
  color: #a45a00;
  font-weight: 900

}

.event-card__body time {
  display: block;
  margin-top: 4px;
  font-size: .82rem

}

.event-card__body h2 {
  margin: 8px 0;
  font-size: 1.15rem;
  line-height: 1.25

}

.event-card__body h2 a {
  text-decoration: none

}

.event-card__body p {
  color: var(--muted);
  font-size: .86rem

}

.event-card__body>div {
  display: flex;
  gap: 8px

}

.event-card__body>div span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff3df;
  font-size: .72rem;
  font-weight: 800

}

.events-empty {
  padding: 42px;
  border-radius: 18px;
  background: #fff8ed;
  text-align: center

}

.photo-lightbox button.photo-lightbox__prev,.photo-lightbox button.photo-lightbox__next {
  position: relative;
  z-index: 3;
  width: 56px;
  height: 72px;
  border-radius: 14px;
  background: rgba(255,255,255,.14);
  text-shadow: 0 2px 6px #000

}

.photo-lightbox button.photo-lightbox__prev:hover,.photo-lightbox button.photo-lightbox__next:hover {
  background: var(--red)

}

@media (max-width:980px) {

.events-grid {
  grid-template-columns: repeat(3,1fr)

  }

}

@media (max-width:680px) {

.events-grid {
  grid-template-columns: repeat(2,1fr);
  gap: 12px

  }

.event-card__body {
  padding: 12px

  }

.event-card__body h2 {
  font-size: 1rem

  }

}

.section-heading--events {
  border-color: #a45a00

}

.section-heading--events h2 {
  color: #7b4300

}

.category-heading h2 {
  display: flex;
  align-items: center;
  gap: 10px

}

.category-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2px solid currentColor;
  border-radius: 7px;
  position: relative;
  color: var(--red)

}

.category-icon::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  content: "•";
  font-size: 18px;
  line-height: 1

}

.shelf-card__fallback {
  display: grid;
  width: 100%;
  aspect-ratio: 16/10;
  margin-bottom: 11px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg,#f1f2f4,#e5e8eb)

}

.shelf-card__fallback .category-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px

}

.shelf-card__fallback .category-icon::after {
  font-size: 30px

}

.shelf-grid {
  align-items: start

}

.shelf-card img,.shelf-card__fallback {
  aspect-ratio: 16/10

}

.hero-story__content h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem,4vw,3.45rem);
  line-height: 1.03;
  letter-spacing: -.045em

}

.utility-bar {
  background: #0d0f12

}

.event-sections {
  background: #fffaf2

}

.event-sections .category-icon {
  color: #9a5700

}

.category-icon {
  display: inline-block;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  color: var(--red);
  border: 0;
  border-radius: 0

}

.category-icon::after {
  content: none

}

.category-heading h2 .category-icon {
  width: 31px;
  height: 31px

}

.shelf-card__fallback .category-icon {
  width: 54px;
  height: 54px;
  color: #adb3ba;
  border: 0;
  border-radius: 0

}

@media (max-width:540px) {

.utility-bar {
  display: none

  }

.main-content {
  padding-top: 22px

  }

}

/* Overflow category menu, feeds and editorial continuations */

.article-related {
  margin-top: 46px;
  padding-top: 4px

}

.article-related__grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px

}

.related-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-decoration: none

}

.related-card>img,.related-card__fallback {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover

}

.related-card__fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg,#20242a,#3a414a);
  color: #fff;
  font-size: 2rem;
  font-weight: 900

}

.related-card>span:last-child {
  padding: 14px

}

.related-card small {
  display: block;
  color: var(--red);
  font-size: .7rem;
  font-weight: 850;
  text-transform: uppercase

}

.related-card strong {
  display: block;
  margin-top: 5px;
  line-height: 1.28

}

.path-taxonomy .view-content {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 22px

}

.path-taxonomy .view-content>.views-row:first-child {
  grid-column: 1/-1

}

.path-taxonomy .view-content>.views-row:first-child .news-card {
  display: grid;
  grid-template-columns: minmax(300px,1.35fr) 1fr

}

.path-taxonomy .view-content>.views-row:first-child .news-card__media {
  aspect-ratio: 16/9

}

@media (max-width:900px) {

.article-related__grid {
  grid-template-columns: repeat(2,minmax(0,1fr))

  }

}

@media (max-width:620px) {

.article-related__grid {
  grid-template-columns: 1fr

  }

.path-taxonomy .view-content {
  grid-template-columns: 1fr

  }

.path-taxonomy .view-content>.views-row:first-child {
  grid-column: auto

  }

.path-taxonomy .view-content>.views-row:first-child .news-card {
  display: block

  }

}

/* Drupal taxonomy renders rows without a view-content wrapper. */

.path-taxonomy .block-system-main-block {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 22px

}

.path-taxonomy .block-system-main-block>h1,.path-taxonomy .block-system-main-block>header,.path-taxonomy .block-system-main-block>nav,.path-taxonomy .block-system-main-block>.pager {
  grid-column: 1/-1

}

.path-taxonomy .block-system-main-block>.views-row:first-of-type {
  grid-column: 1/-1

}

.path-taxonomy .block-system-main-block>.views-row:first-of-type .news-card {
  display: grid;
  grid-template-columns: minmax(300px,1.35fr) 1fr

}

.path-taxonomy .block-system-main-block>.views-row:first-of-type .news-card__media {
  aspect-ratio: 16/9

}

@media (max-width:620px) {

.path-taxonomy .block-system-main-block {
  grid-template-columns: 1fr

  }

.path-taxonomy .block-system-main-block>.views-row:first-of-type {
  grid-column: auto

  }

.path-taxonomy .block-system-main-block>.views-row:first-of-type .news-card {
  display: block

  }

}

.path-taxonomy .taxonomy-masonry {
  columns: 3 260px;
  column-gap: 22px

}

.path-taxonomy .taxonomy-masonry>.views-row {
  display: inline-block;
  width: 100%;
  margin: 0 0 22px;
  break-inside: avoid

}

.path-taxonomy .taxonomy-masonry .news-card {
  height: auto

}

.path-taxonomy .taxonomy-masonry .news-card__media:empty {
  display: none

}

.path-taxonomy .taxonomy-masonry .news-card:not(:has(img)) .news-card__body {
  padding-top: 24px

}

@media (max-width:620px) {

.path-taxonomy .taxonomy-masonry {
  columns: 1

  }

.path-taxonomy .taxonomy-masonry>.views-row {
  margin-bottom: 16px

  }

}

/* Event detail inspired by the proven Obninsk information hierarchy. */

.event-article {
  max-width: 980px;
  margin-inline: auto

}

.event-article__header {
  margin-bottom: 28px

}

.event-article__header h1 {
  margin: 14px 0 0

}

.event-article__categories .field__items {
  display: flex;
  flex-wrap: wrap;
  gap: 7px

}

.event-article__categories a {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff1dc;
  color: #895000;
  font-size: .76rem;
  font-weight: 850;
  text-decoration: none

}

.event-article__hero {
  display: grid;
  grid-template-columns: minmax(260px,390px) 1fr;
  gap: 30px;
  align-items: start

}

.event-article__poster {
  display: grid;
  min-height: 420px;
  margin: 0;
  place-items: center;
  overflow: hidden;
  border: 1px solid #eadfcf;
  border-radius: 20px;
  background: #f7f3ed

}

.event-article__poster>div,.event-article__poster .field,.event-article__poster .field__item {
  width: 100%

}

.event-article__poster img {
  width: 100%;
  max-height: 620px;
  object-fit: contain

}

.event-article__poster>span {
  color: #a56b22;
  font-size: 2rem;
  font-weight: 900

}

.event-facts {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff

}

.event-fact {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line)

}

.event-fact:last-child {
  border-bottom: 0

}

.event-fact svg {
  width: 30px;
  height: 30px;
  color: #9a5700;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round

}

.event-fact span {
  display: flex;
  min-width: 0;
  flex-direction: column

}

.event-fact small {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase

}

.event-fact strong {
  margin-top: 2px;
  font-size: 1.05rem

}

.event-fact em {
  color: var(--muted);
  font-size: .82rem;
  font-style: normal

}

.event-fact a {
  margin-top: 4px;
  color: #8b5000;
  font-size: .8rem

}

.event-article__description {
  max-width: 780px;
  margin: 42px auto 0;
  font-family: Georgia,"Times New Roman",serif;
  font-size: 1.12rem;
  line-height: 1.8

}

.event-article__source,.event-article__footer {
  max-width: 780px;
  margin: 26px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: .85rem

}

.path-node .node--type-event+* {
  display: none

}

@media (max-width:720px) {

.event-article__hero {
  grid-template-columns: 1fr

  }

.event-article__poster {
  min-height: 0

  }

.event-article__poster img {
  max-height: none

  }

.event-fact {
  padding: 15px

  }

.event-article__description {
  margin-top: 30px

  }

}

.event-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column

}

.event-card__poster {
  position: relative

}

.event-card__age {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  min-width: 34px;
  height: 34px;
  padding: 0 5px;
  place-items: center;
  border: 1px solid rgba(0,0,0,.3);
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: #222;
  font-size: .7rem

}

.event-card__facts {
  display: grid;
  gap: 8px;
  margin: 13px 0 0

}

.event-card__facts>div {
  display: grid;
  grid-template-columns: 23px 1fr;
  gap: 8px;
  align-items: start

}

.event-card__facts dt,.event-card__facts dd {
  margin: 0

}

.event-card__facts svg {
  width: 20px;
  height: 20px;
  color: #9a5700;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round

}

.event-card__facts dd {
  color: #555d66;
  font-size: .78rem;
  line-height: 1.35

}

.event-card__facts dd strong {
  color: #222

}

.event-card__body h2 {
  margin-top: 5px

}

.events-grid {
  align-items: stretch

}

@media (max-width:680px) {

.event-card {
  display: grid;
  grid-template-columns: 34% 1fr

  }

.event-card__poster {
  height: 100%;
  aspect-ratio: auto

  }

.event-card__body {
  min-width: 0

  }

.event-card__facts>div:nth-child(n/**/+3) {
  display: none

  }

}

/* Modern event magazine and interactive calendar */

.events-page {
  container-type: inline-size

}

.events-page__lead {
  margin-bottom: 24px

}

.event-calendar {
  max-width: 760px;
  margin: 0 0 34px;
  padding: 20px;
  border: 1px solid #eadfcf;
  border-radius: 22px;
  background: #fffaf2

}

.event-calendar header {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  margin-bottom: 15px

}

.event-calendar header h2 {
  margin: 0;
  text-align: center;
  font-size: 1.25rem;
  text-transform: capitalize

}

.event-calendar header>a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #e6d8c6;
  border-radius: 50%;
  background: #fff;
  text-decoration: none

}

.event-calendar__weekdays,.event-calendar__days {
  display: grid;
  grid-template-columns: repeat(7,1fr);
  gap: 5px

}

.event-calendar__weekdays span {
  padding: 4px;
  text-align: center;
  color: #8b7252;
  font-size: .68rem;
  font-weight: 850;
  text-transform: uppercase

}

.event-calendar__days>a,.event-calendar__days>span {
  position: relative;
  display: grid;
  min-height: 50px;
  place-items: center;
  border-radius: 12px;
  color: #30343a;
  text-decoration: none

}

.event-calendar__days>a.is-active {
  background: #fff;
  border: 1px solid #e2c89f;
  font-weight: 900

}

.event-calendar__days>a.is-active:hover,.event-calendar__days>a.is-selected {
  background: #9a5700;
  color: #fff

}

.event-calendar__days .is-outside {
  opacity: .28

}

.event-calendar__days b {
  position: absolute;
  top: 3px;
  right: 5px;
  display: grid;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  place-items: center;
  border-radius: 9px;
  background: var(--red);
  color: #fff;
  font-size: .58rem

}

.event-calendar footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid #eadfcf;
  font-size: .83rem

}

.event-calendar footer a {
  color: #8c5000

}

.events-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 22px

}

.events-grid .event-card:first-child {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(280px,1.05fr) 1fr

}

.events-grid .event-card:first-child .event-card__poster {
  height: 100%;
  aspect-ratio: auto

}

.events-grid .event-card:first-child .event-card__body {
  padding: 24px

}

.events-grid .event-card:first-child h2 {
  font-size: 1.55rem

}

.afisha-news__grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px

}

.afisha-news__grid>a {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 15px;
  text-decoration: none

}

.afisha-news__grid img {
  width: 120px;
  height: 82px;
  border-radius: 10px;
  object-fit: cover

}

.afisha-news__grid small {
  display: block;
  color: var(--muted);
  font-size: .7rem

}

.afisha-news__grid strong {
  display: block;
  margin-top: 4px;
  line-height: 1.25

}

@media (max-width:900px) {

.events-grid {
  grid-template-columns: repeat(2,minmax(0,1fr))

  }

.events-grid .event-card:first-child {
  grid-column: 1/-1

  }

.afisha-news__grid {
  grid-template-columns: 1fr

  }

}

@media (max-width:620px) {

.event-calendar {
  padding: 12px

  }

.event-calendar__days>a,.event-calendar__days>span {
  min-height: 42px

  }

.events-grid {
  grid-template-columns: 1fr

  }

.events-grid .event-card:first-child {
  grid-column: auto;
  display: grid;
  grid-template-columns: 34% 1fr

  }

.events-grid .event-card:first-child .event-card__body {
  padding: 12px

  }

.events-grid .event-card:first-child h2 {
  font-size: 1rem

  }

.afisha-news__grid>a {
  grid-template-columns: 92px 1fr

  }

.afisha-news__grid img {
  width: 92px;
  height: 68px

  }

}

.sidebar-events {
  margin-top: 28px

}

.sidebar-events>a {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none

}

.sidebar-events img {
  width: 68px;
  height: 78px;
  border-radius: 9px;
  object-fit: contain;
  background: #f5f1e9

}

.sidebar-events time {
  display: block;
  color: #9a5700;
  font-size: .68rem;
  font-weight: 850

}

.sidebar-events strong {
  display: block;
  margin-top: 3px;
  font-size: .84rem;
  line-height: 1.25

}

.event-calendar-open {
  display: none

}

.event-calendar__close {
  display: none

}

.events-page {
  position: relative

}

.event-calendar {
  float: right;
  width: 286px;
  margin: 0 0 24px 28px;
  padding: 13px;
  border-radius: 17px

}

.event-calendar header {
  grid-template-columns: 34px 1fr 34px;
  margin-bottom: 8px

}

.event-calendar header h2 {
  font-size: .95rem

}

.event-calendar header>a {
  width: 30px;
  height: 30px

}

.event-calendar__weekdays,.event-calendar__days {
  gap: 2px

}

.event-calendar__days>a,.event-calendar__days>span {
  min-height: 31px;
  border-radius: 8px;
  font-size: .76rem

}

.event-calendar__days>a.is-active {
  border: 0;
  background: #9a5700;
  color: #fff

}

.event-calendar__days b {
  display: none

}

.events-grid {
  column-count: 3;
  column-gap: 20px;
  display: block

}

.event-card {
  display: inline-flex;
  width: 100%;
  margin: 0 0 20px;
  break-inside: avoid

}

.events-grid .event-card:first-child {
  display: inline-flex;
  width: 100%

}

.events-grid .event-card:first-child .event-card__poster {
  height: auto;
  aspect-ratio: 210/297

}

.events-grid .event-card:first-child .event-card__body {
  padding: 16px

}

.events-grid .event-card:first-child h2 {
  font-size: 1.15rem

}

.event-card__poster {
  aspect-ratio: 210/297;
  background: #eee

}

.event-card__poster img {
  padding: 0;
  object-fit: cover

}

.event-card__empty {
  width: 100%;
  height: 100%;
  font-size: 0;
  background: linear-gradient(145deg,#23272d,#4a515a)

}

.event-card__empty::after {
  content: "ГС";
  color: #fff;
  font-size: 2.2rem

}

.sidebar-events>a {
  grid-template-columns: 68px 1fr

}

.sidebar-events>a:not(:has(img))::before {
  display: grid;
  width: 68px;
  height: 78px;
  place-items: center;
  border-radius: 9px;
  background: #252a31;
  color: #fff;
  content: "ГС";
  font-weight: 900

}

.afisha-news__grid>a:not(:has(img)) {
  grid-template-columns: 92px 1fr

}

.afisha-news__grid>a:not(:has(img))::before {
  display: grid;
  width: 92px;
  height: 68px;
  place-items: center;
  border-radius: 10px;
  background: #252a31;
  color: #fff;
  content: "ГС";
  font-weight: 900

}

@media (max-width:900px) {

.events-grid {
  column-count: 2

  }

}

@media (max-width:620px) {

.event-calendar-open {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 10px 15px;
  border: 0;
  border-radius: 999px;
  background: #9a5700;
  color: #fff;
  font-weight: 850

  }

.event-calendar {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  float: none;
  width: auto;
  margin: 0;
  padding: 15vh 18px;
  background: rgba(10,12,15,.72);
  border: 0;
  border-radius: 0

  }

.event-calendar.is-open {
  display: block

  }

.event-calendar>header,.event-calendar>.event-calendar__weekdays,.event-calendar>.event-calendar__days,.event-calendar>footer {
  width: min(100%,360px);
  margin-inline: auto;
  background: #fffaf2

  }

.event-calendar>header {
  padding: 14px 14px 8px;
  border-radius: 18px 18px 0 0

  }

.event-calendar>.event-calendar__weekdays {
  padding: 0 14px

  }

.event-calendar>.event-calendar__days {
  padding: 0 14px 14px;
  border-radius: 0 0 18px 18px

  }

.event-calendar>footer {
  padding: 12px 14px;
  border-radius: 0 0 18px 18px

  }

.event-calendar__close {
  position: fixed;
  z-index: 2;
  top: calc(15vh + 5px);
  left: calc(50% + min(180px,50vw) - 46px);
  display: block;
  border: 0;
  background: none;
  font-size: 1.7rem

  }

.calendar-modal-open {
  overflow: hidden

  }

.events-grid {
  column-count: 1

  }

.event-card,.events-grid .event-card:first-child {
  display: grid;
  grid-template-columns: 38% 1fr

  }

.event-card__poster,.events-grid .event-card:first-child .event-card__poster {
  height: 100%;
  aspect-ratio: 210/297

  }

.event-card__body {
  padding: 12px

  }

}

.afisha-sidebar-calendar .event-calendar {
  float: none;
  width: 100%;
  margin: 0 0 24px

}

.category-featured {
  margin-bottom: 28px

}

.category-featured__grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px

}

.category-featured__grid>a {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-decoration: none

}

.category-featured__grid img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover

}

.category-featured__grid span {
  display: block;
  padding: 14px

}

.category-featured__grid small {
  color: var(--muted)

}

.category-featured__grid strong {
  display: block;
  margin-top: 5px;
  line-height: 1.28

}

.archive-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding: 14px 16px;
  border-radius: 15px;
  background: #f5f6f7

}

.archive-nav form {
  display: flex;
  align-items: center;
  gap: 8px

}

.archive-nav label {
  font-weight: 800

}

.archive-nav input,.archive-nav button {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff

}

.archive-masonry {
  columns: 3 240px;
  column-gap: 20px

}

.archive-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 20px;
  overflow: hidden;
  break-inside: avoid;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff

}

.archive-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover

}

.archive-card>div {
  padding: 15px

}

.archive-card small {
  color: var(--muted)

}

.archive-card h2 {
  margin: 6px 0 0;
  font-size: 1.12rem;
  line-height: 1.28

}

.archive-card a {
  text-decoration: none

}

.event-related__poster {
  aspect-ratio: 210/297;
  object-fit: cover

}

@media (max-width:620px) {

.category-featured__grid {
  grid-template-columns: 1fr

  }

.archive-nav {
  align-items: stretch;
  flex-direction: column

  }

.archive-nav form {
  justify-content: space-between

  }

.archive-masonry {
  columns: 1

  }

}

@media (max-width:620px) {

.events-grid .event-card,.events-grid .event-card:first-child {
  display: block

  }

.events-grid .event-card__poster,.events-grid .event-card:first-child .event-card__poster {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 210/297

  }

.events-grid .event-card__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover

  }

.events-grid .event-card__poster:has(.event-card__empty) {
  display: none

  }

.path-taxonomy .taxonomy-masonry .news-card__media:has(.news-card__placeholder),.archive-card:not(:has(img))>a {
  display: none

  }

.path-taxonomy .taxonomy-masonry .news-card__body {
  padding-top: 16px

  }

.sidebar-events>a:not(:has(img))::before,.afisha-news__grid>a:not(:has(img))::before {
  display: none

  }

.sidebar-events>a:not(:has(img)),.afisha-news__grid>a:not(:has(img)) {
  display: block

  }

.sidebar-events>a:not(:has(img)) span,.afisha-news__grid>a:not(:has(img)) span {
  display: block

  }

}

.events-grid .event-card__poster:has(.event-card__empty) {
  display: none

}

.events-grid .event-card:not(:has(img)) {
  display: inline-block

}

.events-grid .event-card:not(:has(img)) .event-card__body {
  padding: 19px

}

.home-hero {
  grid-template-columns: minmax(0,1.45fr) minmax(280px,.9fr);
  height: 430px

}

.hero-story {
  min-height: 0;
  height: 430px

}

.hero-story__content {
  padding: 30px

}

.hero-story__content h1 {
  font-size: clamp(1.8rem,3vw,2.75rem);
  line-height: 1.06

}

.hero-stack {
  min-height: 0

}

.compact-story {
  min-height: 0;
  padding: 8px

}

.compact-story img {
  width: 96px;
  height: 68px

}

.compact-story strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3

}

@media (max-width:980px) {

.home-hero {
  height: auto;
  grid-template-columns: 1fr

  }

.hero-story {
  height: 420px

  }

.hero-stack {
  grid-template-columns: repeat(2,minmax(0,1fr))

  }

}

@media (max-width:680px) {

.hero-story {
  height: 360px

  }

.hero-story__content {
  padding: 22px

  }

.hero-stack {
  grid-template-columns: 1fr

  }

}

.afisha-today {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: -8px 0 18px;
  color: #7b4300

}

.afisha-today span {
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase

}

.afisha-today strong {
  font-size: 1.35rem

}

.afisha-popular {
  margin-bottom: 34px

}

.afisha-popular .section-heading {
  margin-top: 0

}

.afisha-popular__grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px

}

.afisha-popular__grid>a {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #eadfcf;
  border-radius: 16px;
  background: #fffaf2;
  text-decoration: none

}

.afisha-popular__grid img {
  width: 100%;
  aspect-ratio: 210/297;
  object-fit: cover

}

.afisha-popular__grid>a>span {
  padding: 13px

}

.afisha-popular__grid small {
  color: #9a5700;
  font-weight: 850

}

.afisha-popular__grid strong {
  display: block;
  margin-top: 4px;
  line-height: 1.25

}

.afisha-popular__grid em {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: .76rem;
  font-style: normal

}

.afisha-popular__grid>a:not(:has(img)) {
  display: block

}

.afisha-popular__grid>a:not(:has(img))>span {
  padding: 18px

}

@media (max-width:800px) {

.afisha-popular__grid {
  grid-template-columns: repeat(2,1fr)

  }

}

@media (max-width:480px) {

.afisha-popular__grid {
  grid-template-columns: 1fr

  }

.afisha-popular__grid>a {
  display: grid;
  grid-template-columns: 105px 1fr

  }

.afisha-popular__grid img {
  height: 148px

  }

}

.video-player {
  position: relative;
  overflow: hidden;
  background: #111

}

.video-player__start {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #111;
  color: #fff

}

.video-player__start>img {
  width: 100%;
  height: 100%;
  object-fit: cover

}

.video-player__start:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.28))

}

.video-player__start>span {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 9px;
  text-shadow: 0 2px 12px #000

}

.video-player__start svg {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.45))

}

.video-player__start circle {
  fill: #e31e24

}

.video-player__start path {
  fill: #fff

}

.video-player__start b {
  font-size: .9rem

}

.video-player iframe {
  visibility: hidden

}

.video-player.is-playing iframe {
  visibility: visible

}

.main-content {
  padding-top: 24px

}

.breadcrumb-wrap {
  margin-bottom: 16px

}

.topic-highlights__grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px

}

.topic-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  transition: transform .18s,box-shadow .18s

}

.topic-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow)

}

.topic-card>img {
  width: calc(100% + 36px);
  max-width: none;
  aspect-ratio: 16/9;
  margin: -18px -18px 15px;
  object-fit: cover;
  border-radius: 15px 15px 0 0

}

.topic-card__label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--red);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase

}

.topic-card__label .category-icon {
  width: 18px;
  height: 18px

}

.topic-card>strong {
  margin-top: 7px;
  line-height: 1.28

}

.topic-card>small {
  margin-top: auto;
  padding-top: 12px;
  color: var(--muted);
  font-size: .72rem

}

.related-card--text {
  justify-content: center;
  min-height: 138px;
  background: var(--wash)

}

.related-card--text>span:last-child {
  padding: 20px

}

.news-card--text {
  height: auto

}

.path-taxonomy .view-content>.views-row:first-child .news-card--text {
  display: block

}

.news-card--text .news-card__body {
  padding-top: 24px

}

@media (max-width:900px) {

.topic-highlights__grid {
  grid-template-columns: repeat(2,minmax(0,1fr))

  }

}

@media (max-width:620px) {

.main-content {
  padding-top: 18px

  }

.breadcrumb-wrap {
  margin-bottom: 12px

  }

.topic-highlights__grid {
  grid-template-columns: 1fr

  }

.topic-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  column-gap: 14px

  }

.topic-card>img {
  grid-row: 1/4;
  width: 112px;
  height: 94px;
  margin: 0;
  border-radius: 11px

  }

.topic-card>small {
  padding-top: 7px

  }

}

.news-article--plain .news-article__body>p:last-child {
  margin-bottom: 0

}

.news-article--plain .news-article__footer {
  margin-top: 20px;
  padding-top: 16px

}

.news-article--plain .article-related {
  margin-top: 32px

}

.news-article--plain .article-related .section-heading {
  margin-top: 24px

}

.site-footer__source-notice {
  grid-column: 1 / -1;
  margin-top: 1rem;
  padding-top: .85rem;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.56);
  font-size: .72rem;
  line-height: 1.5

}

.site-footer__source-notice a {
  color: inherit

}

/* Multi-category news labels. */

.news-article__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0

}

.news-article__categories a {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff0f1;
  color: var(--red-dark);
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none

}

/* Stable event highlights: poster and text never overlap. */

.afisha-popular__grid {
  grid-template-columns: repeat(2,minmax(0,1fr))

}

.afisha-popular__grid>a,.afisha-popular__grid>a:not(:has(img)) {
  display: grid;
  grid-template-columns: 138px minmax(0,1fr);
  min-height: 194px

}

.afisha-popular__grid img {
  width: 138px;
  height: 194px;
  aspect-ratio: auto;
  object-fit: cover

}

.afisha-popular__grid>a>span {
  align-self: center;
  padding: 16px

}

.afisha-popular__grid strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4

}

@media (max-width:680px) {

.afisha-popular__grid {
  grid-template-columns: 1fr

  }

.afisha-popular__grid>a,.afisha-popular__grid>a:not(:has(img)) {
  grid-template-columns: 96px minmax(0,1fr);
  min-height: 136px

  }

.afisha-popular__grid img {
  width: 96px;
  height: 136px

  }

}

/* ==========================================================
   БАЗОВАЯ ЗАЩИТА ОТ ГОРИЗОНТАЛЬНОГО РАСТЯЖЕНИЯ
   ========================================================== */

html,
body {
  max-width: 100%;
  overflow-x: clip

}

main,
.layout-container,
.container,
.editorial-layout,
.content-column,
.view,
.view-content,
.archive-masonry,
.archive-card {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box

}

img,
picture,
video,
iframe {
  max-width: 100%

}

@media (max-width:540px) {

.archive-masonry,
  .view-content {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  columns: 1;
  column-gap: 0;
  overflow: hidden

  }

.archive-card,
  .news-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden

  }

.archive-card img,
  .news-card img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto

  }

}

/* ==========================================================
   PAGER — PRODUCTION
   ========================================================== */

.pager,
nav.pager {
  display: block;
  width: 100%;
  margin: 38px 0 10px;
}

.pager__items,
.js-pager__items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pager__item,
.js-pager__items > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pager__item::marker,
.js-pager__items > li::marker {
  content: "";
}

.pager__item a,
.js-pager__items > li > a {
  display: flex;
  min-width: 40px;
  height: 40px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: .86rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition:
    background .16s ease,
    border-color .16s ease,
    color .16s ease;
}

.pager__item a:hover,
.js-pager__items > li > a:hover {
  border-color: var(--red);
  color: var(--red);
}

.pager__item.is-active a {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.pager__item--first a,
.pager__item--previous a,
.pager__item--next a,
.pager__item--last a {
  min-width: 40px;
  padding-inline: 11px;
}

@media (max-width: 620px) {
  .pager,
  nav.pager {
    margin: 28px 0 8px;
  }

  .pager__items,
  .js-pager__items {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .pager__item {
    display: none;
  }

  .pager__item.is-active,
  .pager__item--previous,
  .pager__item--next {
    display: block;
  }

  .pager__item.is-active a {
    min-width: 70px;
    padding-inline: 12px;
  }

  .pager__item.is-active a::before {
    content: "Страница ";
  }

  .pager__item--previous a,
  .pager__item--next a {
    width: 42px;
    min-width: 42px;
    padding: 0;
    font-size: 0;
  }

  .pager__item--previous a::before {
    content: "←";
    font-size: 1.15rem;
  }

  .pager__item--next a::before {
    content: "→";
    font-size: 1.15rem;
  }
}

/* ==========================================================
   NEWS CARD TITLES — PRODUCTION
   Exactly one primary-category icon is rendered inline.
   "Главное по темам" intentionally keeps its own topic label.
   ========================================================== */

.news-card__meta {
  justify-content: flex-end

}

.news-card__title .card-title-icon,
.hero-story h1 .card-title-icon,
.compact-story strong .card-title-icon,
.shelf-card strong .card-title-icon,
.category-featured strong .card-title-icon {
  display: inline;
  margin-right: .28em;
  color: var(--red);
  white-space: nowrap

}

.card-title-icon .category-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -.12em

}

.news-card__title>a {
  display: inline

}

/* ==========================================================
   HEADER + SECTION NAV — PRODUCTION
   One canonical implementation for desktop and mobile.
   ========================================================== */

.site-header {
  position: relative;
  z-index: 50;
  top: auto;
  overflow: visible;
  background: rgba(20, 22, 26, .98);
  border-bottom: 0;
  color: #fff;
  backdrop-filter: blur(16px);
}

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

.site-header .brand {
  padding: 7px 10px 7px 7px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
}

.site-header .brand__logo {
  width: 48px;
  height: 48px;
}

.site-header .brand__text small {
  color: #69717a;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
}

.header-socials .social-icon {
  outline: 2px solid rgba(255, 255, 255, .1);
}

.section-nav {
  position: sticky;
  z-index: 500;
  top: 0;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  border-bottom: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 5px 16px rgba(0, 0, 0, .045);
}

.section-nav__inner {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 10px;
}

.section-nav__scroll {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: 7px;
  overflow: auto;
  padding: 8px 0;
  scrollbar-width: none;
}

.section-nav__scroll::-webkit-scrollbar {
  display: none;
}

.section-nav__scroll a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 10px;
  color: #31353a;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.section-nav__scroll a:hover {
  background: #fff1f2;
  color: var(--red);
}

.section-nav__scroll .category-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--red);
}

.section-nav__special {
  border: 1px solid var(--line);
  background: #f4f5f6;
  font-weight: 850;
}

.section-nav__special:hover {
  border-color: var(--red);
  background: #fff0f1;
  color: var(--red);
}

.section-nav__special-icon {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  color: var(--red);
  font-size: 16px;
  font-weight: 900;
}

.section-nav__more {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

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

.section-nav__more svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform .2s ease;
}

.section-nav__inner.is-expanded {
  align-items: flex-start;
}

.section-nav__inner.is-expanded .section-nav__scroll {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  overflow: visible;
  padding-bottom: 14px;
}

.section-nav__inner.is-expanded .section-nav__scroll a {
  width: 100%;
  min-width: 0;
}

.section-nav__inner.is-expanded .section-nav__more svg {
  transform: rotate(180deg);
}

.section-nav__mobile-details {
  display: none;
}

@media (min-width: 541px) and (max-width: 900px) {

.section-nav__inner.is-expanded .section-nav__scroll {
  grid-template-columns: repeat(3, minmax(0, 1fr))
  }
}

@media (max-width: 540px) {

.site-header {
  position: sticky;
  z-index: 510;
  top: 0;
  transition: transform .2s ease;
  will-change: transform;
}

.site-header.is-mobile-hidden {
  transform: translateY(-100%);
}

.site-header + .section-nav {
  top: 72px;
  transition: top .2s ease;
}

.site-header.is-mobile-hidden + .section-nav {
  top: 0;
}

.site-header__inner {
  min-height: 72px;
  gap: 8px
  }

.site-header .brand {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  gap: 8px
  }

.site-header .brand__logo {
  width: 42px;
  height: 42px;
  flex: 0 0 42px
  }

.site-header .brand__text {
  display: block;
  min-width: 0
  }

.site-header .brand__text strong {
  display: block;
  max-width: 145px;
  font-size: .9rem;
  line-height: 1.08;
  white-space: normal
  }

.site-header .brand__text small {
  display: none
  }

.header-socials {
  flex: 0 0 auto;
  gap: 4px
  }

.header-socials .social-icon {
  width: 27px;
  height: 27px;
  flex: 0 0 27px
  }

.header-socials .social-icon svg {
  width: 18px;
  height: 18px
  }

.section-nav__inner {
  display: block;
  width: calc(100% - 24px);
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  padding: 7px 0
  }

.section-nav__scroll,
  .section-nav__more {
  display: none
  }

.section-nav__mobile-details {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0
  }

.section-nav__mobile-details > summary {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 42px;
  box-sizing: border-box;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-size: .84rem;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent
  }

.section-nav__mobile-details > summary::-webkit-details-marker,
  .section-nav__mobile-details > summary::marker {
  display: none
  }

.section-nav__hamburger {
  display: flex;
  width: 20px;
  flex: 0 0 20px;
  flex-direction: column;
  gap: 4px
  }

.section-nav__hamburger i {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0;
  border-radius: 3px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease
  }

.section-nav__mobile-details[open] .section-nav__hamburger i:nth-child(1) {
  transform: translateY(6px) rotate(45deg)
  }

.section-nav__mobile-details[open] .section-nav__hamburger i:nth-child(2) {
  opacity: 0
  }

.section-nav__mobile-details[open] .section-nav__hamburger i:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg)
  }

.section-nav__mobile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  gap: 6px;
  padding: 7px 0 3px
  }

.section-nav__mobile-grid > a {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  align-items: center;
  gap: 7px;
  padding: 8px;
  overflow: hidden;
  border-radius: 8px;
  color: var(--ink);
  font-size: .76rem;
  line-height: 1.15;
  text-decoration: none;
  overflow-wrap: anywhere;
  white-space: normal
  }

.section-nav__mobile-grid .category-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px
  }

.section-nav__mobile-grid > a > span:last-child {
  min-width: 0
  }

.section-nav__mobile-grid .section-nav__special {
  justify-content: center;
  text-align: center
  }
}

/* Taxonomy: first featured block starts immediately after breadcrumb. */
.path-taxonomy .category-featured > .section-heading {
  margin-top: 0;
}


/* Network-wide footer navigation. */
.network-footer-links a + a {
  margin-top: 8px;
}

/* CityNow: semantic H1 of the city news homepage. */
.home-page-title {
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Hero headline is H2 semantically, but keeps its editorial visual role. */
.hero-story__content h2 {
  margin: 0;
  font: inherit;
  color: inherit;
}

/* ==========================================================
   HOME HERO — COMPACT STORIES WITHOUT IMAGE
   No empty thumbnail column when a story has no image.
   ========================================================== */

.compact-story:not(:has(img)) {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 12px 16px;
}

.compact-story:not(:has(img)) > span {
  min-width: 0;
  width: 100%;
}

.compact-story:not(:has(img)) strong {
  width: 100%;
  margin-top: 0;
  -webkit-line-clamp: 3;
}


/* ==========================================================
   FOOTER — TENANT-SPECIFIC LEGAL DETAILS
   Used by editions with their own publication registration.
   ========================================================== */

.site-footer__legal {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.site-footer__legal p {
  margin: 0 0 8px;
  line-height: 1.5;
}

.site-footer__legal p:last-child {
  margin-bottom: 0;
}

/* ==========================================================
   FOOTER — LEGAL DETAILS FULL-WIDTH
   Keep legal text flowing naturally across the footer.
   ========================================================== */

.site-footer__legal {
  width: 100%;
  max-width: none;
}

.site-footer__legal p {
  max-width: none;
  width: 100%;
}

.site-footer__legal a {
  display: inline;
}

/* ==========================================================
   FOOTER — LEGAL DETAILS SPACING
   ========================================================== */

.site-footer__legal {
  box-sizing: border-box;
  padding: 20px 34px 0;
}

.site-footer__legal p {
  margin: 0 0 12px;
  line-height: 1.55;
}

.site-footer__legal p:last-child {
  margin-bottom: 0;
}


/* ============================================================
   CITYNOW PUBLIC ENTITIES + GALLERY — CANONICAL FINAL
   ============================================================ */


/* ------------------------------------------------------------
   PUBLIC ENTITY LINKS INSIDE NEWS
   ------------------------------------------------------------ */

.news-entities {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 28px 0 22px;
  padding: 18px 0;
  border-top: 1px solid rgba(17, 18, 20, .12);
  border-bottom: 1px solid rgba(17, 18, 20, .12);
}

.news-entities__label {
  flex: 0 0 auto;
  padding-top: 7px;
  color: #777;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.news-entities__links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.news-entities__links a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid #dedfe1;
  background: #fafafa;
  color: #17181a;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
}

.news-entities__links a:hover {
  border-color: #ff3347;
  color: #ed263d;
}


/* ------------------------------------------------------------
   NEWS -> RELATED SPACING
   ------------------------------------------------------------ */

.news-article__footer {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.news-article__footer + .article-related,
.news-entities + .news-article__footer + .article-related {
  margin-top: 34px !important;
}

.news-article .article-related {
  padding-top: 0 !important;
}


/* ------------------------------------------------------------
   PUBLIC ENTITY LANDING
   ------------------------------------------------------------ */

/*
 * Пока Drupal route физически содержит системный page title,
 * визуально оставляем только H1 нашего tag landing.
 */
.path-public-tag .block-page-title-block,
.path-public-tag #block-citynow-page-title {
  display: none !important;
}

/* Стандартный feed-link страницы taxonomy нам не нужен. */
.path-public-tag .feed-icons,
.path-public-tag .feed-icon,
.path-public-tag a.feed-icon {
  display: none !important;
}

.path-public-tag .main-content,
.path-public-tag .region-content {
  min-width: 0;
}

.tag-landing {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 18px 0 34px;
}

.tag-landing__header {
  width: 100%;
  max-width: none;
  margin: 0 0 8px;
  padding: 18px 0 28px;
  border-bottom: 1px solid #dedfe1;
}

.tag-landing__eyebrow {
  margin: 0 0 9px;
  color: #ed263d;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.tag-landing__header h1 {
  max-width: 900px;
  margin: 0;
  color: #17181a;
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.tag-landing__summary {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
  color: #73767b;
  font-size: 15px;
  line-height: 1.4;
}

.tag-landing__count::before {
  content: "·";
  margin-right: 10px;
}

.tag-landing__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
  margin-bottom: 0;
  padding-top: 14px;
}

.tag-story {
  min-width: 0;
  border-bottom: 1px solid #e2e3e5;
}

.tag-story__link {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  height: 100%;
  padding: 18px 0;
  color: #17181a;
  text-decoration: none;
}

.tag-story--text .tag-story__link {
  grid-template-columns: minmax(0, 1fr);
}

.tag-story__media {
  width: 190px;
  height: 126px;
  margin: 0;
  overflow: hidden;
  background: #eef0f2;
}

.tag-story__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tag-story__body {
  min-width: 0;
}

.tag-story__meta {
  min-height: 0;
  margin: 1px 0 7px;
  color: #8a8c90;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.tag-story h2 {
  margin: 0;
  color: #17181a;
  font-size: 19px;
  font-weight: 820;
  line-height: 1.13;
  letter-spacing: -.015em;
}

.tag-story p {
  display: -webkit-box;
  overflow: hidden;
  margin: 8px 0 0;
  color: #74777c;
  font-size: 13px;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.tag-story__link:hover h2 {
  color: #ed263d;
}


/* ------------------------------------------------------------
   MOBILE/TABLET GALLERY
   Real DOM:
   .news-gallery__grid > div > div > a > img
   ------------------------------------------------------------ */

@media (max-width: 820px) {

  .news-gallery {
    width: 100%;
    overflow: hidden;
  }

  .news-gallery .news-gallery__grid,
  .news-gallery .news-gallery__grid--collage {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
  }

  /*
   * Реальный контейнер всех изображений становится track.
   */
  .news-gallery .news-gallery__grid > div,
  .news-gallery .news-gallery__grid--collage > div {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: flex-start !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 12% 10px 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: transparent !important;
  }

  .news-gallery .news-gallery__grid > div::-webkit-scrollbar,
  .news-gallery .news-gallery__grid--collage > div::-webkit-scrollbar {
    display: none;
  }

  /*
   * Каждый непосредственный дочерний div — отдельный slide.
   */
  .news-gallery .news-gallery__grid > div > div,
  .news-gallery .news-gallery__grid--collage > div > div {
    display: block !important;
    flex: 0 0 88% !important;
    width: 88% !important;
    min-width: 88% !important;
    max-width: 88% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    grid-column: auto !important;
    grid-row: auto !important;
    background: transparent !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .news-gallery .news-gallery__grid > div > div > a,
  .news-gallery .news-gallery__grid--collage > div > div > a {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: auto !important;
    background: transparent !important;
  }

  .news-gallery .news-gallery__grid > div > div img,
  .news-gallery .news-gallery__grid--collage > div > div img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 12px !important;
    background: transparent !important;
  }

}


/* ------------------------------------------------------------
   TABLET
   ------------------------------------------------------------ */

@media (max-width: 900px) {

  .tag-landing__grid {
    grid-template-columns: 1fr;
  }

}


/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width: 620px) {

  .tag-landing {
    padding-top: 8px;
  }

  .tag-landing__header {
    padding-top: 10px;
  }

  .tag-landing__header h1 {
    font-size: 36px;
  }

  .tag-landing__summary {
    display: block;
  }

  .tag-landing__count::before {
    content: " · ";
  }

  .tag-story__link {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 13px;
    padding: 14px 0;
  }

  .tag-story--text .tag-story__link {
    grid-template-columns: 1fr;
  }

  .tag-story__media {
    width: 118px;
    height: 84px;
  }

  .tag-story h2 {
    font-size: 17px;
  }

  .tag-story p {
    display: none;
  }

  .news-entities {
    display: block;
  }

  .news-entities__label {
    display: block;
    margin-bottom: 10px;
    padding-top: 0;
  }

  .news-gallery .news-gallery__grid > div > div,
  .news-gallery .news-gallery__grid--collage > div > div {
    flex-basis: 91% !important;
    width: 91% !important;
    min-width: 91% !important;
    max-width: 91% !important;
  }

  .news-article__footer + .article-related,
  .news-entities + .news-article__footer + .article-related {
    margin-top: 28px !important;
  }

}
.site-header .brand--network {
  padding: 5px 14px 5px 5px;
  gap: 12px;
  background: transparent;
  color: #fff;
  border: 0;
  box-shadow: none;
}

.site-header .brand--network .brand__logo {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  object-fit: contain;
}

.site-header .brand--network .brand__text strong {
  color: #fff;
}

.site-header .brand--network .brand__text small {
  color: #aab0b8;
}

@media (max-width: 760px) {
  .site-header .brand--network {
    padding: 4px 8px 4px 4px;
    gap: 8px;
  }

  .site-header .brand--network .brand__logo {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }
}

/* Afisha and Places: imported SVGs must never dictate navigation geometry. */
.section-nav__scroll > a > svg,
.section-nav__mobile-grid > a > svg {
  display:block;
  width:20px;
  height:20px;
  flex:0 0 20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
}
.places-map-section{margin:0 0 28px}
.yandex-map--places{width:100%;height:460px;min-height:460px;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#eef0f2}
.venue-card__kicker{color:var(--red);font-size:.72rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.venue-card__more,.event-card__venue-link,.event-fact__place-link{color:var(--red);font-weight:800;text-decoration:none}
.venue-card__more{display:inline-flex;margin-top:auto;padding-top:12px}
.venue-card__more:hover,.event-card__venue-link:hover,.event-fact__place-link:hover{text-decoration:underline}
.venue-card .event-card__poster img{display:block;width:100%;height:100%;object-fit:cover}
.venue-card .event-card__poster{height:auto;aspect-ratio:16/9}
.venue-card .event-card__body{display:flex;flex:1 1 auto;flex-direction:column}
.venue-article__cover{height:auto;aspect-ratio:16/9}.venue-article__cover img{width:100%;height:100%;object-fit:cover}.venue-contact{padding:18px 22px;border-top:1px solid var(--line)}.venue-contact>strong{display:block;margin-bottom:6px;color:var(--muted);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase}.venue-contact .field__label{display:none}.venue-contact a{color:var(--red);font-weight:800}
.venue-gallery{margin-top:34px}.venue-gallery__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.venue-gallery__grid figure{overflow:hidden;margin:0;border-radius:14px;background:#eef0f2;aspect-ratio:4/3}.venue-gallery__grid img{width:100%;height:100%;object-fit:cover}
@media(max-width:620px){.yandex-map--places{height:330px;min-height:330px}}
@media(max-width:720px){.venue-gallery__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Production afisha navigation and compact mobile event list. */
.afisha-calendar-trigger{display:none}

@media (max-width:620px){
  .events-page>.event-calendar-open{display:none!important}
  .events-grid{display:grid!important;grid-template-columns:1fr!important;column-count:auto!important;gap:10px}
  .events-grid .event-card,.events-grid .event-card:first-child,.events-grid .event-card:not(:has(img)){display:grid!important;width:100%;min-height:118px;margin:0!important;grid-template-columns:88px minmax(0,1fr)!important;overflow:hidden;border-radius:14px}
  .events-grid .event-card:not(:has(img)){min-height:0;grid-template-columns:1fr!important}
  .events-grid .event-card__poster,.events-grid .event-card:first-child .event-card__poster{display:block!important;width:88px!important;height:118px!important;min-height:118px!important;aspect-ratio:auto!important}
  .events-grid .event-card__poster img,.events-grid .event-card:first-child .event-card__poster img{display:block;width:88px!important;height:118px!important;object-fit:cover}
  .events-grid .event-card:has(.event-card__empty){min-height:0;grid-template-columns:1fr!important}
  .events-grid .event-card__poster:has(.event-card__empty),.events-grid .event-card:first-child .event-card__poster:has(.event-card__empty){display:none!important}
  .events-grid .event-card__body,.events-grid .event-card:first-child .event-card__body{align-self:center;padding:11px 12px!important}
  .events-grid .event-card__body h2,.events-grid .event-card:first-child h2{margin:4px 0 7px;font-size:.98rem!important;line-height:1.2}
  .events-grid .event-card__body small{font-size:.68rem}
  .events-grid .event-card__facts{gap:4px}
  .events-grid .event-card__facts>div{gap:6px;font-size:.72rem;line-height:1.25}
  .events-grid .event-card__facts>div:nth-child(n+3){display:none}
  .events-grid .event-card__facts svg{width:16px;height:16px}
}

@media (max-width:540px){
  .site-header{position:sticky;z-index:510;top:0;overflow:visible;transition:transform .2s ease}
  .site-header__inner:has(.section-switcher){display:flex;min-height:66px;flex-wrap:nowrap;padding:7px 12px;gap:7px;border-bottom:1px solid #30333a}
  .site-header__inner:has(.section-switcher)>.brand{max-width:none;margin:0;padding:5px 7px 5px 5px}
  .site-header__inner:has(.section-switcher)>.brand .brand__text{min-width:0;max-width:125px}
  .site-header__inner:has(.section-switcher)>.brand .brand__text strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .site-header__inner:has(.section-switcher)>.brand .brand__text small{display:none}
  .site-header__inner:has(.section-switcher)>.header-socials{width:auto;margin-left:auto}
  .site-header>.section-nav{position:static;z-index:auto;top:auto;width:100%;border:0;border-bottom:1px solid #30333a;background:#191b1f;box-shadow:none;transition:none}
  .site-header>.section-nav .section-nav__inner{position:relative;display:grid;width:100%;min-height:54px;grid-template-columns:minmax(66px,1fr) auto minmax(66px,1fr);align-items:center;gap:7px;margin:0;padding:6px 12px;overflow:visible}
  .site-header>.section-nav .section-nav__mobile-details{display:block;grid-column:1;grid-row:1;width:auto;min-width:0;margin:0}
  .site-header>.section-nav .section-nav__mobile-details>summary{grid-column:1;grid-row:1;width:max-content;min-height:40px;padding:8px 9px;background:transparent;color:#fff}
  .site-header>.section-nav .section-nav__mobile-grid{position:absolute;z-index:3;top:54px;right:0;left:0;width:auto;grid-template-columns:repeat(2,minmax(0,1fr));padding:8px 12px 10px;border-top:1px solid #30333a;border-bottom:1px solid #30333a;background:#191b1f;box-shadow:0 12px 22px rgba(0,0,0,.24)}
  .site-header>.section-nav .section-nav__mobile-grid>a{background:#fff;color:var(--ink)}
  .site-header>.section-nav .section-switcher{display:flex;grid-column:2;grid-row:1;width:auto;height:auto;align-items:center;justify-content:center;gap:3px;margin:0;border:0}
  .site-header>.section-nav .section-switcher a{height:38px;padding:0 15px;color:#c9cdd3;font-size:.84rem}
  .site-header>.section-nav .section-switcher a.is-active{color:#fff}
  .site-header>.section-nav .afisha-calendar-trigger{display:inline-flex;grid-column:3;grid-row:1;min-width:40px;min-height:40px;align-items:center;justify-content:flex-end;gap:6px;padding:7px 8px;border:0;background:transparent;color:#fff;font-size:0;cursor:pointer}
  .site-header>.section-nav .afisha-calendar-trigger svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8}
  .site-header>.section-nav .section-nav__scroll,.site-header>.section-nav .section-nav__more{display:none}
  .site-header+.section-nav{top:auto}
  .site-header.is-mobile-hidden+.section-nav{top:auto}
  .event-calendar{padding:11vh 14px}
  .event-calendar__close{top:calc(11vh + 4px)}
  .events-page{padding-top:2px}
  .events-page h1{font-size:clamp(1.8rem,9vw,2.35rem);line-height:1.05}
}
.site-footer .brand--footer-full .brand__logo {
  width: 196px;
  height: auto;
  max-width: min(58vw, 196px);
  object-fit: contain;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.site-header .brand--network .brand__title-line {
  display: flex;
  max-width: none;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.site-header .brand--network .brand__now-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.45em;
  padding: .12em .42em .08em;
  border-radius: 2px;
  background: #f20d2f;
  color: #fff;
  font-size: .58em;
  font-weight: 800;
  letter-spacing: .055em;
  line-height: 1;
}

/* Afisha layout consistency: compact text cards, real desktop columns and a
   sidebar that follows the same rhythm as the news blocks. */
.afisha-popular__grid>a:not(:has(img)){
  grid-template-columns:1fr;
  min-height:0;
}
.afisha-popular__grid>a:not(:has(img))>span{
  width:100%;
  align-self:stretch;
}
.sidebar-events .sidebar-heading{
  align-items:end;
}
.sidebar-events .sidebar-heading span{
  font-size:1.15rem;
  line-height:1.1;
}
.sidebar-events .sidebar-heading a{
  white-space:nowrap;
}
.sidebar-events>a:not(:has(img)){
  grid-template-columns:1fr;
}
.sidebar-events>a:not(:has(img))::before{
  display:none;
}

@media (min-width:621px){
  .events-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    grid-auto-rows:8px;
    column-gap:20px;
    row-gap:12px;
    align-items:start;
    column-count:auto;
  }
  .events-grid .event-card,
  .events-grid .event-card:first-child,
  .events-grid .event-card:not(:has(img)){
    display:flex;
    width:auto;
    margin:0;
    grid-column:auto;
  }
}

@media (min-width:621px) and (max-width:980px){
  .events-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 760px) {
  .site-header .brand--network .brand__title-line {
    gap: 5px;
  }

  .site-header .brand--network .brand__now-badge {
    font-size: .62em;
  }
}
