/* Правки поверх вёрстки конструктора. */

/* Шапка: небольшой воздух сверху и снизу */
.blk_section[data-id=s-3d8e3c1d79784a1db057da1a13c852d6] {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

/* Программа: текст в карточках был порезан ручными переносами строк — пусть течёт сам */
#\38 27e3406ce5642cbaec3361cc695a9be .benefit__item-description br { display: none; }
/* заголовки карточек: не рвать слова где попало, переносить только по мягким переносам в тексте */
#\38 27e3406ce5642cbaec3361cc695a9be .benefit__item-title { word-break: normal; overflow-wrap: normal; }

/* Эксперты: одинаковые круглые фото, карточки по центру */
.lx-experts {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 48px;
  margin: 32px auto 0;
  max-width: 1100px;
}
.lx-expert {
  flex: 0 1 280px;
  text-align: center;
  color: #fff;
  font-family: Inter, Arial, sans-serif;
}
.lx-expert__photo {
  display: block;
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  border-radius: 50%;
  object-fit: cover;
}
.lx-expert__name {
  font-family: Manrope, Inter, Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
}
.lx-expert__name::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin: 14px auto;
  background: rgba(255, 255, 255, .6);
}
.lx-expert__text {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
}
.lx-expert__city {
  margin-top: 10px;
  font-weight: 300;
  font-size: 13px;
  opacity: .8;
}

