/* ============================================
   HERO СЕКЦИЯ — порядок элементов
   Главная: #rec1978443483
   /russian-for-beginners: #rec2252904623
============================================ */
#rec1978443483 .t480__content,
#rec2252904623 .t480__content {
  display: flex !important;
  flex-direction: column !important;
}
#rec1978443483 .t480__uptitle,
#rec2252904623 .t480__uptitle {
  order: 1 !important;
  margin-bottom: 12px !important;
}
#rec1978443483 .t480__title,
#rec2252904623 .t480__title {
  order: 2 !important;
}
#rec1978443483 .t480__descr,
#rec2252904623 .t480__descr {
  order: 3 !important;
}
#rec1978443483 .t-btnflex,
#rec2252904623 .t-btnflex {
  order: 4 !important;
}

/* ============================================
   КНОПКИ — hover эффект (все кнопки сайта)
============================================ */
.t-btn {
  transition: all 0.2s ease !important;
}
.t-btn:hover {
  background: #2D5016 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(28, 43, 58, 0.25) !important;
}

/* ============================================
   ФОРМА — мелкий текст под кнопкой
   Главная: #rec1973130213
   /russian-for-beginners: #rec2252904833
============================================ */
#rec1973130213 .t678__form-bottom-text,
#rec2252904833 .t678__form-bottom-text {
  color: #5C6B7A !important;
  font-size: 13px !important;
  font-family: 'Inter', sans-serif !important;
}
#rec1973130213 .t678__form-bottom-text a,
#rec2252904833 .t678__form-bottom-text a {
  color: #5C6B7A !important;
  border-bottom-color: #5C6B7A !important;
  text-decoration: none !important;
}

/* ============================================
   Круглое фото на мобильном
============================================ */
@media (max-width: 960px) {
  #rec1978443483 .t480__top,
  #rec2252904623 .t480__top {
    float: none !important;
    display: block !important;
    width: 220px !important;
    height: 220px !important;
    margin: 0 auto 24px auto !important;
    padding: 0 !important;
  }
  #rec1978443483 .t480__blockimg,
  #rec2252904623 .t480__blockimg {
    width: 220px !important;
    height: 220px !important;
    border-radius: 50% !important;
    clip-path: circle(50%) !important;
    background-position: center 15% !important;
    background-size: cover !important;
  }
}

/* ============================================
   Убрать дублирующую кнопку в блоке
============================================ */
@media (max-width: 960px) {
  #rec1978443483 .t-btn,
  #rec2252904623 .t-btn {
    display: none !important;
  }
}

/* ============================================
   Адаптивная высота фото на десктопе
   ============================================ */
@media (min-width: 961px) {
  /* Фото и сайзер — фиксированная высота с лимитом */
  #rec1978443483 .t480__blockimg,
  #rec1978443483 .t480__sizer,
  #rec2252904623 .t480__blockimg,
  #rec2252904623 .t480__sizer {
    height: clamp(520px, 73vh, 800px) !important;
  }

  /* Текстовая колонка — auto, чтобы кнопка не вылезала */
  #rec1978443483 .t480__textwrapper,
  #rec2252904623 .t480__textwrapper {
    height: auto !important;
    min-height: clamp(520px, 73vh, 800px) !important;
  }
}