/* ========================================
   MolodostDagestana — Custom Styles
   ======================================== */

/* Baron Neue — локальные шрифты */
@font-face {
  font-family: 'Baron Neue';
  src: url('../fonts/Baron Neue.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Baron Neue';
  src: url('../fonts/Baron Neue Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Baron Neue';
  src: url('../fonts/Baron Neue Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Baron Neue';
  src: url('../fonts/Baron Neue Bold Italic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Baron Neue';
  src: url('../fonts/Baron Neue Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Baron Neue';
  src: url('../fonts/Baron Neue Black Italic.otf') format('opentype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* Jost — Google Fonts (подключается через functions.php) */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: 'Jost', sans-serif;
}

/* ========================================
   Типографика — заголовки Baron Neue
   ======================================== */

h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title,
.page-title,
.text-404,
.footer-col-title {
  font-family: 'Baron Neue', 'Jost', sans-serif;
  letter-spacing: 0.04em;
}

h1, .hero-title, .page-title, .text-404 {
  text-transform: uppercase;
}

/* ========================================
   Header
   ======================================== */

.nav-item:hover > span {
  color: #ffffff;
}

#main-header.header--dark {
  background: #ffffff;
  border-bottom-color: #e5e7eb;
}

#main-header.header--dark .header-inner {
  border-color: #252222;
}

#main-header.header--dark nav a,
#main-header.header--dark nav span,
#main-header.header--dark .nav-item span {
  color: rgba(26, 26, 26, 0.75);
}

#main-header.header--dark nav a:hover,
#main-header.header--dark .nav-item:hover > span {
  color: #1a1a1a;
}

#main-header.header--dark svg {
  color: rgba(26, 26, 26, 0.6);
}

#main-header.header--dark button:not(.hamburger-btn) {
  color: rgba(26, 26, 26, 0.75);
}

#main-header.header--dark #mobile-menu-btn .hamburger-line {
  background-color: #1a1a1a;
}

/* Десктоп: верхние пункты меню — подчёркивание по длине текста, появление слева направо */
@media (min-width: 768px) {
  #main-header .header-inner > nav > a.nav-top-link,
  #main-header .header-inner > nav > .nav-item > a.nav-top-link {
    text-decoration: none;
    vertical-align: bottom;
  }

  #main-header .header-inner > nav > a.nav-top-link .nav-top-link__label,
  #main-header .header-inner > nav > .nav-item > a.nav-top-link .nav-top-link__label {
    position: relative;
    display: inline-block;
    padding-bottom: 3px;
  }

  #main-header .header-inner > nav > a.nav-top-link .nav-top-link__label::after,
  #main-header .header-inner > nav > .nav-item > a.nav-top-link .nav-top-link__label::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
  }

  #main-header .header-inner > nav > a.nav-top-link:hover .nav-top-link__label::after,
  #main-header .header-inner > nav > .nav-item:hover > a.nav-top-link .nav-top-link__label::after {
    transform: scaleX(1);
  }

  /* Подпункты: линия по ширине текста (не по padding ссылки) */
  #main-header .nav-dropdown a.nav-dd-item {
    text-decoration: none;
    vertical-align: middle;
  }

  #main-header .nav-dropdown a.nav-dd-item .nav-dd-item__label {
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
  }

  #main-header .nav-dropdown a.nav-dd-item .nav-dd-item__label::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
  }

  #main-header .nav-dropdown a.nav-dd-item:hover .nav-dd-item__label::after {
    transform: scaleX(1);
  }
}

/* ========================================
   Hero
   ======================================== */

.hero-title {
  font-size: clamp(4rem, 12vw, 11rem);
}

/* ========================================
   Sections
   ======================================== */

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: 0.05em;
}

/* ========================================
   Concert card
   ======================================== */

.concert-card__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 50% 50% 0 0 / 50% 50% 0 0;
  background: #0d1117;
}

.concert-card__img-wrap .concert-card__btn {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: block;
  text-align: center;
  background: #bf122d;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.75rem 1rem;
  transition: background 0.2s;
  text-decoration: none;
}
.concert-card__img-wrap .concert-card__btn:hover {
  background: #9e0f23;
}

/* FullHD+ tweak: keep layout fluid, normalize button height */
@media (min-width: 1600px) {
  .text-404 {
    width: 1154px;
    height: 533px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .ticket-wrap {
    width: 730px;
    height: 102px;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .reviews-left {
    width: 586px;
  }

  .concert-card__img-wrap .concert-card__btn {
    min-height: 54px;
    font-size: 20px;
    border-radius: 4px;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }
}

.concert-card__img-wrap.img-placeholder {
  background: linear-gradient(135deg, #1a1a1a, #0d1117);
}

/* ========================================
   Ticker / marquee (правила анимации — внизу файла, блок «Ticker loop fix»)
   ======================================== */

.ticker-logo-placeholder {
  display: inline-block;
  width: 36px;
  height: 20px;
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
  vertical-align: middle;
}

/* ========================================
   News
   ======================================== */

.news-main-img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  position: relative;
}

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

.news-main-img.img-placeholder {
  background: linear-gradient(135deg, #cccccc, #aaaaaa);
}

/* ========================================
   News front-page — 3-column dark layout
   ======================================== */

.news-fp-section {
  position: relative;
  overflow: hidden;
  padding: 60px 0 80px;
}

.news-fp-bg-vector {
  position: absolute;
  left: 0;
  top: 0;
  width: 22%;
  max-width: 340px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.news-fp-ornament {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.news-fp-ornament--v13 {
  right: -8%;
  top: -10%;
  width: 52%;
  max-width: 700px;
  opacity: 0.06;
}

.news-fp-ornament--v23 {
  right: -4%;
  top: 30%;
  width: 38%;
  max-width: 520px;
  opacity: 0.06;
}

.news-fp-ornament--union {
  right: 18%;
  top: 5%;
  width: 22%;
  max-width: 300px;
  opacity: 0.05;
}

@media (max-width: 1024px) {
  .news-fp-ornament { display: none; }
}

.news-fp-inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
}

.news-fp-heading {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  color:#252222;
  text-transform: lowercase;
  font-family: 'Baron Neue', 'Jost', sans-serif;
  margin-bottom: 50px;
}

.news-fp-layout {
  display: grid;
  grid-template-columns: 380px 1fr 80px;
  gap: 50px;
  align-items: stretch;
}

/* Left image slider */
.news-fp-slider-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.news-fp-img-slider {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: 2px;
}

/* Полукруги по центру верхнего и нижнего края (Figma) */
.news-fp-img-slider > .hole {
  position: absolute;
  left: 50%;
  width: 32px;
  height: 32px;
  margin-left: -16px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  z-index: 3;
  pointer-events: none;
  transform: none;
}

.news-fp-img-slider > .hole:first-child {
  top: 0;
  margin-top: -16px;
}

.news-fp-img-slider > .hole:nth-child(2) {
  top: auto;
  bottom: 0;
  margin-bottom: -16px;
}

.news-fp-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.news-fp-slide.active { opacity: 1; }
.news-fp-slide.blink {
  animation: news-slide-blink 0.45s ease;
}
@keyframes news-slide-blink {
  0%   { opacity: 1; }
  40%  { opacity: 0; }
  100% { opacity: 1; }
}

.news-fp-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-fp-img-dots {
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-fp-img-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  cursor: pointer;
  opacity: 0.35;
  transition: opacity 0.3s;
  padding: 0;
}
.news-fp-img-dot.active { opacity: 1; }

/* Center content */
.news-fp-content {
  display: flex;
  flex-direction: column;
}

.news-fp-article {
  display: none;
  padding-bottom: 36px;
  min-height: 270px;
}
.news-fp-article.active {
  display: flex;
  flex-direction: column;
}

.news-fp-article-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.news-fp-article-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: #252222;
  line-height: 1.4;
  font-family: 'Baron Neue', 'Jost', sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-fp-article-date {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 87px;
  height: 26px;
  flex: none;
  flex-shrink: 0;
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.45;
  letter-spacing: 0;
  color: #6b6b6b;
  white-space: nowrap;
}

.news-fp-article-text {
  font-size: 14px;
  line-height: 1.7;
  color: #6A6A6A;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-fp-read-more {
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 0 0 12px;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  height: 34px;
  flex: none;
  flex-grow: 0;
  align-self: flex-start;
  order: 1;
  margin-top: auto;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: #bf122d;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid #bf122d;
  transition: opacity 0.2s;
}
.news-fp-read-more:hover { opacity: 0.75; }

.news-fp-divider {
  height: 1px;
  background: #2a2a2a;
  margin-bottom: 32px;
}

.news-fp-concerts-heading {
  font-family: 'Baron Neue', 'Jost', sans-serif;
  font-size: 24px;
  font-weight: 700;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: lowercase;
  color: #252222;
  margin-bottom: 24px;
}

/* Right pagination */
.news-fp-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 40px;
}

.news-fp-page-dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.news-fp-page-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #6b6b6b;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
}

/* SVG кольцо */
.news-fp-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.news-fp-ring__bg {
  fill: none;
  stroke: none;
}
.news-fp-ring__progress {
  fill: none;
  stroke: #c8102e;
  stroke-width: 2;
  stroke-dasharray: 125.66;
  stroke-dashoffset: 125.66; /* по умолчанию скрыто */
  stroke-linecap: round;
}

/* Номер поверх кольца */
.news-fp-dot-num {
  position: relative;
  z-index: 1;
  line-height: 1;
}

/* Активная кнопка */
.news-fp-page-dot.active {
  color: #c8102e;
}
/* Кольцо заполняется по часовой стрелке */
.news-fp-page-dot.active.playing .news-fp-ring__progress {
  animation: ring-fill-cw 4s linear forwards;
}

/* Завершённая — кольцо скрыто, цифра чёрная */
.news-fp-page-dot.visited .news-fp-ring__progress {
  stroke-dashoffset: 125.66;
  animation: none;
}
.news-fp-page-dot.visited {
  color: #252222;
}

/* Неактивная — кольцо скрыто */
.news-fp-page-dot:not(.active):not(.visited) .news-fp-ring__progress {
  stroke-dashoffset: 125.66;
  animation: none;
}

/* Hover */
.news-fp-page-dot:not(.active):hover {
  color: #ffffff;
}

/* Заполнение по часовой стрелке */
@keyframes ring-fill-cw {
  from { stroke-dashoffset: 125.66; }
  to   { stroke-dashoffset: 0; }
}

/* ---- Gallery ring-pagination (горизонтальная, 4 сек) ---- */
.gallery-pg-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #6b6b6b;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
}
.gallery-pg-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.gallery-pg-ring__bg  { fill: none; stroke: none; }
.gallery-pg-ring__progress {
  fill: none;
  stroke: #c8102e;
  stroke-width: 2;
  stroke-dasharray: 125.66;
  stroke-dashoffset: 125.66; /* по умолчанию скрыто */
  stroke-linecap: round;
}
.gallery-pg-dot-num {
  position: relative;
  z-index: 1;
  line-height: 1;
}
.gallery-pg-dot.active { color: #c8102e; }
/* Кольцо заполняется по часовой стрелке */
.gallery-pg-dot.active.playing .gallery-pg-ring__progress {
  animation: ring-fill-cw 4s linear forwards;
}
/* Завершённая — кольцо скрыто, цифра чёрная */
.gallery-pg-dot.visited .gallery-pg-ring__progress {
  stroke-dashoffset: 125.66;
  animation: none;
}
.gallery-pg-dot.visited { color: #252222; }
/* Неактивная — кольцо скрыто */
.gallery-pg-dot:not(.active):not(.visited) .gallery-pg-ring__progress {
  stroke-dashoffset: 125.66;
  animation: none;
}
.gallery-pg-dot:not(.active):hover { color: #252222; }

.news-fp-all-link {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #c8102e;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 2px solid #c8102e;
  padding-bottom: 2px;
  margin-top: 8px;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.news-fp-all-link:hover { opacity: 0.75; }

/* Concert overlay slider */
.concert-slider-wrap {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 2px;
  overflow: visible;
}

.concert-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 2px;
}

.concert-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.concert-slide.active { opacity: 1; }

.concert-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.concert-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 50%, rgba(0,0,0,.6) 100%);
  pointer-events: none;
}

.concert-info {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px 0;
}

.concert-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
}

.concert-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.concert-datetime {
  font-size: 14px;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
}

.concert-location {
  font-size: 12px;
  color: rgba(255,255,255,.7);
}

.concert-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  color: #1a1a1a;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  padding: 0 0 1px;
}
.concert-arrow:hover {
  background: #f0f0f0;
  transform: translateY(-50%) scale(1.1);
}
.concert-arrow--prev { left: -14px; }
.concert-arrow--next { right: -14px; }

.concert-buy-btn {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: block;
  background: #c8102e;
  color: #ffffff;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 0;
  transition: background 0.2s;
}
.concert-buy-btn:hover { background: #a00d24; }

/* ========================================
   About
   ======================================== */

/* about-statement — см. FIGMA DESIGN */

/* ========================================
   Stats
   ======================================== */

.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
}

/* ========================================
   Gallery
   ======================================== */

.gallery-img-tall {
  height: 480px;
  position: relative;
}
.gallery-img-half {
  height: 234px;
  position: relative;
}

/* ========================================
   Reviews
   ======================================== */