/* Логотипы партнёров: одинаковые ячейки, логотип вписан по центру */
.lx-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 40px;
  max-width: 1040px;
  margin: 32px auto 56px;
}
.lx-logo {
  flex: 0 0 220px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lx-logo img {
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
}
.lx-logo--tall img { max-height: 100px; }

@media (max-width: 1000px) {
  .lx-logos { max-width: 520px; }
}

/* Программа: воздух между заголовком и карточками (у конструктора было 0) */
.blk_section[data-id=s-827e3406ce5642cbaec3361cc695a9be] .section__benefit { margin-top: 40px !important; }
@media (max-width: 500px) {
  .blk_section[data-id=s-827e3406ce5642cbaec3361cc695a9be] .section__benefit { margin-top: 24px !important; }
}

/* Компьютер: логотипы крупнее и больше воздуха между ними и до следующего заголовка */
@media (min-width: 1001px) {
  .lx-logos { max-width: 1170px; gap: 32px; margin: 40px auto 96px; }
  .lx-logo { flex: 0 0 calc((100% - 96px) / 4); max-width: 270px; height: 120px; } /* всегда 4 в ряд */
  .lx-logo img { max-height: 90px; }
  .lx-logo--tall img { max-height: 120px; }
}

/* «Стать партнером»: приём заявок закрыт — кнопка неактивна, под ней подпись */
.lx-btn-off .m-button {
  background: #b7c2bd !important;
  cursor: default !important;
  pointer-events: none;
  box-shadow: none !important;
}
.lx-closed {
  margin-top: 10px;
  text-align: center;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  color: #6b7a73;
}

/* Мобильная версия (как у конструктора — до 500px) */
@media (max-width: 500px) {

  /* Шапка: строка с часами работы залезала под фото первого экрана */
  .blk_section[data-id=s-3d8e3c1d79784a1db057da1a13c852d6] {
    padding-bottom: 16px !important;
  }

  /* Программа: в колонку карточки тянулись до высоты самой длинной */
  #\38 27e3406ce5642cbaec3361cc695a9be .benefit__items { grid-template-rows: none !important; grid-auto-rows: auto !important; }
  #\38 27e3406ce5642cbaec3361cc695a9be .benefit__item { height: auto !important; min-height: 0 !important; }
  /* узкая колонка заголовка давала перенос через слово: иконку и шрифт чуть меньше */
  #\38 27e3406ce5642cbaec3361cc695a9be .benefit__item-image { width: 44px !important; height: 44px !important; background-size: contain !important; }
  #\38 27e3406ce5642cbaec3361cc695a9be .benefit__item-title,
  #\38 27e3406ce5642cbaec3361cc695a9be .benefit__item-title * { font-size: 16px !important; }
  /* без этого длинные слова рвались посреди слога («Лесовосстановител-ьное») */
  #\38 27e3406ce5642cbaec3361cc695a9be .benefit__item-title {
    word-break: normal; overflow-wrap: normal; hyphens: auto; -webkit-hyphens: auto;
  }

  .lx-experts { flex-direction: column; align-items: center; gap: 40px; padding: 0 20px; }
  .lx-expert { flex-basis: auto; max-width: 320px; }
  .lx-expert__photo { width: 160px; height: 160px; }

  .lx-logos { gap: 16px 24px; margin: 24px auto 40px; padding: 0 16px; }
  .lx-logo { flex-basis: 140px; height: 96px; }
  .lx-logo img { max-height: 56px; }
  .lx-logo--tall img { max-height: 96px; }

  /* Основные партнёры: логотипы широкие — по одному в ряд, крупнее */
  .blk_section[data-id=s-7b9cc00c984b43f0ab6a7b7161a41414] .lx-logos { gap: 20px; }
  .blk_section[data-id=s-7b9cc00c984b43f0ab6a7b7161a41414] .lx-logo { flex-basis: 100%; height: 76px; }
  .blk_section[data-id=s-7b9cc00c984b43f0ab6a7b7161a41414] .lx-logo img { max-width: 260px; max-height: 64px; }
  .blk_section[data-id=s-7b9cc00c984b43f0ab6a7b7161a41414] .lx-logo--tall { height: 110px; }
  .blk_section[data-id=s-7b9cc00c984b43f0ab6a7b7161a41414] .lx-logo--tall img { max-height: 110px; }

  /* Первый экран: всё по центру, QR под датой, три кнопки одинаковые, одна под другой.
     Блоки позиционированы абсолютно от ячейки секции, поэтому центрируем через left:50% + отрицательный margin. */
  .blk[data-id=b-d5eb23b55c7144cdb9977fbd9efb2713] { top: 60px !important; }                 /* заголовок */
  .blk[data-id=b-a96dffff937745128b6cbfa619b9ba19] { top: 186px !important; }                /* дата и город */
  .blk[data-id=b-f3f6de1c4cf14fc594dd6e751bf56e40] {                                          /* QR СБП */
    top: 242px !important; left: 50% !important; margin-left: -60px !important;
  }

  /* Кнопка 1 «Участвовать» */
  .blk[data-id=b-562fd26e7d2540bc90b9622c3943a39e] {
    top: 402px !important; left: 50% !important; margin-left: -115px !important; width: 230px !important;
  }
  #\35 62fd26e7d2540bc90b9622c3943a39e .block-content,
  #\35 62fd26e7d2540bc90b9622c3943a39e .m-block-wrapper,
  #\35 62fd26e7d2540bc90b9622c3943a39e .m-button-wrapper {
    width: 230px !important; height: 52px !important;
  }
  #\35 62fd26e7d2540bc90b9622c3943a39e .m-button {
    width: 230px !important; height: 52px !important; min-height: 0 !important;
    justify-content: space-between !important; padding: 0 6px 0 26px !important;
  }
  #\35 62fd26e7d2540bc90b9622c3943a39e .m-button__img,
  #\35 62fd26e7d2540bc90b9622c3943a39e .m-button__img img {
    width: 40px !important; height: 40px !important; min-height: 40px !important;
    position: static !important; margin: 0 !important; transform: none !important; align-self: center !important;
  }

  /* Кнопка 2 «2025 — Как это было»: подложка + иконка + текст */
  .blk[data-id=b-dc770fadb3d9463690e6da17b0dc483f] {
    top: 466px !important; left: 50% !important; margin-left: -115px !important;
  }
  #dc770fadb3d9463690e6da17b0dc483f .ms-shape-wrapper,
  #dc770fadb3d9463690e6da17b0dc483f .ms-shape {
    width: 230px !important; height: 52px !important;
  }
  /* ёлка: 38px по высоте, ровно по центру подложки (466 + (52-38)/2) */
  .blk[data-id=b-6379f9e7d2df4bf394c3ef651fc1302c] {
    top: 473px !important; left: 50% !important; margin-left: -96px !important;
    width: 25px !important; height: 38px !important;
  }
  .blk[data-id=b-6379f9e7d2df4bf394c3ef651fc1302c] .block-content,
  .blk[data-id=b-6379f9e7d2df4bf394c3ef651fc1302c] .m-image__wrapper,
  .blk[data-id=b-6379f9e7d2df4bf394c3ef651fc1302c] .m-image__sub-wrapper,
  .blk[data-id=b-6379f9e7d2df4bf394c3ef651fc1302c] .m-image,
  .blk[data-id=b-6379f9e7d2df4bf394c3ef651fc1302c] img {
    width: 25px !important; height: 38px !important; min-height: 0 !important;
  }
  .blk[data-id=b-6379f9e7d2df4bf394c3ef651fc1302c] img { object-fit: contain !important; }
  /* текст: по вертикали по центру подложки */
  .blk[data-id=b-97dd88a32cdd4029a3a073d1e91fbc0e] {
    top: 466px !important; left: 50% !important; margin-left: -55px !important; width: 150px !important;
    height: 52px !important;
  }
  .blk[data-id=b-97dd88a32cdd4029a3a073d1e91fbc0e] .blk-data {
    display: flex !important; align-items: center !important; height: 52px !important;
  }
  .blk[data-id=b-97dd88a32cdd4029a3a073d1e91fbc0e] .blk-data,
  .blk[data-id=b-97dd88a32cdd4029a3a073d1e91fbc0e] .blk-data * { line-height: 1.15 !important; font-size: 12px !important; }

  /* Кнопка 3 «Скачать программу»: подложка + иконка + текст */
  .blk[data-id=b-466bc9585b4842cb9dc742d3117a034b] {
    top: 530px !important; left: 50% !important; margin-left: -115px !important;
  }
  #\34 66bc9585b4842cb9dc742d3117a034b .ms-shape-wrapper,
  #\34 66bc9585b4842cb9dc742d3117a034b .ms-shape {
    width: 230px !important; height: 52px !important;
  }
  .blk[data-id=b-8a25075855384240920a47c22015fced] {
    top: 536px !important; left: 50% !important; margin-left: -107px !important; width: 40px !important; height: 40px !important;
  }
  #\38 a25075855384240920a47c22015fced img { width: 40px !important; height: 40px !important; }
  .blk[data-id=b-4ea88baab7aa4e549d80c8e00b0605db] {
    top: 549px !important; left: 50% !important; margin-left: -55px !important; width: 160px !important;
  }
}
