/**
 * Главная: hero — все брейкпоинты Figma
 * 6_index_375 | 5_index_800 (601–880) | 4_index_1024 | 3_index_1280 | 2_index_1440 | 1_index_1900
 * Источник: figma-spec/home-hero.json, home-hero-overlay.json
 */

/*
 * IncludeFile() оборачивает область в #bx_incl_area_* — без display:contents
 * grid/flex видит один ребёнок вместо .stat / .tile--hero и ломает вёрстку.
 */
.hero--home .hero__copy [id^="bx_incl_area_"],
.hero--home .hero__stats [id^="bx_incl_area_"],
.hero--home .hero__tiles [id^="bx_incl_area_"] {
  display: contents;
}

.hero--home .hero__copy,
.hero--home .hero__stats,
.hero--home .hero__tiles {
  position: relative;
}

/* Компактные карточки (≤1023): две строки заголовка — высота calc(2.4em), не фикс. px */
@media (max-width: 1023px) {
  body.page-home .hero--home .tile--hero .tile__body {
    overflow: hidden;
    min-height: 0;
  }

  body.page-home .hero--home .tile--hero .tile__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    line-height: 1.2;
    flex: 0 0 calc(2.4em);
    height: calc(2.4em);
    max-height: calc(2.4em);
    margin: 0;
    text-overflow: ellipsis;
    overflow-wrap: break-word;
  }

  body.page-home .hero--home .tile--hero .tile__title-line {
    line-height: 1.2;
  }

  body.page-home .hero--home .tile--hero .tile__desc {
    flex-shrink: 0;
  }
}

.hero-edit-pencil {
  position: absolute;
  z-index: 30;
  top: 4px;
  right: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f6c344;
  color: #1f2937;
  font: 700 18px/1 Arial, sans-serif;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease;
}

body.is-edit-mode .hero-edit-pencil {
  opacity: .92;
  transform: translateY(0);
}

body.is-edit-mode .hero--home .hero__copy:hover .hero-edit-pencil,
body.is-edit-mode .hero--home .hero__stats:hover .hero-edit-pencil,
body.is-edit-mode .hero--home .hero__tiles:hover .hero-edit-pencil,
.hero-edit-pencil:focus-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Figma 10006:9900 / 2001:3213: перенос после «стандартизации -», вторая часть — Medium */
.hero--home .hero__title-br {
  display: none;
}

/* --- Фото + оверлей (Rectangle 444/445) --- */
body.page-home .hero--home::before {
  background-image:
    linear-gradient(var(--hero-home-overlay), var(--hero-home-overlay)),
    var(--hero-photo);
  background-size: auto, var(--hero-home-photo-size);
  background-position: 0 0, var(--hero-home-photo-pos);
}

@media (max-width: 600px) {
  body.page-home .hero--home::before {
    background-position: 0 0, 50% 28%;
  }
}

@media (min-width: 601px) and (max-width: 880px) {
  body.page-home .hero--home::before {
    background-position: 0 0, 48% 32%;
  }
}

@media (min-width: 881px) and (max-width: 1279px) {
  body.page-home .hero--home::before {
    background-position: 0 0, 52% 34%;
  }
}

@media (min-width: 1280px) {
  body.page-home .hero--home::before {
    background-position: 0 0, 52% 32%;
  }
}