.reviews-left {
  width: 350px;
  overflow: visible; /* чтобы дырки-кнопки выходили за границы панели */
}
/* Дырки-кнопки при наведении */
.reviews-arrow:hover:not(:disabled):not(.reviews-arrow--disabled) svg {
  stroke: #bf122d;
}

.reviews-arrow:disabled,
.reviews-arrow.reviews-arrow--disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

#reviews-mob-prev:disabled,
#reviews-mob-prev.reviews-arrow--disabled,
#reviews-mob-next:disabled,
#reviews-mob-next.reviews-arrow--disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.reviews-slider-wrap {
  overflow: hidden;
  isolation: isolate;
}

.reviews-track {
  margin-left: 30px;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.review-card {
  width: 320px;
  background: #fff;
  border-right: 1px solid #e8e8e8;
  margin-right: 0;
  overflow: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.review-card__header {
  position: relative;
  overflow: hidden;
}

.review-card__ornament {
  display: block;
  flex-shrink: 0;
  width: 55px;
  height: 55px;
  pointer-events: none;
}

/* ========================================
   Resources slider (Figma Group 101, frame 1920px)
   — полоса на всю ширину, колонки 623px (23→646→1269→1892), высота ~186px
   ======================================== */
.resources-section {
  overflow: visible;
}

.resources-slider-wrap {
  --resources-pad-left: clamp(16px, 1.198vw, 23px);
  --resources-peek-right: clamp(16px, 1.458vw, 28px);
  --resources-card-width: calc((100vw - var(--resources-pad-left) - var(--resources-peek-right)) / 3);
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 186px;
  border-top: 1px solid #d6d6d6;
  border-bottom: 1px solid #d6d6d6;
  position: relative;
}

.resources-slider-wrap::before {
  content: '';
  position: absolute;
  left: var(--resources-pad-left);
  top: 0;
  bottom: 0;
  width: 1px;
  background: #d6d6d6;
  pointer-events: none;
  z-index: 1;
}

.resources-track {
  will-change: transform;
  padding-left: var(--resources-pad-left);
  box-sizing: border-box;
  min-height: 186px;
}

.resource-card {
  width: var(--resources-card-width);
  min-height: 186px;
  background: #fff;
  border: none !important;
  border-right: 1px solid #d6d6d6 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex-shrink: 0;
}

.resource-card:hover {
  box-shadow: none !important;
}

@media (max-width: 1023px) {
  .resources-slider-wrap {
    --resources-card-width: calc((100vw - var(--resources-pad-left) - var(--resources-peek-right)) / 2);
  }
}

@media (max-width: 767px) {
  .resources-slider-wrap {
    --resources-card-width: calc(100vw - var(--resources-pad-left) - var(--resources-peek-right));
  }
}

/* ========================================
   Page title
   ======================================== */

.page-title {
  font-size: clamp(3rem, 10vw, 8rem);
  padding: 1.5rem 0 2rem;
}

/* ========================================
   Tabs (kollektiv, vakansii)
   ======================================== */

.kollektiv-tab {
  padding: 1rem 1.5rem;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  background: none;
  cursor: pointer;
}
.kollektiv-tab:hover { color: #1a1a1a; }
.kollektiv-tab.active {
  color: #bf122d;
  border-bottom-color: #bf122d;
}

/* ========================================
   Member card
   ======================================== */

.member-card-wrap {
  padding: 10px; /* место для box-shadow */
}

#members-grid {
  position: relative;
  gap: 0 !important;
  border-top: 1px solid #d8d8d8;
  border-left: 1px solid #d8d8d8;
}

#members-grid .member-card-wrap {
  border-right: 1px solid #d8d8d8;
  border-bottom: 1px solid #d8d8d8;
}

.member-card {
  display: flex;
  flex-direction: column;
  border-radius: 50% 50% 0 0 / 20% 20% 0 0;
  background: transparent;
  /* рамка вокруг всей карточки: белый просвет 8px + серый бордер 1.5px */
  box-shadow: 0 0 0 8px #ffffff, 0 0 0 9.5px #d8d8d8;
  transition: box-shadow 0.3s ease;
  /* НЕТ overflow:hidden — чтобы box-shadow не обрезался */
}

/* Активная карточка: красный просвет и бордер */
.member-card.card-active {
  box-shadow: 0 0 0 8px #c8102e, 0 0 0 9.5px #c8102e;
}

.founder-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 14px;
  gap: 10px;
  width: 388px;
  height: 678px;
  background: #ffffff;
  border: 0;
  border-radius: 400px 400px 0 0;
}

.founder-card:hover,
.veteran-card:hover {
  background: #ffffff;
  border-color: #bf122d;
}

.veteran-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 14px;
  gap: 10px;
  width: 388px;
  height: 678px;
  background: #ffffff;
  border: 0;
  border-radius: 400px 400px 0 0;
}

.founder-card .member-card__arch {
  position: relative;
}

.founder-card .member-card__arch::after,
.veteran-card .member-card__arch::after {
  content: "";
  display: block;
  position: absolute;
  inset: 6px;
  border: 1.5px solid #000000 !important;
  border-radius: 394px 394px 0 0;
  pointer-events: none;
  z-index: 5;
}

.founder-card .member-card__arch::before,
.veteran-card .member-card__arch::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  border: 1.5px solid #000000 !important;
  border-radius: 400px 400px 0 0;
  pointer-events: none;
  z-index: 4;
}

.founder-card .member-card__arch,
.veteran-card .member-card__arch {
  box-sizing: border-box;
  width: 360px;
  height: 650px;
  border: 0 !important;
  border-radius: 400px 400px 0 0;
  background: #ffffff;
  transition: background-color 0.25s ease;
  flex: none;
  order: 0;
  flex-grow: 0;
}

.founder-card .member-card__arch > img,
.veteran-card .member-card__arch > img {
  width: calc(100% - 12px) !important;
  height: calc(100% - 12px) !important;
  margin: 6px;
  border-radius: 394px 394px 0 0;
}

.founder-card:hover .member-card__arch,
.veteran-card:hover .member-card__arch {
  background: #bf122d;
}

.founder-card:hover .member-card__arch::after,
.veteran-card:hover .member-card__arch::after {
  border-color: #bf122d !important;
}

.founder-card:hover .member-card__arch::before,
.veteran-card:hover .member-card__arch::before {
  border-color: #bf122d !important;
}

.member-card__arch {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden; /* клипирует фото и info по форме арки */
  border-radius: 50% 50% 0 0 / 20% 20% 0 0;
  background: #cccccc;
}

.member-card__arch.img-placeholder {
  background: linear-gradient(160deg, #c0392b 0%, #8b0000 100%);
}

.member-card__arch::after {
  display: none;
}

@media (min-width: 768px) {
  .member-card__arch {
    width: 360px;
    height: 650px;
    aspect-ratio: auto;
    border-top-left-radius: 200px;
    border-top-right-radius: 200px;
    margin-left: auto;
    margin-right: auto;
  }

  .member-card__info {
    width: 337px;
    height: 107px;
    left: 11px;
    right: auto;
    bottom: 11px;
    padding: 12px;
    gap: 12px;
    margin: 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
  }

  .member-card__role,
  .member-card__name,
  .member-card__title {
    margin: 0;
  }

  .member-card__role {
    width: 313px;
    height: 20px;
    display: block;
    font-family: 'Butler', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 13.57px;
    line-height: 145%;
    letter-spacing: 0.01em;
  }

  .member-card__name {
    font-family: 'Butler', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 18.09px;
    line-height: 145%;
    letter-spacing: 0.01em;
  }

  .member-card__title {
    font-family: 'Butler', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 13.57px;
    line-height: 145%;
    letter-spacing: 0.01em;
  }
}

@media (max-width: 767px) {
  #members-grid {
    grid-template-columns: 1fr !important;
    border-left: none;
  }

  #members-grid .member-card-wrap {
    border-right: none;
    display: flex;
    justify-content: center;
    padding: 12px 0;
  }

  .member-card {
    margin: 0;
  }

  .member-card__arch {
    width: 216px;
    height: 367px;
    aspect-ratio: auto;
    border-top-left-radius: 166.56px;
    border-top-right-radius: 166.56px;
    margin-left: auto;
    margin-right: auto;
  }

  .member-card__info {
    width: 202px;
    height: 121.82953643798828px;
    left: 50%;
    right: auto;
    bottom: 8px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 7.41px;
    padding: 8px;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  #history-wrapper { height: auto !important; }
  #history-sticky { position: relative !important; height: auto !important; overflow: visible !important; }
  #history-slide-area { height: auto !important; overflow: visible !important; }
  #history-track {
    flex-direction: column !important;
    width: 100% !important;
    transform: none !important;
  }
  #history-track > div {
    width: 100% !important;
    height: auto !important;
    flex-direction: column !important;
    flex-shrink: unset !important;
  }
  #history-track > div > div:first-child,
  #history-track > div > div:last-child {
    width: 100% !important;
    height: 250px !important;
  }
}

.member-card__snowflake {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.35);
  pointer-events: none;
  user-select: none;
}

.member-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #bf122d;
  padding: 0.6rem 0.75rem 0.75rem;
  z-index: 3;
}

