
/* =========================================================
  IMPORTS
  ========================================================= */
@import url(ui.css);
@import url(rendering.css);
@import url(card.css);
@import url(sidebar.css);
@import url(../fonts/firs/firs.css);
@import url(../fonts/lakes/lakes.css);
@import url(../fonts/ramillas/ramillas.css);

/* =========================================================
  THEME VARIABLES
  ========================================================= */
:root {
  --white: #FFFFFF;
  --black: #000000;
  --bd: 700;
  --sb: 500;
  --rg: 300;
  --yellow: #FFCC00; 
  --turquoise: #00b5c2;
  --back: rgba(0, 13, 12, 0.85);

  --opacity__25: opacity(0.25);
  --opacity__50: opacity(0.5);
  --opacity__75: opacity(0.75);
  --opacity__100: opacity(1);
  --blur: blur(7.5px);

  --sans-primary: "TT Firs Text", "Tenor Sans", sans-serif;
  --sans-secondary: "TT Lakes Neue", "Inter", sans-serif;
  --serif-primary: "TT Ramillas", serif;
  --serif-secondary: "TT Ramillas", serif;

  --primary: var(--sans-primary);
  --secondary: var(--sans-secondary);
  
  /* Переменные для контента внутри .center */
  --content-primary: var(--sans-primary);
  --content-secondary: var(--sans-secondary);

  /* Динамические переменные для типографики */
  --dynamic-font-size: var(--lg);
  --dynamic-text-align: justify;

  --zr: 0.2rem;
  --xs: 0.5rem;
  --sm: 0.5rem;
  --md: 0.6rem;
  --lg: 0.9rem;
  --xl: 1rem;
  --xxl: 1.25rem;
  --hg: 2rem;

}

.play-text  {white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  font-weight: var(--bd);}

.pause-text {white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;}


.mobilesidebar {

}
b, strong {
  font-weight: var(--sb);
}

i, em {
  font-style: italic;
  font-weight: var(--rg);
  font-family: var(--serif-primary);
  opacity: 1 !important;
}

p {
    opacity: 0.85 !important;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphenate-limit-chars: 6 3 2;
}

/* Ссылки внутри параграфов должны переноситься */
p a {
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
}
/* =========================================================
  BASE / TYPOGRAPHY
  Глобальное сглаживание и улучшение рендеринга шрифтов
  ========================================================= */
html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
  font-variant-ligatures: contextual common-ligatures;
  -webkit-text-size-adjust: 100%;
}

/* Правила переноса для русского языка */
html[lang="ru"], html[lang="ru"] * {
  hyphenate-limit-chars: 6 3 2;
}

/* Более консервативные переносы для коротких слов */
html[lang="ru"] p, 
html[lang="ru"] li, 
html[lang="ru"] .quote, 
html[lang="ru"] blockquote,
html[lang="ru"] .alert,
html[lang="ru"] .card,
html[lang="ru"] .card-text {
  hyphenate-limit-chars: 8 4 3;
}

/* Настройки переноса для alert элементов */
.alert {
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphenate-limit-chars: 6 3 2;
}

.alert .alert-content {
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    text-align: left !important;
}

/* Ссылки внутри alert должны переноситься */
.alert a {
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
}



/* Horizontal rule */
hr {
border: 1px solid #ffffff45;
    height: 1px;
    /* background: #ffffff; */
    margin: var(--zr) 0;
    opacity: 0.1;
}

.icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff80;
  font-size: 16px;
  transition: color 0.22s ease;
}

.icon i {
  pointer-events: none;
}

.icon:hover {
  color: var(--white);
}
.title {
  font-family: var(--sans-secondary);
}

.subtitle {
  font-family: var(--sans-primary);
}

/* Элементы внутри .center используют переменные контента */
.center .title {
  font-family: var(--content-secondary);
}

.center .subtitle {
  font-family: var(--content-primary);
}

figure {
  margin: 0 !important;
}

body[data-font-style="serif"] .center {
  --content-primary: var(--serif-primary);
  --content-secondary: var(--serif-secondary);
}

body[data-font-style="sans"] .center {
  --content-primary: var(--sans-primary);
  --content-secondary: var(--sans-secondary);
}

