/* Текст "Нет времени проходить опрос" на мобиле */
@media (max-width: 768px) {
  .uc-quiz .t-quiz__text-extra,
  .uc-quiz .t-quiz__text-extra div {
    color: #4a2a24 !important;
  }

  /* Ссылки Telegram / MAX оставляем зелеными */
  .uc-quiz .t-quiz__text-extra a {
    color: #7ba84a !important;
  }
}

/* FR308 (t1115) — фикс сетки, чтобы на десктопе не "ужималось" */
.uc-fr308cards .t1115__features{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 колонки на десктопе */
  gap: 10px !important;
}

/* Карточка */
.uc-fr308cards .t1115__feature{
  background: #FDF7F5; 
  border-radius: 30px;
  padding: 22px 24px;
  box-sizing: border-box;

  /* важно: не даём тильдовским width/flex ломать сетку */
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

/* Планшет: тоже 2 колонки, но компактнее */
@media (max-width: 960px){
  .uc-fr308cards .t1115__features{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .uc-fr308cards .t1115__feature{
    padding: 18px 18px;
    border-radius: 24px;
  }
}

/* Мобилка: 1 колонка */
@media (max-width: 640px){
  .uc-fr308cards .t1115__features{
    grid-template-columns: 1fr;
  }

  .uc-fr308cards .t1115__feature{
    padding: 16px 16px;
    border-radius: 20px;
  }
}

/* FR308 (t1115) — БЕЛАЯ версия карточек */
.uc-fr308cards_white .t1115__features{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 колонки на десктопе */
  gap: 10px !important;
}

/* Карточка */
.uc-fr308cards_white .t1115__feature{
  background: #FFFFFF;
  border-radius: 30px;
  padding: 22px 24px;
  box-sizing: border-box;

  /* важно: не даём тильдовским width/flex ломать сетку */
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

/* Планшет: тоже 2 колонки, но компактнее */
@media (max-width: 960px){
  .uc-fr308cards_white .t1115__features{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .uc-fr308cards_white .t1115__feature{
    padding: 18px 18px;
    border-radius: 24px;
  }
}

/* Мобилка: 1 колонка */
@media (max-width: 640px){
  .uc-fr308cards_white .t1115__features{
    grid-template-columns: 1fr;
  }

  .uc-fr308cards_white .t1115__feature{
    padding: 16px 16px;
    border-radius: 20px;
  }
}

/* ПОДЛОЖКА БЕЛАЯ ДЛЯ "ЧТО ВЫ ПОЛУЧИТЕ" */
/* Карточки */
.uc-wwyg .t1066__item {
    background: #ffffff;
    border-radius: 30px;
    padding: 25px 30px;
}

/* Отступы между карточками */
.uc-wwyg .t1066__item:not(:last-child) {
    margin-bottom: 20px;
}

/* Чуть больше воздуха на мобиле */
@media (max-width: 768px) {
    .uc-wwyg .t1066__item {
        padding: 20px;
        margin-bottom: 15px;
    }
}

/* =========================
   FR402N / T1050
   Белые карточки + воздух + адаптив
   ========================= */

/* Карточка */
.t1050__container .t-item {
    background: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    box-sizing: border-box;
}

/* Воздух внутри карточки */
.t1050__container .t-item > div {
    padding-left: 25px;
    padding-right: 25px;
    box-sizing: border-box;
}

/* Верхний и нижний внутренние отступы */
.t1050__container .t-item > div:first-child {
    padding-top: 25px;
}

.t1050__container .t-item > div:last-child {
    padding-bottom: 25px;
}

/* Ритм внутри карточки */
.t1050__container .t-item .t-heading {
    margin-bottom: 12px;
}

.t1050__container .t-item .t1050__line {
    margin: 12px 0;
}

/* =========================
   Планшет
   ========================= */
@media (max-width: 960px) {
    .t1050__container .t-item {
        border-radius: 24px;
    }

    .t1050__container .t-item > div {
        padding-left: 20px;
        padding-right: 20px;
    }

    .t1050__container .t-item > div:first-child {
        padding-top: 20px;
    }

    .t1050__container .t-item > div:last-child {
        padding-bottom: 20px;
    }
}

/* =========================
   Мобилка
   ========================= */
@media (max-width: 640px) {
    .t1050__container .t-item {
        margin-left: 12px;
        margin-right: 12px;
        border-radius: 20px;
    }

    .t1050__container .t-item > div {
        padding-left: 18px;
        padding-right: 18px;
    }

    .t1050__container .t-item > div:first-child {
        padding-top: 18px;
    }

    .t1050__container .t-item > div:last-child {
        padding-bottom: 18px;
    }

    .t1050__container .t-item .t-heading {
        margin-bottom: 10px;
    }

    .t1050__container .t-item .t1050__line {
        margin: 10px 0;
    }
}

/* =========================
   FR402N (2-й блок) / T1050
   Цветные карточки
   ========================= */

/* Карточка */
#rec2120835171 .t1050__container .t-item {
    background: #FDF7F5;
    border-radius: 30px;
    overflow: hidden;
    box-sizing: border-box;
}

/* Воздух внутри карточки */
#rec2120835171 .t1050__container .t-item > div {
    padding-left: 25px;
    padding-right: 25px;
    box-sizing: border-box;
}

/* Верх / низ */
#rec2120835171 .t1050__container .t-item > div:first-child {
    padding-top: 25px;
}

#rec2120835171 .t1050__container .t-item > div:last-child {
    padding-bottom: 25px;
}

