

/* Start:/local/templates/circus/css/01-base.css?17929994162830*/
/* ==========================================================
   Бриллиантовый цирк Якутии — главная страница
   Макет: 1440px, контентная колонка 1280px (поля 80px)
   ========================================================== */

:root {
  --red: #d0353a;
  --red-dark: #c01e23;
  --linen: #efe6dd;
  --yellow: #f3dfa2;
  --ink: #352c3b;
  --blue: #a7ccf5;
  --navy: #003561;
  --white: #fff;

  --font-display: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-cond: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --font-roboto: "Roboto", Arial, sans-serif;

  --gutter: clamp(20px, 5.5556vw, 80px);   /* 80px на 1440 */
  --radius: 4px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, figure, ul { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 40px;
  border-radius: var(--radius);
  font-family: var(--font-cond);
  font-weight: 500;
  font-size: 20px;
  line-height: 36px;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }

.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: #b82a2f; }

.btn--outline { border: 1px solid var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--yellow); }

.btn--outline-yellow { border: 1px solid var(--yellow); color: var(--yellow); width: min(304px, 100%); }
.btn--outline-yellow:hover { background: var(--yellow); color: var(--red); }

/* ---------- Иконки-стрелки ---------- */
.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  transition: transform .2s, opacity .2s;
}
.icon-link--red { color: var(--red); }

.icon-link svg { display: block; }

/* End */


/* Start:/local/templates/circus/css/02-header-hero.css?17929994165763*/
/* ==========================================================
   ПЕРВЫЙ ЭКРАН + ШАПКА
   ========================================================== */
.hero {
  position: relative;
  height: clamp(560px, 65.28vw, 940px);   /* 940px на 1440 */
  overflow: hidden;
  background: var(--yellow);
  color: var(--yellow);
}

.hero__bg {
  position: absolute;
  inset: 0;
  /* Фон: img/hero.webp (запасной — серый градиент) */
  background:
    url("/local/templates/circus/css/../img/hero.webp") center / cover no-repeat,
    linear-gradient(90deg, #b9b9c3 0 50%, #c2c1ca 50% 100%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .2);
}

.header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  background: rgba(0, 0, 0, .4);
  border-bottom: 1px solid rgba(255, 255, 255, .4);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  color: var(--white);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.2222vw, 32px);
  height: clamp(76px, 9.72vw, 140px);     /* 140px на 1440 */
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.nav {
  display: flex;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
}
.nav--left { justify-content: flex-end; }

.header__right {
  display: flex;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  gap: clamp(12px, 1.6667vw, 24px);
}
.header__right .nav { flex: 0 0 auto; }

.nav__link {
  --fs: clamp(13px, calc(13px + (100vw - 1180px) * 0.0115), 16px);
  --pad: clamp(8px, calc(8px + (100vw - 1180px) * 0.046), 20px);
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 35px;
  padding: 8px var(--pad) 0;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: var(--fs);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.nav__link:hover::after,
.nav__link:focus-visible::after { transform: scaleX(1); }

.nav__link--sep { border-left: 1px solid rgba(255, 255, 255, .4); }
.nav__link--end { border-right: 1px solid rgba(255, 255, 255, .4); }

.logo {
  flex: none;
  display: block;
  width: 75px;
  height: 100px;
  transition: transform .3s;
}
.logo:hover { transform: rotate(-4deg) scale(1.04); }
.logo img { width: 75px; height: 99px; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35)); }

/* кнопка «Билеты» — билетик с вырезами по бокам */
.tickets {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 46px;
  padding: 0;
  white-space: nowrap;
  background: var(--red);
  color: var(--linen);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  --ticket: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 46'%3E%3Cpath d='M4 0H39A7 7 0 0 0 53 0H88A4 4 0 0 0 92 4V42A4 4 0 0 0 88 46H53A7 7 0 0 0 39 46H4A4 4 0 0 0 0 42V4A4 4 0 0 0 4 0Z'/%3E%3C/svg%3E");
  -webkit-mask: var(--ticket) center / 100% 100% no-repeat;
  mask: var(--ticket) center / 100% 100% no-repeat;
  transition: background-color .2s, transform .2s;
}
.tickets:hover { background: #b82a2f; transform: translateY(-1px); }
.tickets--mobile { display: none; }

.phones {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 14px;
  line-height: 16px;
  text-transform: uppercase;
  white-space: nowrap;
}
.phones a:hover { text-decoration: underline; text-underline-offset: 3px; }

.burger {
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform .25s, opacity .2s;
}
.header.is-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header.is-open .burger span:nth-child(2) { opacity: 0; }
.header.is-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  display: flex;
  flex-direction: column;
  padding: 8px var(--gutter) 24px;
  background: rgba(30, 24, 34, .92);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.mobile-menu__phones { display: flex; flex-direction: column; margin-top: 8px; font-size: 16px; }
.mobile-menu__phones a { border: 0; padding: 6px 0; }

.hero__content {
  position: absolute;
  inset: clamp(200px, 27.7778vw, 400px) 0 auto 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding-inline: var(--gutter);
  text-align: center;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4.4444vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.hero__sub {
  font-family: var(--font-roboto);
  font-weight: 400;
  font-size: clamp(13px, 1.3889vw, 20px);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-shadow: 0 0 4px #ffda45;
}

.hero__tent {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  transform: translateX(-50%);
  width: clamp(110px, 10.97vw, 158px);
  height: auto;
}

/* End */


/* Start:/local/templates/circus/css/03-home-sections.css?17929994169391*/
/* ==========================================================
   АФИША
   ========================================================== */
.afisha {
  padding-block: 80px 60px;
  background: var(--linen);
}
.afisha__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  text-align: center;
  color: var(--red);
  text-transform: uppercase;
}
.afisha__title {
  font-weight: 800;
  font-size: 96px;
  line-height: 1.04;
  letter-spacing: -0.06em;
}
.afisha__season {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: clamp(22px, 2.2222vw, 32px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.afisha__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 64px;
  margin-top: 64px;
}
.poster {
  flex: 0 1 522px;
  min-width: 0;
}
.poster img {
  width: 100%;
  height: auto;
  aspect-ratio: 2480 / 3507;
  object-fit: cover;
  border-radius: var(--radius);
  filter: drop-shadow(0 18px 14px rgba(53, 44, 59, .22));
}
.afisha__info {
  flex: 0 1 630px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
}
.afisha__titles { display: flex; flex-direction: column; gap: 32px; }
.afisha__eyebrow {
  font-family: var(--font-cond);
  font-weight: 400;
  font-size: clamp(18px, 1.6667vw, 24px);
  line-height: 1.34;
  letter-spacing: -0.06em;
  color: var(--red);
}
.afisha__show {
  font-weight: 800;
  font-size: 64px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.afisha__text { display: flex; flex-direction: column; gap: 24px; }
.afisha__lead { font-weight: 700; }
.afisha__more p + p { margin-top: 0; }

/* ==========================================================
   ПАРАЛЛАКС
   ========================================================== */
.parallax {
  position: relative;
  height: clamp(200px, 22.2222vw, 320px);   /* 320px на 1440 */
  overflow: hidden;
  background: #120f1a;
}
.parallax::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, .2);
  pointer-events: none;
}
.parallax__img {
  position: absolute;
  left: 0;
  width: 100%;
  /* запас по высоте = «ход» параллакса (по 64px в обе стороны на десктопе) */
  --range: clamp(150px, 26vw, 380px);
  height: calc(100% + var(--range));
  top: calc(var(--range) / -2);
  object-fit: cover;
  will-change: transform;
  backface-visibility: hidden;
}

/* ==========================================================
   НОВОСТИ
   ========================================================== */
.news {
  padding-block: 80px 60px;
  background: var(--blue);
}
.news__head {
  display: grid;
  grid-template-columns: 45px 1fr 45px;
  align-items: start;
}
.news__title {
  text-align: center;
  font-weight: 800;
  font-size: clamp(40px, 4.4444vw, 64px);
  line-height: 1.5625;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.news__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 64px;
}

.news-item {
  display: grid;
  grid-template-columns: 197px 1fr 197px;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(53, 44, 59, .4);
  color: var(--navy);
}
.news-item__date {
  font-family: var(--font-cond);
  font-weight: 400;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -0.02em;
}
.news-item__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  padding-right: clamp(0px, 5.5556vw, 80px);
}
.news-item__title {
  padding-right: clamp(0px, 5.5556vw, 80px);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  transition: color .2s;
}
.news-item__text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--ink);
  padding-block: 4px;
}
.news-item__thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 496 / 348;
  object-fit: cover;
  object-position: 50% 38%;
  border-radius: var(--radius);
  transition: transform .3s;
}
.news-item:hover .news-item__title { color: var(--red); }
.news-item:hover .news-item__thumb { transform: scale(1.03); }