.member-card__role {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.member-card__name {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.member-card__title {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
}

/* ========================================
   Vacancies
   ======================================== */

.vacancy-title {
  font-size: 32px;
  font-weight: 900;
  text-transform: lowercase;
  color: #1a1a1a;
  letter-spacing: 0.03em;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.vacancy-desc {
  font-size: 20px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 0.6rem;
}

.vacancy-expand {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #bf122d;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: opacity 0.2s;
}
.vacancy-expand:hover { opacity: 0.7; }

/* ========================================
   Contacts
   ======================================== */

.contacts-card {
  position: relative;
  border-radius: 12px;
  overflow: visible;
}

.contacts-card__section {
  padding: 28px 32px;
}

.contacts-card__divider {
  position: relative;
  height: 1px;
  background: rgba(255,255,255,0.3);
  margin: 0 0;
}
/* Вырезы (нотчи) — левый и правый полукруги на линии разделителей */
.contacts-card__notch {
  position: absolute;
  width: 28px;
  height: 28px;
  background: #fff;
  border-radius: 50%;
  z-index: 2;
}
.contacts-card__notch--left {
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
}
.contacts-card__notch--right {
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
}

.contacts-social-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.contacts-social-icon svg {
  width: 56px;
  height: 56px;
  display: block;
}
.contacts-social-icon:hover {
  opacity: 0.85;
}

/* ========================================
   Documents
   ======================================== */

.documents-page {
  background: #ffffff;
}

.documents-page__container {
  width: 100%;
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.documents-page__hero {
  padding: 140px 0;
}

.documents-page__container--hero {
  text-align: center;
}

.documents-page__title {
  margin: 0;
  font-size: clamp(56px, 10vw, 200px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: lowercase;
  color: #1a1a1a;
}

.documents-page__content {
  padding-bottom: 92px;
}

.documents-page__accordion-item {
  border: 1px solid #dddddd !important;
  margin-bottom: 10px;
  background: #ffffff;
}

.documents-page__accordion-btn {
  padding: 16px 6px;
}

.documents-page__accordion-title {
  font-size: 0.92rem;
  line-height: 1.45;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #1a1a1a;
  padding-left: 12px;
}

.documents-page__accordion-icon {
  width: 14px;
  height: 14px;
  color: #6d6d6d;
}

.documents-page__accordion-body {
  padding: 8px 12px 20px;
  overflow: hidden;
}

.documents-page__accordion-item:last-child {
  margin-bottom: 0;
}

.documents-page__grid {
  gap: 12px;
  min-width: 0;
}

.doc-card {
  background: #efefef;
  border: 1px solid #ececec;
  padding: 0.95rem 1rem 0.9rem;
  min-height: 116px;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  min-width: 0;
  box-sizing: border-box;
}

.doc-card__year {
  font-size: 0.55rem;
  font-weight: 800;
  color: #bf122d;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.doc-card__name {
  font-size: 0.9rem;
  color: #1a1a1a;
  line-height: 1.45;
  flex: 1;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

.doc-card__link {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bf122d;
  border-bottom: 0;
  width: fit-content;
  padding-bottom: 0;
  transition: opacity 0.2s;
}
.doc-card__link:hover { opacity: 0.7; }

.documents-page__empty {
  font-size: 0.72rem;
  color: #8f8f8f;
  padding: 6px 0 2px;
}

@media (max-width: 768px) {
  .documents-page__container {
    padding: 0 12px;
  }

  .documents-page__hero {
    padding: 34px 0 20px;
  }

  .documents-page__accordion-btn {
    padding: 14px 2px;
  }

  .documents-page__accordion-title {
    font-size: 0.57rem;
    letter-spacing: 0.1em;
  }
}

@media (min-width: 768px) {
  .documents-page__container {
    padding: 0 32px;
  }
}

/* ========================================
   Snowflake decorations
   ======================================== */

.snowflake-decor {
  position: absolute;
  width: 180px;
  height: 180px;
  pointer-events: none;
  z-index: 0;
}
.snowflake-decor--tl { top: -20px; left: -20px; }
.snowflake-decor--tr { top: -20px; right: -20px; }
.snowflake-decor--br { bottom: -20px; right: -20px; }

/* ========================================
   404
   ======================================== */

.text-404 {
  font-size: clamp(8rem, 30vw, 22rem);
  line-height: 0.85;
}

.ticket-wrap {
  width: clamp(280px, 50vw, 460px);
}

.ticket-notch {
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.ticket-notch--left  { margin-right: -11px; }
.ticket-notch--right { margin-left:  -11px; }

/* ========================================
   World stage — stats ticket card
   ======================================== */

.world-stats-card {
  overflow: visible; /* allow top/bottom circle notches to show outside */
}

#world-svg-container svg {
  width: 100%;
  height: 100%;
}

/* ========================================
   Footer
   ======================================== */

.footer {
  position: relative;
  background-color: #ffffff;
  overflow: hidden;

  margin-top: 20px;
}

.footer-dark {
  background-color: #111111;
  border-color: rgba(255,255,255,0.1);
}

.footer-decor {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  max-width: 660px;
  background-image: url('../images/vektor21.png');
  background-repeat: no-repeat;

  opacity: 1;
  pointer-events: none;
  z-index: 0;
}
@media(max-width: 767px) {
  .footer-decor{
    display: none;
  }
}

.footer-inner {


  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.footer-col {
  padding: 40px !important;
  border: 1px solid #d8d0c8;
}
.footer-col:first-child { padding-left: 0; }
.footer-col:last-child  { border-right: none; }

.footer-dark .footer-col {
  border-right-color: rgba(255,255,255,0.1);
}

.footer-col-title {
  font-family: 'Baron Neue', 'Jost', sans-serif;
  font-size: clamp(0.85rem, 1.3vw, 1.125rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a1a1a;
  padding-bottom: 0.875rem;
  margin-bottom: 1.25rem;
}
.footer-dark .footer-col-title {
  color: #ffffff;
}

.footer-text {
  font-size: 0.8rem;
  line-height: 1.7;
  color: #5a5a5a;
  margin-bottom: 0.25rem;
}
.footer-dark .footer-text { color: rgba(255,255,255,0.5); }

/* Данные организации — колонка футера (Figma organization data) */
.footer-col--org .footer-organization-data {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 0;
  gap: 60px;
  width: 100%;
  max-width: 426px;
}

.footer-col--org .footer-col-title {
  font-family: 'Baron Neue', 'Jost', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 130%;
  text-transform: lowercase;
  color: #252222;
  margin: 0 !important;
  padding: 0;
}

.footer-col--org .footer-organization-name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

.footer-col--org .footer-org-name {
  margin: 0;
  max-width: 426px;
  font-family: 'Jost', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 145%;
  color: #252222;
}

.footer-col--org .footer-organization-address {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  max-width: 288px;
  width: 100%;
}

.footer-col--org .footer-label {
  margin: 0;
  font-family: 'Jost', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  color: #6a6a6a;
  opacity: 0.4;
  text-transform: none;
  letter-spacing: normal;
}

.footer-col--org .footer-org-address {
  margin: 0;
  font-family: 'Jost', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 145%;
  color: #252222;
}

.footer-col--org .footer-organization-inn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 211px;
  width: 100%;
}

.footer-col--org .footer-org-requisite {
  margin: 0;
  align-self: stretch;
  font-family: 'Jost', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 145%;
  color: #252222;
}

.footer-dark .footer-col--org .footer-col-title,
.footer-dark .footer-col--org .footer-org-name,
.footer-dark .footer-col--org .footer-org-address,
.footer-dark .footer-col--org .footer-org-requisite {
  color: rgba(255, 255, 255, 0.85);
}

.footer-dark .footer-col--org .footer-label {
  color: #6a6a6a;
  opacity: 0.4;
}

/* Навигация — колонка футера (Figma navigation) */
.footer-col--navigation .footer-navigation {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 0;
  gap: 163px;
  width: 100%;
  max-width: 329px;
}

.footer-col--navigation .footer-navigation__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 60px;
  align-self: stretch;
  width: 100%;
}

.footer-col--navigation .footer-col-title {
  font-family: 'Baron Neue', 'Jost', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 130%;
  text-transform: lowercase;
  color: #000000;
  margin: 0 !important;
  padding: 0;
}

.footer-col--navigation .footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  gap: 12px;
  margin: 0;
  padding: 0;
  width: 100%;
}

.footer-col--navigation .footer-nav-link {
  font-family: 'Jost', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 23px;
  color: #252222;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col--navigation .footer-nav-link:hover {
  color: #bf122d;
}

.footer-col--navigation .footer-policy-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  padding: 0;
  width: 100%;
}

.footer-col--navigation .footer-policy-link {
  font-family: 'Jost', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 23px;
  color: #252222;
  text-decoration: underline;
  align-self: stretch;
  transition: color 0.2s;
}

.footer-col--navigation .footer-policy-link:hover {
  color: #bf122d;
}

.footer-dark .footer-col--navigation .footer-col-title,
.footer-dark .footer-col--navigation .footer-nav-link,
.footer-dark .footer-col--navigation .footer-policy-link {
  color: rgba(255, 255, 255, 0.85);
}

.footer-dark .footer-col--navigation .footer-nav-link:hover,
.footer-dark .footer-col--navigation .footer-policy-link:hover {
  color: #ffffff;
}

/* Контакты — колонка футера (Figma contack_icons) */
.footer-col--contacts .footer-contact-icons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 0;
  gap: 67px;
  width: 100%;
  max-width: 318px;
}

.footer-col--contacts .footer-contact-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 60px;
  align-self: stretch;
  width: 100%;
}

.footer-col--contacts .footer-col-title {
  font-family: 'Baron Neue', 'Jost', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 130%;
  text-transform: lowercase;
  color: #252222;
  margin: 0 !important;
  padding: 0;
}

.footer-col--contacts .footer-contact-address {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 50px;
  width: 100%;
}

.footer-col--contacts .footer-contact-text {
  margin: 0;
  max-width: 279px;
  font-family: 'Jost', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 145%;
  color: #252222;
}

/* numbers_mail */
.footer-contact-numbers {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 0;
  margin: 0;
  max-width: 100%;
}

.footer-contact-link {
  display: block;
  align-self: stretch;
  margin: 0;
  font-family: 'Jost', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 130%;
  color: #bf122d;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-contact-link:hover {
  opacity: 0.85;
}

/* social_media */
.footer-col--contacts .footer-socials {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 318px;
}

.footer-col--contacts .footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  padding: 0;
  margin: 0;
  border-radius: 0;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-col--contacts .footer-social svg {
  display: block;
  width: 54px;
  height: 54px;
}

.footer-col--contacts .footer-social:hover {
  opacity: 0.85;
}

.footer-dark .footer-col--contacts .footer-col-title,
.footer-dark .footer-col--contacts .footer-contact-text {
  color: rgba(255, 255, 255, 0.85);
}

.footer-dark .footer-contact-link {
  color: #bf122d;
}

/* Документы — колонка футера (Figma Documents) */
.footer-col--docs .footer-documents {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 40px 0;
  width: 100%;
  max-width: 414px;
  min-height: 445px;
  box-sizing: border-box;
}

.footer-col--docs .footer-documents__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 60px;
  margin: -10px 0;
  width: 100%;
  max-width: 239px;
}

.footer-col--docs .footer-col-title {
  font-family: 'Baron Neue', 'Jost', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 130%;
  text-transform: lowercase;
  color: #252222;
  margin: 0 !important;
  padding: 0;
}

.footer-col--docs .footer-docs {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 0;
  width: 100%;
  position: relative;
}

.footer-col--docs .footer-docs-link {
  font-family: 'Jost', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 23px;
  color: #252222;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col--docs .footer-docs-link:hover {
  color: #bf122d;
}

.footer-col--docs .footer-counters-logo {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  gap: 148px;
  width: 100%;
  align-self: stretch;
}

.footer-col--docs .footer-counter {
  position: relative;
  margin: 0;
  padding: 0;
  cursor: default;
  flex-shrink: 0;
}

.footer-col--docs .footer-counter-text {
  font-family: 'Jost', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  text-align: center;
  color: #252222;
  white-space: nowrap;
}

.footer-col--docs .footer-counter-value {
  color: #bf122d;
  font-weight: 400;
}

.footer-col--docs .footer-counter-tooltip {
  box-sizing: border-box;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: max-content;
  min-width: 253px;
  max-width: none;
  padding: 12px 24px;
  background: #bf122d;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 10;
}

.footer-col--docs .footer-counter:hover .footer-counter-tooltip,
.footer-col--docs .footer-counter:focus-within .footer-counter-tooltip {
  opacity: 1;
}

.footer-col--docs .footer-counter-tooltip p {
  margin: 0;
  width: max-content;
  max-width: none;
  white-space: nowrap;
  font-family: 'Jost', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 23px;
  color: #ffffff;
}

.footer-col--docs .footer-counter-tooltip strong {
  font-weight: 400;
  color: #ffffff;
}

.footer-col--docs .footer-logo {
  display: block;
  flex-shrink: 0;
  width: 134px;
  height: 86px;
  margin: 0;
  text-decoration: none;
}

.footer-col--docs .footer-logo img {
  display: block;
  width: 134px;
  height: 86px;
  object-fit: contain;
}

.footer-col--docs .footer-logo__fallback {
  width: 134px;
  height: 86px;
}

.footer-dark .footer-col--docs .footer-col-title,
.footer-dark .footer-col--docs .footer-docs-link,
.footer-dark .footer-col--docs .footer-counter-text {
  color: rgba(255, 255, 255, 0.85);
}

.footer-dark .footer-col--docs .footer-counter-value {
  color: #bf122d;
}

.footer-dark .footer-col--docs .footer-docs-link:hover {
  color: #ffffff;
}

/* Десктоп: соцсети, правовые ссылки и счётчик/лого — на одной нижней линии */
@media (min-width: 1024px) {
  .footer-grid {
    align-items: stretch;
  }

  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .footer-col--navigation .footer-navigation,
  .footer-col--contacts .footer-contact-icons,
  .footer-col--docs .footer-documents {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 100%;
    justify-content: space-between;
    gap: 0;
  }

  .footer-col--navigation .footer-policy-links,
  .footer-col--contacts .footer-socials,
  .footer-col--docs .footer-counters-logo {
    margin-top: auto;
    flex-shrink: 0;
  }

  .footer-col--contacts .footer-socials {
    align-items: flex-end;
  }
}

/* Нижняя полоса */
.footer-bottom {
  border-top: 1px solid #d8d0c8;
  position: relative;
  z-index: 1;
}
.footer-dark .footer-bottom { border-top-color: rgba(255,255,255,0.1); }

.footer-bottom-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-copy,
.footer-credit {
  font-size: 0.8rem;
  color: #9a9a9a;
}
.footer-dark .footer-copy,
.footer-dark .footer-credit { color: rgba(255,255,255,0.3); }

/* Responsive */
@media (max-width: 1023px) {
  .footer { margin: 0 12px 12px; }
  .footer-inner { padding: 40px 24px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .footer-col {
    padding: 1.5rem 1rem;
    border-right: none;
    border-bottom: 1px solid #d8d0c8;
  }
  .footer-dark .footer-col { border-bottom-color: rgba(255,255,255,0.1); }
  .footer-col:nth-child(odd)  { padding-left: 0; }
  .footer-col:nth-child(even) { padding-right: 0; border-left: 1px solid #d8d0c8; }
  .footer-dark .footer-col:nth-child(even) { border-left-color: rgba(255,255,255,0.1); }
  .footer-bottom-inner { padding: 14px 24px; }
}

@media (max-width: 639px) {
  .footer { margin: 0 8px 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col { padding: 1.5rem 0 !important; border-left: none !important; }
  .footer-logo { justify-content: flex-start; }
}

/* Legacy classes (used on other pages) */
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  text-decoration: none;
  flex-shrink: 0;
}
.social-icon:hover { opacity: 0.8; }

/* Тёмный вариант — legacy */
.footer-dark .footer-col-title {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.12);
}
.footer-cols-grid > div + div {
  border-left: 1px solid #e5e7eb;
  padding-left: 2rem;
}

/* ========================================
   Archive audio player
   ======================================== */

.archive-player {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 40px;
}

.archive-player__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #bf122d;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
}
.archive-player__btn:hover { background: #9e0f23; transform: scale(1.08); }
.archive-player__btn svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
  margin-left: 2px; /* оптическая поправка для треугольника */
}
.archive-player__btn.is-playing svg {
  margin-left: 0;
}

.archive-player__waveform {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 44px;
  cursor: pointer;
  user-select: none;
  box-sizing: border-box;
}

/* Два слоя баров: серый фон и красный прогресс */
.archive-waveform-bg,
.archive-waveform-fg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}

.archive-waveform-fg {
  overflow: hidden;
  width: 0%; /* расширяется JS-ом */
  transition: width 0.05s linear;
}

.archive-waveform-bg .wbar { background: #e6a7b2; border-radius: 2px; flex-shrink: 0; }
.archive-waveform-fg .wbar { background: #bf122d; border-radius: 2px; flex-shrink: 0; }

@media (min-width: 1024px) {
  .archive-player__waveform {
    height: 78px;
  }

  .archive-waveform-bg,
  .archive-waveform-fg {
    gap: 1px;
  }
}

.archive-player__time {
  font-size: 11px;
  color: #bf122d;
  letter-spacing: 0.05em;
  font-family: 'Jost', sans-serif;
}

/* Archive photos block under audio */
.archive-photos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  max-width: 100%;
  margin-top: 10px;
}

.archive-photo {
  overflow: hidden;
  background: #f3f3f3;
}

.archive-photo--main {
  width: 388px;
  height: 234px;
}

.archive-photo--side {
  width: 166px;
  height: 102px;
}

.archive-photos-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 10px;
}