/* Ритм */
#rec2120835171 .t1050__container .t-item .t-heading {
    margin-bottom: 12px;
}

#rec2120835171 .t1050__container .t-item .t1050__line {
    margin: 12px 0;
}

/* =========================
   Планшет
   ========================= */
@media (max-width: 960px) {
    #rec2120835171 .t1050__container .t-item {
        border-radius: 24px;
    }

    #rec2120835171 .t1050__container .t-item > div {
        padding-left: 20px;
        padding-right: 20px;
    }

    #rec2120835171 .t1050__container .t-item > div:first-child {
        padding-top: 20px;
    }

    #rec2120835171 .t1050__container .t-item > div:last-child {
        padding-bottom: 20px;
    }
}

/* =========================
   Мобилка
   ========================= */
@media (max-width: 640px) {
    #rec2120835171 .t1050__container .t-item {
        margin-left: 12px;
        margin-right: 12px;
        border-radius: 20px;
    }

    #rec2120835171 .t1050__container .t-item > div {
        padding-left: 18px;
        padding-right: 18px;
    }

    #rec2120835171 .t1050__container .t-item > div:first-child {
        padding-top: 18px;
    }

    #rec2120835171 .t1050__container .t-item > div:last-child {
        padding-bottom: 18px;
    }

    #rec2120835171 .t1050__container .t-item .t-heading {
        margin-bottom: 10px;
    }

    #rec2120835171 .t1050__container .t-item .t1050__line {
        margin: 10px 0;
    }
}

/* ===== Облако тегов белые (слева, адаптив) ===== */

.uc-cloud_meta ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;   /* слева */
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.uc-cloud_meta ul > li{
  list-style: none;
  margin: 0 !important;
  padding: 10px 18px;
  border-radius: 999px;
  background: #ffffff;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  white-space: normal;
}

.uc-cloud_meta ul > li:before{
  content: none !important;
  display: none !important;
}

.uc-cloud_meta ul > li a{
  color: inherit;
  text-decoration: none;
}

/* ===== Показать больше / меньше ===== */

.uc-cloud_meta .cloud-wrapper{
  overflow: hidden;
  transition: max-height 0.4s ease;
}

/* Кнопка: делаем блочной и прижимаем влево */
.uc-cloud_meta .cloud-toggle{
  display: block;
  width: fit-content;     /* чтобы кнопка была по ширине текста */
  margin: 16px auto 0;  /* центр  */
  cursor: pointer;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 30px;
  background: #ffffff;
}

/* Мобильная адаптация */
@media (max-width: 640px){
  .uc-cloud_meta ul{ gap: 8px; }

  .uc-cloud_meta ul > li{
    padding: 8px 14px;
    font-size: 14px;
  }
}

/* ЦЕНА PL300 */
/* Карточка услуги */
.uc-pricemdf .t681__row {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 20px;
}

/* Убираем отступ у последней */
.uc-pricemdf .t681__row:last-child {
    margin-bottom: 0;
}

/* Левая колонка (заголовок) */
.uc-pricemdf .t681__title {
    padding: 38px 0 38px 42px;
    box-sizing: border-box;
    margin: 0;
}

/* Правая колонка (контент + цена) */
.uc-pricemdf .t681__tablewrapper {
    padding: 38px 42px 38px 0;
    box-sizing: border-box;
    background: transparent;
}

/* Адаптив */
@media screen and (max-width: 960px) {
    .uc-pricemdf .t681__row {
        border-radius: 24px;
        margin-bottom: 16px;
    }

    .uc-pricemdf .t681__title {
        padding: 24px 20px 0 20px;
    }

    .uc-pricemdf .t681__tablewrapper {
        padding: 12px 20px 24px 20px;
    }
}

/* РАСЧЁТ стоимости блок BF402N с видео */
/* Цельная белая карточка формы */
.uc-online_call .t-col_5 {
    background: #ffffff;
    border-radius: 30px;
    padding: 40px;
    box-sizing: border-box;
}

/* Убираем внутренние фоны и лишние отступы */
.uc-online_call .t-col_5 > div {
    background: transparent !important;
    padding: 0 !important;
}