/* Recovered local work that was created before the GitHub deployment became canonical. */

/* Blog archive */
.blog_page .home_blog_list {
  grid-template-columns: 628px 16px 628px;
  grid-template-rows: none;
  grid-auto-rows: 302px;
}

.blog_page .home_blog_item {
  grid-column: 2 / 4;
  grid-row: auto;
}

.blog_page .home_blog_item:nth-child(6n + 1) {
  grid-column: 1;
  grid-row: span 2;
}

.blog_page .home_blog_item:nth-child(6n + 4),
.blog_page .home_blog_item:nth-child(6n + 6) {
  grid-column: 1 / 3;
}

.blog_page .home_blog_item:nth-child(6n + 5) {
  grid-column: 3;
  grid-row: span 2;
}

.home_blog_item_title {
  display: block;
  padding: 24px;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

/* About page fixes */
.about_howitwork_path_bottom {
  background: none;
}

.about_howitwork_path_bottom::before {
  top: 0;
  height: 0;
  background: none;
  border-top: 3px solid #fff;
  transform: translateY(-100%);
}

.about_howitwork_path_bottom::after {
  top: auto;
  bottom: 0;
  height: 100%;
  box-sizing: content-box;
}

/* Single article: Blog and News */
.single_article {
  padding: 43px 0 112.146px;
  background: #fff;
  color: #000;
}

.single_article_grid {
  display: grid;
  grid-template-columns: 632.779px minmax(0, 1fr);
  align-items: start;
  gap: 48.221px;
}

.single_article_image {
  min-width: 0;
}

.single_article_image img {
  display: block;
  width: 100%;
  height: 623.854px;
  border-radius: 20px;
  object-fit: cover;
}

.single_article_content {
  min-width: 0;
}

.single_article_title {
  margin: 0;
  font-size: 40px;
  font-weight: 400;
  line-height: 47px;
  letter-spacing: -.8px;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  background-image: radial-gradient(ellipse 120% 1130% at 5.28% 16.18%, #F5292A 0%, #672929 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.single_article_descr {
  max-width: 624px;
  margin-top: 24px;
  font-size: 24px;
  font-weight: 400;
  line-height: 28.337px;
  letter-spacing: -.48px;
  text-align: justify;
  overflow-wrap: anywhere;
}

.single_article_descr p {
  margin: 0 0 20px;
}

.single_article_descr > :first-child {
  margin-top: 0;
}

.single_article_descr > :last-child {
  margin-bottom: 0;
}

.single_article_descr a {
  color: #8B0707;
  text-decoration: underline;
  text-underline-offset: .15em;
}

.single_article_descr ul,
.single_article_descr ol {
  padding-left: 1.5em;
}

.single_article_grid_no_image {
  grid-template-columns: minmax(0, 1fr);
}

.single_article_grid_no_image .single_article_descr {
  max-width: none;
}

@media (max-width: 1400px) {
  .blog_page .home_blog_list {
    grid-template-columns: 44.8571vw 1.1429vw 44.8571vw;
    grid-auto-rows: 21.5714vw;
  }

  .home_blog_item_title {
    padding: 1.7143vw;
    font-size: 2.1429vw;
  }

  .about_principles_icon,
  .about_partners_icon {
    margin-bottom: 0;
  }

  .about_howitwork_path_bottom {
    background: none;
  }

  .about_howitwork_path_bottom::before {
    top: 0;
    width: 1.1429vw;
    height: 0;
    border-top-width: .2143vw;
  }

  .about_howitwork_path_bottom::after {
    top: auto;
    bottom: 0;
    width: 1.1429vw;
    height: 100%;
    border-top-width: .2143vw;
    border-left-width: .2143vw;
    border-top-left-radius: 1.1429vw;
  }

  .single_article {
    padding: 3.0714vw 0 8.0104vw;
  }

  .single_article_grid {
    grid-template-columns: 45.1985vw minmax(0, 1fr);
    gap: 3.4444vw;
  }

  .single_article_image img {
    height: 44.561vw;
    border-radius: 1.4286vw;
  }

  .single_article_title {
    font-size: 2.8571vw;
    line-height: 3.3571vw;
    letter-spacing: -.0571vw;
  }

  .single_article_descr {
    max-width: 44.5714vw;
    margin-top: 1.7143vw;
    font-size: 1.7143vw;
    line-height: 2.0241vw;
    letter-spacing: -.0343vw;
  }

  .single_article_descr p {
    margin-bottom: 1.4286vw;
  }

  .single_article_grid_no_image {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .home_blog_item_title {
    padding: 6.1538vw;
    font-size: 5.1282vw;
  }

  /* Service mobile */
  .single_service_hero .container {
    padding-right: 3.3333vw;
    padding-left: 3.3333vw;
  }

  .single_service_decor {
    display: none;
  }

  .single_service_hero_box {
    min-height: 130.7692vw;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
  }

  .single_service_hero_content {
    flex: 0 0 auto;
    padding: 11.5385vw 0 0;
  }

  .single_service_title {
    font-size: 8.2051vw;
    line-height: 8.4615vw;
    letter-spacing: -.1641vw;
    overflow-wrap: anywhere;
  }

  .single_service_descr {
    width: 84.359vw;
    max-width: 100%;
    margin-top: 1.2821vw;
    color: #fff;
    font-size: 4.327vw;
    line-height: 6.1308vw;
    letter-spacing: -.0865vw;
    overflow-wrap: anywhere;
  }

  .single_service_image {
    flex: 0 0 auto;
    justify-content: flex-end;
    margin-top: 2.0513vw;
  }

  .single_service_image img {
    width: auto;
    height: 88.4615vw;
  }

  .single_service_content {
    padding: 7.6923vw 0;
    background: radial-gradient(ellipse at center, #B4B4B4 0%, #fff 100%);
  }

  .single_service_content .container {
    padding: 0;
  }

  .single_service_list {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 44.3365vw;
    gap: 1.2526vw;
    padding: 0 3.3333vw;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .single_service_list::-webkit-scrollbar {
    display: none;
  }

  .single_service_item {
    min-width: 0;
    min-height: 39.3664vw;
    padding: 2.863vw 3.5788vw;
    border-radius: 2.863vw;
    gap: 4.1026vw;
  }

  .single_service_item_title {
    font-size: 2.863vw;
    line-height: 4.2945vw;
    letter-spacing: -.0344vw;
    overflow-wrap: anywhere;
  }

  .single_service_item_descr {
    font-size: 2.1473vw;
    font-weight: 600;
    line-height: 3.5788vw;
    letter-spacing: -.0258vw;
    overflow-wrap: anywhere;
  }

  .single_service_result_title {
    gap: 1.4315vw;
  }

  .single_service_result_icon {
    flex-basis: 6.4418vw;
    width: 6.4418vw;
    height: 6.4418vw;
  }

  .single_service_cf {
    min-height: 148.7179vw;
    padding: 10.3605vw 0 9.121vw;
  }

  .single_service_cf_box {
    min-height: 129.2364vw;
    padding: 6.3055vw 2.8596vw 7.326vw;
    -webkit-backdrop-filter: blur(7.8412vw);
    backdrop-filter: blur(7.8412vw);
  }

  .single_service_cf .wpcf7-submit {
    display: block;
  }

  /* Article mobile */
  .single_article {
    padding: 9.7436vw 0 12.0513vw;
  }

  .single_article .container {
    padding-right: 5.1282vw;
    padding-left: 5.1282vw;
  }

  .single_article_grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.7949vw;
  }

  .single_article_image {
    width: 89.4872vw;
    max-width: 100%;
  }

  .single_article_image img {
    height: 88.4615vw;
    border-radius: 5.1282vw;
  }

  .single_article_content {
    padding: 0 2.5641vw;
  }

  .single_article_title {
    font-size: 6.1538vw;
    line-height: 6.4103vw;
    letter-spacing: -.1231vw;
    background-image: radial-gradient(ellipse 120% 1130% at 5.28% 16.18%, #F5292A 0%, #3F0101 100%);
  }

  .single_article_descr {
    max-width: 84.359vw;
    margin-top: 3.0769vw;
    font-size: 4.327vw;
    line-height: 6.1308vw;
    letter-spacing: -.0865vw;
    text-align: left;
  }

  .single_article_descr p {
    margin-bottom: 3.8462vw;
  }
}
