.hero {
  background: linear-gradient(
    to left,
    #F7B844 49.9063%,
    rgba(255, 128, 0, 0.3) 80.7692%,
    rgba(255, 128, 0, 0) 100%
  );
  background-repeat: no-repeat;
  margin-top: 40px;
  margin-bottom: 100px;
}

.hero--welcome {
  /* margin-bottom: 150px; */
  margin-bottom: 90px;
}

.hero-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 650px;
}

.hero-wrapper::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 80px;
  left: 0;
  width: 48%;
  height: 430px;
  background-color: #70C0A3;
  box-shadow: 0px 0px 25px 0 rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.hero--full-long .hero-wrapper::before {
  width: 55%;
}

.hero-wrapper::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -40px;
  left: -80px;
  width: 60%;
  aspect-ratio: 1222 / 1865;
  background: linear-gradient(
    to bottom,
    #efefef 31.25%,
    rgba(243, 243, 243, 0) 100%
  );
  pointer-events: none;
}

.hero-title-wrapper {
  position: relative;
  z-index: 3;
  width: 48%;
  padding: 130px 20px 60px 80px;
}

.hero--full-long .hero-title-wrapper {
  width: 55%;
}

.hero-title {
  font-weight: 800;
  font-size: 62px;
  line-height: 1.1;
  color: #fff;
  --indent-step: 2.5ch;
  counter-reset: span-counter;
}

html[lang="en-US"] .hero-title {
  font-size: calc(62px - 2px);
}

.hero-title span {
  display: block;
  counter-increment: span-counter;
  margin-left: calc((var(--span-index, 1) - 1) * var(--indent-step));
}

html[lang="en-US"] .hero-title--bold span:first-child {
  font-size: calc(1.2em - 2px);
}

.hero-title--bold span:first-child {
  font-size: 1.2em;
  line-height: 1.2;
}

.hero-title span:nth-child(1) {
  --span-index: 1;
}
.hero-title span:nth-child(2) {
  --span-index: 2;
}
.hero-title span:nth-child(3) {
  --span-index: 3;
}
.hero-title span:nth-child(4) {
  --span-index: 4;
}
.hero-title span:nth-child(5) {
  --span-index: 5;
}

.hero-image {
  position: absolute;
  z-index: 0;
  top: 40px;
  right: 0;
  width: 56%;
  height: calc(100% - 80px);
  object-fit: cover;
}