.archive-photos-nav__arrow {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.archive-photos-nav__arrow svg {
  width: 14px;
  height: 14px;
}

.archive-photos-nav__meta #archive-year {
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.archive-photos-nav__meta #archive-location {
  font-size: 11px;
  margin-top: 6px;
}

/* Учредитель — два нижних блока */
.founder-panels-wrap {
  min-height: 100px;
}

.founder-panel__title {
  margin: 0;
  font: inherit;
  line-height: inherit;
  text-transform: inherit;
  color: inherit;
  letter-spacing: inherit;
  flex: none;
  order: 0;
  flex-grow: 0;
}

.founder-panel__title-wrap {
  width: 694px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-family: 'Baron Neue', sans-serif !important;
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 130%;
  text-transform: lowercase !important;
  color: #ffffff;
  letter-spacing: 0;
  flex: none;
  order: 0;
  flex-grow: 0;
}

.founder-panel__emblem {
  width: 161px !important;
  height: 168px !important;
  max-width: none;
  max-height: none;
}

@media (min-width: 1024px) {
  .founder-panels-wrap {
    width: 100%;
    justify-content: center;
    gap: 10px;
  }

  .founder-panel {
    width: 851px !important;
    height: 314px;
    padding: 115px 77px;
    display: flex;
    align-items: center;
  }

  .founder-panel--left {
    justify-content: flex-start;
  }

  .founder-panel--right {
    justify-content: center;
  }

  .founder-panel--right .founder-panel__emblem {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .founder-panel__title-wrap {
    max-width: 100%;
  }
}

@media (min-width: 1468px) {
  .about-statement {
    font-size: 42px;
    line-height: 125%;
    min-height: 212px;
    max-width: 1468px;
  }
}

@media (min-width: 1920px) {
  .archive-photos-row {
    width: 100%;
    min-height: 477px;
    gap: 0;
    justify-content: space-between;
  }

  .archive-photo--main {
    width: 783px;
    height: 477px;
  }

  .archive-photo--side {
    width: 444px;
    height: 247px;
  }

  .archive-photo--side:last-child {
    width: 400px;
    height: 293px;
  }

  .archive-photos-nav {
    width: 611px;
    height: 89px;
    margin: 60px auto 0;
    gap: 96px;
  }

  .archive-photos-nav__arrow {
    width: 20px;
    height: 20px;
    color: #bf122d !important;
  }

  .archive-photos-nav__arrow svg {
    width: 20px;
    height: 20px;
  }

  .archive-photos-nav__meta {
    width: 379px;
    gap: 13px;
  }

  .archive-photos-nav__meta #archive-year {
    width: 379px;
    font-family: 'Baron Neue', sans-serif !important;
    font-size: 42px;
    line-height: 120%;
    text-transform: lowercase !important;
    letter-spacing: 0;
  }

  .archive-photos-nav__meta #archive-location {
    width: 379px;
    margin-top: 13px;
    font-family: 'Butler', sans-serif;
    font-size: 18px;
    line-height: 145%;
    letter-spacing: 0.01em;
    color: #252222;
  }

  /* Новости: левая колонка — слайдер (Figma Full HD) */
  .news-fp-layout {
    grid-template-columns: 441px 1fr 80px;
  }

  .news-fp-slider-wrap {
    width: 441px;
    height: auto;
    align-self: start;
  }

  .news-fp-img-slider {
    width: 441px;
    height: 600px;
    max-width: none;
    aspect-ratio: auto;
    flex: 0 0 auto;
  }
}

