.ec-text-hero {
  padding: 78px 0 64px;
  background:
    linear-gradient(90deg, rgba(8, 13, 40, .96), rgba(8, 13, 40, .9)),
    radial-gradient(circle at 82% 10%, rgba(242, 106, 33, .18), transparent 34%);
  color: #ffffff;
}

.ec-text-hero__container,
.ec-text-page__container {
  width: min(100% - var(--ec-container-offset) * 2, var(--ec-container));
  margin-left: auto;
  margin-right: auto;
}

.ec-text-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-bottom: 54px;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  line-height: 1.2;
}

.ec-text-breadcrumbs a {
  color: rgba(255, 255, 255, .72);
  transition: .25s ease;
}

.ec-text-breadcrumbs a:hover {
  color: #f26a21;
}

.ec-text-breadcrumbs span {
  color: #ffffff;
}

.ec-text-breadcrumbs a::after {
  content: "/";
  margin-left: 11px;
  color: rgba(255, 255, 255, .35);
}

.ec-text-hero__content {
  max-width: 960px;
}

.ec-text-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  color: #f26a21;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ec-text-hero__eyebrow::after {
  content: "";
  width: 72px;
  height: 1px;
  background: #f26a21;
}

.ec-text-hero h1 {
  position: relative;
  display: inline-block;
  margin: 0 0 24px;
  padding-bottom: 12px;
  color: #ffffff;
  font-size: 56px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.ec-text-hero h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: #f26a21;
}

.ec-text-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
  line-height: 1.62;
}

.ec-text-page {
  padding: 82px 0 88px;
  background: #ffffff;
  color: #080d28;
}

.ec-text-page__container {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.ec-text-page__aside {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 14px;
}

.ec-text-page__aside div {
  padding: 22px 24px;
  border: 1px solid #dfe3ec;
  background: #ffffff;
}

.ec-text-page__aside strong {
  display: block;
  margin-bottom: 10px;
  color: #f26a21;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ec-text-page__aside span {
  display: block;
  color: #080d28;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 800;
}

.ec-text-page__aside a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid #080d28;
  background: #080d28;
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  transition: .25s ease;
}

.ec-text-page__aside a:hover {
  border-color: #f26a21;
  background: #f26a21;
  color: #ffffff;
}

.ec-text-page__content {
  max-width: 980px;
}

.ec-text-page__content h2 {
  position: relative;
  margin: 54px 0 24px;
  padding-bottom: 18px;
  color: #080d28;
  font-size: 30px;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.ec-text-page__content h2:first-child {
  margin-top: 0;
}

.ec-text-page__content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 220px;
  max-width: 100%;
  height: 2px;
  background: #f26a21;
}

.ec-text-page__content h3 {
  margin: 34px 0 16px;
  color: #080d28;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
}

.ec-text-page__content p,
.ec-text-page__content li {
  color: #4f586b;
  font-size: 16px;
  line-height: 1.78;
}

.ec-text-page__content p {
  margin: 0 0 20px;
}

.ec-text-page__content ul,
.ec-text-page__content ol {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding-left: 22px;
}

.ec-text-page__content li::marker {
  color: #f26a21;
}

.ec-text-page__content strong {
  color: #080d28;
  font-weight: 800;
}

.ec-text-page__content a {
  color: #f26a21;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ec-text-page__content a:hover {
  color: #080d28;
}

/* .ec-text-page__content > p:first-child {
  position: relative;
  margin-bottom: 34px;
  padding: 34px 38px;
  background: #080d28;
  color: rgba(255, 255, 255, .84);
  font-size: 18px;
  line-height: 1.65;
} */

/* .ec-text-page__content > p:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 34px;
  bottom: 34px;
  width: 3px;
  background: #f26a21;
} */

@media (max-width: 991px) {
  .ec-text-hero {
    padding: 58px 0;
  }

  .ec-text-hero h1 {
    font-size: 40px;
  }

  .ec-text-page {
    padding: 58px 0;
  }

  .ec-text-page__container {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .ec-text-page__aside {
    position: relative;
    top: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ec-text-page__content {
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .ec-text-hero {
    padding: 44px 0;
  }

  .ec-text-breadcrumbs {
    margin-bottom: 34px;
    font-size: 12px;
  }

  .ec-text-hero h1 {
    font-size: 30px;
  }

  .ec-text-hero p {
    font-size: 15px;
  }

  .ec-text-page {
    padding: 44px 0;
  }

  .ec-text-page__aside {
    grid-template-columns: 1fr;
  }

  .ec-text-page__aside div {
    padding: 20px;
  }

  /* .ec-text-page__content > p:first-child {
    padding: 28px 22px;
    font-size: 16px;
  } */

  .ec-text-page__content h2 {
    margin-top: 42px;
    font-size: 24px;
  }

  .ec-text-page__content h2::after {
    width: 170px;
  }

  .ec-text-page__content h3 {
    font-size: 19px;
  }

  .ec-text-page__content p,
  .ec-text-page__content li {
    font-size: 15px;
  }
}

.ec-text-page__content .ec-article-lead, .ec-text-page__content blockquote {
    position: relative;
    margin-bottom: 32px;
    padding: 34px 38px;
    background: #080d28;
    color: rgba(255, 255, 255, .84);
    font-size: 20px;
    line-height: 1.62;
    display: block;
}

.ec-text-page__content .ec-article-lead::before, .ec-text-page__content blockquote::before {
    content: "";
    position: absolute;
    left: 0;
    top: 34px;
    bottom: 34px;
    width: 3px;
    background: #f26a21;
}

.ec-text-page__content blockquote p {
    margin: 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

.ec-text-page__content img{
    width: 100%;
    height: auto;
}