/* ≤600 — Figma 6_index_375 */
@media (max-width: 600px) {
  body.page-home .hero--home {
    padding: 24px 0 var(--hero-decor-h);
    min-height: clamp(500px, 130vw, 640px);
  }

  body.page-home .hero--home .hero__inner {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }

  body.page-home .hero--home .hero__copy {
    max-width: min(346px, calc(100vw - 2 * var(--gutter)));
  }

  body.page-home .hero--home .hero__title {
    font-family: var(--font);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -0.022em;
    margin: 0 0 15px;
    max-width: min(346px, 100%);
    width: 100%;
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    max-height: none;
  }

  body.page-home .hero--home .hero__title-strong {
    font-weight: 800;
  }

  body.page-home .hero--home .hero__lead {
    font-family: var(--font);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    max-width: min(330px, 100%);
    margin: 0 0 12px;
    max-height: none;
    overflow: visible;
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
  }

  body.page-home .hero--home .hero__stats.stats-grid {
    grid-template-columns: repeat(4, 80px);
    gap: 8px 12px;
    justify-content: space-between;
    max-width: min(356px, 100%);
    width: 100%;
    margin: 6px 0 18px;
  }

  body.page-home .hero--home .hero__stats .stat {
    min-height: 63px;
    gap: 4px;
  }

  body.page-home .hero--home .stat__num {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
  }

  body.page-home .hero--home .stat__txt {
    font-size: 10px;
    font-weight: 400;
    line-height: 1.2;
    max-width: 80px;
    overflow: visible;
    text-overflow: clip;
  }

  body.page-home .hero--home .hero__tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  body.page-home .hero--home .tile--hero {
    min-height: 164px;
    height: 164px;
    max-height: 164px;
    padding: 15px 10px;
    border-top-width: 4px;
    box-sizing: border-box;
  }

  body.page-home .hero--home .tile--hero .tile__body {
    height: 134px;
    flex: 0 0 134px;
    gap: 5px;
  }

  body.page-home .hero--home .tile--hero .tile__title {
    font-size: 16px;
    margin: 0;
    flex: 0 0 calc(2.4em);
    min-height: calc(2.4em);
    max-height: calc(2.4em);
    height: calc(2.4em);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    line-height: 1.2;
  }

  body.page-home .hero--home .tile--hero .tile__title-line {
    line-height: 1.2;
  }

  body.page-home .hero--home .tile--hero .tile__desc {
    flex: 0 0 89px;
    height: 89px;
    max-height: 89px;
    min-height: 89px;
    font-size: 14px;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    text-overflow: ellipsis;
    overflow-wrap: break-word;
  }
}

/* 601–880 — Figma 5_index_800 (665, 772, 800) */
@media (min-width: 601px) and (max-width: 880px) {
  body.page-home .hero--home {
    padding: 18px 0 var(--hero-decor-h);
    min-height: clamp(384px, 48vw, 432px);
  }

  body.page-home .hero--home .hero__inner {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 12px 18px;
    margin-bottom: 14px;
  }

  body.page-home .hero--home .hero__title {
    font-size: 24px;
    line-height: 1.35;
    letter-spacing: -0.022em;
    margin: 0 0 9px;
    max-width: min(485px, 100%);
  }

  body.page-home .hero--home .hero__lead {
    font-size: 14px;
    line-height: 1.3;
    max-width: min(439px, 100%);
  }

  body.page-home .hero--home .hero__stats.stats-grid {
    grid-template-columns: repeat(2, 108px);
    gap: 19px 34px;
    width: 250px;
    max-width: 250px;
    justify-self: end;
  }

  body.page-home .hero--home .stat__num {
    font-size: 28px;
  }

  body.page-home .hero--home .stat__txt {
    font-size: 12px;
    line-height: 1.35;
    max-width: 108px;
  }

  body.page-home .hero--home .hero__tiles.grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(10px, 2.6vw, 23px);
  }

  body.page-home .hero--home .tile--hero {
    min-height: 164px;
    height: 164px;
    max-height: 164px;
    padding: 15px 10px;
    box-sizing: border-box;
  }

  body.page-home .hero--home .tile--hero .tile__body {
    height: 134px;
    flex: 0 0 134px;
    gap: 5px;
  }

  body.page-home .hero--home .tile--hero .tile__title {
    font-size: 16px;
    margin: 0;
    flex: 0 0 calc(2.4em);
    min-height: calc(2.4em);
    max-height: calc(2.4em);
    height: calc(2.4em);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    line-height: 1.2;
  }

  body.page-home .hero--home .tile--hero .tile__desc {
    flex: 0 0 89px;
    height: 89px;
    max-height: 89px;
    min-height: 89px;
    font-size: 14px;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    text-overflow: ellipsis;
    overflow-wrap: break-word;
  }
}