@media (max-width: 767px) {
  body.page-template-page-contacts {
    overflow-x: hidden;
  }

  .page-template-page-contacts main,
  .page-template-page-contacts section,
  .page-template-page-contacts .max-w-screen-xl {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .page-template-page-contacts .max-w-screen-xl {
    width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-template-page-contacts .flex.flex-col.md\:flex-row.items-stretch {
    width: 100%;
    gap: 0 !important;
  }

  .page-template-page-contacts .bg-gray-200[style*="width:1172px"],
  .page-template-page-contacts div[style*="width:520px"][style*="height:655px"] {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
  }

  .archive-player,
  .archive-photos-row,
  .founder-panels-wrap {
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  .archive-photos-row {
    gap: 10px;
  }

  .archive-photo--main {
    width: 280px;
    height: 178px;
  }

  .archive-photos-nav__meta #archive-year {
    font-size: 22px;
  }

  .founder-panels-wrap {
    display: flex;
    flex-direction: column !important;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: auto;
  }

  .founder-panel {
    width: 100% !important;
    max-width: 280px;
    height: 112px;
    padding: 14px 12px !important;
    box-sizing: border-box;
  }

  .founder-panel__title-wrap {
    width: 100%;
    height: auto;
    font-size: 12px;
    line-height: 130%;
    text-transform: uppercase !important;
    letter-spacing: 0.01em;
    text-align: center;
  }

  .founder-panel--left {
    justify-content: center;
  }

  .founder-panel--right {
    justify-content: center;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .founder-panel__emblem {
    width: 52px !important;
    height: 54px !important;
    display: block;
  }

  .founder-panel--right .founder-panel__emblem {
    position: static;
    transform: none;
  }
}

/* ========================================
   Contacts — responsive map iframe
   ======================================== */

.bg-gray-200 iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 320px;
}

/* ========================================
   Afisha
   ======================================== */

.afisha-filter-btn {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Afisha filter row: keep horizontal scroll without native arrows */
.afisha-filter-row {
  overflow-x: auto;
  overflow-y: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.afisha-filter-row::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.afisha-event-img {
  width: clamp(130px, 18vw, 200px);
  height: clamp(170px, 24vw, 260px);
  border-radius: 50% 50% 0 0 / 20% 20% 0 0;
  overflow: hidden;
  background: #1a1a1a;
  flex-shrink: 0;
}

/* Afisha desktop rows: keep all items aligned */
.afisha-row-desktop {
  display: flex;
  align-items: stretch;
  gap: 0 !important;
  padding: 20px 0;
  margin: 0 !important;
  border-top: none !important;
  position: relative;
}

.afisha-row-desktop--with-divider {
  border-top: none !important;
}

.afisha-row-desktop::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 50vw);
  right: 0;
  border-top: 1px solid #d6d6d6;
  pointer-events: none;
}

.date-group:first-of-type .afisha-row-desktop:first-of-type {
  border-top: none !important;
}

.date-group:first-of-type .afisha-row-desktop:first-of-type::before {
  display: none;
}

.afisha-row-desktop--list-end {
  box-shadow: none;
}

.afisha-row-desktop--list-end::before {
  content: "";
  position: absolute;
  left: calc(50% - 50vw);
  right: 0;
  bottom: 0;
  border-bottom: 1px solid #d6d6d6;
  pointer-events: none;
}

.afisha-row-desktop::after {
  content: "";
  position: absolute;
  left: 185px;
  top: -1px; /* overlap horizontal divider for seamless joint */
  bottom: 0;
  width: 1px;
  background: #d6d6d6;
  pointer-events: none;
}

.afisha-date-cell {
  width: 185px;
  min-width: 185px;
  padding: 50px 28px 0 0;
  margin-right: 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.afisha-date-cell--no-divider {
  padding-right: 0;
}

.afisha-event-location {
  min-height: 2.6em;
  display: flex;
  align-items: flex-end;
  font-size: 20px;
  line-height: 130%;
  text-transform: uppercase;
  color: #252222;
  letter-spacing: 0.1em;
}

.afisha-date-main {
  margin: 0;
  font-size: 24px;
  line-height: 130%;
  font-weight: 700;
  text-transform: lowercase;
  color: #bf122d;
  font-family: 'Baron Neue', 'Jost', sans-serif;
}

.afisha-date-weekday {
  margin: 2px 0 0;
  font-size: 20px;
  line-height: 130%;
  font-weight: 500;
  text-transform: uppercase;
  color: #252222;
}

.afisha-event-img--desktop {
  width: 336px !important;
  height: 349px !important;
  margin-left: 0 !important;
  margin-right: 89px !important;
}

.afisha-event-content {
  padding: 4px 0;
}

.afisha-event-title {
  margin: 0;
  font-size: 42px;
  line-height: 125%;
  font-weight: 400;
  text-transform: lowercase;
  color: #252222;
  letter-spacing: 0.02em;
}

.afisha-event-time {
  margin: 0;
  font-size: 24px;
  line-height: 130%;
  font-weight: 500;
  color: #252222;
}

.afisha-event-action {
  width: 353px !important;
  min-width: 353px;
  height: 61px;
  padding-top: 16px !important;
  padding-bottom: 16px !important;
  border-radius: 4px;
}


/* ========================================
   Media
   ======================================== */

.media-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #1a1a1a;
  cursor: pointer;
}

.media-thumb.active {
  border: 2px solid #bf122d;
}

/* ========================================
   History scroll (об ансамбле)
   ======================================== */

.history-section {
  position: relative;
  height: 600vh;
}

.history-sticky {
  position: relative;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.history-progress-bar {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 200px;
  background: rgba(255,255,255,0.2);
  z-index: 10;
}

.history-progress-fill {
  width: 100%;
  background: #bf122d;
  transition: height 0.1s;
}

/* ========================================
   Order section
   ======================================== */

.order-section {
  background-color: #0d1117;
  position: relative;
  overflow: hidden;
}

/* ========================================
   Order form
   ======================================== */

.order-input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  font-size: 0.875rem;
  font-family: 'Jost', sans-serif;
  padding-bottom: 0.5rem;
  outline: none;
  transition: border-color 0.2s;
}
.order-input:focus {
  border-bottom-color: #fff;
}
.order-input::placeholder {
  color: rgba(255,255,255,0.5);
}

/* ========================================
   Slider arrow
   ======================================== */

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  border: none;
  transition: background 0.2s;
}
.slider-arrow:hover { background: #f3f4f6; }
.slider-arrow--prev { left: 0; }
.slider-arrow--next { right: 0; }

/* ========================================
   Mini concert card
   ======================================== */

.mini-concert-card {
  position: relative;
  overflow: hidden;
  background: #0d1117;
}

/* ========================================
   Responsive helpers
   ======================================== */

@media (max-width: 767px) {
  .reviews-left { width: 100% !important; }
  .review-card  { width: 85vw !important; }
}

/* ========================================
   Custom overrides (desktop defaults)
   ======================================== */

.concert-card {
  text-align: center;
  border-right: 1px solid #D6D6D6;
  padding-right: 24px;
}
.concert-card.bg-white:nth-child(3) {
  border: none;
}
.max-w-screen-xl {
  max-width: 1715px !important;
}
.concert-card__img-wrap {
  max-height: 571px;
}
.ticker-wrap {
  box-sizing: border-box;
  background: transparent !important;
  border-top: 1px solid #D6D6D6;
  border-bottom: 1px solid #D6D6D6;
  padding: 12px 24px;
  min-height: 91px;
}
.ticker-item span,
.ticker-item--text {
  color: #BF122D !important;
  font-weight: 400;
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  line-height: 130%;
  text-align: center;
}

.about-section {
  max-width: 1468px;
  margin: auto;
  background-color: transparent !important;
}

.about-section__inner {
  width: 100%;
  max-width: 1468px;
  margin-left: auto;
  margin-right: auto;
}

.about-statement {
  box-sizing: border-box;
  width: 100%;
  max-width: 1468px;
  min-height: clamp(120px, 14.4vw, 212px);
  margin: 0 auto 3rem;
  padding: 0;
  flex: none;
  align-self: stretch;
  flex-grow: 0;
  font-family: 'Jost', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(22px, 2.86vw, 42px);
  line-height: 125%;
  text-align: center;
  text-transform: uppercase;
  color: #252222;
}

.about-statement-accent {
  color: #bf122d;
}

.about-section .about__cols {
  margin: 0 clamp(0px, 10vw, 199px);
}
.about-section div a:not(.about-readmore) {
  margin: 25px auto 0;
  color: #BF122D;
  border: 0;
  font-weight: 700;
  text-decoration: underline 2px;
  text-align: center;
  justify-content: center;
  display: flex;
  font-size: clamp(14px, 1.5vw, 20px);
}

/* stats overrides moved to FIGMA DESIGN section below */
.stat-number {
  font-weight: 700 !important;
  font-size: clamp(24px, 4vw, 42px) !important;
}

/* gallery heights moved to FIGMA DESIGN section below */

.reviews-resources-wrap {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
}

.reviews-resources-logo-bg {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 600px;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.reviews-resources-wrap > .reviews-section,
.reviews-resources-wrap > .resources-section {
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .reviews-resources-logo-bg { display: none; }
}

.gallery-section--ornaments {
  position: relative;
  overflow: hidden;
}

.gallery-ornament {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.gallery-ornament--v13 {
  top: -8%;
  right: -10%;
  width: 100%;
  max-width: unset;
  rotate: 35deg;
  opacity: 0.06;
}

.gallery-ornament--v23 {
  bottom: 0%;
  left: -10%;
  width: 36%;
  max-width: 480px;
  rotate: 20deg;
  opacity: 0.06;
}

@media (max-width: 1024px) {
  .gallery-ornament { display: none; }
}

.gallery-section div div a {
  font-size: clamp(14px, 1.5vw, 20px);
  border-color: rgb(211 47 47 / var(--tw-border-opacity, 2));
  border-bottom: 2px solid;
}

.reviews-left div h2 {
  font-size: clamp(24px, 3.5vw, 42px);
  line-height: 120%;
}
.reviews-slider-wrap {
  border-top: none;
  border-bottom: none;
}

.reviews-slider-wrap div button {
  position: relative;
  margin: auto 0;
}
.reviews-left {
  display: flex;
  flex-direction: column;
  width: 562px;
  background-color: #BF122D;
}

/* Десктоп: красная панель и слайдер отзывов — одна высота */
@media (min-width: 1024px) {
  .reviews-section__row {
    display: grid !important;
    grid-template-columns: 562px minmax(0, 1fr);
    align-items: stretch;
  }

  .reviews-left {
    width: 100% !important;
    max-width: none;
    height: 100%;
    min-height: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
  }

  .reviews-slider-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    min-width: 0;
    position: relative;
    z-index: 1;
  }

  .reviews-track {
    flex: 1 1 auto;
    align-items: stretch;
    height: 100%;
    min-height: 100%;
  }

  .review-card {
    min-height: 100%;
    height: 100%;
    align-self: stretch;
  }
}

.review-card {
  border: 1px solid #d6d6d6 !important;
  height: 100%;
  min-height: 273px;
  min-width: min(540px, 80vw);
  box-sizing: border-box;
}
.review-card p,
.review-card__text {
  font-size: clamp(14px, 1.2vw, 18px);
}

.review-card__text {
  margin: 0;
}

.review-card__more {
  color: #bf122d;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.review-card__more:hover {
  text-decoration: underline;
}

.resource-card img {
  width: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.resource-card:hover img {
  filter: grayscale(0%);
}

.concert-card__btn {
  margin: 20px;
}

/* ========================================
   Footer responsive
   ======================================== */

.footer-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

/* ========================================
   Afisha event list responsive
   ======================================== */

.afisha-date-group {
  display: flex;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
  margin-top: 0.5rem;
}
.afisha-date-col {
  flex-shrink: 0;
  width: 80px;
  padding-top: 1.75rem;
}

/* ========================================
   TABLET (768px – 1023px)
   ======================================== */

@media (max-width: 1023px) {
  .reviews-left {
    width: 260px !important;
  }
  .reviews-left .reviews-arrow {
    display: none !important;
  }
  .reviews-left .reviews-arrow-mob {
    display: flex !important;
  }
  .reviews-track {
    margin-left: 0 !important;
  }
  .review-card {
    min-width: 300px !important;
  }

  /* Resources — ширина карточек задаётся в JS */

  /* Footer — 1 column on tablet */
  .footer-grid-4 {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .footer-grid-4 > div {
    padding: 1.5rem 0 !important;
    border-left: none !important;
    border-top: 1px solid #e5e7eb;
  }
  .footer-grid-4 > div:first-child {
    border-top: none;
    padding-top: 0 !important;
  }
  .footer-col {
    border-left: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* ========================================
   MOBILE (< 768px)
   ======================================== */

@media (max-width: 767px) {

  /* Concert cards — убираем правый бордер при стеке */
  .concert-card {
    border-right: none !important;
    padding-right: 0 !important;
    border-bottom: 1px solid #D6D6D6;
    padding-bottom: 24px;
    margin-bottom: 16px;
  }
  .concert-card.bg-white:nth-child(3) {
    border-bottom: none;
    margin-bottom: 0;
  }
  .concert-card__btn {
    margin: 10px !important;
  }

  /* About section */
  .about-section div div {
    margin: 0 !important;
  }

  /* Reviews */
  .reviews-left {
    width: 100% !important;
    flex-direction: column !important;
    padding: 2rem 1.5rem !important;
  }
  .reviews-left div h2 {
    font-size: 24px !important;
  }
  .reviews-left .reviews-arrow {
    display: none !important;
  }
  .reviews-left .reviews-arrow-mob {
    display: flex !important;
  }
  .reviews-track {
    margin-left: 0 !important;
  }
  .review-card {
    min-width: 0 !important;
    width: 85vw !important;
  }

  /* Resources — ширина карточек задаётся в JS */

  /* Footer — 1 column */
  .footer-grid-4 {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .footer-grid-4 > div {
    padding: 1.5rem 0 !important;
    border-left: none !important;
    border-top: 1px solid #e5e7eb;
  }
  .footer-grid-4 > div:first-child {
    border-top: none;
    padding-top: 0 !important;
  }
  .footer-col {
    border-left: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Афиша — дата сверху */
  .afisha-date-group {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  .afisha-date-col {
    width: 100% !important;
    padding-top: 0 !important;
    display: flex;
    gap: 0.75rem;
    align-items: baseline;
  }

  /* Afisha event card — изображение меньше */
  .afisha-event-img {
    width: 90px !important;
    height: 120px !important;
  }

  /* Мобильная афиша — полноширинное изображение-арка */
  .afisha-event-img-mobile {
    width: 100%;
    max-width: 280px;
    height: 340px;
    border-radius: 50% 50% 0 0 / 10% 10% 0 0;
    overflow: hidden;
    background: #f3f4f6;
  }

  /* Page titles */
  .page-title {
    font-size: clamp(2.2rem, 9vw, 4rem) !important;
    padding: 1rem 0 1.2rem !important;
  }

  /* Ticker */
  .ticker-item span {
    font-size: 12px !important;
  }

  /* Mini slider */
  .mini-concert-card img,
  .mini-concert-card .w-full.h-44 {
    height: 10rem !important;
  }

  /* Контакты — карточка билет */
  .contacts-card__notch {
    display: none;
  }

  /* Контакты — карта iframe */
  .contacts-card {
    width: 100% !important;
  }

  /* Архивные фото (об ансамбле) */
  #archive-img-main {
    width: 100% !important;
    max-width: 280px;
    height: auto !important;
    aspect-ratio: 4/3;
  }

  /* Мировая сцена — stats card на мобилке */
  .world-stats-card {
    width: 100% !important;
  }

  /* Вакансии — модалка */
  #vacancy-modal > div:nth-child(2) {
    margin: 0.5rem !important;
    padding: 1.5rem 1.2rem 1.5rem !important;
    max-width: 100% !important;
  }

  /* Hero title мобилка */
  .hero-title {
    font-size: clamp(2.5rem, 10vw, 4rem) !important;
  }

  /* Section title мобилка */
  .section-title {
    font-size: clamp(1.2rem, 5vw, 1.8rem) !important;
  }

  /* Stat number мобилка */
  .stat-number {
    font-size: clamp(1.5rem, 7vw, 2.5rem) !important;
  }
}

/* ========================================
   FIGMA DESIGN — Desktop overrides
   ======================================== */

/* ---- Header ---- */
.header-inner {
  height: clamp(56px, 6vw, 96px);
  max-width: 1720px !important;
  padding-left: clamp(1rem, 5.2vw, 100px) !important;
  padding-right: clamp(1rem, 5.2vw, 100px) !important;
}

/* ---- Hero ---- */
.hero {
  height: clamp(600px, 85vh, 1103px);
}

.hero__main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 52px;
  text-align: center;
  width: 100%;
  padding: 0 clamp(20px, 5vw, 100px);
  z-index: 10;
}

.hero-title {
  font-size: clamp(4rem, 11vw, 200px) !important;
  line-height: 1 !important;
  font-weight: 700;
  letter-spacing: 0 !important;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 1vw, 16px) clamp(20px, 2vw, 32px);
  background: #bf122d;
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: clamp(14px, 1.1vw, 20px);
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.05em;
  border-radius: 4px;
  transition: background 0.2s;
  text-decoration: none;
}
.hero-btn:hover { background: #9e0f23; }

/* ---- Ticker ---- */
.ticker-wrap {
  height: clamp(56px, 6vw, 91px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* ---- Concert cards ---- */
.concert-card__img-wrap {
  border-radius: clamp(150px, 28vw, 400px) clamp(150px, 28vw, 400px) 0 0 !important;
}

/* ---- Concert card text ---- */
.concert-card__date {
  font-size: clamp(13px, 1.1vw, 20px);
  font-weight: 500;
  color: #bf122d;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.3;
  margin-bottom: 10px;
}
.concert-card__place {
  font-size: clamp(13px, 1vw, 18px);
  font-weight: 400;
  color: rgba(37, 34, 34, 0.6);
  line-height: 1.45;
  margin-bottom: 10px;
}
.concert-card__name {
  font-family: 'Baron Neue', 'Jost', sans-serif;
  font-size: clamp(15px, 1.3vw, 24px);
  font-weight: 700;
  color: #252222;
  text-transform: lowercase;
  line-height: 1.3;
  margin-bottom: 24px;
}

/* Ближайшие концерты: две карточки — по центру (ширина как 2 из 3 колонок) */
@media (min-width: 768px) {
  .concerts-section .grid.concerts-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc((100% - 3rem) * 2 / 3 + 1.5rem);
    margin-inline: auto;
  }
  .concerts-section .grid.concerts-grid--two > .concert-card:last-child {
    border-right: none !important;
  }
}

/* Ближайшие концерты (сетка 3 колонки): одинаковая «шапка», выровненные арки и кнопки */
@media (min-width: 768px) {
  .concerts-section .grid > .concert-card {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .concerts-section .grid > .concert-card .concert-card__place {
    min-height: 2.9em; /* до двух строк при line-height 1.45 */
  }
  .concerts-section .grid > .concert-card .concert-card__name {
    min-height: 3.9em; /* до трёх строк при line-height 1.3 */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* ---- About section ---- */
.about__col-text {
  color: #6a6a6a;
  opacity: 0.9;
}

.about-readmore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 12px;
  border-bottom: 2px solid #bf122d;
  color: #bf122d;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: clamp(14px, 1.2vw, 20px);
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s;
}
.about-readmore:hover { opacity: 0.7; }

/* ---- Stats section ---- */
.stats-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: clamp(320px, 40vh, 483px);
  padding: clamp(40px, 5vw, 80px) clamp(20px, 10vw, 200px);
  position: relative;
}

.stats-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 1.5vw, 20px);
  position: relative;
  z-index: 1;
}

.stats__dot-wrap {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-label {
  font-family: 'Jost', sans-serif;
  font-size: clamp(12px, 1.1vw, 20px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  max-width: 220px;
  color: rgba(255,255,255,0.85);
}

.stats-hline {
  position: absolute;
  left: clamp(20px, 10vw, 200px);
  right: clamp(20px, 10vw, 200px);
  bottom: clamp(60px, 12vh, 120px);
  height: 1px;
  background: rgba(255,255,255,0.2);
}

/* ---- Gallery grid (Figma: 828×880 | 872×522 + 872×338, gap 20px) ---- */
.gallery-slide.hidden {
  display: none !important;
}
.gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 828fr) minmax(0, 872fr);
  gap: 20px;
}
.gallery-item-main {
  grid-column: 1;
  grid-row: 1 / 3;
  position: relative;
  overflow: hidden;
}
.gallery-item-video {
  grid-column: 2;
  grid-row: 1;
  height: 522px;
  position: relative;
  overflow: hidden;
}
.gallery-item-photo {
  grid-column: 2;
  grid-row: 2;
  height: 338px;
  position: relative;
  overflow: hidden;
}

/* ---- Social icons (footer) — Figma: 54×54px ---- */
.social-icon {
  width: 54px !important;
  height: 54px !important;
}

/* ---- Stats — mobile ---- */
@media (max-width: 767px) {
  .stats-content {
    flex-direction: column;
    gap: 2rem;
    padding: 2.5rem 1.5rem;
    min-height: auto;
  }
  .stats-hline { display: none; }
  .stats-item { width: 100%; text-align: center; }
  .stat-label { max-width: 100%; }
}

.concert-buy-btn{
  margin: 27px;
}
.stat-label{
  min-height: 90px;
}
.review-card {
  margin-right: 0;
}

.review-rating {
  display: flex;
  align-items: center;
  margin: 0 0 8px;
}

.review-rating__stars {
  display: inline-flex;
  gap: 2px;
  line-height: 1;
}

.review-rating__star {
  color: #d9d9d9;
  font-size: 14px;
}

.review-rating__star--filled {
  color: #f5a623;
}
.reviews-track{
  height: 100%;
}
.hero-btn{
  padding: 16px 175px;
}
.hero{
  height: 966px;
}
.header-inner {
  border-bottom: 2px solid;
    border-bottom-color: currentcolor;
  border-color: rgba(255, 255, 255, 0.2);
max-width: 1536px !important;
padding-right: 0 !important;
padding-left: 0 !important;
}
header{
  border: none;
}
.reviews-left p{
  font-size: 18px;
  line-height: 145%;
  margin-bottom: 67px;
}
.reviews-left a{
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  color: rgb(211 47 47 / var(--tw-text-opacity, 1));
  padding: 16px 65px !important;
}
.reviews-left a:hover{
  background-color: rgb(211 47 47 / var(--tw-bg-opacity, 1));
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.review-card div div span {
  font-size: 20px;
  font-weight: 500;
}
.order-section div div form div button {
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  color: rgb(211 47 47 / var(--tw-text-opacity, 1));
  padding: 16px 61px !important;
  font-size: 20px;
  line-height: 110%;
  letter-spacing: unset;
}
.order-section div div form div button:hover {
background-color: rgb(211 47 47 / var(--tw-bg-opacity, 1));
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));

}

/* ========================================
   MOBILE ADAPTIVE (≤ 767px)
   ======================================== */
@media (max-width: 767px) {
  .news-fp-pagination{
    display: flex !important;
  flex-direction: column !important; 
  }
  /* --- Hero --- */
  .hero {
    height: auto !important;
    min-height: 100svh;
  }
  .hero__main {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-bottom: 60px;
    min-height: 100svh;
  }
  .hero-title {
    font-size: clamp(2.8rem, 14vw, 5rem) !important;
    line-height: 1.05;
    margin-bottom: 28px;
  }
  .hero-btn {
    padding: 16px 0 !important;
    width: 100%;
    text-align: center;
    display: block;
  }

  /* --- Concerts top section --- */
  .concerts-section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .concert-card {
    border-right: none !important;
    border-bottom: 1px solid #D6D6D6;
    padding-right: 0 !important;
    padding-bottom: 32px;
    margin-bottom: 8px;
    width: 100%;
  }
  .concert-card.bg-white:last-child {
    border-bottom: none !important;
  }

  /* --- Ticker --- */
  .ticker-item span {
    font-size: 13px !important;
  }

  /* --- News FP section --- */
  .news-fp-section {
    padding: 40px 0 48px;
  }
  .news-fp-inner {
    padding: 0 20px;
  }
  .news-fp-heading {
    font-size: 1.5rem;
    margin-bottom: 28px;
  }
  .news-fp-layout {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }
  .news-fp-img-slider {
    aspect-ratio: 4 / 3;
    max-height: 280px;
  }
  .news-fp-img-dots {
    position: static;
    flex-direction: row;
    transform: none;
    justify-content: center;
    margin-top: 14px;
    gap: 8px;
  }
  .news-fp-img-dot {
    width: 10px;
    height: 10px;
  }
  .news-fp-pagination {
    flex-direction: column;
    padding-top: 0;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  .news-fp-page-dots {
    flex-direction: row;
    gap: 10px;
  }
  .concert-slider-wrap {
    height: 220px;
  }

  /* --- About section --- */
  .about-section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .about-section div div {
    margin: 0 !important;
  }

  /* --- Gallery section --- */
  .gallery-section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .gallery-section h2 {
    margin-bottom: 20px !important;
  }
  /* Мобайл: колонка, порядок видео→главное фото→фото */
  .gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .gallery-item-video {
    order: 1;
    height: 226px;
  }
  .gallery-item-main {
    order: 2;
    height: 280px;
  }
  .gallery-item-photo {
    order: 3;
    height: 338px;
  }

  /* --- Reviews+Resources logo bg --- */
  .reviews-resources-logo-bg { display: none; }

  /* --- Reviews section --- */
  .reviews-section__row {
    flex-direction: column !important;
  }
  .reviews-left {
    width: 100% !important;
    padding: 2rem 1.5rem !important;
  }
  .reviews-left .reviews-arrow {
    display: none !important;
  }
  .reviews-left .reviews-arrow-mob {
    display: flex !important;
  }
  .reviews-slider-wrap {
    border-top: none !important;
  }
  .reviews-track {
    margin-left: 0 !important;
  }
  .review-card {
    width: 85vw !important;
    min-width: unset !important;
    margin-right: 0 !important;
  }

  /* --- Resources section --- */
  .resources-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* --- Order section --- */
  .order-section div div form div button {
    width: 100%;
    padding: 16px 20px !important;
  }

  /* --- Stats --- */
  .stats-section {
    padding: 0;
  }

  /* --- Footer mobile dark --- */
  .footer {
    background-color: #111111 !important;
  }
  .footer-col-title {
    color: #2a2a2a !important;
    border-bottom-color: rgba(255,255,255,0.12) !important;
  }
  .footer-org-name,
  .footer-text {
    color: #2a2a2a !important;
  }
  .footer-nav-link,
  .footer-docs-link {
    color: #2a2a2a !important;
  }
  .footer-nav-link:hover,
  .footer-docs-link:hover {
    color: #ffffff !important;
  }
  .footer-counter-label {
    color: rgba(255,255,255,0.55) !important;
  }
  .footer-col {
    border-bottom-color: rgba(255,255,255,0.1) !important;
  }
  .footer-logo-text {
    color: rgba(255,255,255,0.3) !important;
  }
  .footer-bottom {
    border-top-color: rgba(255,255,255,0.1) !important;
  }
  .footer-copy,
  .footer-credit {
    color: rgba(255,255,255,0.3) !important;
  }
  .footer-bottom-inner {
    padding: 14px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .footer-inner {
    padding: 40px 20px 28px;
  }

  /* --- General spacing --- */
  .max-w-screen-xl {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .reviews-left{
    max-width: 100%;
  align-content: center;
  align-items: center;
  }
   .review-card {
    min-width: 100% !important;
    margin-right: 0 !important;
  }
  
  .mobile{
    display: flex !important;
    gap: 300px;
  }
  .mobile .reviews-arrow{
    display: flex !important;
    position: relative !important;
    background: none !important;
    right: none !important;
    top : none !important;
    width: 29px !important;
    height: 36px !important;
    color: white !important; 
  }
  .reviews-left a{
    margin-bottom: 30px;
  }

}
.mobile{
  display: none !important;
}
.reviews-arrow{
  display: flex !important;
 
   top: 50%;
    transform: translateY(-50%);
  position: absolute !important;
   width: 29px !important;
    height: 36px !important;
}
#history-sticky{
  color: white!important;
}
.member-card__arch.img-placeholder{
  background: transparent !important;
}
.member-card__info{
  margin: 10px;
}
.member-card{
  margin-top: 25px;
  margin-bottom: 25px;
}

.ticker-item {
  margin-left: 70px;
}

.ticker-wrap .ticker--marquee .ticker-item {
  margin-left: 0 !important;
}
.sticky-afisha{
  margin-bottom: 4.5rem;
  background-color: #ffffff !important;
}
/* Mobile reviews nav buttons */
.reviews-mob-nav {
  display: flex;
}
@media (min-width: 768px) {
  .reviews-mob-nav {
    display: none !important;
  }
}

/* ========================================
   WP Customizer styles (перенесено)
   ======================================== */

.footer {
  background: transparent !important;
}
.footer.footer-dark {
  background: #111111 !important;
}
.header--dark nav a {
  background-color: white !important;
}
.news-fp-page-dot:not(.active):hover {
  color: rgb(200 16 46 / var(--tw-text-opacity, 1));
}
.footer-text {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 145%;
  letter-spacing: 0;
}
.concert-card__btn {
  background: #BF122D !important;
}
.news-fp-article-title {
  font-size: 24px;
}
.reviews-left h2 {
  margin-bottom: 36px;
}
.reviews-left p {
  font-size: 18px !important;
}
.review-card {
  margin-right: 0px !important;
}
.reviews-arrow {
  width: 36px !important;
}
#order-form div button {
  border-radius: 4px;
}
.order-section div div h2 {
  font-size: 36px;
  white-space: nowrap;
}
.order-input {
  width: 449px;
}
.order-section div div {
  width: unset !important;
}
.footer {
  margin-top: 180px;
}
.footer-text {
  color: #252222 !important;
}
.footer-label {
  font-size: 16px;
  text-decoration: none;
  font-weight: 400;
  text-transform: unset;
  letter-spacing: unset;
  color: #6A6A6A;
}
.footer-org-name {
  color: #252222;
  font-size: 18px;
  line-height: 1.45;
}

/* Footer dark overrides */
.footer-dark .footer-text       { color: rgba(255,255,255,0.55) !important; }
.footer-dark .footer-label      { color: rgba(255,255,255,0.35) !important; }
.footer-dark .footer-org-name   { color: rgba(255,255,255,0.75) !important; }
.footer-dark .footer-col-title  { color: #ffffff !important; }
.footer-dark .footer-nav-link   { color: rgba(255,255,255,0.65) !important; }
.footer-dark .footer-docs-link  { color: rgba(255,255,255,0.55) !important; }
.footer-dark .footer-copy,
.footer-dark .footer-credit     { color: rgba(255,255,255,0.3) !important; }
.footer-dark .footer-counter-label { color: rgba(255,255,255,0.4) !important; }
.footer-docs-link {
  text-decoration: underline;
}
.footer-bottom-inner {
  margin: unset;
  max-width: unset;
  padding: 18px 40px;
}
.nav-dropdown div {
  margin-top: 22px;
  max-width: 147px !important;
  min-width: 147px !important;
  background: transparent;
}
.nav-dropdown div a {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.header-inner {
  border-bottom: 1px solid white;
}
.news-fp-inner {
  max-width: 1718px;
}
.news-fp-content {
  border-right: 1px solid rgb(214, 214, 214);
  padding-right: 85px;
}
.news-fp-pagination {
  justify-content: center;
  height: 100%;
}
@keyframes slider-flash {
  0%   { opacity: 1; }
  45%  { opacity: 1; }
  50%  { opacity: 0; }
  55%  { opacity: 1; }
  100% { opacity: 1; }
}
.concert-card.bg-transparent:nth-child(3) {
  border-right: none !important;
}
.concerts-section {
  position: relative;
  overflow: hidden;
  padding-top: 180px !important;
  padding-bottom: 180px !important;
}
.concerts-bg-vector {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
}
.concerts-bg-vector--tr {
  top: -18%;
  right: 0%;
  width: 22%;
  max-width: 318px;
}
.concerts-bg-vector--bl {
  bottom: 2%;
  left: 0%;
  width: 22%;
  max-width: 340px;
}
.concerts-section > .max-w-screen-xl {
  position: relative;
  z-index: 1;
}
.news-fp-section {
  padding-top: 0px !important;
}
.news-fp-pagination {
  padding-top: 0px !important;
}
.footer-decor {
  display: none !important;
}
.footer-col-title {
  padding: 0;
  margin-bottom: 60px !important;
}
.world-stats-card {
  width: 520px !important;
  height: 655px !important;
}
#world-svg-container {
  max-width: 1050px;
}
.country-cell {
  height: 124px;
  width: 559px;
}
.country-cell__name {
  font-family: 'Jost', sans-serif;
  font-size: 20px !important;
  margin-bottom: 30px !important;
}
.country-cell__years {
  font-family: 'Jost', sans-serif;
  font-size: 20px !important;
  align-items: flex-end;
  font-weight: 700;
}
.footer-col:nth-child(1) {
  width: 567px;
  padding-left: 70px !important;
}
.footer-col:nth-child(4) {
  width: 547px;
}
.footer-col:nth-child(2) {
  width: 407px;
}
.footer-col:nth-child(3) {
  width: 398px;
}
#AQ {
  display: none;
}
#world-svg-container svg {
  height: 576px;
}
.vacancy-extra {
  font-size: 20px !important;
}
.vacancy-banner {
  height: 157px;
  width: 100% !important;
}
.vacancy-banner p {
  font-size: 20px;
  font-weight: 500 !important;
}
#vacancy-modal div h2 {
  font-size: 42px !important;
  text-align: center;
}
#modal-vacancy-name {
  font-size: 18px !important;
  text-align: center;
  color: #252222 !important;
}
#vacancy-form div input {
  background: transparent !important;
  color: #6A6A6A !important;
  font-size: 18px !important;
  border-bottom: 1px solid #6A6A6A !important;
}
#v-consent {
  accent-color: #252222 !important;
  width: 16px;
  height: 16px;
  margin: 4px !important;
}
#vacancy-form label span {
  font-size: 16px !important;
}
#vacancy-form button {
  font-size: 20px !important;
}
#video-main-wrap {
  max-width: 1415px;
  margin: 0 auto;
  height: 615px;
}
.country-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.country-cell {
  background: #EEEEEE;
  padding: 20px;
  font-size: 20px;
  text-transform: uppercase;
}
.country-cell__years {
  color: #BF122D;
  font-weight: 500;
}
.country-cell--active {
  background-color: #BF122D;
  color: white;
}
.country-cell--active .country-cell__years {
  color: white;
}
#world-map-wrap {
  cursor: pointer;
}
.map-pin {
  position: absolute;
  display: none;
  transform: translate(-50%, -100%);
  z-index: 30;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.map-tooltip {
  position: absolute;
  z-index: 50;
  display: none;
  background: #BF122D;
  color: white;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, -120%);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.region-header-block {
  width: 100%;
  display: block;
  background: #EEEEEE;
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
}
.region-header-block__name {
  font-size: 32px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.region-header-block__years {
  font-size: 20px;
  font-weight: 600;
  color: #BF122D;
}

/* Customizer mobile overrides (перенесено) */
@media (max-width: 767px) {
  .footer-counter-wrap {
    display: block;
    position: relative;
    bottom: 0%;
  }
  .footer-logo img {
    margin-left: 0;
  }
  .footer-counter-label {
    font-size: 18px;
  }
  .order-input {
    width: auto;
  }
  .order-section div div h2 {
    width: auto;
    font-size: 20px;
    text-align: center;
  }
  /* gallery-grid mobile overrides handled in 767px block above */
  .news-fp-section {
    width: 100%;
  }
  .news-fp-slider-wrap {
    width: 100% !important;
  }
  .news-fp-slide img {
    width: auto !important;
    margin: 0 auto;
  }
  .footer {
    margin-top: 90px;
  }
  .stat-label {
    text-wrap: balance;
    text-align: center;
  }
  .stats-hline {
    display: flex;
  }
}

/* ========================================
   TABLET ADAPTIVE (768px — 1024px)
   ======================================== */
@media (min-width: 768px) and (max-width: 1024px) {

  /* --- Hero --- */
  .hero {
    height: clamp(500px, 70vh, 750px);
  }
  .hero-title {
    font-size: clamp(3rem, 8vw, 5rem) !important;
  }
  .hero-btn {
    padding: 16px 80px;
  }

  /* --- Concerts --- */
  .concerts-section {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }
  .concert-card {
    padding-right: 16px;
  }

  /* --- News FP --- */
  .news-fp-inner {
    padding: 0 30px;
  }
  .news-fp-layout {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }
  .news-fp-content {
    border-right: none;
    padding-right: 0;
  }
  .news-fp-img-slider {
    aspect-ratio: 16 / 9;
  }
  .news-fp-pagination {
    flex-direction: row;
    justify-content: center;
    padding-top: 20px;
  }

  /* --- About --- */
  .about__col-text {
    font-size: 16px;
  }

  /* --- Stats --- */
  .stats-section {
    padding: 50px 30px !important;
  }
  .stat-number {
    font-size: clamp(3rem, 8vw, 5rem);
  }
  .stat-label {
    font-size: 14px;
  }

  /* --- Gallery (планшет) --- */
  .gallery-item-video {
    height: 300px;
  }
  .gallery-item-photo {
    height: 200px; /* 300+20+200=520 = высота главного фото */
  }

  /* --- Reviews --- */
  .reviews-section__row {
    flex-direction: column !important;
  }
  .reviews-left {
    width: 100% !important;
    padding: 2rem !important;
  }
  .review-card {
    width: 60vw !important;
    min-width: unset !important;
  }

  /* --- Order --- */
  .order-input {
    width: 100%;
    max-width: 449px;
  }
  .order-section div div h2 {
    font-size: 28px;
    white-space: normal;
  }

  /* --- Footer --- */
  .footer {
    margin-top: 100px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 40px;
  }
  .footer-col:nth-child(1),
  .footer-col:nth-child(2),
  .footer-col:nth-child(3),
  .footer-col:nth-child(4) {
    width: 100% !important;
    padding-left: 0 !important;
  }
  .footer-col-title {
    margin-bottom: 30px !important;
  }
  .footer-col--org .footer-organization-data {
    padding: 24px 0;
    gap: 32px;
    max-width: 100%;
  }
  .footer-col--docs .footer-documents {
    padding: 24px 0;
    min-height: auto;
    max-width: 100%;
  }
  .footer-col--docs .footer-documents__main {
    gap: 32px;
    max-width: 100%;
  }
  .footer-col--docs .footer-counters-logo {
    gap: 48px;
    flex-wrap: wrap;
  }
  .footer-col--org .footer-organization-name {
    gap: 16px;
  }
  .footer-col--navigation .footer-navigation {
    padding: 24px 0;
    gap: 48px;
    max-width: 100%;
  }
  .footer-col--navigation .footer-navigation__main {
    gap: 32px;
  }
  .footer-col--contacts .footer-contact-icons {
    padding: 24px 0;
    gap: 40px;
    max-width: 100%;
  }
  .footer-col--contacts .footer-contact-block {
    gap: 32px;
  }
  .footer-col--contacts .footer-contact-address {
    gap: 28px;
  }
  .footer-logo {
    margin-left: 0;
  }
  .footer-logo img {
    margin-left: 0;
  }
  .footer-counter-wrap {
    position: relative;
    bottom: auto;
  }
  .footer-bottom-inner {
    padding: 18px 30px;
  }

  /* --- World / Map --- */
  .world-stats-card {
    width: 100% !important;
    height: auto !important;
    min-height: 400px;
  }
  #world-svg-container {
    max-width: 100%;
  }
  #world-svg-container svg {
    height: auto;
    width: 100%;
  }
  .country-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .country-cell {
    width: 100%;
    height: auto;
    min-height: 100px;
  }

  /* --- Vacancies --- */
  .kollektiv-tab {
    font-size: 16px;
    padding: 0.75rem 1rem;
  }
  .vacancy-title {
    font-size: 26px;
  }
  .vacancy-desc {
    font-size: 18px;
  }
  .open-modal-btn {
    width: 280px !important;
    height: 54px !important;
    font-size: 16px !important;
  }

  /* --- Vacancy modal --- */
  #vacancy-modal > div:nth-child(2) {
    max-width: 600px;
  }

  /* --- Video --- */
  #video-main-wrap {
    height: 450px;
  }

  /* --- Nav dropdown --- */
  .nav-dropdown div {
    max-width: 180px !important;
    min-width: 160px !important;
  }
}

