/* ============================================================
   SmartyKids Томск — Custom CSS
   2026-07-01: вернул фон блока «Безопасность»; кнопки позиционирует Подвал.
   ============================================================ */
html { scroll-padding-top: 100px; }
[id^="rec"] { scroll-margin-top: 100px; }

[class*="sk-hero-"]::before { pointer-events: none !important; }

@media (max-width: 960px) {
  [class*="sk-hero-"][class*="__crumbs"] {
    position: static !important; top: auto !important; left: auto !important; right: auto !important;
    max-width: 100% !important; margin: 104px 0 12px !important; padding: 0 24px !important;
  }
  [class*="sk-hero-"][class*="__wrap"]:not(.sk-hero-main__wrap) { justify-content: flex-start !important; min-height: auto !important; padding-top: 0 !important; }
}
@media (max-width: 640px) {
  [class*="sk-hero-"][class*="__crumbs"] { margin-top: 96px !important; padding: 0 20px !important; }
  [class*="sk-hero-"][class*="__slogan"],
  [class*="sk-hero-"][class*="__dirs"] { display: none !important; }
}

.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; } }

#rec2222325541 .t415__timer,
#rec2222325541 [class*="timer"] { display: none !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;
}
#rec2235153331 .t-section__title { color: #ffffff !important; text-shadow: 0 2px 8px rgba(0,0,0,0.5) !important; }
#rec2235153331 .t-section__descr { color: #ffffff !important; font-size: 22px !important; text-shadow: 0 2px 6px rgba(0,0,0,0.5) !important; }
#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; }
#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;
}
#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; }
#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%; } }

#rec2248625961 .t-section__descr,
#rec2248625961 .t017__title { max-width: 760px !important; }

/* === ПОПАП-ФОРМЫ — фото растворяется в белый + кадрирование === */
#rec2279400981 .t702__img,
#rec2279400981 .t-img {
  width: 100% !important; max-height: 360px !important;
  object-fit: cover !important; object-position: center 20% !important;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 60%, rgba(0,0,0,0.5) 82%, transparent 100%) !important;
          mask-image: linear-gradient(to bottom, #000 0%, #000 60%, rgba(0,0,0,0.5) 82%, transparent 100%) !important;
}
#rec2279400981 .t-input-group_cb { display: flex !important; flex-wrap: wrap !important; align-items: flex-start !important; }
#rec2279400981 .t-input-group_cb .t-input-block { order: 0 !important; flex: 0 0 auto !important; width: auto !important; margin: 4px 10px 0 0 !important; }
#rec2279400981 .t-input-group_cb .t-input-title { order: 1 !important; flex: 1 1 auto !important; width: auto !important; margin: 0 !important; text-align: left !important; }
#rec2279400981 .t-input-group_cb .t-input-error { order: 2 !important; flex: 1 1 100% !important; }
#rec2239221351 .t702__img,
#rec2239221351 .t-img {
  width: 100% !important; max-height: 360px !important;
  object-fit: cover !important; object-position: center 25% !important;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 60%, rgba(0,0,0,0.5) 82%, transparent 100%) !important;
          mask-image: linear-gradient(to bottom, #000 0%, #000 60%, rgba(0,0,0,0.5) 82%, transparent 100%) !important;
}
#rec2302748561 .t702__img,
#rec2302748561 .t-img {
  width: 100% !important; max-height: 360px !important;
  object-fit: cover !important; object-position: center 25% !important;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 60%, rgba(0,0,0,0.5) 82%, transparent 100%) !important;
          mask-image: linear-gradient(to bottom, #000 0%, #000 60%, rgba(0,0,0,0.5) 82%, transparent 100%) !important;
}
@media (max-width: 640px) {
  #rec2279400981 .t702__img, #rec2279400981 .t-img,
  #rec2239221351 .t702__img, #rec2239221351 .t-img,
  #rec2302748561 .t702__img, #rec2302748561 .t-img { max-height: 280px !important; }
}