

/* Start:/local/templates/teatr21/css/main.css?179436337539769*/
@charset "UTF-8";
@font-face {
  font-family: "Manrope";
  src: url("/local/templates/teatr21/css/../fonts/Manrope/Manrope-Regular.woff2") format("woff2"), url("/local/templates/teatr21/css/../fonts/Manrope/Manrope-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/local/templates/teatr21/css/../fonts/Manrope/Manrope-SemiBold.woff2") format("woff2"), url("/local/templates/teatr21/css/../fonts/Manrope/Manrope-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/local/templates/teatr21/css/../fonts/Manrope/Manrope-Bold.woff2") format("woff2"), url("/local/templates/teatr21/css/../fonts/Manrope/Manrope-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/local/templates/teatr21/css/../fonts/Manrope/Manrope-ExtraBold.woff2") format("woff2"), url("/local/templates/teatr21/css/../fonts/Manrope/Manrope-ExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
/* ===== Переменные ===== */
:root {
  --bg: #211609;
  --bg-end: #000000;
  --panel: #2e2012;
  --wood: #5a3a22;
  --accent: #6b2340;
  --accent-hover: #8a2d52;
  --gold: #c9a46a;
  --text: #f3ead9;
  --muted: rgba(243, 234, 217, .6);
  --line: rgba(201, 164, 106, .2);
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
}

/* ===== База ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  background: var(--bg-end);
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 25%, var(--bg-end) 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.page {
  position: relative;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ===== Кнопки ===== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 14px 28px;
  border: 1px solid var(--accent);
  border-radius: 40px;
  background: var(--accent);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  font-family: inherit;
  cursor: pointer;
}

.button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
}

.button--ghost {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

.button--ghost:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}

.button--sm {
  min-width: 0;
  padding: 10px 20px;
  font-size: 14px;
}

/* ===== Шапка: только меню ===== */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(15, 9, 4, 0.8) 0%, rgba(15, 9, 4, 0) 100%);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

/* Кнопка справа, меню остаётся строго по центру */
.header__button {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
}

.header__button:hover {
  transform: translateY(calc(-50% - 2px));
}

/* ===== Бургер ===== */
.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.burger span,
.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s, opacity 0.25s;
}

.burger::before {
  top: 15px;
}

.burger span {
  top: 21px;
}

.burger::after {
  top: 27px;
}

.menu-open .burger::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .burger span {
  opacity: 0;
}