/* ========================================
   АРХИВ НОВОСТЕЙ
   ======================================== */

/* Карточка новости */
.news-card {
  border-radius: 0;
  overflow: hidden;
}

.news-media-wrap {
  position: relative;
}

.news-media-notch {
  position: absolute;
  top: 50%;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
}

.news-media-notch--left {
  left: -14px;
}

.news-media-notch--right {
  right: -14px;
}

/* line-clamp утилиты */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Пагинация новостей */
.md-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 56px;
}

.md-pagination__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 50%;
  border: 1.5px solid #d1d1d1;
  color: #1a1a1a;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  line-height: 1;
}

.md-pagination__item:hover {
  border-color: #bf122d;
  color: #bf122d;
}

.md-pagination__item--active {
  background: #bf122d;
  border-color: #bf122d;
  color: #fff;
}

.md-pagination__item--active:hover {
  color: #fff;
}

.md-pagination__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 13px;
  color: #1a1a1a;
  border: none;
}

.md-pagination__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #bf122d;
  border: none;
  text-decoration: none;
  transition: color 0.2s;
}

.md-pagination__arrow:hover {
  color: #9e0f23;
}

.md-pagination__arrow--disabled {
  color: #d1d1d1;
  cursor: default;
  pointer-events: none;
}


/* ========================================
   ENHANCED MOBILE (≤ 767px)
   ======================================== */
