.news-detail-hero-image {
  position: relative;
  width: 100%;

  &__wrapper {
    width: 100%;
    max-width: $projects-detail-width;
    margin: 0 auto 150px;

    @include sm {
      margin: 0 auto;
    }
  }

  &__container {
    width: 100%;
    position: relative;

    @include sm {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
  }

  &__image {
    @include image-aspect-ratio(100%, 42%);

    @include sm {
      @include image-aspect-ratio(100%, 100%);
    }
  }

  &__info-container {
    position: absolute;
    width: 100%;
    max-width: 910px;
    bottom: -110px;
    left: 50%;
    transform: translateX(-50%);
    padding: 48px $gutter;

    @include sm {
      bottom: unset;
      left: unset;
      position: relative;
      transform: unset;
      padding: 48px $gutter-mobile;
    }

    &-bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0.8;
      z-index: -1;

      @include sm {
        opacity: 1;
      }
    }
  }

  &__info {
    width: 100%;
    max-width: 675px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  &__label {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.6rem;
    letter-spacing: 0.02rem;
    font-weight: 700;
  }

  &__title {
    text-align: center;
    font-size: 3.8rem;
    line-height: 4.4rem;
    font-weight: 700;
    margin: 16px 0 0;

    @include sm {
      font-size: 2.6rem;
      line-height: 3.2rem;
    }
  }

  &__tags-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
  }

  &__tags {
    display: flex;
  }

  &__tag {
    text-align: center;
    background-color: rgba($color: $white, $alpha: 0.1);
    padding: 7px 8px;
    font-size: 1.4rem;
    line-height: 1.8rem;
    letter-spacing: 0.01rem;
    font-weight: 700;
  }

  &__credits {
    margin-left: 1.6rem;
    font-size: 1.4rem;
    line-height: 1.8rem;
    letter-spacing: 0.01rem;
    font-weight: 700;
  }

  &.news-detail-hero-image--primary {
    * {
      color: $white;
    }
  }
}
