.block-hero {
  background: #1A1A2E;
}
.block-hero:has(+ .block-contact-form) {
  margin-bottom: 0;
  z-index: 1;
}
.block-hero:has(+ .block-contact-form) .container {
  padding-bottom: 150px;
}
.block-hero + .block-contact-form {
  margin-top: -150px;
  position: relative;
  z-index: 20;
}
.block-hero:before {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.block-hero[data-overlay=blue]:before {
  background: -webkit-gradient(linear, right top, left top, from(#4891EB), to(rgba(255, 255, 255, 0)));
  background: linear-gradient(270deg, #4891EB 0%, rgba(255, 255, 255, 0) 100%);
  mix-blend-mode: multiply;
  opacity: 0.7;
}
.block-hero[data-overlay=green]:before {
  background: #56C3B5;
  mix-blend-mode: multiply;
}
.block-hero[data-overlay=light-green]:before {
  background: #56C3B5;
  mix-blend-mode: multiply;
  opacity: 0.4;
}
.block-hero[data-overlay=light-blue]:before {
  background: #3877A5;
  mix-blend-mode: multiply;
  opacity: 0.4;
}
.block-hero[data-overlay=orange]:before {
  background: #EB6448;
  mix-blend-mode: multiply;
  opacity: 0.5;
}
.block-hero[data-semi-transparent-headings=true] :is(h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6) {
  opacity: 0.6;
}
@media (min-width: 768px) {
  .block-hero[data-heading-size=large] h1 {
    font-size: 65px;
  }
}
@media (min-width: 992px) {
  .block-hero[data-heading-size=large] h1 {
    font-size: 85px;
  }
}
.block-hero .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-height: 870px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  row-gap: 40px;
  padding-block: 65px;
}
.block-hero .container:before {
  display: block;
  content: "";
}
.block-hero .container:after {
  display: none;
}
.block-hero .container > div {
  width: 100%;
}
.block-hero .top-text:last-child {
  margin-block: auto;
}
.block-hero[data-hero-height=small] .container {
  min-height: 583px;
}