.hero-course {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-course__bg {
  position: absolute;
  top: 0;
  left: 0;
  aspect-ratio: 1500/700;
  width: 100%;
  min-height: 400px;
  max-height: 100%;
  background: center/cover no-repeat;
  -webkit-mask-image: linear-gradient(0deg, transparent 0%, black 20%, black 60%, transparent 95%);
  mask-image: linear-gradient(0deg, transparent 0%, black 20%, black 60%, transparent 95%);
}

.hero-course__bg_mob {
  display: none;
}

.hero-course__bg:before {
  background: var(--bg);
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  mix-blend-mode: color;
  pointer-events: none;
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  transition: var(--tr);
}

.hero-course__container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 420px;
  padding-top: var(--sp) !important;
}

.hero-course__content {
  position: relative;
  padding-bottom: var(--sp);
}

.hero-course__content:before {
  background: linear-gradient(0deg, var(--bg) 50%, transparent 100%);
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 200vw;
  transform: translateX(-50%);
}

.hero-course__content:is(.hero-course:has(+ .is-style-light) .hero-course__content) {
  padding-bottom: calc(var(--sp) * 2);
}

.hero-course__text-content {
  position: relative;
  color: var(--yellow-gray-100);
  margin-bottom: 80px;
  font-weight: 300;
  font-size: 26px;
  line-height: 130%;
}

.hero-course__text-content > * {
  margin-top: 20px;
}

.hero-course__text-content > *:first-child {
  margin-top: 0;
}

.hero-course__text-content h1,
.hero-course__text-content h2,
.hero-course__text-content h3,
.hero-course__text-content h4,
.hero-course__text-content h5,
.hero-course__text-content h6 {
  text-transform: uppercase;
}

.hero-course__text-content h1:is(.home .hero .hero-course__text-content h1, .home .hero .hero-course__text-content h2, .home .hero .hero-course__text-content h3, .home .hero .hero-course__text-content h4, .home .hero .hero-course__text-content h5, .home .hero .hero-course__text-content h6),
.hero-course__text-content h2:is(.home .hero .hero-course__text-content h1, .home .hero .hero-course__text-content h2, .home .hero .hero-course__text-content h3, .home .hero .hero-course__text-content h4, .home .hero .hero-course__text-content h5, .home .hero .hero-course__text-content h6),
.hero-course__text-content h3:is(.home .hero .hero-course__text-content h1, .home .hero .hero-course__text-content h2, .home .hero .hero-course__text-content h3, .home .hero .hero-course__text-content h4, .home .hero .hero-course__text-content h5, .home .hero .hero-course__text-content h6),
.hero-course__text-content h4:is(.home .hero .hero-course__text-content h1, .home .hero .hero-course__text-content h2, .home .hero .hero-course__text-content h3, .home .hero .hero-course__text-content h4, .home .hero .hero-course__text-content h5, .home .hero .hero-course__text-content h6),
.hero-course__text-content h5:is(.home .hero .hero-course__text-content h1, .home .hero .hero-course__text-content h2, .home .hero .hero-course__text-content h3, .home .hero .hero-course__text-content h4, .home .hero .hero-course__text-content h5, .home .hero .hero-course__text-content h6),
.hero-course__text-content h6:is(.home .hero .hero-course__text-content h1, .home .hero .hero-course__text-content h2, .home .hero .hero-course__text-content h3, .home .hero .hero-course__text-content h4, .home .hero .hero-course__text-content h5, .home .hero .hero-course__text-content h6) {
  font: 500 var(--h1-big)/90% var(--heading-font-family);
}

.hero-course__text-content h1:is(.home .hero .hero-course__text-content h1, .home .hero .hero-course__text-content h2, .home .hero .hero-course__text-content h3, .home .hero .hero-course__text-content h4, .home .hero .hero-course__text-content h5, .home .hero .hero-course__text-content h6) ._row-1,
.hero-course__text-content h2:is(.home .hero .hero-course__text-content h1, .home .hero .hero-course__text-content h2, .home .hero .hero-course__text-content h3, .home .hero .hero-course__text-content h4, .home .hero .hero-course__text-content h5, .home .hero .hero-course__text-content h6) ._row-1,
.hero-course__text-content h3:is(.home .hero .hero-course__text-content h1, .home .hero .hero-course__text-content h2, .home .hero .hero-course__text-content h3, .home .hero .hero-course__text-content h4, .home .hero .hero-course__text-content h5, .home .hero .hero-course__text-content h6) ._row-1,
.hero-course__text-content h4:is(.home .hero .hero-course__text-content h1, .home .hero .hero-course__text-content h2, .home .hero .hero-course__text-content h3, .home .hero .hero-course__text-content h4, .home .hero .hero-course__text-content h5, .home .hero .hero-course__text-content h6) ._row-1,
.hero-course__text-content h5:is(.home .hero .hero-course__text-content h1, .home .hero .hero-course__text-content h2, .home .hero .hero-course__text-content h3, .home .hero .hero-course__text-content h4, .home .hero .hero-course__text-content h5, .home .hero .hero-course__text-content h6) ._row-1,
.hero-course__text-content h6:is(.home .hero .hero-course__text-content h1, .home .hero .hero-course__text-content h2, .home .hero .hero-course__text-content h3, .home .hero .hero-course__text-content h4, .home .hero .hero-course__text-content h5, .home .hero .hero-course__text-content h6) ._row-1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.hero-course__text-content h1 ._row-1 {
  display: flex;
  gap: 0.5em;
  width: 100%;
  justify-content: space-between;
}

