/* =========================
   ОБЩИЙ ФОН САЙТА
   ========================= */
html,
body,
.t-body,
#allrecords {
  background:
    radial-gradient(circle at 84% 7%, rgba(239, 51, 64, 0.14), transparent 18%),
    radial-gradient(circle at 14% 24%, rgba(239, 51, 64, 0.08), transparent 20%),
    radial-gradient(circle at 48% 54%, rgba(239, 51, 64, 0.09), transparent 16%),
    radial-gradient(circle at 92% 78%, rgba(239, 51, 64, 0.06), transparent 16%),
    linear-gradient(180deg, #f7f7f8 0%, #f1eef2 48%, #f6f5f7 100%) !important;
}

#allrecords {
  position: relative;
  overflow: visible !important;
}

/* убираем фон у блоков */
#allrecords .t-rec,
#allrecords .t-cover,
#allrecords .t396,
#allrecords .t396__artboard,
#allrecords .t396__carrier,
#allrecords .t396__filter,
#allrecords [data-record-type] {
  background: transparent !important;
  background-color: transparent !important;
}

/* мягкие акценты */
#allrecords::before,
#allrecords::after,
.t-body::before,
.t-body::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1 !important;
}

#allrecords::before {
  width: 520px;
  height: 520px;
  top: -120px;
  right: -90px;
  background: rgba(239, 51, 64, 0.12);
  filter: blur(62px);
}

#allrecords::after {
  width: 420px;
  height: 420px;
  left: -120px;
  top: 340px;
  background: rgba(239, 51, 64, 0.08);
  filter: blur(64px);
}

.t-body::before {
  width: 360px;
  height: 360px;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  background: rgba(239, 51, 64, 0.08);
  filter: blur(78px);
}

.t-body::after {
  width: 320px;
  height: 320px;
  right: -40px;
  top: 74%;
  background: rgba(239, 51, 64, 0.05);
  filter: blur(78px);
}

/* базовый слой контента */
#allrecords .t-rec {
  position: relative;
  z-index: 1;
}

/* =========================
   МЕНЮ / ПОДМЕНЮ
   ========================= */
#rec2073445231 {
  position: relative;
  z-index: 9999 !important;
}

#rec2073438481 {
  position: relative;
  z-index: 10000 !important;
}

#rec2073438481 .t396,
#rec2073438481 .t396__artboard,
#rec2073438481 .t396__carrier,
#rec2073438481 .t396__filter {
  z-index: 10000 !important;
}

/* =========================
   СТРЕЛКИ В ПОТОКЕ
   ========================= */
#rec2078933651 {
  position: relative;
  z-index: 20 !important;
  overflow: visible !important;
}

#rec2078933651 .t-slds__arrow {
  z-index: 50 !important;
}

@media (min-width: 1600px) {
  #rec2078933651 .t-slds__arrow-left {
    left: calc((100vw - 1240px) / 2 + 20px) !important;
  }

  #rec2078933651 .t-slds__arrow-right {
    right: calc((100vw - 1240px) / 2 + 20px) !important;
  }
}

/* =========================
   POPUP НОВОСТЕЙ / ПОТОКОВ
   ========================= */

/* затемняющий фон popup — ниже контента */
.t-popup__bg,
.t-feed__post-popup-bg {
  z-index: 19990 !important;
}

/* общий слой popup */
.t-popup,
.t-popup_show,
.t-feed__post-popup,
.t-feed__popup,
.js-feed-post-popup,
.t-feed__content_popup {
  z-index: 20000 !important;
}

/* контейнер popup контента */
.t-popup__container,
.t-popup__container-animated {
  z-index: 20010 !important;
  opacity: 1 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  left: 0 !important;
  right: 0 !important;
}

/* popup внутри потока */
#rec2078933651 .t-popup,
#rec2078933651 .t-popup_show,
#rec2078933651 .t-feed__post-popup,
#rec2078933651 .t-feed__popup,
#rec2078933651 .js-feed-post-popup,
#rec2078933651 .t-feed__content_popup {
  z-index: 20000 !important;
}

#rec2078933651 .t-popup__container,
#rec2078933651 .t-popup__container-animated {
  z-index: 20010 !important;
}

/* =========================
   POPUP ФОРМА #rec2075749381
   ========================= */
#rec2075749381,
#rec2075749381 .t396,
#rec2075749381 .t396__artboard,
#rec2075749381 .t396__carrier,
#rec2075749381 .t396__filter {
  z-index: 20010 !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  opacity: 1 !important;
}

/* элементы формы */
#rec2075749381 .tn-atom,
#rec2075749381 input,
#rec2075749381 textarea,
#rec2075749381 button,
#rec2075749381 .tn-form__submit,
#rec2075749381 .t-input,
#rec2075749381 .t-form__inputsbox,
#rec2075749381 .t-form__submit {
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  opacity: 1 !important;
}

/* если popup формы рендерится отдельно */
.t-popup #rec2075749381,
.t-popup_show #rec2075749381 {
  z-index: 20010 !important;
}

/* =========================
   КОГДА ОТКРЫТА НОВОСТЬ/ПОПАП — ПРЯЧЕМ МЕНЮ
   ========================= */
#rec2073445231,
#rec2073438481 {
  transition: opacity 0.2s ease;
}

body:has(.t-popup_show) #rec2073445231,
body:has(.t-popup_show) #rec2073438481,
body:has(.t-feed__post-popup) #rec2073445231,
body:has(.t-feed__post-popup) #rec2073438481,
body:has(.t-feed__popup) #rec2073445231,
body:has(.t-feed__popup) #rec2073438481 {
  opacity: 0 !important;
  pointer-events: none !important;
}