.hero--full .hero-image,
.hero--full-library .hero-image,
.hero--full-long .hero-image {
  width: 2480px;
  max-width: calc(100vw - 80px);
  right: 50%;
  transform: translateX(50%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 48%;
  background-color: #fff;
  box-shadow: 0px 0px 20px 0 rgba(0, 0, 0, 0.15);
  padding: 70px 80px;
  margin: 0 0 70px 210px;
}

.hero-content--blockquote {
  width: 41%;
  min-width: 700px;
  font-weight: 600;
  font-size: 28px;
}

html[lang="en-US"] .hero-content--blockquote {
  font-size: calc(28px - 2px);
}

.hero-content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.hero-content--blockquote .hero-content-wrapper::before {
  content: "";
  display: block;
  width: 76px;
  aspect-ratio: 77/61;
  background-image: url("../../assets/images/quote.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.hero-content-wrapper-inner {
  flex: 1;
}

@media screen and (max-width: 2040px) {
  .hero-wrapper::before {
    left: -40px;
    width: 50%;
  }

  .hero--full .hero-wrapper::before,
  .hero--full-library .hero-wrapper::before,
  .hero--full-long .hero-wrapper::before {
    left: 40px;
  }

  .hero-title-wrapper {
    padding-left: 40px;
  }

  .hero--full .hero-title-wrapper,
  .hero--full-library .hero-title-wrapper {
    width: 50%;
    margin-left: 40px;
  }

  .hero--full-long .hero-title-wrapper {
    width: 55%;
    margin-left: 40px;
  }

  .hero-title {
    font-size: 3vw;
  }

  html[lang="en-US"] .hero-title {
    font-size: calc(3vw - 2px);
  }

  .hero-content {
    margin-left: 160px;
  }
}

@media screen and (min-width: 1281px) {
  .hero--welcome .hero-wrapper::before {
    width: 60%;
  }

  .hero--welcome .hero-title-wrapper {
    width: 44%;
  }

  .hero--welcome .hero-image {
    z-index: 2;
    height: 100%;
  }
}

@media screen and (max-width: 1280px) {
  .hero {
    background-size: 100% 460px;
    margin-top: 30px;
    margin-bottom: 50px;
  }

  .hero-wrapper {
    min-height: 464px;
  }

  .hero-wrapper::before {
    top: 66px;
    left: -56px;
    width: 78%;
    height: 318px;
  }

  .hero-wrapper::after {
    top: -30px;
    left: 0;
    width: 66%;
    aspect-ratio: 528/415;
  }

  .hero--full .hero-wrapper::before,
  .hero--full-library .hero-wrapper::before,
  .hero--full-long .hero-wrapper::before {
    left: 30px;
    width: 55%;
    height: 200px;
  }

  .hero--full-long .hero-wrapper::before {
    width: 65%;
  }

  .hero-title-wrapper {
    width: 47%;
    padding: 100px 20px 40px 0px;
  }

  .hero--full .hero-title-wrapper,
  .hero--full-library .hero-title-wrapper,
  .hero--full-long .hero-title-wrapper {
    width: 55%;
    padding: 100px 20px 40px 40px;
    margin-left: 30px;
  }

  .hero--full-long .hero-title-wrapper {
    width: 65%;
  }

  .hero-title {
    font-size: 3.2vw;
  }

  html[lang="en-US"] .hero-title {
    font-size: calc(3.2vw - 2px);
  }

  .hero-image {
    z-index: 2;
    width: 53%;
    height: 450px;
  }

  .hero--full .hero-image,
  .hero--full-library .hero-image,
  .hero--full-long .hero-image {
    z-index: 0;
    width: 100%;
    max-width: unset;
    height: calc(100% - 80px);
  }

  .hero-content {
    width: 57%;
    padding: 40px 40px;
    margin: 0;
  }

  .hero--full .hero-content,
  .hero--full-library .hero-content,
  .hero--full-long .hero-content {
    align-self: flex-end;
    width: 75%;
    margin: 0;
  }

  .hero-content--blockquote {
    min-width: unset;
    font-size: 18px;
  }

  html[lang="en-US"] .hero-content--blockquote {
    font-size: calc(18px - 2px);
  }

  .hero-content-wrapper {
    gap: 20px;
  }

  .hero-content--blockquote .hero-content-wrapper::before {
    width: 30px;
  }
}

@media screen and (max-width: 1024px) {
  .hero-title-wrapper {
    width: 50%;
  }

  .hero-image {
    width: 50%;
  }
}

@media screen and (max-width: 768px) {
  .hero--full,
  .hero--full-library,
  .hero--full-long {
    background-size: 100% 270px;
  }

  .hero--full.hero--no-content,
  .hero--full-library.hero--no-content,
  .hero--full-long.hero--no-content {
    margin-bottom: 80px;
  }

  .hero-wrapper {
    min-height: unset;
  }

  .hero-wrapper::before {
    top: 36px;
    left: -20px;
    width: 78%;
  }

  .hero--full .hero-wrapper::before,
  .hero--full-library .hero-wrapper::before,
  .hero--full-long .hero-wrapper::before {
    top: 154px;
    left: 0;
    width: 70%;
    height: 230px;
  }
  .hero--full-library .hero-wrapper::before {
    width: 60%;
  }

  .hero--full-long .hero-wrapper::before {
    width: 90%;
  }

  .hero--full.hero--no-content .hero-wrapper::before,
  .hero--full-library.hero--no-content .hero-wrapper::before,
  .hero--full-long.hero--no-content .hero-wrapper::before {
    height: 150px;
  }

  .hero-title-wrapper {
    width: calc(78% - 20px);
    padding: 60px 20px 30px 30px;
  }

  .hero--full .hero-title-wrapper,
  .hero--full-library .hero-title-wrapper,
  .hero--full-long .hero-title-wrapper {
    width: 70%;
    padding: 180px 20px 35px 30px;
    margin-left: 0;
  }

  .hero--full-library .hero-title-wrapper {
    width: 60%;
  }

  .hero--full-long .hero-title-wrapper {
    width: 90%;
  }

  .hero-title {
    font-size: 4.8vw;
  }

  html[lang="en-US"] .hero-title {
    font-size: calc(4.8vw - 0px);
  }

  .hero--full .hero-title,
  .hero--full-long .hero-title {
    min-height: 55px;
  }

  .hero-image {
    position: static;
    align-self: flex-end;
    width: 86%;
    height: auto;
    aspect-ratio: 4/3;
    margin-bottom: -10%
  }

  .hero--full .hero-image,
  .hero--full-library .hero-image,
  .hero--full-long .hero-image {
    position: absolute;
    top: 22px;
    width: calc(100% - 20px);
    height: 220px;
    aspect-ratio: unset;
    margin-bottom: 0;
  }

  .hero-content {
    width: 75%;
    padding: 20px 20px;
  }

  .hero--full .hero-content,
  .hero--full-library .hero-content,
  .hero--full-long .hero-content {
    align-self: flex-start;
    width: 94%;
  }

  .hero--full-library .hero-content {
    align-self: flex-end;
    margin-right: -5px;
  }

  .hero-content--blockquote {
    padding: 34px 34px;
  }
}

@media screen and (max-width: 480px) {
  .hero:not( :has(.hero-content)){
	padding-bottom: 36%;	
  }	

  .hero.hero--full{
	padding-bottom: 0%;	
  }

  .hero-wrapper::before {
    width: 85%;
  }

  .hero-title-wrapper {
    width: calc(85% - 20px);
  }

  .hero-content {
    width: 80%;
  }

  .hero-image {
    margin-bottom: -36%;
  }
}