/* === Корректировка скролла к якорям с учётом высоты sticky-шапки === */
html {
  scroll-padding-top: 100px;
}
[id^="rec"] {
  scroll-margin-top: 100px;
}

/* === Hero CR12 — текст слева === */
.uc-hero-left .t476__wrapper,
.uc-hero-left .t-cover__wrapper { justify-content: flex-start !important; }
.uc-hero-left .t-container { margin-left: 40px !important; }
.uc-hero-left .t-col { max-width: 620px !important; margin-left: 0 !important; }

/* === FR208 «Направления» — убрать стрелки-шевроны === */
#rec2195410131 .t905__content::after {
  display: none !important;
}

/* === FR208 «Направления» — фоновое фото фасада === */
#rec2195410131 {
  background-image:
    linear-gradient(rgba(26, 26, 26, 0.7), rgba(26, 26, 26, 0.7)),
    url(https://optim.tildacdn.com/tild6639-3539-4263-b336-623864373538/-/format/webp/_.jpg.webp) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* === CR35 «Летние программы» — скрыть таймер === */
#rec2222325541 .t415__timer,
#rec2222325541 [class*="timer"] {
  display: none !important;
}

/* === ГЛОБАЛЬНО — все заголовки секций H2 одинакового размера === */
.t-section__title {
  font-size: 56px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
}
@media (max-width: 960px) {
  .t-section__title { font-size: 40px !important; }
}
@media (max-width: 640px) {
  .t-section__title { font-size: 32px !important; }
}

/* === FR201 «Безопасность» — фон с фото класса === */
#rec2235153331 {
  background-image:
    linear-gradient(rgba(32, 32, 128, 0.6), rgba(32, 32, 128, 0.6)),
    url(https://static.tildacdn.com/tild6237-3965-4535-a664-646337306261/class_english.png) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* === FR201 — заголовок белый с тенью === */
#rec2235153331 .t-section__title {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

/* === FR201 — подзаголовок === */
#rec2235153331 .t-section__descr {
  color: #ffffff !important;
  font-size: 22px !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5) !important;
}

/* === FR201 — белый текст карточек === */
#rec2235153331 .t-card__title,
#rec2235153331 .t-card__title a,
#rec2235153331 .t-card__descr {
  color: #ffffff !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5) !important;
}

/* === FR201 — подложки карточек === */
#rec2235153331 .t490__col {
  background: rgba(26, 26, 26, 0.32) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding: 22px 16px !important;
  box-sizing: border-box !important;
}

/* === FR201 — кнопка как везде на сайте === */
#rec2235153331 .t-btn {
  padding: 14.6px 70px !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  height: 60px !important;
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
}
#rec2235153331 .t-btn .t-btnflex__text {
  position: relative !important;
  z-index: 2 !important;
}

/* === FR201 — блик на кнопке (через ::after) === */
#rec2235153331 .t-btn::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 60% !important;
  height: 100% !important;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.55) 50%, transparent 80%) !important;
  animation: sk-btn-glide 3s ease-in-out infinite !important;
  pointer-events: none !important;
  z-index: 1 !important;
}
@keyframes sk-btn-glide {
  0% { left: -100%; }
  60%, 100% { left: 200%; }
}

/* === Hero страницы МА — отступы у контента === */
#rec2243536451 .t-cover__wrapper,
#rec2243536451 .t-container {
  padding-top: 130px !important;
  padding-bottom: 60px !important;
}

/* === Hero страницы МА — текст слева, ограничен по ширине === */
#rec2243536451 .t-cover__wrapper {
  justify-content: flex-start !important;
}
#rec2243536451 .t-container {
  margin-left: 60px !important;
}
#rec2243536451 .t-cover__wrapper .t-col {
  max-width: 600px !important;
}

/* === Hero страницы МА — фото фокус на верх === */
#rec2243536451 .t-cover__carrier,
#rec2243536451 .t-cover__bg {
  background-position: center 25% !important;
}

/* === Hero страницы МА — горизонтальный градиент === */
#rec2243536451 .t-cover__filter,
#rec2243536451 .t-bgimg__filter {
  background: linear-gradient(
    90deg,
    rgba(26,26,26,0.85) 0%,
    rgba(26,26,26,0.6) 35%,
    rgba(26,26,26,0.2) 65%,
    rgba(26,26,26,0.05) 100%
  ) !important;
  opacity: 1 !important;
}

/* === Hero страницы МА — все кнопки: тёмный фон + внутренняя белая обводка === */
#rec2243536451 .t-btn {
  border-radius: 8px !important;
  height: 60px !important;
  background-color: rgba(0, 0, 0, 0.4) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: inset 0 0 0 2px #ffffff !important;
}

/* === Hero страницы МА — внутренний слой кнопки прозрачный === */
#rec2243536451 .t-btn .t-btnflex__text,
#rec2243536451 .t-btn .t-btnwrapper {
  background-color: transparent !important;
}

/* === Hero страницы МА — кнопка "Записаться" (popup:zapis) — малиновая, без обводки === */
#rec2243536451 .t-btn[href*="popup:zapis"] {
  background-color: #d00050 !important;
  box-shadow: none !important;
  color: #ffffff !important;
}
/* === FR201 «Что развивает курс» (МА) — расширить описание шапки === */
#rec2247944251 .t-section__descr {
  max-width: 760px !important;
}
/* === Шапка FAQ — расширить описание === */
#rec2248625961 .t-section__descr,
#rec2248625961 .t017__title {
  max-width: 760px !important;
}/* === Олимпиада 2026 — фотофон с параллаксом === */
#rec2249757321,
#rec2249543181,
#rec2251899601 {
  background-color: transparent !important;
  background-image: linear-gradient(rgba(20,20,20,0.85), rgba(20,20,20,0.85)),
                    url('https://static.tildacdn.com/tild6237-6264-4330-a637-313961393563/Photo-713.jpg') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
}

/* На мобильных fixed не работает корректно — отключаем параллакс */
@media (max-width: 960px) {
  #rec2249757321,
  #rec2249543181,
  #rec2251899601 {
    background-attachment: scroll !important;
  }
}