@media (max-width: 767px) {

  /* --- Global overflow --- */
  main {
    overflow-x: hidden;
    max-width: 100vw;
  }

  /* --- Concerts --- */
  .concerts-section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
    overflow: hidden;
  }
  .concerts-bg-vector {
    display: none;
  }

  /* --- News FP (overflow fix) --- */
  .news-fp-section {
    overflow: hidden;
  }
  .news-fp-inner {
    max-width: 100% !important;
    padding: 0 20px !important;
    overflow: hidden;
  }
  .news-fp-layout {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .news-fp-content {
    border-right: none;
    padding-right: 0 !important;
  }
  .news-fp-slider-wrap {
    width: 100% !important;
    max-width: 100%;
  }
  .news-fp-slide img {
    width: 100% !important;
    max-width: 100%;
    height: auto;
  }

  .news-fp-article-title {
    font-size: 20px;
  }
  .news-fp-heading {
    font-size: 1.3rem;
    margin-bottom: 24px;
  }

  /* --- About --- */
  .about__col-text {
    font-size: 15px;
  }

  /* --- Stats --- */
  .stats-section {
    padding: 40px 20px !important;
  }

  /* --- Footer mobile --- */
  .footer {
    margin-top: 60px !important;
    overflow: hidden;
  }
  .footer-inner {
    padding: 40px 20px 28px !important;
    overflow: hidden;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
  .footer-col:nth-child(1),
  .footer-col:nth-child(2),
  .footer-col:nth-child(3),
  .footer-col:nth-child(4) {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .footer-col-title {
    margin-bottom: 20px !important;
  }
  .footer-col--org .footer-organization-data {
    padding: 20px 0;
    gap: 24px;
  }
  .footer-col--org .footer-col-title {
    font-size: 20px;
  }
  .footer-col--org .footer-org-name,
  .footer-col--org .footer-org-address,
  .footer-col--org .footer-org-requisite {
    font-size: 16px;
  }
  .footer-col--org .footer-label {
    font-size: 14px;
  }
  .footer-col--docs .footer-documents {
    padding: 20px 0;
  }
  .footer-col--docs .footer-col-title {
    font-size: 20px;
  }
  .footer-col--docs .footer-docs-link,
  .footer-col--docs .footer-counter-text {
    font-size: 15px;
  }
  .footer-col--docs .footer-counters-logo {
    gap: 24px;
  }
  .footer-col--navigation .footer-navigation {
    padding: 20px 0;
    gap: 32px;
  }
  .footer-col--navigation .footer-col-title {
    font-size: 20px;
  }
  .footer-col--navigation .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
  .footer-col--contacts .footer-contact-icons {
    padding: 20px 0;
    gap: 32px;
  }
  .footer-col--contacts .footer-col-title {
    font-size: 20px;
  }
  .footer-col--contacts .footer-contact-text {
    font-size: 16px;
    max-width: 100%;
  }
  .footer-contact-link {
    font-size: 18px;
  }
  .footer-col--contacts .footer-socials {
    flex-wrap: wrap;
    max-width: 100%;
  }
  .footer-logo {
    margin-left: 0 !important;
  }
  .footer-logo img {
    margin-left: 0 !important;
  }
  .footer-bottom-inner {
    padding: 14px 20px;
    max-width: 100%;
  }
  .footer-nav {
    flex-direction: column;
  }
  .footer-counter-wrap {
    position: relative !important;
    bottom: auto !important;
    display: block;
  }

  /* --- World / Map --- */
  .world-stats-card {
    width: 100% !important;
    height: auto !important;
    min-height: 300px;
  }
  #world-svg-container {
    max-width: 100%;
    overflow: hidden;
  }
  #world-svg-container svg {
    height: auto;
    width: 100%;
  }
  .country-grid {
    grid-template-columns: 1fr;
  }
  .country-cell {
    width: 100%;
    height: auto;
    min-height: 80px;
  }
  .country-cell__name {
    font-size: 16px !important;
    margin-bottom: 16px !important;
  }
  .country-cell__years {
    font-size: 16px !important;
  }
  .region-header-block__name {
    font-size: 24px;
  }
  .region-header-block__years {
    font-size: 16px;
  }

  /* --- Vacancies --- */
  .kollektiv-tab {
    font-size: 14px;
    padding: 0.75rem 0.5rem;
  }
  .vacancy-title {
    font-size: 22px;
  }
  .vacancy-desc {
    font-size: 16px;
  }
  .open-modal-btn {
    width: 100% !important;
    height: 54px !important;
    font-size: 16px !important;
  }
  .vacancy-banner {
    height: auto;
    padding: 30px 20px !important;
  }
  .vacancy-banner p {
    font-size: 16px;
  }

  /* --- Vacancy modal --- */
  #vacancy-modal > div:nth-child(2) {
    max-width: 100%;
    margin: 0.5rem;
    padding: 1.5rem 1rem 1.5rem;
  }
  #vacancy-modal div h2 {
    font-size: 28px !important;
  }
  #vacancy-form div input {
    font-size: 16px !important;
  }
  #vacancy-form button {
    font-size: 16px !important;
  }

  /* --- Video --- */
  #video-main-wrap {
    height: auto;
    min-height: 250px;
    aspect-ratio: 16 / 9;
  }

  /* --- Order --- */
  .order-section div div form div button {
    font-size: 16px;
  }

  /* --- Ticker --- */
  .ticker-item {
    margin-left: 30px;
  }

  /* --- Reviews --- */
  .reviews-left h2 {
    margin-bottom: 20px;
  }
  .reviews-left p {
    font-size: 16px !important;
    margin-bottom: 30px;
  }
  .reviews-left a {
    padding: 14px 40px !important;
  }

  /* --- Мировая сцена --- */
  .world-stats-card {
    width: 100% !important;
    height: auto !important;
    flex-direction: column !important;
  }
  .world-stats-card > div {
    height: auto !important;
    min-height: 120px;
    padding: 24px 16px !important;
  }
  #world-map-wrap {
    min-height: unset !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    overflow: hidden;
  }
  #world-svg-container {
    max-width: 100% !important;
    overflow: hidden;
  }
  #world-svg-container svg {
    height: auto !important;
    width: 100% !important;
    max-height: 60vh;
    display: block;
  }
  .country-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  .country-cell {
    width: 100% !important;
    height: auto !important;
    min-height: 70px;
    font-size: 14px;
  }
  .region-header-block {
    padding: 16px;
  }
  .region-header-block__name {
    font-size: 20px;
  }
  .region-header-block__years {
    font-size: 16px;
  }

  /* --- Об ансамбле --- */
  .page-title,
  h1 {
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  /* Заголовки секций внутри page-ob-ansamble */
  .section-title,
  [class*="font-black"][class*="uppercase"] {
    font-size: clamp(1.5rem, 7vw, 3rem) !important;
    word-break: break-word;
  }

  .recognition-section {
    padding-top: 44px !important;
    padding-bottom: 44px !important;
  }
  .recognition-section__head {
    margin-bottom: 20px !important;
  }
  .recognition-section .section-title {
    margin-bottom: 10px !important;
    font-size: 30px !important;
    line-height: 1.02 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase;
  }
  .recognition-section__subtitle {
    max-width: 285px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    color: #5f5f5f !important;
  }
  .recognition-section__grid {
    gap: 8px !important;
  }
  .recognition-section__card {
    min-height: 92px;
    padding: 14px 12px !important;
    gap: 4px !important;
    background: #ececec !important;
  }
  .recognition-section__count {
    font-size: 18px !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }
  .recognition-section__label {
    font-size: 11px !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: #252222 !important;
  }

  /* --- Контакты --- */
  .flex-col.md\:flex-row {
    flex-direction: column !important;
  }
  /* Карта — убрать фиксированные px */
  .bg-gray-200[style*="width:1172px"] {
    width: 100% !important;
    height: 300px !important;
    min-height: 250px !important;
  }
  /* Карточка контактов — убрать фиксированные px */
  div[style*="width:520px"][style*="height:655px"] {
    width: 100% !important;
    height: auto !important;
  }
  /* Форма заказа */
  .order-section {
    overflow: hidden;
  }
  .order-section > div {
    max-width: 100%;
    padding: 20px !important;
  }
  .order-section div div h2 {
    white-space: normal !important;
    font-size: 20px !important;
    word-break: break-word;
  }
  .order-input {
    width: 100% !important;
  }

  /* --- Афиша --- */
  .afisha-event-img {
    width: 100% !important;
    height: 250px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .sticky-afisha {
    position: relative !important;
    margin-bottom: 2rem;
  }
  /* Кнопка купить билет */
  button[class*="w-[353px]"],
  span[class*="w-[353px]"] {
    width: 100% !important;
  }
  /* Share icon не вылезает */
  .share-btn svg {
    width: 20px !important;
    height: 20px !important;
  }

  /* --- Архив новостей (md_news) --- */
  .news-archive-grid {
    grid-template-columns: 1fr !important;
  }
  /* Новости: картинка + текст в одну колонку */
  .flex.gap-4.py-5 {
    flex-direction: column !important;
    gap: 16px;
  }
  .flex.gap-4.py-5 > div[style*="padding-right: 91px"] {
    padding-right: 0 !important;
    border-right: none !important;
  }
  .flex.gap-4.py-5 .afisha-event-img {
    width: 100% !important;
    margin: 0 !important;
  }
  /* Заголовки новостей/афиши */
  h3[class*="text-[42px]"] {
    font-size: 22px !important;
  }

  /* --- Вакансии баннер --- */
  .vacancy-banner {
    height: auto !important;
    padding: 24px 16px !important;
  }
  .vacancy-banner p {
    font-size: 14px !important;
  }
  /* Зазубрины билета скрыть на мобилке */
  .vacancy-banner .absolute.left-0,
  .vacancy-banner .absolute.right-0 {
    display: none;
  }

  /* --- СМИ о нас (page-ob-ansamble) --- */
  .smi-grid,
  .press-grid {
    grid-template-columns: 1fr !important;
  }

  /* --- Медиа: Новости — убрать захардкоженные размеры картинок --- */
  article.flex.gap-6 {
    flex-direction: column !important;
    gap: 16px !important;
  }
  article.flex.gap-6 > div[style*="min-width: 490px"] {
    min-width: unset !important;
    min-height: 200px !important;
    width: 100% !important;
    height: 200px !important;
  }
  article.flex.gap-6 .flex-1 p[style*="margin-bottom: 50px"] {
    margin-bottom: 16px !important;
    max-width: 100% !important;
  }
  article.flex.gap-6 .flex-1 a[style*="margin-bottom: 78px"] {
    margin-bottom: 16px !important;
  }
  article.flex.gap-6 h3[style*="font-size: 24px"] {
    font-size: 18px !important;
  }

  /* --- Медиа: СМИ о нас — убрать захардкоженные размеры --- */
  div[style*="width: 269px"][style*="height:267px"] {
    width: 100% !important;
    height: auto !important;
  }
  div[style*="width: 269px"][style*="height:267px"] > .bg-gray-100[style*="width: 269px"] {
    width: 100% !important;
    height: 180px !important;
  }
  .flex.flex-col.md\:flex-row.gap-5 {
    flex-direction: column !important;
  }
  .flex-1.grid.grid-cols-2 {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
  .flex-1.grid.grid-cols-2 p {
    font-size: 13px !important;
  }

  /* --- Медиа: заголовки секций --- */
  .section-title.text-center,
  p.text-center.text-\[42px\] {
    font-size: 24px !important;
    letter-spacing: 0.1em !important;
  }

  /* --- Медиа: hero margin fix --- */
  div[style*="margin: 180px 0px"] {
    margin: 80px 0px !important;
  }

  /* --- Главная: новости — ограничить размер картинки --- */
  .news-fp-article-header {
    flex-direction: column !important;
    gap: 4px !important;
  }
  .news-fp-article-title {
    font-size: 14px !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .news-fp-article-text {
    font-size: 14px !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* --- Главная: концерты — текст не обрезается --- */
  .concert-info {
    padding: 12px 14px !important;
  }
  .concert-name {
    font-size: 16px !important;
    word-break: break-word;
  }
  .concert-location {
    font-size: 12px !important;
    word-break: break-word;
    white-space: normal !important;
  }
  .concert-meta {
    gap: 4px !important;
  }
  .concert-buy-btn {
    font-size: 13px !important;
    padding: 10px 20px !important;
  }

  /* --- Футер: уменьшить отступы --- */
  .footer-col {
    padding: 20px 0 !important;
  }
  .footer-col-title {
    font-size: 14px !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
  }
  .footer-text,
  .footer-org-name {
    font-size: 14px !important;
  }
  .footer-nav-link,
  .footer-docs-link {
    font-size: 13px !important;
  }

  /* --- Общие переполнения --- */
  section,
  .max-w-screen-xl,
  main {
    max-width: 100vw;
    overflow-x: hidden;
  }
  img {
    max-width: 100%;
    height: auto;
  }
}

/* ========================================
   TABLET FIX for inner pages (768-1024px)
   ======================================== */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Контакты */
  .bg-gray-200[style*="width:1172px"] {
    width: 100% !important;
    height: 400px !important;
  }
  div[style*="width:520px"][style*="height:655px"] {
    width: 100% !important;
    height: auto !important;
  }

  /* Мировая сцена stats */
  .world-stats-card > div {
    height: auto !important;
    min-height: 150px;
  }

  /* Афиша */
  .afisha-event-img {
    width: 250px !important;
    margin-left: 20px !important;
    margin-right: 30px !important;
  }
  button[class*="w-[353px]"],
  span[class*="w-[353px]"] {
    width: 250px !important;
  }

  /* Country grid */
  .country-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .country-cell {
    width: 100% !important;
    height: auto !important;
  }
}

/* =============================================
   Single News Navigation Block
   ============================================= */

.news-nav-section {
  background: #111;
  padding: 0;
}

.news-nav-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  border-top: 1px solid rgba(255,255,255,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  width: 100vw;
  margin: 0 0 40px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 40px;
  box-sizing: border-box;
}

.news-nav-col {
  padding: 44px 38px;
}

.news-nav-col--prev {
  border-right: none;
}

.news-nav-col--next {
  border-left: none;
}

.news-nav-col--center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 56px;
}

.news-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.2s;
}
.news-nav-link:hover { opacity: 0.7; }

.news-nav-link--right {
  justify-content: flex-end;
  text-align: right;
}

.news-nav-arrow {
  font-size: 2rem;
  line-height: 1;
  color: rgba(255,255,255,0.6);
  flex-shrink: 0;
  font-weight: 200;
}

.news-nav-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.news-nav-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.news-nav-title {
  font-size: 1.28rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: #fff;
}

.news-nav-back {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid #ffffff;
  padding-bottom: 2px;
  white-space: nowrap;
  transition: opacity 0.2s, border-color 0.2s;
}
.news-nav-back:hover { opacity: 0.6; }

@media (max-width: 767px) {
  .news-nav-wrap {
    grid-template-columns: 1fr;
    width: 100vw;
    margin: 0 0 32px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0 16px;
  }
  .news-nav-col--prev,
  .news-nav-col--next,
  .news-nav-col--center {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding: 20px 16px;
  }
  .news-nav-col--center {
    border-left: none;
    border-right: none;
  }
}

/* --- Детальная новость: галерея как в референсе --- */
.news-single-gallery__title {
  font-size: clamp(28px, 2.2vw, 42px);
  line-height: 1.05;
  letter-spacing: 0.06em;
}

.news-single-gallery__grid {
  align-items: stretch;
}

.news-single-gallery__item {
  aspect-ratio: 4 / 3;
}

@media (max-width: 767px) {
  .news-single-gallery__title {
    font-size: 24px;
    letter-spacing: 0.09em;
  }
}

/* Ticker loop fix: два одинаковых сегмента, translate -50% = бесшовный цикл */
.ticker-wrap {
  overflow-x: hidden;
}

.ticker-wrap > .ticker.ticker--marquee {
  --ticker-gap: 52px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  flex-shrink: 0;
  gap: var(--ticker-gap);
  width: max-content;
  max-width: none;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  animation: ticker-scroll 22s linear infinite;
}

.ticker-wrap .ticker--marquee .ticker-item {
  display: flex;
  flex: none;
  flex-shrink: 0;
  align-items: center;
  margin: 0 !important;
  padding: 0;
  box-sizing: border-box;
}

.ticker-wrap .ticker--marquee .ticker-item--text {
  flex: none;
  white-space: nowrap;
}

.ticker-wrap .ticker--marquee .ticker-item--logo {
  flex: none;
  line-height: 0;
}

.ticker-wrap .ticker--marquee .ticker-item--logo img {
  display: block;
  width: auto;
  height: auto;
  flex: none;
}

.ticker-wrap .ticker--marquee .ticker-item--logo-kulturno img {
  width: 78px;
  height: 18px;
}

.ticker-wrap .ticker--marquee .ticker-item--logo-pushkin img {
  width: 70px;
  height: 67px;
}

@media (max-width: 767px) {
  .ticker-wrap {
    padding: 12px 16px;
    min-height: 72px;
  }

  .ticker-wrap > .ticker.ticker--marquee {
    --ticker-gap: 32px;
  }

  .ticker-wrap .ticker--marquee .ticker-item--logo-kulturno img {
    width: 62px;
    height: 14px;
  }

  .ticker-wrap .ticker--marquee .ticker-item--logo-pushkin img {
    width: 56px;
    height: 54px;
  }

  .ticker-item--text,
  .ticker-item span {
    font-size: 13px !important;
  }
}

@keyframes ticker-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Footer: hard stabilization against zoom drift */
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .footer-col {
    width: auto !important;
    min-width: 0;
    max-width: none !important;
    box-sizing: border-box;
    padding-left: 40px !important;
    padding-right: 40px !important;
  }

  .footer-col:first-child {
    padding-left: 40px !important;
  }

  .footer-col:nth-child(1),
  .footer-col:nth-child(2),
  .footer-col:nth-child(3),
  .footer-col:nth-child(4) {
    width: auto !important;
    max-width: none !important;
  }

  .footer-counter-wrap {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
  }
}