/* 881–1023 — заголовок как 1024, компактная сетка */
@media (min-width: 881px) and (max-width: 1023px) {
  body.page-home .hero--home .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 16px 24px;
  }

  body.page-home .hero--home .hero__title {
    font-size: 32px;
    line-height: 1.35;
    margin-bottom: 14px;
    max-width: min(485px, 100%);
  }

  body.page-home .hero--home .hero__lead {
    font-size: 14px;
    line-height: 1.35;
    max-width: min(439px, 100%);
  }

  body.page-home .hero--home .hero__stats.stats-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 90px 80px;
    width: 336px;
    max-width: 336px;
    justify-self: end;
  }

  body.page-home .hero--home .stat__num {
    font-size: 32px;
  }

  body.page-home .hero--home .stat__txt {
    font-size: 13px;
    line-height: 1.35;
    max-width: 141px;
  }

  body.page-home .hero--home .hero__tiles.grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(10px, 2.6vw, 23px);
  }

  body.page-home .hero--home .tile--hero {
    min-height: 164px;
    height: 164px;
    max-height: 164px;
    padding: 15px 10px;
    box-sizing: border-box;
  }

  body.page-home .hero--home .tile--hero .tile__body {
    height: 134px;
    flex: 0 0 134px;
    gap: 5px;
  }

  body.page-home .hero--home .tile--hero .tile__title {
    font-size: 16px;
    margin: 0;
    flex: 0 0 calc(2.4em);
    min-height: calc(2.4em);
    max-height: calc(2.4em);
    height: calc(2.4em);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    line-height: 1.2;
  }

  body.page-home .hero--home .tile--hero .tile__desc {
    flex: 0 0 89px;
    height: 89px;
    max-height: 89px;
    min-height: 89px;
    font-size: 14px;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    text-overflow: ellipsis;
    overflow-wrap: break-word;
  }
}