/* ==========================================================
   НАГРАДЫ
   ========================================================== */
.awards {
  display: flex;
  align-items: stretch;
  min-height: 180px;
  background: var(--red);
  border-block: 1px solid var(--ink);
  color: var(--linen);
}
.awards__arrow {
  flex: none;
  display: flex;
  align-items: center;
  width: 105px;
  color: var(--linen);
  transition: opacity .2s;
}
.awards__arrow--prev { padding-left: 20px; }
.awards__arrow--next { justify-content: flex-end; padding-right: 20px; }
.awards__arrow svg { transition: transform .2s; }

.awards__arrow[disabled] { opacity: .4; cursor: default; }

.awards__track {
  flex: 1 1 0;
  display: flex;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-right: 1px dashed var(--linen);
}
.awards__track::-webkit-scrollbar { display: none; }

.award {
  flex: 0 0 33.3334%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 20px 24px;
  border-left: 1px dashed var(--linen);
  text-align: center;
  scroll-snap-align: start;
}
.award__text {
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.06em;
}
.award__year {
  font-family: var(--font-cond);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.06em;
}

/* ==========================================================
   ИСТОРИЯ
   ========================================================== */
.history {
  padding-block: 100px;
  background: var(--yellow);
}
.history__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 124px;
}
.history__badge {
  position: absolute;
  top: -2px;
  left: 50%;
  width: 360px;
  height: auto;
  transform: translateX(-50%);
}
.history__title {
  position: relative;
  font-weight: 800;
  font-size: clamp(38px, 3.75vw, 54px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.history__slider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 64px;
}
.history__arrow { flex: none; }
.history__arrow--prev { margin-right: 23px; }
.history__arrow--next { margin-left: 5px; }
.history__arrow[disabled] { opacity: .35; cursor: default; }

.history__slides { flex: 1 1 0; min-width: 0; }
.history__slide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.history__slide[hidden] { display: none; }
.history__photo {
  padding: 8px;
  border: 1px solid var(--red);
  border-radius: var(--radius);
}
.history__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 496 / 348;
  object-fit: cover;
  object-position: 50% 12%;
  border-radius: var(--radius);
}
.history__text { display: flex; flex-direction: column; gap: 48px; }
.history__text p:not(.history__year) { letter-spacing: -0.06em; }
.history__year {
  font-weight: 800;
  font-size: clamp(44px, 4.4444vw, 64px);
  line-height: 1.25;
  letter-spacing: -0.04em;
}
.history__cta { display: flex; justify-content: center; margin-top: 64px; }

/* ==========================================================
   МЕДИАТЕКА
   ========================================================== */
.media {
  padding-block: 100px;
  background: var(--red);
  color: var(--linen);
}
.media__head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 125px;
}
.media__fan {
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
  width: 310px;
  height: 310px;
  pointer-events: none;
}
.media__rays {
  position: absolute;
  left: 9px;
  top: 9px;
  width: 296px;
  height: 296px;
  max-width: none;
}
.media__dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff1b8;
  box-shadow: 0 0 4px 1px #ffd737, 0 0 10px 3px rgba(255, 215, 55, .55);
}
.media__title {
  position: relative;
  padding-top: 9px;
  font-weight: 800;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-shadow: 0 0 8px #ffd737;
}

.media__grid {
  display: grid;
  grid-template-columns: 2.0656fr 1fr 1fr;
  grid-template-rows: repeat(2, clamp(130px, 15.1389vw, 218px));   /* 218px на 1440 */
  gap: 20px;
  position: relative;
  z-index: 1;
  margin-top: 0;
}
.media-card {
  min-height: 0;
  padding: 8px;
  background: var(--red-dark);
  border: 1px solid var(--red);
  border-radius: var(--radius);
  box-shadow: 0 0 2px rgba(0, 0, 0, .25);
  overflow: hidden;
  position: relative;
}
.media-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .2);
  pointer-events: none;
}
.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform .4s;
}
.media-card:hover img { transform: scale(1.04); }
.media-card--big  { grid-column: 1; grid-row: 1 / span 2; }
.media-card--tall { grid-column: 3; grid-row: 1 / span 2; }

.media__cta { display: flex; justify-content: center; margin-top: 64px; }

/* End */


/* Start:/local/templates/circus/css/04-footer.css?17929994161475*/
/* ==========================================================
   ПОДВАЛ
   ========================================================== */
.footer {
  padding-block: 80px;
  background: var(--ink);
  color: var(--linen);
  font-family: var(--font-cond);
  font-weight: 400;
  font-size: 20px;
  line-height: normal;
  letter-spacing: 0;
}
.footer__inner { display: flex; flex-direction: column; gap: 64px; }

.footer__brand { display: flex; gap: 20px; align-items: flex-start; text-transform: uppercase; }
.footer__brand img { flex: none; width: 42px; height: 55px; object-fit: contain; }
.footer__brand > div { display: flex; flex-direction: column; gap: 8px; }
.footer__brand-name { font-weight: 700; }

