.dt7-hero {
  position: relative;
  overflow: hidden;
}

.dt7-hero--no-form {
  text-align: center;
}

.dt7-hero__media-layer {
  position: absolute;
  inset: 0;
}

.dt7-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section.dt7-hero.dt7-hero--image-hidden-mobile {
    background: var(--bg-blue-dark);
}

section.dt7-hero.dt7-hero--has-form.dt7-hero--image-hidden-mobile {
    background: var(--bg-blue);
}


.dt7-hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-black);
  z-index: 1;
}

.dt7-hero__content {
  position: relative;
  z-index: 2;
  align-items: center;
  padding-block: var(--space-10);
}

.dt7-hero__h1 {
  margin: 0 0 var(--space-1-5);
  color: var(--color-white);
  font-size: var(--font-size-xl);
}

.dt7-hero__h1::after {
  content: "";
  display: block;
  width: 160px;
  margin-top: var(--space-2);
  border-bottom: var(--space-0-5) solid var(--bg-orange);
}

.dt7-hero--no-form .dt7-hero__h1::after {
  margin: var(--space-0-5) auto 0;
}

.dt7-hero__h2 {
  margin: 0 0 var(--space-2);
  color: var(--color-white);
}

.dt7-hero--no-form .dt7-hero__h2 {
  max-width: 42ch;
  margin-right: auto;
  margin-left: auto;
  text-wrap: balance;
}

.dt7-hero__text {
  max-width: 65ch;
  color: var(--color-white);
  font-size: 120%;
}

.dt7-hero__text p {
  margin: 0 0 var(--space-3);
}

.dt7-hero__text p:last-child {
  margin-bottom: 0;
}

.dt7-hero--no-form .dt7-hero__text {
  margin-right: auto;
  margin-left: auto;
}

.dt7-hero--no-form .dt7-hero__text {
  margin-right: auto;
  margin-left: auto;
}

.dt7-hero__form {
  margin-top: var(--space-1-5);
}

.dt7-hero__formheader-title {
  margin: 0;
  color: var(--color-white);
  text-align: center;
  font-size: var(--font-size-xl);
}

.dt7-hero__formheader-sub {
  margin-top: var(--space-1);
  color: var(--color-white);
  text-align: center;
}

.dt7-hero__gf-shell--collapsed .gform_wrapper .gform-body .gform_fields > .gfield:nth-child(n+6),
.dt7-hero__gf-shell--collapsed .gform_wrapper .gform_fields > .gfield:nth-child(n+6),
.dt7-hero__gf-shell--collapsed form .dt7-hero__field, .dt7-hero__gf-shell--collapsed form .form-field:nth-child(n+5) {
  display: none;
}
.dt7-hero__gf-shell--collapsed .gform_wrapper .gform-body .gform_page_fields .gform_fields > .gfield:nth-child(6),
.dt7-hero__gf-shell--collapsed .gform_wrapper .gform_page_fields .gform_fields > .gfield:nth-child(6) {
  display: block;
}

.hide-three-form .dt7-hero__gf-shell--collapsed .gform_wrapper .gform-body .gform_fields > .gfield:nth-child(n+4),
.hide-three-form .dt7-hero__gf-shell--collapsed .gform_wrapper .gform_fields > .gfield:nth-child(n+4) {
  display: none;
}

.dt7-hero--no-form ul {
    display: inline-block;
    margin-top: 0;
}

.dt7-hero--no-form li {text-align: left;}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field input, .form-field select {
    font-size: var(--font-size-sm);
    padding: var(--space-1-5);
    border-radius: var(--space-0-5);
    border: none;
    margin-top: var(--space-1-5);
}

.form-field *:focus {
    outline: none;
}

.dt7-hero__html-form legend.gfield_label.gform-field-label.gfield_label_before_complex {
    margin: var(--space-2) 0 var(--space-1);
}

.dt7-hero__html-form label.dt7-hero__choice {
    font-size: var(--font-size-xs);
}

.dt7-hero__html-form  div#gfield_consent_description_14_10 {
    font-size: var(--font-size-xs);
    margin-top: var(--space-2);
    border: 1px solid rgba(104, 110, 119, 0.35);
    padding: var(--space-2);
}

@media (max-width: 781px) {
  .dt7-hero__content {
    min-height: 400px;
    padding-block: var(--space-8);
  }

  .dt7-hero__form {
    max-width: 640px;
    margin-right: auto;
    margin-left: auto;
  }
}
