.block_hero_banner {
  display: flex;
  position: relative;
  flex-direction: column;
}

.block_hero_box {
  text-align: center;
}

@media only screen and (max-width: 749px) {
  .block_hero_banner--content-align-mobile-right .block_hero_box {
    text-align: right;
  }

  .block_hero_banner--content-align-mobile-left .block_hero_box {
    text-align: left;
  }
}

@media only screen and (min-width: 750px) {
  .block_hero_banner--content-align-right .block_hero_box {
    text-align: right;
  }

  .block_hero_banner--content-align-left .block_hero_box {
    text-align: left;
  }

  .block_hero_banner--content-align-left.block_hero_banner--desktop-transparent
    .block_hero_box,
  .block_hero_banner--content-align-right.block_hero_banner--desktop-transparent
    .block_hero_box,
  .block_hero_banner--medium.block_hero_banner--desktop-transparent
    .block_hero_box {
    max-width: 68rem;
  }
}

@media screen and (max-width: 749px) {
  .block_hero_banner--small.block_hero_banner--mobile-bottom:not(
      .block_hero_banner--adapt
    )
    .block_hero_media,
  .block_hero_banner--small.block_hero_banner--stacked:not(
      .block_hero_banner--mobile-bottom
    ):not(.block_hero_banner--adapt)
    > .block_hero_media {
    height: 28rem;
  }

  .block_hero_banner--medium.block_hero_banner--mobile-bottom:not(
      .block_hero_banner--adapt
    )
    .block_hero_media,
  .block_hero_banner--medium.block_hero_banner--stacked:not(
      .block_hero_banner--mobile-bottom
    ):not(.block_hero_banner--adapt)
    > .block_hero_media {
    height: 34rem;
  }

  .block_hero_banner--large.block_hero_banner--mobile-bottom:not(
      .block_hero_banner--adapt
    )
    .block_hero_media,
  .block_hero_banner--large.block_hero_banner--stacked:not(
      .block_hero_banner--mobile-bottom
    ):not(.block_hero_banner--adapt)
    > .block_hero_media {
    height: 39rem;
  }

  .block_hero_banner--small:not(.block_hero_banner--mobile-bottom):not(
      .block_hero_banner--adapt
    )
    .block_hero_content {
    min-height: 28rem;
  }

  .block_hero_banner--medium:not(.block_hero_banner--mobile-bottom):not(
      .block_hero_banner--adapt
    )
    .block_hero_content {
    min-height: 34rem;
  }

  .block_hero_banner--large:not(.block_hero_banner--mobile-bottom):not(
      .block_hero_banner--adapt
    )
    .block_hero_content {
    min-height: 39rem;
  }
}