.menu-open .burger::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ===== Первый экран ===== */
.hero {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 120px 0 80px;
  background: linear-gradient(0deg, var(--bg) 0%, transparent 25%), linear-gradient(rgba(20, 10, 4, 0.55), rgba(20, 10, 4, 0.55)), url("/local/templates/teatr21/css/../img/bg-image.jpg") center/cover no-repeat, var(--bg);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__logo {
  width: min(760px, 85%);
  margin-bottom: 56px;
}

.hero__text {
  max-width: 420px;
  margin: 0 0 32px;
  font-size: 24px;
  line-height: 1.35;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* ===== Телефон ===== */
@media (max-width: 960px) {
  .header__inner {
    justify-content: flex-end;
    min-height: 70px;
  }
  .header__button {
    display: none;
  }
  .burger {
    display: block;
    z-index: 60;
  }
  .menu-open {
    overflow: hidden;
  }
  .hero {
    padding: 100px 0 60px;
  }
  .hero__text {
    font-size: 19px;
  }
}
@media (max-width: 600px) {
  .hero__logo {
    width: 300px;
    margin-bottom: 36px;
  }
  .hero__buttons .button {
    flex: 1 1 100%;
  }
}
/* ===== Подвал ===== */
.footer {
  padding: 36px 0 22px;
  border-top: 1px solid var(--line);
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer__logo {
  flex-shrink: 0;
}

.footer__logo img {
  width: 170px;
}

.footer__contacts {
  flex-shrink: 0;
  text-align: right;
  line-height: 1.4;
}

.footer__phone {
  display: block;
  font-size: 16px;
  font-weight: 600;
}

.footer__phone:hover {
  color: var(--gold);
}

.footer__address {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.footer__bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 960px) {
  .footer__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer__contacts {
    text-align: left;
  }
}
/* ===== Шапка внутренних страниц ===== */
.page-head {
  padding: 120px 0 56px;
  background: linear-gradient(0deg, var(--bg) 0%, transparent 60%), linear-gradient(rgba(20, 10, 4, 0.72), rgba(20, 10, 4, 0.72)), url("/local/templates/teatr21/css/../img/bg-image.jpg") center 40%/cover no-repeat, var(--bg);
}

.page-head__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-head__logo img {
  width: 260px;
}

.page-head__title {
  margin: 28px 0 0;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
}

/* ===== Контент внутренних страниц ===== */
.content {
  padding: 40px 0 80px;
}

.content a:not(.button) {
  color: var(--gold);
}

.content a:not(.button):hover {
  color: var(--text);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 64px 0 32px;
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
}

.section-title::before,
.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
}

/* ===== Контакты ===== */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.contact-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.contact-card__label {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-card__value {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.content .contact-card__value a {
  color: var(--text);
}

.content .contact-card__value a:hover {
  color: var(--gold);
}

.contact-card__note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

/* Как проехать */
.route {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: start;
}

.route__scheme img {
  width: 100%;
  border-radius: 10px;
  transition: opacity 0.2s;
}

.route__scheme:hover img {
  opacity: 0.9;
}

.route__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.route__list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.route__list li:first-child {
  padding-top: 0;
}

.route__label {
  margin-bottom: 2px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Карта */
.map {
  margin-top: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

@media (max-width: 960px) {
  .route {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .page-head {
    padding: 90px 0 40px;
  }
  .page-head__logo img {
    width: 200px;
  }
  .section-title {
    gap: 12px;
    margin-top: 48px;
  }
  .map iframe {
    height: 320px;
  }
}
/* ===== Отзывы (Яндекс Карты) ===== */
.reviews {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}

.reviews iframe {
  display: block;
  width: 100%;
  height: 700px;
  border: 0;
  border-radius: 10px;
}

.content a.reviews__link {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.content a.reviews__link:hover {
  color: var(--gold);
}

@media (max-width: 600px) {
  .reviews iframe {
    height: 600px;
  }
}
/* ===== Аренда ===== */
.rent-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.rent-intro__lead {
  margin-top: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
}

.rent-intro__text p:not(.rent-intro__lead) {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
}

.rent-intro__photo img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.rent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.rent-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.rent-card__title {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 18px;
  font-weight: 700;
}

.rent-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.rent-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 40px;
  border: 1px solid rgba(201, 164, 106, 0.45);
  border-radius: 10px;
  background: linear-gradient(120deg, var(--panel) 0%, rgba(107, 35, 64, 0.35) 100%);
}

.content a.rent-contact__phone {
  display: block;
  color: var(--text);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  line-height: 1.2;
}

.content a.rent-contact__phone:hover {
  color: var(--gold);
}

.rent-contact__mail {
  display: inline-block;
  margin-top: 4px;
  font-size: 16px;
}

.rent-contact__note {
  max-width: 460px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.rent-contact__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .rent-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .rent-contact {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }
  .rent-contact__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
@media (max-width: 600px) {
  .rent-contact__actions .button {
    flex: 1 1 100%;
  }
}
/* ===== Галерея ===== */
.gallery__title {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery + .gallery__title {
  margin-top: 36px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery__item {
  position: relative;
  display: block;
  aspect-ratio: 3/2;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

/* Фото директора */
.rent-contact__photo {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 30%;
}

.rent-contact__info {
  flex: 1;
}

/* ===== Просмотр фото ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px 70px;
  background: rgba(0, 0, 0, 0.92);
}

.lightbox.is-open {
  display: flex;
}

.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(33, 22, 9, 0.8);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lightbox__btn:hover {
  background: var(--gold);
  color: var(--bg);
}

.lightbox__close {
  top: 16px;
  right: 16px;
}

.lightbox__prev {
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 960px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .gallery {
    grid-template-columns: 1fr;
  }
  .rent-contact__photo {
    width: 110px;
    height: 110px;
  }
  .lightbox {
    padding: 60px 12px;
  }
  .lightbox__prev, .lightbox__next {
    top: auto;
    bottom: 16px;
    transform: none;
  }
}
/* ===== Схема зала ===== */
.gallery--2 {
  grid-template-columns: repeat(2, 1fr);
}

.scheme {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: center;
}

.scheme__img {
  display: block;
  padding: 16px;
  border-radius: 10px;
  background: #fff;
  transition: box-shadow 0.2s;
}

.scheme__img:hover {
  box-shadow: 0 0 0 2px var(--gold);
}

.scheme__img img {
  width: 100%;
}

.scheme__facts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.scheme__facts li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 16px;
}

.scheme__facts li:first-child {
  padding-top: 0;
}

.scheme__num {
  margin-right: 6px;
  color: var(--gold);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 960px) {
  .scheme {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 600px) {
  .gallery--2 {
    grid-template-columns: 1fr;
  }
  .scheme__img {
    padding: 8px;
  }
}
/* ===== Оборудование ===== */
.equipment {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}

.equipment__group {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.equipment__title {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.equipment__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.equipment__list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.equipment__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.equipment__list span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

@media (max-width: 960px) {
  .equipment {
    grid-template-columns: 1fr 1fr;
  }
  .equipment__group:last-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 600px) {
  .equipment {
    grid-template-columns: 1fr;
  }
  .equipment__group:last-child {
    grid-column: auto;
  }
}
.rent-contact__name {
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 700;
}

/* ===== Театральная студия ===== */
.studio-lead {
  max-width: 820px;
  margin: 0 auto;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.studio-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.studio-group {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.studio-group__photo {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: linear-gradient(135deg, var(--wood), var(--panel));
}

.studio-group__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Заглушка, пока нет фото */
.studio-group__photo--empty {
  display: grid;
  place-items: center;
}

.studio-group__photo--empty span {
  padding: 10px 18px;
  border: 1px dashed rgba(201, 164, 106, 0.5);
  border-radius: 40px;
  color: var(--muted);
  font-size: 14px;
}

.studio-group__body {
  padding: 26px 28px 30px;
}

.studio-group__title {
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 800;
}

.studio-group__teacher {
  margin-bottom: 14px;
  font-size: 17px;
  font-weight: 600;
}

.studio-group__teacher span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.studio-group__text {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 760px) {
  .studio-groups {
    grid-template-columns: 1fr;
  }
  .studio-lead {
    font-size: 18px;
    text-align: left;
  }
}
/* ===== Репертуар: список ===== */
.rep-filter {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 28px;
}

.rep-filter__label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rep-filter__select {
  min-width: 260px;
  padding: 10px 40px 10px 16px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c9a46a' stroke-width='1.6'/%3E%3C/svg%3E") right 16px center no-repeat;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  appearance: none;
  cursor: pointer;
}

.rep-filter__select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.posters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 20px;
}

.poster {
  display: flex;
  flex-direction: column;
  color: var(--text);
}

.poster[hidden] {
  display: none;
}

.poster__img {
  aspect-ratio: 3/4;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.poster__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.poster:hover .poster__img img {
  transform: scale(1.04);
}

/* Нет афиши — название на тёплом фоне */
.poster__img--empty {
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 164, 106, 0.22), transparent 60%), linear-gradient(160deg, var(--wood) 0%, var(--panel) 55%, #1a1007 100%);
  text-align: center;
  transition: border-color 0.2s;
}

.poster__img--empty span {
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.poster:hover .poster__img--empty {
  border-color: rgba(201, 164, 106, 0.55);
}

.poster__body {
  padding-top: 14px;
}

.poster__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  transition: color 0.2s;
}

.poster:hover .poster__title {
  color: var(--gold);
}

.poster__director {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.poster__meta {
  margin-top: 2px;
  color: var(--gold);
  font-size: 13px;
}

.rep-empty {
  color: var(--muted);
  text-align: center;
}

/* ===== Страница спектакля ===== */
.show__top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: start;
}

.show__poster {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.show__poster img {
  width: 100%;
}

.show__poster.poster__img--empty {
  aspect-ratio: 3/4;
}

.show__meta {
  margin: 0;
}

.show__meta-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.show__meta-row:first-child {
  padding-top: 0;
}

.show__meta dt {
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 2;
  text-transform: uppercase;
}

.show__meta dd {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.show__dates {
  margin-top: 36px;
}

.show__subtitle {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
}

.showings {
  margin: 0;
  padding: 0;
  list-style: none;
}

.showing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.showing__day {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

.showing__time {
  color: var(--muted);
  font-size: 14px;
}

.show__no-dates {
  color: var(--muted);
}

.show__text {
  max-width: 820px;
  font-size: 17px;
  line-height: 1.7;
}

.cast {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cast__item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cast__role {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.cast__name {
  font-size: 16px;
  font-weight: 600;
}

.videos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.video {
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #000;
}

.video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.show__back {
  margin-top: 56px;
  text-align: center;
}

@media (max-width: 1100px) {
  .posters {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 960px) {
  .show__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .show__poster {
    max-width: 420px;
  }
  .videos {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .posters {
    grid-template-columns: 1fr 1fr;
    gap: 20px 12px;
  }
  .poster__title {
    font-size: 16px;
  }
  .poster__img--empty span {
    font-size: 17px;
  }
  .rep-filter {
    justify-content: stretch;
    flex-wrap: wrap;
  }
  .rep-filter__select {
    flex: 1;
    min-width: 0;
  }
  .show__meta-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .showing {
    flex-wrap: wrap;
  }
  .showing .button {
    flex: 1 1 100%;
  }
}
/* ===== Афиша ===== */
.afisha-empty {
  color: var(--muted);
  font-size: 17px;
  text-align: center;
}

.afisha {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  transition: border-color 0.2s;
}

.event:hover {
  border-color: rgba(201, 164, 106, 0.45);
}

.event__date {
  flex-shrink: 0;
  width: 92px;
  text-align: center;
}

.event__day {
  display: block;
  color: var(--gold);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
}

.event__month {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
}

.event__time {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.event__date--weekend .event__time {
  color: var(--gold);
}

.event__poster {
  flex-shrink: 0;
  width: 66px;
  overflow: hidden;
  border-radius: 6px;
}

.event__poster img {
  width: 100%;
}

.event__main {
  flex: 1;
  min-width: 0;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.event__poster + .event__main {
  padding-left: 0;
  border-left: 0;
}

.event__title {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
}

.content .event__title a {
  color: var(--text);
  text-decoration: none;
}

.content .event__title a:hover {
  color: var(--gold);
}

.event__age {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  vertical-align: 3px;
}

.event__meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.event__buy {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 16px;
}

.event__price {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.event__soldout {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 40px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

/* Цена и «Билетов нет» на странице спектакля */
.showing__buy {
  display: flex;
  align-items: center;
  gap: 14px;
}

@media (max-width: 760px) {
  .event {
    flex-wrap: wrap;
    gap: 14px 18px;
    padding: 16px;
  }
  .event__date {
    width: 64px;
  }
  .event__day {
    font-size: 32px;
  }
  .event__poster {
    display: none;
  }
  .event__main,
  .event__poster + .event__main {
    padding-left: 18px;
    border-left: 1px solid var(--line);
  }
  .event__title {
    font-size: 18px;
  }
  .event__buy {
    flex: 1 1 100%;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .showing__buy {
    flex: 1 1 100%;
    justify-content: space-between;
  }
}
/* ===== О нас ===== */
.about-intro {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.about-intro__lead {
  margin: 0 0 16px;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.35;
}

.about-intro__text {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.facts {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.facts__item {
  flex: 1;
  max-width: 260px;
  padding: 24px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  text-align: center;
}

.facts__num {
  display: block;
  color: var(--gold);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
}

.facts__label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.history {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.history__date {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 28px;
  font-weight: 800;
}

.history__text p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.7;
}

.history__text p:not(.history__date) {
  color: var(--muted);
}

.history__text p:first-of-type + p {
  color: var(--text);
}

.history__text .button {
  margin-top: 8px;
}

.history__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.history__photo {
  position: relative;
  display: block;
  aspect-ratio: 3/4;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.history__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.history__photo:first-child img {
  object-position: 50% 35%;
}

.history__photo:hover img {
  transform: scale(1.04);
}

.content .history__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(to top, rgba(15, 9, 4, 0.9), rgba(15, 9, 4, 0));
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 960px) {
  .history {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
@media (max-width: 600px) {
  .facts {
    flex-direction: column;
    align-items: stretch;
  }
  .facts__item {
    max-width: none;
  }
  .about-intro {
    text-align: left;
  }
  .about-intro__text {
    font-size: 16px;
  }
}
/* ===== Главная: ближайшие спектакли ===== */
.home-afisha {
  padding: 20px 0 90px;
}

.home-events {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
}

.home-event {
  display: flex;
  flex-direction: column;
}

.home-event__poster {
  display: block;
  aspect-ratio: 3/4;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  transition: border-color 0.2s;
}

.home-event__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

a.home-event__poster:hover {
  border-color: rgba(201, 164, 106, 0.55);
}

a.home-event__poster:hover img {
  transform: scale(1.04);
}

/* Нет афиши — крупная дата на тёплом фоне */
.home-event__poster--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 164, 106, 0.22), transparent 60%), linear-gradient(160deg, var(--wood) 0%, var(--panel) 55%, #1a1007 100%);
}

.home-event__big-day {
  color: var(--gold);
  font-size: 88px;
  font-weight: 800;
  line-height: 1;
}

.home-event__big-month {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-event__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 14px;
}

.home-event__date {
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
}

.home-event__title {
  margin: 6px 0 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}

.home-event__title a {
  color: var(--text);
}

.home-event__title a:hover {
  color: var(--gold);
}

.home-event__meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.home-event__buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
}

.home-afisha__more {
  margin-top: 44px;
  text-align: center;
}

@media (max-width: 1100px) {
  .home-events {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 760px) {
  .home-events {
    grid-template-columns: 1fr 1fr;
    gap: 24px 14px;
  }
  .home-event__big-day {
    font-size: 60px;
  }
  .home-event__big-month {
    font-size: 14px;
  }
  .home-event__title {
    font-size: 16px;
  }
  .home-event__buy {
    flex-direction: column;
    align-items: stretch;
  }
  .home-event__buy .event__price {
    text-align: center;
  }
  .home-event__buy .event__soldout {
    text-align: center;
  }
}
/* ===== Главная: фотоальбом ===== */
.home-gallery {
  padding: 0 0 90px;
}

/* Мозаика: первое фото крупное, рядом четыре маленьких */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 12px;
}

.mosaic__item {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.mosaic__item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.mosaic__item:hover img {
  transform: scale(1.05);
}

/* Остальные фото — только в просмотре */
.mosaic__item--more {
  display: none;
}

.mosaic__count {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15, 9, 4, 0.6);
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
  transition: background 0.2s;
}

.mosaic__item:hover .mosaic__count {
  background: rgba(15, 9, 4, 0.4);
}

@media (max-width: 760px) {
  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 140px;
    gap: 8px;
  }
}
/* ===== Главная: отзывы ===== */
.home-reviews {
  padding: 0 0 90px;
}

.home-reviews .reviews__link {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.home-reviews .reviews__link:hover {
  color: var(--gold);
}

/* ===== Шапка: телефон кассы слева ===== */
.header__phone {
  position: absolute;
  left: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s;
}

.header__phone:hover {
  color: var(--gold);
}

/* На узких ноутбуках оставляем только номер */
@media (max-width: 1200px) {
  .header__phone-label {
    display: none;
  }
}
/* ===== Подвал на планшете и телефоне — по центру ===== */
@media (max-width: 960px) {
  .footer__top {
    align-items: center;
    text-align: center;
  }
  .footer__contacts {
    text-align: center;
  }
  .footer__bottom {
    text-align: center;
  }
}
/* ===== Уведомление о cookie ===== */
.cookie {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 640px;
  padding: 18px 22px;
  border: 1px solid rgba(201, 164, 106, 0.35);
  border-radius: 12px;
  background: rgba(33, 22, 9, 0.97);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}

.cookie[hidden] {
  display: none;
}

.cookie__text {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.cookie__btn {
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .cookie {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
  }
}
/* ===== Политика конфиденциальности ===== */
.policy {
  max-width: 820px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.policy__date {
  color: var(--gold);
  font-size: 14px;
}

.policy h2 {
  margin: 40px 0 12px;
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
}

.policy p {
  margin: 0 0 12px;
}

.policy ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.policy li {
  margin-bottom: 6px;
}

.policy b {
  color: var(--text);
}

.policy__requisites {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 8px 20px;
  margin: 0;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.policy__requisites dt {
  color: var(--gold);
  font-size: 14px;
}

.policy__requisites dd {
  margin: 0;
  color: var(--text);
}

/* Ссылка на политику в подвале и в плашке cookie */
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}

.footer__policy {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__policy:hover {
  color: var(--gold);
}

.cookie__text a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 960px) {
  .footer__bottom {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 600px) {
  .policy__requisites {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .policy__requisites dd {
    margin-bottom: 10px;
  }
}
/* ===== Реквизиты (Контакты) ===== */
.requisites {
  max-width: 900px;
}

.requisites dd {
  font-variant-numeric: tabular-nums;
}

/* ===== Новости: список ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}

.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  transition: border-color 0.2s, transform 0.2s;
}

.news-card:hover {
  border-color: rgba(201, 164, 106, 0.45);
  transform: translateY(-3px);
}

.news-card__img {
  display: block;
  aspect-ratio: 3/2;
  overflow: hidden;
}

.news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.news-card:hover .news-card__img img {
  transform: scale(1.04);
}

/* Нет картинки — логотип на тёплом фоне */
.news-card__img--empty {
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 164, 106, 0.2), transparent 60%), linear-gradient(160deg, var(--wood) 0%, var(--panel) 60%, #1a1007 100%);
}

.news-card__img--empty img {
  width: 55%;
  height: auto;
  opacity: 0.75;
}

.news-card:hover .news-card__img--empty img {
  transform: none;
}

.news-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 22px 22px;
}

.news-card__date {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
}

.content .news-card__title {
  margin: 8px 0 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.content .news-card__title a {
  color: var(--text);
  text-decoration: none;
}

.content .news-card__title a:hover {
  color: var(--gold);
}

.news-card__text {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.content .news-card__more {
  margin-top: auto;
  padding-top: 16px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

/* Постраничная навигация */
.pager {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
}

.content .pager__item {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 40px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.content a.pager__item:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.content .pager__item.is-active {
  border-color: var(--accent);
  background: var(--accent);
}

/* ===== Новости: страница новости ===== */
.news-detail {
  max-width: 860px;
  margin: 0 auto;
}

.news-detail__date {
  display: block;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.news-detail__img {
  display: block;
  overflow: hidden;
  margin-bottom: 32px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.news-detail__img img {
  width: 100%;
}

.news-detail__text {
  font-size: 18px;
  line-height: 1.75;
}

.news-detail__text p {
  margin: 0 0 18px;
}

.news-detail__text img {
  border-radius: 8px;
}

/* Ссылка на спектакль */
.content .news-show {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  padding: 18px;
  border: 1px solid rgba(201, 164, 106, 0.4);
  border-radius: 10px;
  background: linear-gradient(120deg, var(--panel) 0%, rgba(107, 35, 64, 0.3) 100%);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s;
}

.content .news-show:hover {
  border-color: var(--gold);
}

.news-show__poster {
  flex-shrink: 0;
  width: 72px;
  border-radius: 6px;
}

.news-show__body {
  display: flex;
  flex-direction: column;
}

.news-show__label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.news-show__name {
  font-size: 22px;
  font-weight: 700;
}

.news-show__more {
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 960px) {
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .news-detail__text {
    font-size: 16px;
  }
  .news-show__name {
    font-size: 18px;
  }
}

/* End */


/* Start:/local/templates/teatr21/components/bitrix/menu/top-menu/style.css?17943522371501*/
@charset "UTF-8";
.menu__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px clamp(18px, 2.2vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu__link {
  position: relative;
  display: block;
  padding: 14px 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}

.menu__link:hover,
.menu__link.is-active {
  color: var(--gold);
}

.menu__link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 2px;
  background: var(--gold);
}

/* Телефон: меню на весь экран по бургеру */
@media (max-width: 960px) {
  .menu {
    display: none;
  }
  .menu-open .menu {
    position: fixed;
    inset: 0;
    z-index: 55;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
  }
  .menu-open .menu__list {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 0;
    border: 0;
  }
  .menu-open .menu__link {
    font-size: 22px;
  }
}
/* Узкие ноутбуки: меню чуть мельче, чтобы поместилось между телефоном и кнопкой */
@media (min-width: 961px) and (max-width: 1280px) {
  .menu__list {
    gap: 4px 18px;
  }
  .menu__link {
    font-size: 15px;
  }
}
@media (min-width: 961px) and (max-width: 1100px) {
  .menu__list {
    gap: 4px 13px;
  }
  .menu__link {
    font-size: 14px;
  }
}

/* End */


/* Start:/local/templates/teatr21/components/bitrix/menu/footer-menu/style.css?1794352328399*/
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu__link {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s;
}

.footer-menu__link:hover,
.footer-menu__link.is-active {
  color: var(--gold);
}

@media (max-width: 960px) {
  .footer-menu {
    justify-content: center;
  }
}

/* End */
/* /local/templates/teatr21/css/main.css?179436337539769 */
/* /local/templates/teatr21/components/bitrix/menu/top-menu/style.css?17943522371501 */
/* /local/templates/teatr21/components/bitrix/menu/footer-menu/style.css?1794352328399 */