.footer__cols { display: flex; gap: 20px; align-items: stretch; }
.footer__info {
  flex: 0 0 66.172%;       /* 847 / 1280 */
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer__side {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
.footer__block { display: flex; flex-direction: column; gap: 16px; }
.footer__block h3 {
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--yellow);
}
.footer__links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer a:hover { color: var(--yellow); }

.footer__legal { display: flex; flex-direction: column; gap: 16px; font-size: 12px; }
.footer__legal-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* End */


/* Start:/local/templates/circus/css/05-responsive.css?17929994162395*/
/* ==========================================================
   АДАПТИВ
   ========================================================== */
@media (max-width: 1180px) {
  .nav, .header__right { display: none; }
  .header__inner { justify-content: space-between; }
  .tickets--mobile { display: inline-flex; margin-left: auto; }
  .burger { display: flex; }
  .logo { margin-right: auto; }
  .tickets--mobile { margin-left: 0; }
}

@media (max-width: 1000px) {
  .afisha__body { flex-direction: column; align-items: center; gap: 40px; }
  .poster { flex-basis: auto; width: min(522px, 100%); }
  .afisha__info { flex-basis: auto; width: 100%; max-width: 630px; }

  .news-item { grid-template-columns: 120px 1fr 120px; }
  .news-item__body, .news-item__title { padding-right: 0; }

  .award { flex-basis: 50%; }

  .history__slide { grid-template-columns: 1fr; gap: 32px; }
  .history__arrow--prev, .history__arrow--next { margin: 0; }

  .footer__cols { flex-direction: column; gap: 32px; }
  .footer__info { flex-basis: auto; }
}

@media (max-width: 760px) {
  .afisha, .news { padding-block: 56px 48px; }
  .history, .media { padding-block: 64px; }
  .afisha__head { gap: 24px; }
  .afisha__body, .news__list, .history__slider, .history__cta, .media__cta { margin-top: 40px; }

  .news-item { grid-template-columns: 1fr; gap: 12px; }
  .news-item__thumb { order: -1; max-width: 240px; }
  .news-item__title { font-size: 20px; line-height: 24px; }

  .awards__arrow { width: 56px; }
  .awards__arrow--prev { padding-left: 8px; }
  .awards__arrow--next { padding-right: 8px; }
  .awards__arrow svg { width: 36px; height: 36px; }
  .award { flex-basis: 100%; }

  .history__badge { width: 280px; height: auto; }
  .history__slider { gap: 8px; }
  .history__arrow svg { width: 36px; height: 36px; }
  .history__arrow { width: 36px; height: 36px; }

  .media__fan { display: none; }
  .media__head { min-height: 0; }
  .media__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-auto-rows: auto;
    margin-top: 32px;
  }
  .media-card, .media-card--big, .media-card--tall { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .media-card--big, .media-card--tall { grid-column: 1 / -1; }

  .btn { padding-inline: 24px; font-size: 18px; }
  .hero__content { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* End */


/* Start:/local/templates/circus/css/06-inner-pages.css?17929994169965*/
/* ==========================================================
   ВНУТРЕННИЕ СТРАНИЦЫ (список новостей, новость)
   ========================================================== */
.nav__link.is-active::after { transform: scaleX(1); }

.page { background: var(--linen); padding-top: clamp(76px, 9.72vw, 140px); }
.page--blue { background: var(--blue); }
.page__inner {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding-block: 80px;
}

/* хлебные крошки */
.crumbs {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: var(--font-cond);
  font-weight: 400;
  font-size: clamp(16px, 1.6667vw, 24px);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.crumbs a { flex: none; transition: color .2s; }
.crumbs a:hover { color: var(--red); }
.crumbs svg { flex: none; width: 24px; height: 24px; }
.crumbs__current {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-transform: none;
  padding-block: 4px;
}

/* заголовок списка новостей */
.page__title {
  text-align: center;
  font-weight: 800;
  font-size: clamp(40px, 4.4444vw, 64px);
  line-height: 1.5625;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-transform: uppercase;
}
.page__title-wrap { margin-block: -16px; }
.page--blue .news__list { margin-top: 0; }

/* новость */
.article__head { display: flex; flex-direction: column; gap: 48px; }
.article__meta {
  display: flex;
  gap: 16px;
  font-family: var(--font-cond);
  font-weight: 400;
  font-size: clamp(16px, 1.6667vw, 24px);
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.article__title {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: clamp(26px, 3.3333vw, 48px);
  line-height: 1.125;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--navy);
}
.article__cover,
.article__gallery figure {
  height: clamp(220px, 44.4444vw, 640px);
  border-radius: var(--radius);
  overflow: hidden;
  background: #120f1a;
}
.article__cover img,
.article__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article__cover img { object-position: 50% 46%; }
.article__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-weight: 500;
  font-size: clamp(17px, 1.6667vw, 24px);
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.article__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.article__gallery figure { height: clamp(260px, 44.4444vw, 640px); }
.article__foot { display: flex; justify-content: center; }

@media (max-width: 1000px) {
  .page__inner { gap: 48px; padding-block: 56px; }
}
@media (max-width: 760px) {
  .article__head { gap: 24px; }
  .article__gallery { grid-template-columns: 1fr; }
  .article__gallery figure { height: 72vw; }
  .crumbs svg { width: 20px; height: 20px; }
}

/* ---------- Стрелка в круге: при наведении вытягивается ---------- */
.arr { display: block; overflow: visible; }
.arr--left { transform: scaleX(-1); }
.arr__bg { fill: currentColor; opacity: 0; transition: opacity .25s; }
.arr__line, .arr__head { transition: transform .25s ease; }
.arr__line { transform-box: view-box; transform-origin: 12px 22.5px; }
a:hover > .arr .arr__bg, button:not([disabled]):hover > .arr .arr__bg { opacity: .1; }
a:hover > .arr .arr__line, button:not([disabled]):hover > .arr .arr__line { transform: scaleX(1.158); }
a:hover > .arr .arr__head, button:not([disabled]):hover > .arr .arr__head { transform: translateX(3px); }

/* ---------- Страница новостей: слайдер последних новостей ---------- */
.page--news { padding-top: 0; background: var(--blue); }
.nhero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--linen);
  
}
.nhero__bg {
  position: absolute;
  inset: -60px;
  background-size: cover;
  background-position: center;
  filter: blur(28px);
}
.nhero__inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(32px, 4.5vw, 64px);
  padding-block: clamp(116px, 13vw, 190px) 110px;
}
.nhero__h1 {
  text-align: center;
  font-weight: 800;
  font-size: clamp(40px, 4.4444vw, 64px);
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.nhero__slide {
  display: grid;
  grid-template-columns: minmax(0, 630fr) minmax(0, 520fr);
  gap: clamp(32px, 8.5vw, 128px);
  align-items: center;
}
.nhero__slide[hidden] { display: none; }
.nhero__img { display: block; aspect-ratio: 630 / 442; overflow: hidden; border-radius: var(--radius); background: #000; }
.nhero__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.nhero__img:hover img { transform: scale(1.03); }
.nhero__body { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.nhero__date { font-family: var(--font-cond); font-size: clamp(18px, 1.6667vw, 24px); }
.nhero__title {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: clamp(22px, 2.2222vw, 32px);
  line-height: 1.25;
  text-transform: uppercase;
}
.nhero__text {
  font-family: var(--font-cond);
  font-size: clamp(16px, 1.3889vw, 20px);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding-block: 4px;

}
.nhero__pager {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  height: 40px;
  background: rgba(0, 0, 0, .45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  font-family: var(--font-cond);
  font-size: 14px;
  color: var(--white);
}
.nhero__pager button { width: 40px; height: 40px; display: grid; place-items: center; transition: background-color .2s; }
.nhero__pager button:hover { background: rgba(255, 255, 255, .18); }
.nhero__pager button:first-child { border-radius: 12px 0 0 12px; }
.nhero__pager button:last-child { border-radius: 0 12px 12px 0; }
.nhero__count { min-width: 56px; text-align: center; border-inline: 1px solid rgba(255,255,255,.25); line-height: 40px; }

/* ---------- Новость: статья + список справа ---------- */
.article__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(220px, 21.2vw, 305px);
  gap: clamp(32px, 8.9vw, 128px);
  align-items: start;
}
.article__main { display: flex; flex-direction: column; gap: 48px; min-width: 0; }
.article__side { position: sticky; top: 24px; }
.article__side ul { display: flex; flex-direction: column; gap: 32px; }
.side-news { display: flex; flex-direction: column; gap: 12px; }
.side-news img { width: 100%; height: auto; aspect-ratio: 305 / 214; object-fit: cover; border-radius: var(--radius); }
.side-news time { font-family: var(--font-cond); font-size: 20px; color: var(--navy, #00305e); }
.side-news__title {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--navy, #00305e);
  transition: color .2s;
}
.side-news:hover .side-news__title { color: var(--red); }
@media (max-width: 1000px) {
  .nhero__slide { grid-template-columns: 1fr; gap: 24px; }
  .article__cols { grid-template-columns: 1fr; }
  .article__side { position: static; }
  .article__side ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
.article { display: flex; flex-direction: column; gap: 48px; min-width: 0; }

@media (max-width: 1000px) {
  .afisha__title { font-size: clamp(48px, 9vw, 96px); }
  .afisha__show { font-size: clamp(32px, 6vw, 64px); }
}
.page--news .page__inner { padding-block: 64px 80px; }

/* ==========================================================
   Выверка по Figma: вертикальные метрики текста
   В макете у всех текстов включён text-box-trim (cap / alphabetic):
   высота строки обрезается до высоты заглавных. Повторяем это,
   иначе все отступы вокруг заголовков получаются больше.
   ========================================================== */
@supports (text-box: trim-both cap alphabetic) {
  .hero__title, .hero__sub,
  .afisha__title, .afisha__season, .afisha__eyebrow, .afisha__show, .afisha__text p,
  .news__title, .news-item__date, .news-item__title, .news-item__text,
  .award__text, .award__year,
  .history__title, .history__year, .history__text p,
  .media__title,
  .crumbs a, .crumbs__current, .article__meta time, .article__meta span, .article__title, .article__text p,
  .nhero__h1, .nhero__date, .nhero__title, .nhero__text,
  .side-news time, .side-news__title {
    text-box: trim-both cap alphabetic;
  }
}
.article { gap: 64px; }
.article__main { gap: 64px; }
.article__cover { height: auto; aspect-ratio: 2 / 1; }
.article__text { font-size: clamp(17px, 1.6667vw, 24px); line-height: 1.5; }
.article__meta { gap: 16px; }
@media (max-width: 1000px) {
  .article, .article__main { gap: 40px; }
}

/* история: геометрия слайдера как в макете (88 + 20 + 1060 + 20 + 70) */
.history__slider { justify-content: flex-start; }
.history__arrow { display: flex; align-items: center; }
.history__arrow--prev { width: 88px; justify-content: flex-start; margin: 0; }
.history__arrow--next { width: 70px; justify-content: flex-end; margin: 0; }
.history__slides { flex: 0 1 1060px; }
.history__slide { grid-template-columns: 509fr 491fr; }
.afisha__body { min-height: 750px; }
@media (max-width: 1000px) {
  .history__slides { flex: 1 1 0; }
  .afisha__body { min-height: 0; }
}
@media (max-width: 760px) {
  .history__arrow--prev, .history__arrow--next { width: 36px; }
  .history__slide { grid-template-columns: 1fr; }
}

/* End */


/* Start:/local/templates/circus/css/07-content-pages.css?179299941616164*/
/* ==========================================================
   НОВЫЕ СТРАНИЦЫ: О цирке, История, Студии, Профсоюз
   ========================================================== */
.page--red { background: var(--red); color: var(--linen); position: relative; overflow: hidden; }
.page--yellow { background: var(--yellow); }
.page--linen { background: var(--linen); }
.crumbs--osw, .crumbs--osw a { font-family: 'Oswald', var(--font-cond), sans-serif; }

/* О цирке */
.orn { position: absolute; inset: 0 0 auto 0; height: 100%; pointer-events: none; }
.orn__dots { position: absolute; top: clamp(76px, 9.72vw, 140px); left: 0; right: 0; display: flex; justify-content: space-around; padding-inline: 24px; }
.orn__dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); opacity: .85; }
.orn__wave { position: absolute; top: clamp(76px, 9.72vw, 140px); left: 0; right: 0; height: 28px; margin-top: 24px;
  background: radial-gradient(circle at 50% 0, var(--yellow) 13px, transparent 14px) 0 0 / 56px 28px repeat-x; opacity: .35; }
.about { position: relative; padding-block: 100px 100px; display: flex; flex-direction: column; gap: 64px; }
.about__title { font-family: 'Oswald', var(--font-cond), sans-serif; font-weight: 700; text-transform: uppercase; text-align: center;
  font-size: clamp(32px, 4.4444vw, 64px); line-height: 1.1; color: var(--linen); }
.about__block { display: flex; flex-direction: column; gap: 40px; }
.about__h { font-family: 'Oswald', var(--font-cond), sans-serif; font-weight: 600; font-size: clamp(28px, 3.3333vw, 48px); text-transform: uppercase; color: var(--yellow); }
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
.person { display: flex; flex-direction: column; gap: 12px; }
.person__photo { aspect-ratio: 220 / 310; overflow: hidden; border-radius: var(--radius); background: rgba(0,0,0,.15); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person__name { font-family: 'Oswald', var(--font-cond), sans-serif; font-weight: 600; font-size: clamp(18px, 1.6667vw, 24px); line-height: 1.2; color: var(--yellow); }
.person__role { font-family: var(--font-cond); font-size: 18px; line-height: 1.3; color: var(--linen); margin: 0; }
.accs { display: flex; flex-direction: column; gap: 16px; }
.acc { background: var(--linen); color: var(--ink); border-radius: var(--radius); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 24px 32px; font-family: 'Oswald', var(--font-cond), sans-serif; font-weight: 600; text-transform: uppercase; font-size: clamp(18px, 2.0833vw, 30px); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary svg { width: 32px; height: 32px; flex: none; transition: transform .25s; }
.acc[open] summary svg { transform: rotate(180deg); }
.acc__body { padding: 0 32px 32px; font-family: var(--font-cond); font-size: 20px; line-height: 1.35; }
.acc__chair { margin-bottom: 24px; }
.acc__chair p { margin: 0; }
.acc__chair-name { font-weight: 700; font-size: 22px; }
.tbl { display: flex; flex-direction: column; }
.tbl__row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; padding: 14px 0; border-top: 1px solid rgba(53,44,59,.2); }
.tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tag { padding: 14px 24px; border: 1px solid var(--linen); border-radius: var(--radius); color: var(--linen);
  font-family: 'Oswald', var(--font-cond), sans-serif; text-transform: uppercase; font-size: 20px; line-height: 1.1; transition: background .2s, color .2s; }
.tag:hover { background: var(--linen); color: var(--red); }

/* История */
.hist { padding-block: 100px; display: flex; flex-direction: column; gap: 56px; }
.hist__head { margin-top: 0; }
.hphoto { overflow: hidden; border-radius: var(--radius); }
.hphoto img { display: block; width: 100%; height: auto; }
.hcenter { max-width: 1062px; margin-inline: auto; display: flex; flex-direction: column; gap: 24px; }
.hyear { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 3.3333vw, 48px); line-height: 1; color: var(--red); margin: 0; }
.hcenter p, .htext p, .hp { font-family: var(--font-cond); font-size: clamp(18px, 1.6667vw, 24px); line-height: 1.35; margin: 0; color: var(--ink); }
.hrow { display: grid; grid-template-columns: 395px 1fr; gap: 48px; align-items: start; }
.hrow--flip { grid-template-columns: 1fr 395px; }
.htext { display: flex; flex-direction: column; gap: 20px; }

/* Студии и Профсоюз */
.ipage { padding-block: 80px 100px; display: flex; flex-direction: column; gap: 48px; }
.ipage__head { display: flex; flex-direction: column; gap: 24px; }
.ipage__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 6.6667vw, 96px); line-height: 1; text-transform: uppercase; color: var(--ink); margin: 0; }
.ipage__img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.ipage__sec { display: flex; flex-direction: column; gap: 24px; max-width: 1062px; }
.ipage__h { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3.3333vw, 48px); line-height: 1.05; color: var(--red); margin: 0; }
.ipage__h--ink { color: var(--ink); }
.ipage__p { font-family: var(--font-cond); font-size: clamp(18px, 1.6667vw, 24px); line-height: 1.35; margin: 0; color: var(--ink); }
.ipage__list { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 10px; font-family: var(--font-cond); font-size: clamp(18px, 1.6667vw, 24px); line-height: 1.35; }

@media (max-width: 900px) {
  .people { grid-template-columns: repeat(2, 1fr); }
  .hrow, .hrow--flip { grid-template-columns: 1fr; gap: 24px; }
  .hrow--flip .htext { order: 2; }
  .tbl__row { grid-template-columns: 1fr; gap: 4px; }
  .acc summary { padding: 18px 20px; }
  .acc__body { padding: 0 20px 24px; font-size: 18px; }
  .about, .hist, .ipage { padding-block: 56px 64px; gap: 40px; }
  .orn__dots i:nth-child(n+8) { display: none; }
}

/* Раскрывающиеся списки — по состояниям из Figma (Default / Hover / Pressed) */
.accs { gap: 20px; }
.acc { background: var(--linen); border: 1px solid #888; border-radius: 4px; color: var(--ink); transition: box-shadow .2s; }
.acc:hover { box-shadow: 0 0 5px rgba(0, 0, 0, .2); }
.acc summary { padding: 24px 20px; font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 24px;
  letter-spacing: -0.02em; text-transform: uppercase; color: var(--ink); gap: 16px; -webkit-tap-highlight-color: transparent; }
.acc summary span { transition: color .2s; }
.acc summary:hover span, .acc[open] summary span { color: var(--navy); }
.acc summary svg { width: 24px; height: 24px; color: #888; }
.acc[open] summary svg { transform: rotate(180deg); }
.acc__body { padding: 8px 20px 24px; display: flex; flex-direction: column; gap: 32px;
  font-family: var(--font-display); font-weight: 500; font-size: 20px; line-height: 24px; letter-spacing: -0.02em; }
.acc__chair { margin: 0; max-width: 630px; display: flex; flex-direction: column; gap: 16px; }
.acc__chair-name { font-family: var(--font-cond); font-weight: 600; font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }
.tbl { border: 1px solid #c7c7c7; border-radius: 4px; overflow: hidden; }
.tbl__row { display: grid; grid-template-columns: 33.35% 1fr; gap: 0; padding: 0; border-top: 1px solid #c7c7c7; }
.tbl__row:first-child { border-top: 0; }
.tbl__row > div { padding: 20px; display: flex; align-items: center; }
.tbl__row > div + div { border-left: 1px solid #c7c7c7; }
@media (max-width: 900px) {
  .acc summary { padding: 18px 16px; font-size: 16px; line-height: 20px; }
  .acc__body { padding: 4px 16px 20px; font-size: 16px; line-height: 20px; gap: 24px; }
  .acc__chair-name { font-size: 20px; }
  .tbl__row { grid-template-columns: 1fr; }
  .tbl__row > div { padding: 12px 16px; }
  .tbl__row > div + div { border-left: 0; padding-top: 0; }
}

/* Студии / Профсоюз — параметры текста из Figma */
.ipage { padding-block: 60px 100px; gap: 60px; }
.ipage__head { gap: 40px; }
.crumbs--osw, .crumbs--osw a, .crumbs--osw .crumbs__current { font-family: 'Oswald', sans-serif; font-weight: 400; font-size: 24px; letter-spacing: -0.02em; text-transform: none; color: var(--ink); }
.ipage__title { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 48px; line-height: 54px; letter-spacing: -0.02em; color: var(--navy); text-transform: uppercase; }
.ipage__sec { max-width: none; gap: 32px; }
.ipage__h { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 40px; line-height: 54px; letter-spacing: -0.02em; text-align: center; color: var(--navy); text-transform: none; }
.ipage__h--ink { color: var(--ink); text-transform: uppercase; }
.ipage__p, .ipage__list { font-family: var(--font-display); font-weight: 500; font-size: 20px; line-height: 26px; letter-spacing: -0.02em; color: var(--ink); }
.ipage__list { padding-left: 30px; gap: 0; display: block; }
.ipage__img { aspect-ratio: auto; border-radius: 0; }
@media (max-width: 900px) {
  .ipage { padding-block: 32px 64px; gap: 32px; padding-inline: 16px; }
  .crumbs--osw, .crumbs--osw a, .crumbs--osw .crumbs__current { font-size: 18px; }
  .ipage__title { font-size: 32px; line-height: 40px; }
  .ipage__h { font-size: 26px; line-height: 34px; }
  .ipage__p, .ipage__list { font-size: 16px; line-height: 22px; }
}
@supports (text-box: trim-both cap alphabetic) {
  .crumbs--osw a, .crumbs--osw .crumbs__current, .ipage__title, .ipage__h, .ipage__p, .ipage__list { text-box: trim-both cap alphabetic; }
}

/* ===== О цирке — по макету ===== */
.odeco { position: relative; }
.odeco__dots { display: flex; justify-content: space-between; align-items: center; padding: 20px clamp(16px, 5.5556vw, 80px); }
.odeco__dots i { width: 24px; height: 24px; background: url(/local/templates/circus/css/../img/diamond.png) center / contain no-repeat; flex: none; }
.odeco__scal { display: flex; width: 100%; height: clamp(26px, 3.3333vw, 48px); margin-bottom: clamp(8px, 1.1111vw, 16px); }
.odeco__scal i { position: relative; flex: 1 1 0; height: 100%; }
.odeco__scal i::before { content: ""; position: absolute; left: -3.33%; right: -3.33%; top: 0; bottom: -16.67%;
  background: url(/local/templates/circus/css/../img/scallop.png) center / 100% 100% no-repeat; }
.page--red .container.about { padding-block: 60px 100px; gap: 60px; }
.about__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.3333vw, 48px); line-height: 1; letter-spacing: -0.02em; color: var(--yellow); }
.about__block { gap: 32px; }
.about__h { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: clamp(26px, 2.5vw, 36px); line-height: 54px; letter-spacing: -0.02em; color: var(--linen); }
.people { gap: 20px; }
.person { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.person__ph { display: flex; flex-direction: column; width: 240px; max-width: 100%; }
.person__card { box-sizing: border-box; width: 100%; aspect-ratio: 240 / 330; padding: 8px; border: 2px solid rgba(0, 0, 0, .04); border-radius: 4px; }
.person__card img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.person__photo { all: unset; }
.person__shadow { height: 30px; background: url(/local/templates/circus/css/../img/photo-shadow.png) center / 100% 100% no-repeat; }
.person__name { width: 100%; margin: 4px 0 0; font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 28px; line-height: 32px; letter-spacing: -0.02em; color: var(--linen); }
.person__role { margin: -4px 0 0; padding-right: 20px; font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.4; letter-spacing: -0.02em; text-transform: uppercase; color: #fff; }
.tags { justify-content: center; gap: 20px; }
.tag { padding: 16px 32px; border: 1px solid #fff; border-radius: 4px; color: #fff; font-family: 'Oswald', sans-serif; font-weight: 400; font-size: 20px; line-height: normal; text-transform: uppercase; }
.tag:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

/* ===== История — по макету ===== */
.hist { padding-block: 60px 100px; gap: 60px; }
.hframe { box-sizing: border-box; display: flex; flex-direction: column; padding: 8px; border: 1px solid var(--red); border-radius: 4px; }
.hframe img { display: block; width: 100%; flex: 1 1 0; min-height: 0; object-fit: cover; border-radius: 4px; }
.hframe--banner img { aspect-ratio: 1024 / 197; flex: none; height: auto; }
.hframe--team img { aspect-ratio: 1264 / 549; flex: none; height: auto; }
.hfirst { display: flex; flex-direction: column; gap: 32px; max-width: none; margin: 0; }
.hfirst p, .hp, .htext p { font-family: var(--font-display); font-weight: 500; font-size: 20px; line-height: 26px; letter-spacing: -0.02em; color: var(--ink); margin: 0; }
.hyear { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.04em; color: var(--ink); margin: 0; }
.hrow, .hrow--flip { display: grid; gap: 128px; align-items: stretch; grid-template-columns: 413px 1fr; }
.hrow--flip { grid-template-columns: 1fr 413px; }
.hrow .hframe { min-height: 280px; }
.htext { display: flex; flex-direction: column; gap: 32px; justify-content: center; }
.hist .history__head { height: 124px; margin: 0; }
@media (max-width: 1100px) { .hrow, .hrow--flip { gap: 48px; grid-template-columns: 300px 1fr; } .hrow--flip { grid-template-columns: 1fr 300px; } }
@media (max-width: 900px) {
  .person__ph { width: 100%; }
  .person__name { font-size: 22px; line-height: 26px; }
  .person__role { font-size: 14px; }
  .tags { gap: 12px; }
  .tag { padding: 12px 18px; font-size: 16px; }
  .hist { padding-block: 32px 64px; gap: 40px; }
  .hrow, .hrow--flip { grid-template-columns: 1fr; gap: 20px; }
  .hrow--flip .htext { order: 2; }
  .hrow .hframe { min-height: 0; }
  .hrow .hframe img { flex: none; aspect-ratio: 4 / 3; height: auto; }
  .hyear { font-size: 30px; }
  .hfirst p, .hp, .htext p { font-size: 16px; line-height: 22px; }
}
/* крошки не обрезаются (обрезка по высоте текста срезала «у», «ц») */
.crumbs--osw .crumbs__current { overflow: visible; text-overflow: clip; white-space: nowrap; }
.crumbs--osw { overflow: visible; padding-block: 4px; }
@supports (text-box: trim-both cap alphabetic) {
  .about__title, .about__h, .person__name, .person__role, .hyear, .hfirst p, .hp, .htext p { text-box: trim-both cap alphabetic; }
}

/* Правки: фон героя, афиша, история, профсоюз */
.hero__bg::after { display: none; }
.afisha__more { display: flex; flex-direction: column; gap: 24px; }
.history__photo img { aspect-ratio: 496 / 348; object-position: 50% 30%; }
.ipage__list { list-style: disc outside; padding-left: 30px; margin: 0; display: block; }
.ipage__list li { display: list-item; padding-left: 0; }
.ipage__list li::marker { color: var(--ink); }

/* Антикоррупционная деятельность / список документов */
.doclist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.doc { display: flex; align-items: center; justify-content: space-between; gap: 24px; box-sizing: border-box; min-height: 74px; padding: 20px;
  background: #fff; border: 1px solid #888; border-radius: 4px; color: var(--ink);
  font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 28px; letter-spacing: -0.02em; transition: box-shadow .2s, color .2s; }
.doc svg { flex: none; width: 24px; height: 24px; color: #888; }
.doc:hover { color: var(--navy); box-shadow: 0 0 5px rgba(0, 0, 0, .2); }
@media (max-width: 900px) { .doc { font-size: 16px; line-height: 22px; padding: 16px; } }
@media (max-width: 900px) {
  .crumbs--osw { flex-wrap: wrap; row-gap: 4px; }
  .crumbs--osw .crumbs__current { white-space: normal; }
  .ipage__title { font-size: 26px; line-height: 34px; overflow-wrap: anywhere; }
}

/* End */


/* Start:/local/templates/circus/css/09-mobile.css?17930003824752*/
/* ==========================================================
   МОБИЛЬНАЯ / ПЛАНШЕТНАЯ ВЕРСИЯ — по макетам Figma (390 / 744)
   Подключается последним, перекрывает 05-responsive.css
   ========================================================== */

/* --- Шапка: бургер слева, логотип по центру, «Билеты» справа --- */
@media (max-width: 1180px) {
  .header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 80px;
    gap: 0;
  }
  .burger { grid-column: 1; grid-row: 1; justify-self: start; margin-left: -10px; }
  .logo { grid-column: 2; grid-row: 1; margin: 0; width: 52px; height: 69px; }
  .logo img { width: 52px; height: 69px; }
  .tickets--mobile { grid-column: 3; grid-row: 1; justify-self: end; margin: 0; }
  .hero__tent { width: 158px; }
}

@media (max-width: 760px) {
  :root { --gutter: 12px; }

  /* Первый экран */
  .hero { height: 640px; }
  .hero__content { inset: 290px 0 auto 0; gap: 20px; }
  .hero__title { font-size: 44px; letter-spacing: -0.04em; }
  .hero__sub { font-size: 16px; letter-spacing: 0; }

  /* Афиша: постер на всю ширину, текст слева, кнопка на всю ширину */
  .afisha, .news { padding-block: 32px 48px; }
  .afisha__title { font-size: 40px; }
  .afisha__season { font-size: 16px; }
  .afisha__head { gap: 24px; }
  .afisha__body { align-items: stretch; gap: 32px; margin-top: 24px; }
  .poster { width: 100%; flex-basis: auto; }
  .afisha__info { max-width: none; align-items: stretch; gap: 32px; }
  .afisha__titles { gap: 24px; }
  .afisha__eyebrow { font-size: 17px; }
  .afisha__show { font-size: 36px; line-height: 1.15; }
  .afisha__info .btn { width: 100%; align-self: stretch; }

  /* Новости: картинки на всю ширину */
  .news-item__thumb { order: -1; width: 100%; max-width: none; height: auto; }
  .nhero__pager { display: none; }
  .nhero__img img, .nhero__slide img { width: 100%; height: auto; }

  /* История: заголовок по центру фигуры, стрелки под текстом, фото крупнее, кнопка на всю ширину */
  .history { padding-block: 48px; }
  .history__head { height: 100px; }
  .history__badge { width: 292px; top: 50%; transform: translate(-50%, -50%); }
  .history__title { font-size: 40px; }
  .history__slider {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    row-gap: 32px;
    margin-top: 32px;
  }
  .history__slides { grid-column: 1 / -1; grid-row: 1; }
  .history__arrow--prev { grid-column: 1; grid-row: 2; justify-self: end; }
  .history__arrow--next { grid-column: 2; grid-row: 2; justify-self: start; }
  .history__arrow--prev, .history__arrow--next { width: 45px; height: 45px; margin: 0; justify-content: center; }
  .history__arrow svg { width: 45px; height: 45px; }
  .history__slide { gap: 24px; }
  .history__text { gap: 20px; }
  .history__year { font-size: 40px; line-height: 1.1; }
  .history__photo img { aspect-ratio: 352 / 250; }
  .history__cta { margin-top: 32px; }
  .history__cta .btn, .btn--outline-yellow { width: 100%; }

  /* Медиатека: веер лучей сохранён, сетка как в макете: большое сверху, два малых слева, высокое справа */
  .media { padding-block: 40px; }
  .media__fan { display: block; top: 49px; }
  .media__head { min-height: 153px; }
  .media__title { font-size: 40px; }
  .media__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 128px 128px;
    grid-auto-rows: 128px;
    gap: 8px;
    margin-top: 0;
  }
  .media-card { aspect-ratio: auto; padding: 4px; grid-column: auto; grid-row: auto; }
  .media-card::after { inset: 4px; }
  .media-card--big { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 366 / 259; }
  .media-card--tall { grid-column: 2; grid-row: 2 / span 2; }
  .media__cta { margin-top: 32px; }
  .media__cta .btn { width: 100%; }

  /* О цирке: орнамент не сжимается, кнопки-разделы ровной сеткой */
  .odeco__dots { padding-inline: 16px; }
  .odeco__dots i { width: 20px; height: 20px; }
  .odeco__dots i:nth-child(n+8) { display: none; }
  .odeco__scal { height: 40px; margin-bottom: 8px; }
  .odeco__scal i:nth-child(n+5) { display: none; }
  .tags { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .tag { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: 10px 12px; font-size: 16px; }
  .tag:nth-child(4), .tag:last-child { grid-column: 1 / -1; }
}

/* End */


/* Start:/local/templates/circus/css/10-tickets.css?17930328503154*/
/* ==========================================================
   Кнопка «Билеты» — фон-вывеска: вращающиеся лучи, бегущие лампочки, блик
   Форма (билетик с вырезами) и надпись не менялись.
   ========================================================== */
@property --ray { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

.tickets {
  --tk-img:
    linear-gradient(105deg, rgba(255, 255, 255, 0) 42%, rgba(255, 244, 200, .55) 50%, rgba(255, 255, 255, 0) 58%),
    radial-gradient(ellipse 60% 120% at 50% 50%, rgba(255, 206, 110, .32) 0, rgba(255, 206, 110, 0) 70%),
    repeating-conic-gradient(from var(--ray) at 50% 50%, rgba(255, 255, 255, .17) 0 8deg, rgba(255, 255, 255, 0) 8deg 16deg);
  background-color: var(--red);
  background-image: var(--tk-img);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: 260% 100%, 100% 100%, 100% 100%;
  background-position: -160% 0, 0 0, 0 0;
  animation: tk-rays 16s linear infinite, tk-shine 5.5s ease-in-out infinite;
  isolation: isolate;
}
.tickets:hover { background-color: #c32e34; background-image: var(--tk-img); transform: translateY(-1px); }
.tickets > span { position: relative; z-index: 2; text-shadow: 0 1px 0 rgba(90, 10, 14, .45); }

/* лампочки по контуру билетика: две гирлянды мигают в противофазе */
.tickets::before,
.tickets::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.tickets::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 46'%3E%3Cpath d='M6.32 3H36.46A10 10 0 0 0 55.54 3H85.68A7 7 0 0 0 89 6.32V39.68A7 7 0 0 0 85.68 43H55.54A10 10 0 0 0 36.46 43H6.32A7 7 0 0 0 3 39.68V6.32A7 7 0 0 0 6.32 3Z' fill='none' stroke='%23fff1b8' stroke-width='3.2' stroke-linecap='round' stroke-dasharray='0 7' stroke-dashoffset='0'/%3E%3C/svg%3E"); animation: tk-bulb-a 1.2s steps(1, end) infinite; }
.tickets::after  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 46'%3E%3Cpath d='M6.32 3H36.46A10 10 0 0 0 55.54 3H85.68A7 7 0 0 0 89 6.32V39.68A7 7 0 0 0 85.68 43H55.54A10 10 0 0 0 36.46 43H6.32A7 7 0 0 0 3 39.68V6.32A7 7 0 0 0 6.32 3Z' fill='none' stroke='%23ffd54a' stroke-width='3.2' stroke-linecap='round' stroke-dasharray='0 7' stroke-dashoffset='3.5'/%3E%3C/svg%3E"); animation: tk-bulb-b 1.2s steps(1, end) infinite; }
.tickets:hover::before, .tickets:hover::after { animation-duration: .6s; }

@keyframes tk-rays  { to { --ray: 360deg; } }
@keyframes tk-shine { 0%, 55% { background-position: -160% 0, 0 0, 0 0; } 100% { background-position: 160% 0, 0 0, 0 0; } }
@keyframes tk-bulb-a { 0% { opacity: 1; } 50% { opacity: .22; } }
@keyframes tk-bulb-b { 0% { opacity: .22; } 50% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .tickets, .tickets::before, .tickets::after { animation: none; }
  .tickets::after { opacity: .22; }
}

/* End */


/* Start:/local/templates/circus/css/11-hero-fx.css?17930426297110*/
/* ==========================================================
   ГЛАВНЫЙ БАННЕР — цирковая анимация (только CSS, поверх фото)
   Лучи прожекторов, гирлянда под шапкой, золотая пыль, мерцающие бриллианты,
   появление заголовка. Анимируются transform/opacity — без нагрузки на скролл.
   ========================================================== */
.hero { isolation: isolate; --hh: clamp(76px, 9.72vw, 140px); }
@media (max-width: 1180px) { .hero { --hh: 80px; } }

/* медленное «дыхание» фона */
.hero__bg { transform-origin: 50% 40%; animation: hx-zoom 26s ease-in-out infinite alternate; will-change: transform; }
@keyframes hx-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }

/* лучи прожекторов: два слоя качаются в противофазе */
.hero::before,
.hero__bg::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -25%; right: -25%;
  transform-origin: 50% 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, rgba(0, 0, 0, .55) 55%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 0, rgba(0, 0, 0, .55) 55%, transparent 92%);
  mix-blend-mode: screen;
}
.hero::before {
  z-index: 1;
  background: conic-gradient(from 0deg at 50% -4%,
    transparent 0 148deg, rgba(255, 243, 176, .30) 155deg, transparent 163deg,
    transparent 190deg, rgba(255, 190, 120, .24) 197deg, transparent 205deg, transparent 360deg);
  animation: hx-sway-a 7s ease-in-out infinite alternate;
}
.hero__bg::before {
  z-index: 0;
  background: conic-gradient(from 0deg at 50% -4%,
    transparent 0 168deg, rgba(167, 204, 245, .26) 175deg, transparent 183deg,
    transparent 208deg, rgba(255, 243, 176, .18) 214deg, transparent 221deg, transparent 360deg);
  animation: hx-sway-b 9s ease-in-out infinite alternate;
}
@keyframes hx-sway-a { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
@keyframes hx-sway-b { from { transform: rotate(8deg); } to { transform: rotate(-10deg); } }

/* золотая пыль, медленно поднимается */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -180px; bottom: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 226, 140, 0.85) 0 1.6px, transparent 2.6px) 0 0 / 180px 180px,
    radial-gradient(circle at 70% 65%, rgba(255, 255, 255, .8) 0 1px, transparent 2px) 0 0 / 120px 120px,
    radial-gradient(circle at 50% 80%, rgba(255, 214, 120, .6) 0 .9px, transparent 1.8px) 0 0 / 90px 90px;
  animation: hx-dust 22s linear infinite;
}
@keyframes hx-dust { from { transform: translateY(0); } to { transform: translateY(360px); } }

/* гирлянда-фестон под шапкой, только на главной; яркость бежит волной */
body:has(.hero) .header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 100%;
  height: 46px;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 46'%3E%3Cpath d='M0 4Q60 40 120 4' fill='none' stroke='%232a1020' stroke-width='1.4'/%3E%3Ccircle cx='0' cy='4' r='2' fill='%232a1020'/%3E%3Ccircle cx='120' cy='4' r='2' fill='%232a1020'/%3E%3Ccircle cx='12' cy='10.5' r='7' fill='%23ffd54a' opacity='.28'/%3E%3Ccircle cx='12' cy='10.5' r='3.4' fill='%23ffd54a'/%3E%3Ccircle cx='11' cy='9.5' r='1.1' fill='%23fff'/%3E%3Ccircle cx='36' cy='19.1' r='7' fill='%23fff1b8' opacity='.28'/%3E%3Ccircle cx='36' cy='19.1' r='3.4' fill='%23fff1b8'/%3E%3Ccircle cx='35' cy='18.1' r='1.1' fill='%23fff'/%3E%3Ccircle cx='60' cy='22' r='7' fill='%23ffd54a' opacity='.28'/%3E%3Ccircle cx='60' cy='22' r='3.4' fill='%23ffd54a'/%3E%3Ccircle cx='59' cy='21' r='1.1' fill='%23fff'/%3E%3Ccircle cx='84' cy='19.1' r='7' fill='%23fff1b8' opacity='.28'/%3E%3Ccircle cx='84' cy='19.1' r='3.4' fill='%23fff1b8'/%3E%3Ccircle cx='83' cy='18.1' r='1.1' fill='%23fff'/%3E%3Ccircle cx='108' cy='10.5' r='7' fill='%23ffd54a' opacity='.28'/%3E%3Ccircle cx='108' cy='10.5' r='3.4' fill='%23ffd54a'/%3E%3Ccircle cx='107' cy='9.5' r='1.1' fill='%23fff'/%3E%3C/svg%3E") 0 0 / 120px 46px repeat-x;
  -webkit-mask-image: linear-gradient(90deg, #000 0, rgba(0, 0, 0, .3) 12%, #000 24%, rgba(0, 0, 0, .3) 36%, #000 48%);
  mask-image: linear-gradient(90deg, #000 0, rgba(0, 0, 0, .3) 12%, #000 24%, rgba(0, 0, 0, .3) 36%, #000 48%);
  -webkit-mask-size: 240px 100%;
  mask-size: 240px 100%;
  animation: hx-chase 1.6s linear infinite;
}
@keyframes hx-chase { from { -webkit-mask-position: 0 0; mask-position: 0 0; } to { -webkit-mask-position: 240px 0; mask-position: 240px 0; } }

/* заголовок, подзаголовок, шатёр — выход на сцену */
.hero__title { position: relative; animation: hx-up .9s cubic-bezier(.2, .8, .2, 1) .15s both; }
.hero__sub { animation: hx-up .9s cubic-bezier(.2, .8, .2, 1) .45s both, hx-glow 3.2s ease-in-out 1.5s infinite; }
.hero__tent { animation: hx-tent 1.1s cubic-bezier(.2, .9, .2, 1) .7s both; }
@keyframes hx-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes hx-tent { from { opacity: 0; transform: translate(-50%, 60px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes hx-glow { 0%, 100% { text-shadow: 0 0 4px #ffda45; } 50% { text-shadow: 0 0 10px #ffda45, 0 0 22px rgba(255, 218, 69, .55); } }

/* золотые искры-блики у заголовка */
.hero__title::before,
.hero__title::after {
  content: "";
  position: absolute;
  width: clamp(20px, 2.4vw, 34px);
  aspect-ratio: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0L14.6 9.4 24 12 14.6 14.6 12 24 9.4 14.6 0 12 9.4 9.4Z' fill='%23fff1b8'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
  animation: hx-twinkle 2.8s ease-in-out infinite;
}
.hero__title::before { left: -3%; top: -26%; }
.hero__title::after { right: -3%; bottom: -12%; animation-delay: 1.3s; }
@keyframes hx-twinkle { 0%, 100% { opacity: .25; transform: scale(.6) rotate(0deg); } 50% { opacity: 1; transform: scale(1.15) rotate(18deg); } }


/* шатёр: новый SVG (флаг, гирлянда, лампочки), на десктопе крупнее */
.hero__tent { height: auto; }
@media (min-width: 1181px) { .hero__tent { width: clamp(280px, 24vw, 400px); } }
@media (max-width: 1180px) { .hero__tent { width: 190px; } }

@media (max-width: 760px) {
  body:has(.hero) .header::after { height: 36px; background-size: 90px 36px; }
  .hero::after { opacity: .7; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg, .hero::before, .hero::after, .hero__bg::before, body:has(.hero) .header::after,
  .hero__title, .hero__sub, .hero__tent, .hero__title::before, .hero__title::after { animation: none !important; }
  .hero__tent { transform: translateX(-50%); }
}

/* End */
/* /local/templates/circus/css/01-base.css?17929994162830 */
/* /local/templates/circus/css/02-header-hero.css?17929994165763 */
/* /local/templates/circus/css/03-home-sections.css?17929994169391 */
/* /local/templates/circus/css/04-footer.css?17929994161475 */
/* /local/templates/circus/css/05-responsive.css?17929994162395 */
/* /local/templates/circus/css/06-inner-pages.css?17929994169965 */
/* /local/templates/circus/css/07-content-pages.css?179299941616164 */
/* /local/templates/circus/css/09-mobile.css?17930003824752 */
/* /local/templates/circus/css/10-tickets.css?17930328503154 */
/* /local/templates/circus/css/11-hero-fx.css?17930426297110 */