/* 1024–1279 — Figma 4_index_1024 (10007:15475 / 15476 / 15905) */
@media (min-width: 1024px) and (max-width: 1279px) {
  body.page-home .hero--home {
    padding: 28px 0 var(--hero-decor-h);
    min-height: clamp(560px, 68vh, 700px);
  }

  body.page-home .hero--home .hero__inner {
    grid-template-columns: minmax(0, 1fr) 336px;
    gap: 20px 32px;
    margin-bottom: 28px;
  }

  body.page-home .hero--home .hero__copy {
    max-width: min(526px, 100%);
  }

  body.page-home .hero--home .hero__title {
    font-size: 30px;
    line-height: 1.35;
    margin-bottom: 12px;
    max-width: min(526px, 100%);
  }

  body.page-home .hero--home .hero__lead {
    font-family: var(--font-body-figma);
    font-size: 18px;
    line-height: 1.3;
    max-width: min(457px, 100%);
  }

  body.page-home .hero--home .hero__stats.stats-grid {
    grid-template-columns: repeat(2, minmax(125px, 1fr));
    gap: 90px 80px;
    width: 336px;
    max-width: 336px;
    justify-self: end;
  }

  body.page-home .hero--home .stat__num {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
  }

  body.page-home .hero--home .stat__txt {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    max-width: 141px;
  }

  body.page-home .hero--home .hero__tiles.grid--4 {
    grid-template-columns: repeat(4, 230px);
    gap: 14px;
    justify-content: space-between;
    max-width: 962px;
    margin-inline: auto;
  }

  body.page-home .hero--home .tile--hero {
    width: 230px;
    max-width: 230px;
    min-height: 174px;
    height: 174px;
    max-height: 174px;
    padding: 15px;
    box-sizing: border-box;
  }

  body.page-home .hero--home .tile--hero .tile__body {
    height: 144px;
    flex: 0 0 144px;
    gap: 7px;
    overflow: hidden;
    min-height: 0;
  }

  body.page-home .hero--home .tile--hero .tile__title {
    font-size: 20px;
    margin: 0;
    flex: 0 0 calc(2.4em);
    min-height: calc(2.4em);
    height: calc(2.4em);
    max-height: calc(2.4em);
    overflow: hidden;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  body.page-home .hero--home .tile--hero .tile__title-line {
    line-height: 1.2;
  }

  body.page-home .hero--home .tile--hero .tile__desc {
    font-family: var(--font-body-figma);
    flex: 0 0 89px;
    height: 89px;
    max-height: 89px;
    min-height: 89px;
    font-size: 16px;
    line-height: 1.3;
    color: #020203;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    text-overflow: ellipsis;
    overflow-wrap: break-word;
  }
}

/* 1280–1439 — Figma 3_index_1280 (10005:9385); зазор 18px — padding-bottom у .header (header-figma.css) */
@media (min-width: 1280px) and (max-width: 1439px) {
  body.page-home .hero--home {
    /* Group 144 h=595.6; title y=187, bg y=156 → 31px; decor y=724 → блок 596px */
    padding: 31px 0 var(--hero-decor-h);
    min-height: 596px;
  }

  body.page-home .hero--home .hero__inner {
    grid-template-columns: 652px 480px;
    gap: 20px;
    margin-bottom: 4px;
  }

  body.page-home .hero--home .hero__tiles {
    margin-top: 40px;
    margin-bottom: 0;
  }

  body.page-home .hero--home .hero__copy {
    max-width: 652px;
    padding-bottom: 20px;
  }

  body.page-home .hero--home .hero__title {
    font-size: 36px;
    line-height: 1.35;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
    max-width: 652px;
  }

  body.page-home .hero--home .hero__lead {
    font-size: 20px;
    line-height: 1.3;
    max-width: 498px;
  }

  body.page-home .hero--home .hero__stats.stats-grid {
    grid-template-columns: repeat(2, 174px);
    gap: 68px 75px;
    width: auto;
    max-width: none;
    justify-self: end;
  }

  body.page-home .hero--home .stat__num {
    font-size: 42px;
    line-height: 1;
  }

  body.page-home .hero--home .stat__txt {
    font-size: 16px;
    line-height: 1.35;
    max-width: 175px;
  }

  body.page-home .hero--home .hero__tiles.grid--4 {
    grid-template-columns: repeat(4, 275px);
    gap: 33px;
    justify-content: flex-start;
  }

  body.page-home .hero--home .tile--hero {
    min-height: 194px;
    height: 194px;
    max-height: 194px;
    padding: 25px;
    border-top-width: 4px;
    box-sizing: border-box;
  }

  body.page-home .hero--home .tile--hero .tile__body {
    height: 144px;
    flex: 0 0 144px;
    gap: 7px;
    overflow: hidden;
    min-height: 0;
  }

  body.page-home .hero--home .tile--hero .tile__title {
    flex: 0 0 calc(2.4em);
    min-height: calc(2.4em);
    height: calc(2.4em);
    max-height: calc(2.4em);
    overflow: hidden;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    margin: 0;
  }

  body.page-home .hero--home .tile--hero .tile__title-line {
    line-height: 1.2;
  }

  body.page-home .hero--home .tile--hero .tile__desc {
    flex: 0 0 89px;
    height: 89px;
    max-height: 89px;
    min-height: 89px;
    font-size: 16px;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    text-overflow: ellipsis;
    overflow-wrap: break-word;
  }
}

/* 1280+ — перенос заголовка как в Figma (первая строка ExtraBold, остальное Medium) */
@media (min-width: 1280px) {
  body.page-home .hero--home .hero__title-br {
    display: block;
    line-height: 0;
    margin: 0;
    padding: 0;
    height: 0;
    border: 0;
  }

}

/* 1440–1899 — Figma 2_index_1440 */
@media (min-width: 1440px) and (max-width: 1899px) {
  body.page-home .hero--home {
    padding: 56px 0 var(--hero-decor-h);
    min-height: 820px;
  }

  body.page-home .hero--home .hero__inner,
  body.page-home .hero--home .hero__tiles {
    margin-inline: 0;
  }

  body.page-home .hero--home .hero__inner {
    grid-template-columns: 652px 480px;
    gap: 20px;
    margin-bottom: 48px;
  }

  body.page-home .hero--home .hero__tiles {
    margin-top: 0;
    margin-bottom: 0;
  }

  body.page-home .hero--home .hero__copy {
    padding-bottom: 0;
  }

  body.page-home .hero--home .hero__title {
    font-size: 32px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    max-width: 652px;
    display: block;
    overflow: visible;
    -webkit-box-orient: unset;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    max-height: none;
    height: auto;
  }

  body.page-home .hero--home .hero__title .hero__title-strong,
  body.page-home .hero--home .hero__title .hero__title-rest {
    display: inline;
    overflow: visible;
    white-space: normal;
    font-size: inherit;
    line-height: inherit;
  }

  body.page-home .hero--home .hero__lead {
    font-size: 15px;
    line-height: 1.35;
    max-width: 498px;
    max-height: none;
    height: auto;
    overflow: visible;
    margin-top: 0;
    margin-bottom: 0;
    -webkit-line-clamp: unset;
    line-clamp: unset;
  }

  body.page-home .hero--home .hero__stats.stats-grid {
    grid-template-columns: repeat(2, 174px);
    gap: 68px 75px;
    width: auto;
    max-width: none;
    justify-self: end;
  }

  body.page-home .hero--home .stat__num {
    font-size: 42px;
    line-height: 1;
  }

  body.page-home .hero--home .stat__txt {
    font-size: 16px;
    line-height: 1.35;
    max-width: 175px;
  }

  body.page-home .hero--home .hero__tiles.grid--4 {
    grid-template-columns: repeat(4, 275px);
    gap: 33px;
    max-width: 1200px;
    justify-content: flex-start;
  }

  body.page-home .hero--home .tile--hero {
    min-height: 194px;
    height: 194px;
    max-height: 194px;
    padding: 25px;
    border-top-width: 4px;
    box-sizing: border-box;
  }

  body.page-home .hero--home .tile--hero .tile__body {
    height: 144px;
    flex: 0 0 144px;
    gap: 7px;
    overflow: hidden;
    min-height: 0;
  }

  body.page-home .hero--home .tile--hero .tile__title {
    flex: 0 0 calc(2.4em);
    min-height: calc(2.4em);
    height: calc(2.4em);
    max-height: calc(2.4em);
    overflow: hidden;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    margin: 0;
  }

  body.page-home .hero--home .tile--hero .tile__title-line {
    line-height: 1.2;
  }

  body.page-home .hero--home .tile--hero .tile__desc {
    flex: 0 0 89px;
    height: 89px;
    max-height: 89px;
    min-height: 89px;
    font-size: 16px;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    text-overflow: ellipsis;
    overflow-wrap: break-word;
  }
}

/* ≥1900 — Figma 1_index_1900 */
@media (min-width: 1900px) {
  body.page-home .hero--home {
    min-height: 1021px;
    /* title y=237, hero top y=156 → 81px */
    padding: 81px 0 var(--hero-decor-h);
  }

  body.page-home .hero--home .hero__inner,
  body.page-home .hero--home .hero__tiles {
    margin-inline: 0;
  }

  body.page-home .hero--home .hero__inner {
    grid-template-columns: minmax(0, 874px) minmax(520px, 1fr);
    gap: 20px 48px;
  }

  body.page-home .hero--home .hero__copy {
    min-width: 0;
    max-width: 874px;
  }

  body.page-home .hero--home .hero__title-strong,
  body.page-home .hero--home .hero__title-rest {
    white-space: normal;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  body.page-home .hero--home .hero__title {
    font-size: 48px;
    line-height: 1.35;
    letter-spacing: -0.025em;
    margin-bottom: 35px;
    max-width: 874px;
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    max-height: none;
  }

  body.page-home .hero--home .hero__lead {
    font-size: 17px;
    line-height: 1.47;
    max-width: 602px;
    margin: 0;
    max-height: none;
    overflow: visible;
  }

  body.page-home .hero--home .hero__stats.stats-grid {
    gap: 64px 80px;
    max-width: none;
    width: 100%;
    justify-self: stretch;
  }

  body.page-home .hero--home .stat__num {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
  }

  body.page-home .hero--home .stat__txt {
    font-size: 16px;
    line-height: 1.35;
  }

  body.page-home .hero--home .hero__tiles.grid--4 {
    grid-template-columns: repeat(4, 375px);
    gap: 58px;
    justify-content: flex-start;
  }

  body.page-home .hero--home .tile--hero {
    min-height: 252px;
    height: 252px;
    max-height: 252px;
    padding: 35px;
    border-top-width: 4px;
    box-sizing: border-box;
  }
}

/* Audit fixes (2026-06-18): stabilize hero rhythm on key breakpoints. */
@media (max-width: 600px) {
  body.page-home .hero--home .hero__title {
    font-size: 24px !important;
    line-height: 1.35 !important;
    max-width: 346px !important;
    margin-bottom: 6px !important;
    max-height: 68px !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
  }

  body.page-home .hero--home .hero__lead {
    font-size: 14px !important;
    line-height: 20px !important;
    max-width: 330px !important;
  }
}

@media (min-width: 1440px) and (max-width: 1899px) {
  body.page-home .hero--home .hero__title {
    font-size: 44px !important;
    line-height: 1.35 !important;
    letter-spacing: -0.025em !important;
    margin-bottom: 30px !important;
    max-width: 652px !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body.page-home .hero--home .hero__lead {
    font-size: 17px !important;
    line-height: 1.47 !important;
    max-width: 498px !important;
  }
}