/* Final mobile fix: keep member info panel inside card */
@media (max-width: 767px) {
  .member-card__info {
    width: 202px !important;
    height: 121.82953643798828px !important;
    left: 50% !important;
    right: auto !important;
    bottom: 8px !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    padding: 8px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

/* Afisha: share popup (block "Поделиться") */
.afisha-share-popup {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 18px 24px;
  gap: 16px;
  width: 208.75px;
  height: 237px;
  background: #ffffff;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
}

.afisha-share-popup__title {
  font-family: "Jost", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 130%;
  text-align: center;
  color: #252222;
  margin: 0;
}

.afisha-share-popup__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.afisha-share-popup__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  height: 36px;
  text-decoration: none;
  font-family: "Jost", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 130%;
  color: #252222;
}

/* ========================================
   Toast: заявка отправлена (Figma Frame 2609149)
   ======================================== */
.form-toast {
  box-sizing: border-box;
  position: fixed;
  left: 50%;
  top: calc(50% - 52px + 192.5px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: min(616px, calc(100vw - 32px));
  min-height: 104px;
  padding: 32px;
  background: #bf122d;
  box-shadow: 0 4px 4px rgba(129, 129, 129, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-toast--visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

.form-toast__inner {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
  max-width: 100%;
}

.form-toast__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: 50%;
}

.form-toast__icon svg {
  display: block;
  width: 18.65px;
  height: 14.02px;
}

.form-toast__text {
  margin: 0;
  font-family: "Jost", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 130%;
  text-transform: uppercase;
  color: #ffffff;
}

@media (max-width: 767px) {
  .form-toast {
    top: calc(50% + 120px);
    padding: 24px 20px;
    min-height: auto;
  }

  .form-toast__text {
    font-size: 16px;
  }
}

.afisha-share-popup__icon {
  width: 36px;
  height: 36px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