@media screen and (min-width: 750px) {
  .block_hero_banner {
    flex-direction: row;
  }

  .block_hero_banner--small:not(.block_hero_banner--adapt) {
    min-height: 42rem;
  }

  .block_hero_banner--medium:not(.block_hero_banner--adapt) {
    min-height: 56rem;
  }

  .block_hero_banner--large:not(.block_hero_banner--adapt) {
    min-height: 72rem;
  }

  .block_hero_content.block_hero_content--top-left {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .block_hero_content.block_hero_content--top-center {
    align-items: flex-start;
    justify-content: center;
  }

  .block_hero_content.block_hero_content--top-right {
    align-items: flex-start;
    justify-content: flex-end;
  }

  .block_hero_content.block_hero_content--middle-left {
    align-items: center;
    justify-content: flex-start;
  }

  .block_hero_content.block_hero_content--middle-center {
    align-items: center;
    justify-content: center;
  }

  .block_hero_content.block_hero_content--middle-right {
    align-items: center;
    justify-content: flex-end;
  }

  .block_hero_content.block_hero_content--bottom-left {
    align-items: flex-end;
    justify-content: flex-start;
  }

  .block_hero_content.block_hero_content--bottom-center {
    align-items: flex-end;
    justify-content: center;
  }

  .block_hero_content.block_hero_content--bottom-right {
    align-items: flex-end;
    justify-content: flex-end;
  }
}

@media screen and (max-width: 749px) {
  .block_hero_banner:not(.block_hero_banner--stacked) {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .block_hero_banner--stacked {
    height: auto;
  }

  .block_hero_banner--stacked .block_hero_media {
    flex-direction: column;
  }
}

.block_hero_media {
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  display: block;
  overflow: hidden;
}

.block_hero_media img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.block_hero_media-half {
  width: 50%;
}

.block_hero_media-half + .block_hero_media-half {
  right: 0;
  left: auto;
}

@media screen and (max-width: 749px) {
  .block_hero_banner--stacked .block_hero_media-half {
    width: 100%;
  }

  .block_hero_banner--stacked .block_hero_media-half + .block_hero_media-half {
    order: 1;
  }
}

@media screen and (min-width: 750px) {
  .block_hero_media {
    height: 100%;
    /* display: block;
      background-color: rgba(var(--color-foreground), 0.1);
      position: relative;
      overflow: hidden; */
  }
}

.block_hero_banner--adapt,
.block_hero_banner--adapt_image.block_hero_banner--mobile-bottom
  .block_hero_media:not(.placeholder) {
  height: auto;
}

@media screen and (max-width: 749px) {
  .block_hero_banner--mobile-bottom .block_hero_media,
  .block_hero_banner--stacked:not(.block_hero_banner--mobile-bottom)
    .block_hero_media,
  .block_hero_banner--has-mobile .block_hero_media {
    position: relative;
  }

  .block_hero_banner--stacked.block_hero_banner--adapt .block_hero_content {
    height: auto;
  }

  .block_hero_banner:not(.block_hero_banner--mobile-bottom):not(
      .email-signup-block_hero_banner
    )
    .block_hero_box {
    background: transparent;
    --color-foreground: 255, 255, 255;
    --color-button: 255, 255, 255;
    --color-button-text: 0, 0, 0;
  }

  .block_hero_banner:not(.block_hero_banner--mobile-bottom) .block_hero_box {
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .block_hero_banner:not(.block_hero_banner--mobile-bottom) .button--secondary {
    --color-button: 255, 255, 255;
    --color-button-text: 255, 255, 255;
    --alpha-button-background: 0;
  }

  .block_hero_banner--stacked:not(.block_hero_banner--mobile-bottom):not(
      .block_hero_banner--adapt
    )
    .block_hero_content {
    position: absolute;
    height: auto;
  }

  .block_hero_banner--stacked.block_hero_banner--adapt:not(
      .block_hero_banner--mobile-bottom
    )
    .block_hero_content {
    max-height: 100%;
    overflow: hidden;
    position: absolute;
  }

  .block_hero_banner--stacked:not(.block_hero_banner--adapt) .block_hero_media {
    position: relative;
  }

  .block_hero_banner::before {
    display: none !important;
  }

  .block_hero_banner--stacked .block_hero_media-image-half {
    width: 100%;
  }
}

.block_hero_content {
  padding: 0;
  display: flex;
  position: relative;
  width: 100%;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

@media screen and (min-width: 750px) {
  .block_hero_content {
    padding: 5rem;
  }

  .block_hero_content--top-left {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .block_hero_content--top-center {
    align-items: flex-start;
    justify-content: center;
  }

  .block_hero_content--top-right {
    align-items: flex-start;
    justify-content: flex-end;
  }

  .block_hero_content--middle-left {
    align-items: center;
    justify-content: flex-start;
  }

  .block_hero_content--middle-center {
    align-items: center;
    justify-content: center;
  }

  .block_hero_content--middle-right {
    align-items: center;
    justify-content: flex-end;
  }

  .block_hero_content--bottom-left {
    align-items: flex-end;
    justify-content: flex-start;
  }

  .block_hero_content--bottom-center {
    align-items: flex-end;
    justify-content: center;
  }

  .block_hero_content--bottom-right {
    align-items: flex-end;
    justify-content: flex-end;
  }
}

@media screen and (max-width: 749px) {
  .block_hero_banner--mobile-bottom:not(.block_hero_banner--stacked)
    .block_hero_content {
    order: 2;
  }

  .block_hero_banner:not(.block_hero_banner--mobile-bottom) .field__input {
    background-color: transparent;
  }
}

.block_hero_box {
  padding: 4rem 3.5rem;
  position: relative;
  height: fit-content;
  align-items: center;
  text-align: center;
  width: 100%;
  word-wrap: break-word;
  z-index: 1;
}

@media screen and (min-width: 750px) {
  .block_hero_banner--desktop-transparent .block_hero_box {
    background: transparent;
    --color-foreground: 255, 255, 255;
    --color-button: 255, 255, 255;
    --color-button-text: 0, 0, 0;
    max-width: 89rem;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .block_hero_banner--desktop-transparent .button--secondary {
    --color-button: 255, 255, 255;
    --color-button-text: 255, 255, 255;
    --alpha-button-background: 0;
  }

  .block_hero_banner--desktop-transparent .content-container:after {
    display: none;
  }
}

@media screen and (max-width: 749px) {
  .block_hero_banner--mobile-bottom::after,
  .block_hero_banner--mobile-bottom .block_hero_media::after {
    display: none;
  }
}

.block_hero_banner::after,
.block_hero_media::after {
  content: "";
  position: absolute;
  top: 0;
  background: #000000;
  opacity: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.block_hero_box > * + .block_hero_text {
  margin-top: 1.5rem;
}

@media screen and (min-width: 750px) {
  .block_hero_box > * + .block_hero_text {
    margin-top: 2rem;
  }
}

.block_hero_box > * + * {
  margin-top: 1rem;
}

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

@media screen and (max-width: 749px) {
  .block_hero_banner--stacked .block_hero_box {
    width: 100%;
  }
}

@media screen and (min-width: 750px) {
  .block_hero_box {
    width: auto;
    max-width: 71rem;
    min-width: 45rem;
  }
}

@media screen and (min-width: 1400px) {
  .block_hero_box {
    max-width: 90rem;
  }
}

.block_hero_heading {
  margin-bottom: 0;
}

.block_hero_box .block_hero_heading + * {
  margin-top: 1rem;
}

.block_hero_buttons {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 45rem;
  word-break: break-word;
}

@media screen and (max-width: 749px) {
  .block_hero_banner--content-align-mobile-right .block_hero_buttons--multiple {
    justify-content: flex-end;
  }

  .block_hero_banner--content-align-mobile-center
    .block_hero_buttons--multiple
    > * {
    flex-grow: 1;
    min-width: 22rem;
  }
}

@media screen and (min-width: 750px) {
  .block_hero_banner--content-align-center .block_hero_buttons--multiple > * {
    flex-grow: 1;
    min-width: 22rem;
  }

  .block_hero_banner--content-align-right .block_hero_buttons--multiple {
    justify-content: flex-end;
  }
}

.block_hero_box > * + .block_hero_buttons {
  margin-top: 2rem;
}

@media screen and (min-width: 750px) {
  .block_hero_media .mobile-image {
    display: none !important;
  }
  .block_hero_media .desktop-image {
    display: block;
  }
}

@media screen and (max-width: 749px) {
  .block_hero_media .desktop-image {
    display: none !important;
  }
  .block_hero_media .mobile-image {
    display: block;
  }
}
