/* === Корректировка скролла к якорям с учётом высоты 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%; }
}

/* === 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,
#rec2252135391,
#rec2252135401,
#rec2252135411 {
  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,
  #rec2252135391,
  #rec2252135401,
  #rec2252135411 {
    background-attachment: scroll !important;
  }
}

/* === «Что получает ребёнок» на главной — расширить описание === */
#rec2211074181 .t-section__descr {
  max-width: 900px !important;
}
/* === BF502N popup отклика (Карьера) — фото плавно растворяется снизу === */

/* Уменьшаем высоту фото */
#rec2279400981 .t702 img,
#rec2279400981 .t-img,
#rec2279400981 img {
  max-height: 320px !important;
  object-fit: cover !important;
  object-position: center 20% !important;
  width: 100% !important;
}

/* Само фото плавно становится прозрачным снизу (mask-image) — переход в белый popup */
#rec2279400981 .t702 img,
#rec2279400981 .t-img,
#rec2279400981 img {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, rgba(0,0,0,0.6) 80%, transparent 100%) !important;
          mask-image: linear-gradient(to bottom, #000 0%, #000 55%, rgba(0,0,0,0.6) 80%, transparent 100%) !important;
  -webkit-mask-mode: alpha;
          mask-mode: alpha;
}

/* На мобилке фото немного компактнее */
@media (max-width: 640px) {
  #rec2279400981 .t702 img,
  #rec2279400981 .t-img,
  #rec2279400981 img {
    max-height: 260px !important;
  }
}