/* Кнопки переключателя шрифта */
/* Font style switcher */
.font-option { cursor: pointer; transition: opacity .25s ease, color .25s ease; }
.font-option:hover { opacity: 0.8; }
.font-option.active { color: var(--yellow); opacity: 1 !important; }

/* Фикс: элементы интерфейса, не зависящие от выбора serif/sans */
button, .btn {
  font-family: var(--sans-secondary);
}
.language-switcher, .language-switcher *,
#current-chapter-display {
  font-family: var(--sans-secondary) !important;
}

/* Фиксируем sans для текстовых элементов плеера, не затрагивая иконки */
#audioplayer, #audioplayer span, #audioplayer button span,
.mobile-audioplayer, .mobile-audioplayer span, .mobile-audioplayer button span {
  font-family: var(--sans-secondary);
}

/* Языковые ссылки: всегда sans */
.language-link { font-family: var(--sans-primary); }



/* Figure caption */
figcaption {
  font-size: var(--md) !important;
  font-family: var(--sans-secondary);
  text-align: center;
  opacity: 0.5;
  color: var(--white);
  margin-top: var(--xs);
  margin-bottom: var(--hg);
}

/* figcaption внутри .center использует переменные контента */
.center figcaption {
  font-family: var(--content-secondary);
}

/* Button block (editorjs-button) */
.ej-button-wrapper { margin: var(--xl) 0; }
.ej-button {
  display: inline-block;
  background: #ffffff14;
  color: var(--white);
  padding: .75rem 1.25rem;
  border: 1px solid #ffffff30;
  border-radius: 6px;
  text-decoration: none;
  font-family: var(--sans-secondary);
  font-weight: var(--sb);
  transition: background .25s ease, border-color .25s ease;
}