.hero-course__btn-wrap {
  margin-top: 80px;
  display: flex;
  justify-content: center;
}

.hero-course__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 32px;
  position: relative;
}

.hero-course__items .item {
  padding: 20px 0;
  border-top: 1px solid var(--white-10);
  display: grid;
  grid-template-columns: 200px 1fr 24px;
  gap: 8px;
  align-items: center;
  font-weight: 300;
  font-size: 18px;
  line-height: 135%;
}

.hero-course__items .item__name {
  font-weight: 700;
}

.hero-course__items .item__value {
  opacity: 0.7;
}

@media (max-width: 1260px) {
  .hero-course__bg {
    min-height: 435px;
    margin-bottom: -200px;
  }

  .hero-course__container {
    gap: 230px;
  }

  .hero-course__content:before {
    background-image: linear-gradient(0deg, var(--bg) 80%, transparent 100%);
  }

  .hero-course__text-content {
    margin-bottom: 32px;
    font-weight: 300;
    font-size: 20px;
    line-height: 130%;
  }

  .hero-course__btn-wrap {
    margin-top: 32px;
  }

  .hero-course__items {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 760px) {
  .hero-course__bg {
    display: none;
    aspect-ratio: 390/350;
    width: 100%;
    margin-bottom: -120px;
  }

  .hero-course__bg_mob {
    display: block;
  }

  .hero-course__content:before {
    background-image: linear-gradient(0deg, var(--bg) 50%, transparent 100%);
  }

  .hero-course__text-content h1:is(.home .hero .hero-course__text-content h1, .home .hero .hero-course__text-content h2, .home .hero .hero-course__text-content h3, .home .hero .hero-course__text-content h4, .home .hero .hero-course__text-content h5, .home .hero .hero-course__text-content h6) ._row-1,
  .hero-course__text-content h2:is(.home .hero .hero-course__text-content h1, .home .hero .hero-course__text-content h2, .home .hero .hero-course__text-content h3, .home .hero .hero-course__text-content h4, .home .hero .hero-course__text-content h5, .home .hero .hero-course__text-content h6) ._row-1,
  .hero-course__text-content h3:is(.home .hero .hero-course__text-content h1, .home .hero .hero-course__text-content h2, .home .hero .hero-course__text-content h3, .home .hero .hero-course__text-content h4, .home .hero .hero-course__text-content h5, .home .hero .hero-course__text-content h6) ._row-1,
  .hero-course__text-content h4:is(.home .hero .hero-course__text-content h1, .home .hero .hero-course__text-content h2, .home .hero .hero-course__text-content h3, .home .hero .hero-course__text-content h4, .home .hero .hero-course__text-content h5, .home .hero .hero-course__text-content h6) ._row-1,
  .hero-course__text-content h5:is(.home .hero .hero-course__text-content h1, .home .hero .hero-course__text-content h2, .home .hero .hero-course__text-content h3, .home .hero .hero-course__text-content h4, .home .hero .hero-course__text-content h5, .home .hero .hero-course__text-content h6) ._row-1,
  .hero-course__text-content h6:is(.home .hero .hero-course__text-content h1, .home .hero .hero-course__text-content h2, .home .hero .hero-course__text-content h3, .home .hero .hero-course__text-content h4, .home .hero .hero-course__text-content h5, .home .hero .hero-course__text-content h6) ._row-1 {
    display: initial;
  }

  .hero-course__text-content h1 ._row-1 {
    display: initial;
  }

  .hero-course__text-content {
    margin-bottom: 20px;
  }

  .hero-course__text-content br {
    display: none;
  }

  .hero-course__items .item {
    padding: 8px 0;
    font-weight: 300;
    font-size: 14px;
    line-height: 130%;
    grid-template-columns: 126px 1fr 18px;
  }
}