/* HOME-EN-02: retain the original silhouettes, illustrations and composition. */
html:not([lang="ru"]) .t24-home-balanced .header__text { min-width: 0; }
html[lang="en"] .t24-home-balanced .header__text h1 { hyphens: none; overflow-wrap: normal; }
html:not([lang="ru"]) .t24-home-balanced .header__text-desc { margin-bottom: 24px; }
html:not([lang="ru"]) .t24-home-balanced .header__text-desc p {
  color: #fff; font-size: 16px; line-height: 1.55;
  margin: 0 0 18px; padding: 0;
}
html:not([lang="ru"]) .t24-home-balanced .header__text-desc p:last-child { margin-bottom: 0; }
.t24-home-balanced #block1 { position: relative; scroll-margin-top: 290px; }
.t24-home-balanced #block1 .About__item {
  justify-content: center; align-items: center;
  padding: 28px 36px; box-sizing: border-box;
}
.t24-home-balanced #block1 .About__img {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 112px; margin: 0 0 20px;
}
.t24-home-balanced #block1 .About__img img { max-width: 160px; max-height: 112px; width: auto; height: auto; }
.t24-home-balanced #block1 .About__title {
  max-width: min(290px, 100%); margin: 0 0 14px; font-size: 22px; line-height: 1.28;
  overflow-wrap: anywhere; hyphens: auto;
  text-wrap: balance;
}
.t24-home-balanced #block1 .About__text {
  width: 270px; max-width: 100%; margin: 0; padding: 0;
  font-size: 15px; line-height: 1.5;
}
.t24-home-balanced #block1 .About__item.plashka2 .About__text { width: 270px; margin: 0; }
.t24-home-balanced #block1 .About__text p { margin: 0; font: inherit; }
.t24-home-balanced #block1 .About__item::before { background-size: 100% 100%; }
@media (min-width: 769px) and (max-width: 1024px) {
  .t24-home-balanced #block1 .About { gap: 20px; }
  .t24-home-balanced #block1 .About__item.plashka1,
  .t24-home-balanced #block1 .About__item.plashka3 { margin: 0; }
  .t24-home-balanced #block1 .About__item.plashka2 { order: 1; margin: 0; }
}
@media (max-width: 992px) {
  .t24-home-balanced #block1 { scroll-margin-top: 200px; }
  html:not([lang="ru"]) .t24-home-balanced .header__wrap { position: relative; padding-top: 112px; }
  html:not([lang="ru"]) .t24-home-balanced .header__text { margin-top: 0; padding-bottom: 130px; }
  html:not([lang="ru"]) .t24-home-balanced .header__img img { height: auto; }
}
@media (max-width: 768px) {
  html:not([lang="ru"]) .t24-home-balanced .header__text { margin-left: 0; width: 100%; }
  html:not([lang="ru"]) .t24-home-balanced .header__text-desc p { font-size: 16px; line-height: 1.55; }
  .t24-home-balanced #block1 .About { flex-direction: column; align-items: center; gap: 24px; margin-bottom: 56px; }
  .t24-home-balanced #block1 .About__item.plashka1,
  .t24-home-balanced #block1 .About__item.plashka2,
  .t24-home-balanced #block1 .About__item.plashka3 {
    width: min(100%, 387px); height: auto; min-height: 360px; margin: 0;
    order: initial; padding: 32px 36px;
  }
  .t24-home-balanced #block1 .About__item.plashka2 { min-height: 395px; }
  .t24-home-balanced #block1 .About__img { height: 96px; margin-bottom: 18px; }
  .t24-home-balanced #block1 .About__img img { max-height: 96px; max-width: 140px; }
  .t24-home-balanced #block1 .About__title { font-size: 22px; }
  /* Keep the original image masks on narrow screens, too. */
  .t24-home-balanced #block1 .About__item::before { border-radius: 0; background-color: transparent; }
  .t24-home-balanced #block1 .About__item.plashka1::before { background-image: var(--t24-original-shape1); }
  .t24-home-balanced #block1 .About__item.plashka2::before { background-image: var(--t24-original-shape2); }
  .t24-home-balanced #block1 .About__item.plashka3::before { background-image: var(--t24-original-shape3); }
}
@media (max-width: 359px) {
  body.t24-home-balanced #Top .Top__wrap > .LogOut { max-width: 64px; }
  body.t24-home-balanced #Top .Top__wrap > .LogOut a {
    width: 100%; padding: 0 2px; font-size: 12px; line-height: 1.2;
    white-space: normal; overflow-wrap: anywhere; text-align: center;
  }
  .t24-home-balanced #block1 .About__item.plashka1,
  .t24-home-balanced #block1 .About__item.plashka2,
  .t24-home-balanced #block1 .About__item.plashka3 { padding-right: 30px; padding-left: 30px; }
  .t24-home-balanced #block1 .About__title { font-size: 20px; }
}