/* .ej-button внутри .center использует переменные контента */
.center .ej-button {
  font-family: var(--content-secondary);
}
.ej-button:hover { background: #ffffff22; border-color: #ffffff50; }
.ej-button:active { background: #ffffff33; }

/* LinkTool block */
.link-tool-block { border:1px solid #ffffff24; padding: var(--md); border-radius:8px; margin: var(--xl) 0; background:#ffffff08; }
.link-tool-block .link-img img { max-width:160px; border-radius:4px; box-shadow:0 2px 4px rgba(0,0,0,.4); }
.link-tool-block .link-desc { opacity:.7; margin-top:.5rem; font-size:var(--sm); }

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--sans-secondary);
  font-weight: var(--bd);
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 0;
  border-top: 1px solid #ffffff1a;
  padding-bottom: var(--xl);
     margin-top: 0;
text-shadow: 0px 30px 40px rgba(255, 255, 255, 0.2);
    padding-top: var(--lg);
    padding-bottom: var(--lg);
}

/* Заголовки внутри .center используют переменные контента */
.center h1, .center h2, .center h3, .center h4, .center h5, .center h6 {
  font-family: var(--content-secondary);
}
h1 {
    background-image: radial-gradient(circle at center, #ffffff26 1.0px, transparent 1.5px);
    background-size: 16px 16px;
    background-color: transparent;
        border-top: none;
}

h1 { font-size: var(--xxl);
    text-align: center;
    margin-bottom: 0; }
h2 { font-size: var(--xl); }
h3 { font-size: var(--lg); text-align: left; }



html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

html { min-height: 100%; }

body {
  margin: 0;
  font-family: var(--sans-primary);
}

/* Основные текстовые элементы наследуют sans шрифт */
p, div, span, article, section {
  font-family: inherit;
}

/* Элементы внутри .center могут использовать переменные контента */
.center {
  font-family: var(--content-primary);
}

.center p, .center div, .center span, .center article, .center section {
  font-family: inherit;

}

.magnetic { will-change: transform; }
#reading-progress-bar { height:3px; border-radius:2px; }

html, body { height: 100%; }
html, body, #page-body, section { min-height: 100vh; }
@supports (height: 100svh) {
  html, body, #page-body, section { min-height: 100svh; }
}

body { position: relative; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;

background-repeat: no-repeat;
    background-size: cover;
  background-blend-mode: soft-light;
  pointer-events: none;
  z-index: 0;
}

/* Scroll lock class for overlays/panels */
body.lock-scroll { overflow: hidden; }

/* Автоматическая блокировка скролла на мобильных когда открыты меню или карточка */
@media (max-width: 768px) {
  /* Блокируем html элемент когда у body есть соответствующие классы */
  body.menu-open html,
  body.bside-is-active html, 
  body.aside-is-active html,
  body.mobile-audio-open html,
  /* И сам body */
  body.menu-open, 
  body.bside-is-active, 
  body.aside-is-active,
  body.mobile-audio-open {
    overflow: hidden !important;
    touch-action: none !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  /* Дополнительная блокировка для основных контейнеров */
  body.menu-open #page-body,
  body.bside-is-active #page-body,
  body.aside-is-active #page-body,
  body.mobile-audio-open #page-body,
  body.menu-open section,
  body.bside-is-active section,
  body.aside-is-active section,
  body.mobile-audio-open section,
  body.menu-open .center,
  body.bside-is-active .center,
  body.aside-is-active .center,
  body.mobile-audio-open .center {
    overflow: hidden !important;
    touch-action: none !important;
  }
  
  /* Полная блокировка всех дочерних элементов */
  body.menu-open *,
  body.bside-is-active *,
  body.aside-is-active *,
  body.mobile-audio-open * {
    overscroll-behavior: none !important;
  }
}

/* Дополнительные правила для планшетов */
@media (max-width: 1024px) {
  /* Блокируем html элемент когда у body есть соответствующие классы */
  body.menu-open html,
  body.bside-is-active html, 
  body.aside-is-active html,
  /* И сам body */
  body.menu-open, 
  body.bside-is-active, 
  body.aside-is-active {
    overflow: hidden !important;
    touch-action: none !important;
  }
  
  /* Дополнительная блокировка для планшетов */
  body.menu-open *,
  body.bside-is-active *,
  body.aside-is-active * {
    overscroll-behavior: none !important;
  }
}

*::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(255, 225, 94, 1) 0%, rgba(38, 244, 255, 1) 100%);
}
*::-webkit-scrollbar-corner { background: transparent; }
*::-webkit-scrollbar-corner { display: none; background: transparent; }
*::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
*::-webkit-scrollbar-button:single-button { display: none; width: 0; height: 0; }
*::-webkit-scrollbar-button:horizontal:decrement,
*::-webkit-scrollbar-button:horizontal:increment,
*::-webkit-scrollbar-button:vertical:decrement,
*::-webkit-scrollbar-button:vertical:increment { display: none; width: 0; height: 0; }

html, body {
  -ms-overflow-style: none;
  scrollbar-width: none;
  scrollbar-width: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

section {
  display: flex;
  width: 100%;
  position: relative;
}

.aside {
  width: 20%;
  padding: var(--lg);
  overflow: visible;
}

.bside {
  width: 20%;
  padding-left: var(--lg);

}

.center {
  width: 60%;
  padding-left: var(--xl);
  padding-right: var(--xl);
  padding-top: calc(var(--hg)*2);
  padding-bottom: calc(var(--hg)*2);
}

a {
  text-decoration: none; /* убрано "!" — была опечатка */
  color: inherit;
}

/* Базовые ссылки внутри .center: без подчёркивания по умолчанию */
.center a { text-decoration: none; color: inherit; }

/* Внешние (http/https) или помеченные классом .link-ref ссылки — подчёркнуты и окрашены */
.center a[href^="http"]:not(.no-underline),
.center a.link-ref {     text-decoration: underline;
    color: #00ecff;
    font-weight: var(--sb); }

/* Специальные внутренние ссылки, например карточки — остаются без подчёркивания */
.center a.card-trigger-word,
.center a.no-underline { text-decoration: none; color: inherit; }



.blur__up{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 22%;
  pointer-events: none;
  z-index: 5;
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  mask-image:
    radial-gradient(ellipse 120% 100% at 50% 100%, transparent 0%, transparent 35%, rgba(0,0,0,1) 70%),
    linear-gradient(to top, transparent 0%, rgba(0,0,0,1) 100%);
  -webkit-mask-image:
    radial-gradient(ellipse 120% 100% at 50% 100%, transparent 0%, transparent 35%, rgba(0,0,0,1) 70%),
    linear-gradient(to top, transparent 0%, rgba(0,0,0,1) 100%);
  -webkit-mask-composite:source-in;
  mask-composite:intersect;
}

.blur__btm{
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  pointer-events: none;
  z-index: 5;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  background: linear-gradient(to top, rgba(0, 13, 12, 0.95) 0%, rgba(0, 13, 12, 0.7) 40%, rgba(0, 13, 12, 0.3) 70%, transparent 100%);
  mask-image:
    radial-gradient(ellipse 120% 100% at 50% 0%, transparent 0%, transparent 20%, rgba(0,0,0,1) 60%),
    linear-gradient(to bottom, transparent 0%, rgba(0,0,0,1) 100%);
  -webkit-mask-image:
    radial-gradient(ellipse 120% 100% at 50% 0%, transparent 0%, transparent 20%, rgba(0,0,0,1) 60%),
    linear-gradient(to bottom, transparent 0%, rgba(0,0,0,1) 100%);
  -webkit-mask-composite:source-in;
  mask-composite:intersect;
  /* Скрываем по умолчанию для мобильных */
  display: none;
}

header {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  justify-content: space-between;
  padding: var(--lg);
  position: fixed;
  z-index: 990;
  width: 100%;




}

.uppercase {
  text-transform: uppercase;
}  



.align {
  text-align: justify
}

/* Предотвращаем горизонтальный скролл из-за длинных небьющихся последовательностей (много &nbsp; подряд) */
.subtitle, .align, .subtitle.align, p.subtitle.align {
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  /*text-shadow: 0px 1px 5px rgba(255, 255, 255, 0.25);*/
}

/* Страховка: если всё же что-то шире контейнера */
.center { overflow-x: hidden; }

figure img {
max-width: 100%;
    height: auto;
    border-radius: var(--xs);
}
.logo {
  background-image: url(/static/img/logo.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 164px;
  height: 32px;
}

html {
  font-size: clamp(11px, 1.5vw + 8px, 18px);
  background-color: #000D0C;
}



.hidden { display: none !important; }

.white {
  color: var(--white);
}

.mobile {
  display: none;
}

ul {
    padding: 0;
    padding-left: calc(var(--xxl)*2);
    padding-top: var(--xxl);
    padding-bottom: var(--xxl);
    padding-right: var(--xxl);
    background: repeating-linear-gradient(-45deg, #ffffff0a, #ffffff08 1px, #e5e5f700 1px, #e5e5f705 5px);
    list-style: none; /* Убираем стандартную нумерацию */
    counter-reset: list-counter; /* Инициализируем счетчик */
    font-size: var(--dynamic-font-size);
    line-height: var(--dynamic-line-height);
}

ul li {
    counter-increment: list-counter; /* Увеличиваем счетчик для каждого элемента */
    position: relative;
}

ul li::before {
    content: counter(list-counter, decimal-leading-zero) ". ";
    opacity: 0.35; /* Прозрачность только для маркеров */
    position: absolute;
    left: -2.5rem;
    font-family: inherit;
    font-size: var(--dynamic-font-size);
    line-height: var(--dynamic-line-height);
    font-weight: inherit;
}

/* Упорядоченные списки */
ol {
    padding: 0;
    padding-left: calc(var(--xxl)*2);
    padding-top: var(--xxl);
    padding-bottom: var(--xxl);
    padding-right: var(--xxl);
    background: repeating-linear-gradient(-45deg, #ffffff0a, #ffffff08 1px, #e5e5f700 1px, #e5e5f705 5px);
    list-style: none; /* Убираем стандартную нумерацию */
    counter-reset: ordered-list-counter; /* Инициализируем счетчик для упорядоченного списка */
    font-size: var(--dynamic-font-size);
    line-height: var(--dynamic-line-height);
}

ol li {
    counter-increment: ordered-list-counter; /* Увеличиваем счетчик для каждого элемента */
    position: relative;
}

ol li::before {
    content: counter(ordered-list-counter, decimal) ". ";
    opacity: 0.35; /* Прозрачность только для маркеров */
    position: absolute;
    left: -2.5rem;
    font-family: inherit;
    font-size: var(--dynamic-font-size);
    line-height: var(--dynamic-line-height);
    font-weight: inherit;
}

/* === External links (server-side marked) === */
a.external-link { 
    position: relative; 
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
}
a.external-link:after {
  content: "\ea70"; /* ri-arrow-right-up-line */
  font-family: "remixicon" !important;
  font-style: normal;
  font-weight: normal;
  display: inline-block;
  margin-left: 4px;
  font-size: .9em;
  line-height: 1;
  vertical-align: baseline;

}
a.external-link.mark:after,
a.external-link.marked:after,
a.external-link.telegram:after {
  content: "\f547"; /* custom requested icon code */
  color: #fff !important;
  /* На случай переопределений цветом родителя */
  opacity: 1;
}

/* --- Вариант: иконка внутри подсвеченного текста (<mark>) --- */
/* Отключаем иконку у самой ссылки, если внутри есть mark и стоит класс telegram */
a.external-link.telegram:after { content: ''; display: none !important; }

/* Добавляем иконку внутрь mark */
a.external-link.telegram > mark.cdx-marker { position: relative; }
a.external-link.telegram > mark.cdx-marker:after {
  content: "\f547"; /* тот же код иконки */
  font-family: "remixicon" !important;
  display: inline-block;
  margin-left: 4px;
  line-height: 1;
  color: #fff;
  vertical-align: middle;
}
a.external-link:hover:after { opacity: 1; }

li {
    font-size: var(--dynamic-font-size);
    line-height: var(--dynamic-line-height);
    text-align: var(--dynamic-text-align);
    /* font-weight: var(--rg); */
    text-transform: none;
    margin-top: var(--xl);
    margin-bottom: var(--xl);
    opacity: 0.75 !important;
    font-weight: var(--rg);
    font-family: var(--primary) !important;
    /* text-transform: uppercase; */
    margin-left: var(--xl);
    margin-right: var(--xl);
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
}

/* Ссылки внутри элементов списков должны переноситься */
li a {
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
}

/* li внутри .center использует переменные контента */



.center li {
  font-family: var(--content-secondary);
}

@media (min-width: 300px) and (max-width: 576px) {

  .video-block figcaption {
    color: #ffffff;
  }







.play-text .pause-text {
      font-weight: var(--bd);
    font-size: var(--lg);
    font-weight: var(--bd);
}


.card.visible {
  border: none !important;
}

.mobilesidebar {
  padding-left: var(--hg);
  padding-right: var(--hg);
}
  .aside,
  .bside {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    transform: translateY(-110%);
    z-index: 10002;
    visibility: hidden;
    pointer-events: none;
    transition: transform 240ms ease, visibility 240ms ease;
  }

  .sidebar .title {
      text-align: left;
      font-size: 1rem;
      line-height: 1.5rem;
  }

  .card-text {
      font-size: 1rem;
      line-height: 1.5rem;
  }

  body.aside-is-active .aside,
  .aside-is-active .aside,
  body.bside-is-active .bside,
  .bside-is-active .bside {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .center {
    width: 100%;
    margin-top: cal(var(--hg)*4);
    padding-left: var(--xxl);
    padding-right: var(--xxl);
  }


  .web {
    display: none;
  }

  .mobile {
    display: flex;
    z-index: 991;
  }





  .bside {
    padding: 0;
  }

}



@media (min-width: 577px) and (max-width: 768px) {

    .video-block figcaption {
    color: #ffffff;
  }



.card.visible {
  border: none !important;
}

.play-text .pause-text {
      font-weight: var(--bd);
    font-size: var(--lg);
    font-weight: var(--bd);
}
.mobilesidebar {
  padding-left: var(--hg);
  padding-right: var(--hg);
}

  .sidebar .title {
      text-align: left;
      font-size: 1rem;
      line-height: 1.5rem;
  }

  .card-text {
      font-size: 1rem;
      line-height: 1.5rem;
  }

  .aside,
  .bside {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(-110%);
    z-index: 10002;
    visibility: hidden;
    pointer-events: none;
    transition: transform 240ms ease, visibility 240ms ease;
  }

  body.aside-is-active .aside,
  .aside-is-active .aside,
  body.bside-is-active .bside,
  .bside-is-active .bside {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .center {
    width: 100%;

  }



  .web {
    display: none;
  }

  .mobile {
    display: flex;
    z-index: 991;
  }






    .bside {
    padding: 0;
  }

}

@media (min-width: 769px) and (max-width: 1024px) {

    .video-block figcaption {
    color: #ffffff;
  }




  .card.visible {
  border: none;
}
  .play-text .pause-text {
      font-weight: var(--bd);
    font-size: var(--lg);
    font-weight: var(--bd);
}


.mobilesidebar {
  padding-left: var(--hg);
  padding-right: var(--hg);
}
  .sidebar .title {
      text-align: left;
      font-size: 1rem;
      line-height: 1.5rem;
  }

  .card-text {
      font-size: 1rem;
      line-height: 1.5rem;
  }


  .aside,
  .bside {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(-110%);
    z-index: 10002;
    visibility: hidden;
    pointer-events: none;
    transition: transform 240ms ease, visibility 240ms ease;
  }

  body.aside-is-active .aside,
  .aside-is-active .aside,
  body.bside-is-active .bside,
  .bside-is-active .bside {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .center {
    width: 100%;
    padding: var(--hg);
  }



  .web {
    display: none;
  }

  .mobile {
    display: flex;
    z-index: 991;
  }




}


@media (min-width: 1024px) {



    .play-text .pause-text {
      font-weight: var(--bd);
    font-size: var(--sm);
    font-weight: var(--bd);
}

.mobilesidebar {
  padding-left: 0;
  padding-right: 0;
}

/* Показываем эффект размытия снизу только в веб-версии */
.blur__btm {
  display: block;
}
}

.img--static {
  width: 100%;
  height: auto;
  object-fit: cover;
  overflow: hidden;
  display: block;
}

.img--calc {
  width: 100%;
  object-fit: cover;
  display: block;
  position: relative;
}

.opc__25 { filter: var(--opacity__25); }
.opc__50 { filter: var(--opacity__50); }
.opc__75 { filter: var(--opacity__75); }

.row { display: flex; flex-direction: row; min-width: 0; }
.col { flex-direction: column; display: flex; min-width: 0; }
.wrp { display: flex; flex-wrap: wrap; min-width: 0; }
.vrt { display: flex; align-items: center; }
.hrt { display: flex; justify-content: center; }
.spc { display: flex; justify-content: space-between; }
.ctr { display: flex; justify-content: center; }

.fs__xs { font-size: var(--xs); line-height: var(--xs); }
.fs__sm { font-size: var(--sm); line-height: var(--sm); }
.fs__md { font-size: var(--md); line-height: var(--xl); }
.fs__lg { font-size: var(--lg); line-height: var(--xxl); }
.fs__xl { font-size: var(--xl); line-height: var(--xxl); }
.fs__xxl { font-size: var(--xxl); line-height: var(--xxl); }
.fs__hg { font-size: var(--hg); line-height: var(--hg); }

.fw__rg { font-weight: var(--rg); }
.fw__md { font-weight: var(--sb); }
.fw__bd { font-weight: var(--bd); }

.pd__xs { padding: var(--xs); }
.pd__sm { padding: var(--sm); }
.pd__md { padding: var(--md); }
.pd__lg { padding: var(--lg); }
.pd__xl { padding: var(--xl); }
.pd__hg { padding: var(--hg); }
.pd__hg--4 { padding: calc(var(--hg) * 2); }
.pd__xxl { padding: var(--xxl); }
.pd__xs--rgt { padding-right: var(--xs); }
.pd__sm--rgt { padding-right: var(--sm); }
.pd__md--rgt { padding-right: var(--md); }
.pd__lg--rgt { padding-right: var(--lg); }
.pd__xl--rgt { padding-right: var(--xl); }
.pd__xxl--rgt { padding-right: var(--xxl); }
.pd__hg--rgt { padding-right: var(--hg); }
.pd__xs--lft { padding-left: var(--xs); }
.pd__sm--lft { padding-left: var(--sm); }
.pd__md--lft { padding-left: var(--md); }
.pd__lg--lft { padding-left: var(--lg); }
.pd__xl--lft { padding-left: var(--xl); }
.pd__xxl--lft { padding-left: var(--xxl); }
.pd__hg--lft { padding-left: var(--hg); }
.pd__xs--top { padding-top: var(--xs); }
.pd__sm--top { padding-top: var(--sm); }
.pd__md--top { padding-top: var(--md); }
.pd__lg--top { padding-top: var(--lg); }
.pd__xl--top { padding-top: var(--xl); }
.pd__xxl--top { padding-top: var(--xxl); }
.pd__hg--top { padding-top: var(--hg); }
.pd__xs--btm { padding-bottom: var(--xs); }
.pd__sm--btm { padding-bottom: var(--sm); }
.pd__md--btm { padding-bottom: var(--md); }
.pd__lg--btm { padding-bottom: var(--lg); }
.pd__xl--btm { padding-bottom: var(--xl); }
.pd__xxl--btm { padding-bottom: var(--xxl); }
.pd__hg--btm { padding-bottom: var(--hg); }

.mg__xs { margin: var(--xs); }
.mg__sm { margin: var(--sm); }
.mg__md { margin: var(--md); }
.mg__lg { margin: var(--lg); }
.mg__xl { margin: var(--xl); }
.mg__xxl { margin: var(--xxl); }
.mg__hg { margin: var(--hg); }
.mg__xs--rgt { margin-right: var(--xs); }
.mg__sm--rgt { margin-right: var(--sm); }
.mg__md--rgt { margin-right: var(--md); }
.mg__lg--rgt { margin-right: var(--lg); }
.mg__xl--rgt { margin-right: var(--xl); }
.mg__xxl--rgt { margin-right: var(--xxl); }
.mg__hg--rgt { margin-right: var(--hg); }
.mg__xs--lft { margin-left: var(--xs); }
.mg__sm--lft { margin-left: var(--sm); }
.mg__md--lft { margin-left: var(--md); }
.mg__lg--lft { margin-left: var(--lg); }
.mg__xl--lft { margin-left: var(--xl); }
.mg__xxl--lft { margin-left: var(--xxl); }
.mg__hg--lft { margin-left: var(--hg); }
.mg__xs--top { margin-top: var(--xs); }
.mg__sm--top { margin-top: var(--sm); }
.mg__md--top { margin-top: var(--md); }
.mg__lg--top { margin-top: var(--lg); }
.mg__xl--top { margin-top: var(--xl); }
.mg__xxl--top { margin-top: var(--xxl); }
.mg__hg--top { margin-top: var(--hg); }
.mg__xs--btm { margin-bottom: var(--xs); }
.mg__sm--btm { margin-bottom: var(--sm); }
.mg__md--btm { margin-bottom: var(--md); }
.mg__lg--btm { margin-bottom: var(--lg); }
.mg__xl--btm { margin-bottom: var(--xl); }
.mg__xxl--btm { margin-bottom: var(--xxl); }
.mg__hg--btm { margin-bottom: var(--hg); }

.gp__zr { gap: var(--zr); }
.gp__xs { gap: var(--xs); }
.gp__sm { gap: var(--sm); }
.gp__md { gap: var(--md); }
.gp__lg { gap: var(--lg); }
.gp__xl { gap: var(--xl); }
.gp__xxl { gap: var(--xxl); }
.gp__hg { gap: var(--hg); }




mark {
  display: inline-block;
    background: #ffffff14;
    color: var(--white);
    padding: .15rem .25rem;
    border: 1px solid #ffffff30;
    border-radius: 6px;
    text-decoration: none;
    font-family: var(--sans-secondary);
    font-weight: var(--sb);
    transition: background .25s ease, border-color .25s ease;
}

/* mark внутри .center использует переменные контента */
.center mark {
    font-family: var(--content-secondary);
}
/* Скрываем стандартные плееры, которые должны быть заменены кастомными */
audio.card-audio {
    display: none;
}
