.ta-hero {
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  width: 100%;

  .ta-row {
    height: 100%;
  }

  &__titleContainer {
    align-self: center;
  }

  &.-primaryHero {
    height: rem(237px);
    padding-bottom: $spacing-xl;
    padding-top: $spacing-xl;

    .ta-row {
      overflow: hidden;
    }

    .ta-hero__titleContainer {
      max-width: 18em;
    }

    .ta-hero__title {
      background-color: $ta-white100;
      box-decoration-break: clone;
      display: inline;
      letter-spacing: 1.6px;
      line-height: 2;
      padding: $spacing-sm rem(20px) $spacing-sm rem(13px);
    }
  }

  &.-secondaryHero {
    background-color: $ta-blue100;
    min-height: rem(196px);
    padding-top: $spacing-xl;

    .ta-row {
      @media (min-width: $ta-bp-sm + 1px) {
        justify-content: space-between;
      }
    }

    .ta-hero__subtitle {
      color: $ta-blue700;
      text-transform: capitalize;
    }

    .ta-hero__title {
      color: $ta-blue700;
      letter-spacing: 0.6px;
      line-height: normal;
      margin: $spacing-sm 0 $spacing-lg 0;
    }

    .ta-button,
    .ta-button::after {
      font-size: rem(14px) !important;
    }

    /* stylelint-disable */
    ta-button,
    /* stylelint-enable */
    .ta-button {
      align-self: flex-start;
      margin-left: auto;
    }
  }

  &.-secondaryHero,
  &.-secondaryHero h4 {
    color: $ta-blue700;
  }
}
