/* Жесткое переопределение для мобильных */
@media only screen and (max-width: 767px) {
  /* Для всех элементов с uc-text_h1 */
  [class*="uc-text_h1"],
  [class*="uc-text_h1"] *,
  [class*="uc-text_h1"] p,
  [class*="uc-text_h1"] h1,
  [class*="uc-text_h1"] h2,
  [class*="uc-text_h1"] h3,
  [class*="uc-text_h1"] div,
  [class*="uc-text_h1"] span {
    text-align: left !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
  }
  
  .t-title[class*="uc-text_h1"],
  .t-title[class*="uc-text_h1"] * {
    text-align: left !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
  }
  
  body #all .t-container [class*="uc-text_h1"],
  body #all .t-container [class*="uc-text_h1"] * {
    text-align: left !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
  }
  
  
    /* Для всех элементов с uc-text_h2 */
  [class*="uc-text_h2"],
  [class*="uc-text_h2"] *,
  [class*="uc-text_h2"] p,
  [class*="uc-text_h2"] h1,
  [class*="uc-text_h2"] h2,
  [class*="uc-text_h2"] h3,
  [class*="uc-text_h2"] div,
  [class*="uc-text_h2"] span {
    text-align: left !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
  }
  
  .t-title[class*="uc-text_h2"],
  .t-title[class*="uc-text_h2"] * {
    text-align: left !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
  }
  
  body #all .t-container [class*="uc-text_h2"],
  body #all .t-container [class*="uc-text_h2"] * {
    text-align: left !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
  }


  /* Для всех элементов с uc-no-hyphens */
  [class*="uc-no-hyphens"],
  [class*="uc-no-hyphens"] *,
  [class*="uc-no-hyphens"] p,
  [class*="uc-no-hyphens"] h1,
  [class*="uc-no-hyphens"] h2,
  [class*="uc-no-hyphens"] h3,
  [class*="uc-no-hyphens"] div,
  [class*="uc-no-hyphens"] span {
    text-align: left !important;
    font-size: 25px !important;
    line-height: 1.2 !important;
    hyphens: none !important; /* Отключаем переносы слов */
  }
  
  /* Для заголовков с этим классом */
  .t-title[class*="uc-no-hyphens"],
  .t-title[class*="uc-no-hyphens"] * {
    text-align: left !important;
    font-size: 25px !important;
    line-height: 1.2 !important;
    hyphens: none !important;
  }
  
  /* Максимально специфичные селекторы */
  body #all .t-container [class*="uc-no-hyphens"],
  body #all .t-container [class*="uc-no-hyphens"] * {
    text-align: left !important;
    font-size: 25px !important;
    line-height: 1.2 !important;
    hyphens: none !important;
  }
  
  
  /* Мобильные стили для uc-text-body */
  [class*="uc-text-body"],
  [class*="uc-text-body"] *,
  [class*="uc-text-body"] p,
  [class*="uc-text-body"] div,
  [class*="uc-text-body"] span {
    text-align: left !important;
    font-size: 20px !important;  /* Оптимальный размер для мобильного текста */
    line-height: 1.2 !important; /* Улучшенная читаемость */
    hyphens: none !important;
  }

  /* Специальные стили для заголовков внутри блока */
  [class*="uc-text-body"] h1,
  [class*="uc-text-body"] h2,
  [class*="uc-text-body"] h3 {
    text-align: left !important;
    font-size: 20px !important;  /* Оптимальный размер для мобильного текста */
    line-height: 1.2 !important; /* Улучшенная читаемость */
    hyphens: none !important;
  }

  /* Переопределение стилей Tilda */
  body #all .t-container [class*="uc-text-body"],
  body #all .t-container [class*="uc-text-body"] * {
    text-align: left !important;
    font-size: 20px !important;  /* Оптимальный размер для мобильного текста */
    line-height: 1.2 !important; /* Улучшенная читаемость */
    hyphens: none !important;
  }
}