/* ==========================
   Hero
   ========================== */


.hero__wrapper {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
}

@media screen and (min-width: 999px) {
  .hero__wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
}


.hero__text {
    margin-top: 10px!important;
    z-index: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.hero-subtitle{
  padding: 0!important;
  margin: 0!important;
  line-height: 60%!important;
}
.hero-title {
  margin: 0;
}


.hero__image--pb,
.hero__image--full {
    display: none;
}

.hero__image--pb > *,
.hero__image--full > *,
.hero__image--pb .field,
.hero__image--full .field,
.hero__image--pb .field__item,
.hero__image--full .field__item {
    height: 100%;
    width: 100%;
    display: block;
}

.hero__image--pb img,
.hero__image--full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}


@media (min-width: 1000px) {
    .hero__wrapper {
        flex-direction: row;
        min-height: 450px;
    }

    .hero__text {
        max-width: 580px;
        flex-shrink: 0;
        padding: 2rem;
        transform: translateY(-20%);
    }

    .hero__image--pb {
        display: block;
        position: absolute;
        right: -190px;
        top: -240px;
        width: 65%;
        height: calc(135% + 80px);
        border-bottom-left-radius: 116px;
        border-bottom-right-radius: 20px;
        overflow: hidden;
    }

    .hero__image--full {
        display: block;
        position: absolute;
        right: -275px;
        top: -310px;
        width: 75%;
        height: calc(132% + 80px);
        border-bottom-left-radius: 116px;
        border-bottom-right-radius: 20px;
        overflow: hidden;
    }
}

@media screen and (max-width : 999px) {
  .hero__text {
      padding: 0;
  }
  .hero__image{
    display: block;
    transform: translateX(5%) translateY(-20%);
    width: 115%;
    border-bottom-left-radius: 122px;
    overflow: hidden;
  }
}

