/* Мобильные правки SMG. Файл собран scripts/fix_mobile_css.py,
   руками не редактировать: следующий запуск перезапишет.
   Почему сделано именно так — в шапке скрипта. */

/* 1. Виджет chatbase: на узком экране прячем ТОЛЬКО всплывающие пузыри.
      Круглая кнопка и окно чата остаются — виджет полностью рабочий. */
@media screen and (max-width:768px){
  #chatbase-message-bubbles{display:none!important;}
}

/* 4. Заголовки обложек t910/t001: инлайновый кегль 52-70px рвёт слова
      посреди букв на экране 390 px. */
@media screen and (max-width:768px){
  .t910__title,.t910__title div,.t910__title span,
  .t001__title,.t001__title div,.t001__title span{
    font-size:30px!important;line-height:1.18!important;
  }
}

/* 2-3. Поэлементные поправки нуль-блоков и обложек.
        Расшифровка «что и почему» — data/hero_fix.json. */
@media screen and (max-width:479px){
  /* business-yandex */
  #rec589680647 .tn-elem[data-elem-id="1609976762936"]{margin-top:67px!important}
  #rec589680647 .tn-elem[data-elem-id="1609976992636"]{margin-top:67px!important}
  /* chatbot */
  #rec629703353 .tn-elem[data-elem-id="1609976992636"]{margin-top:52px!important}
  /* domain-selection */
  #rec590171971 .tn-elem[data-elem-id="1609976762936"]{margin-top:2px!important}
  #rec590171971 .tn-elem[data-elem-id="1609976992636"]{margin-top:37px!important}
  /* footer2 */
  #rec737166495 .tn-elem[data-elem-id="1610458940542"]{margin-top:83px!important}
  #rec737166495 .tn-elem[data-elem-id="1610459103264"]{margin-top:83px!important}
  #rec737166495 .tn-elem[data-elem-id="1610459103276"]{margin-top:204px!important}
  #rec737166495 .t396__artboard,#rec737166495 .t396__filter{height:1044px!important;min-height:1044px!important}
  /* gsa-ser */
  #rec613989324 .tn-elem[data-elem-id="1609976762936"]{margin-top:17px!important}
  #rec613989324 .tn-elem[data-elem-id="1609976992636"]{margin-top:17px!important}
  /* razrabotka-korporativnyj-site */
  #rec517037738 .tn-elem[data-elem-id="1469460965423"]{margin-top:35px!important}
  /* razrabotka-lichnyh-kabinetov-klientov1 */
  #rec519855023 .tn-elem[data-elem-id="1469460965423"]{margin-top:41px!important}
  /* start_gpt_lesson */
  #rec859588206 .tn-elem[data-elem-id="1738397783883"]{margin-top:56px!important}
  #rec859588206 .tn-elem[data-elem-id="1738397746603"]{margin-top:150px!important}
  /* zakupki-tender1 */
  #rec515351094 .tn-elem[data-elem-id="1469460965423"]{margin-top:22px!important}
}
