@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes leave {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-100%);
  }
}
.block-text-hero {
  padding-top: 64px;
}
.block-text-hero .title-wrapper img {
  border-radius: 16px;
}
@media screen and (max-width: 992px) {
  .block-text-hero .title-wrapper img {
    padding-top: 32px;
  }
}
.block-text-hero h1 {
  font-size: 166px;
  font-weight: 600;
  letter-spacing: -8.3px;
}
.block-text-hero h1 span {
  font-family: "Borna";
}
.block-text-hero h1 .hero {
  margin-top: -30px;
  line-height: 100%;
  padding: 20px 0;
}
@media screen and (max-width: 992px) {
  .block-text-hero h1 .hero {
    margin-top: 0;
  }
}
.block-text-hero h1 .dynamic-title {
  display: flex;
  flex-direction: row;
}
@media screen and (max-width: 992px) {
  .block-text-hero h1 .dynamic-title {
    margin-top: 0;
  }
}
.block-text-hero h1 .dynamic-title .carousel-text {
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: auto;
  width: 782px;
  min-height: 180px;
}
@media screen and (max-width: 992px) {
  .block-text-hero h1 .dynamic-title .carousel-text {
    height: 60px;
    margin-bottom: -16px;
  }
}
.block-text-hero h1 .dynamic-title .carousel-text span {
  color: #00141a;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  white-space: nowrap;
  transition: opacity 0.5s, transform 0.5s;
}
.block-text-hero h1 .dynamic-title .carousel-text span.relative {
  position: relative;
}
.block-text-hero h1 .dynamic-title .carousel-text span.active {
  opacity: 1;
  transform: translateY(0);
}
.block-text-hero h1 .dynamic-title .carousel-text span.enter {
  animation: enter 0.5s forwards;
}
.block-text-hero h1 .dynamic-title .carousel-text span.leave {
  animation: leave 0.5s forwards;
}
.block-text-hero h1 > span.prefix {
  font-size: 54px;
  font-weight: 600;
  line-height: 110%;
  letter-spacing: -1.16px;
  display: block;
  padding-bottom: 12px;
}
.block-text-hero h1 > span.suffix {
  font-size: 54px;
  letter-spacing: -1.16px;
  display: block;
  padding-top: 12px;
}
.block-text-hero h1 > span > span {
  color: #002a93;
  display: block;
  line-height: 100%;
}
.block-text-hero .hero-body {
  padding: 72px 0;
  border-bottom: 2px solid #002a93;
}
@media screen and (max-width: 992px) {
  .block-text-hero .hero-body {
    padding: 32px 0 48px;
  }
}
.block-text-hero .hero-body p {
  font-family: Poppins;
  font-size: 18px;
  font-weight: 400;
  line-height: 145%;
}
@media screen and (max-width: 992px) {
  .block-text-hero .hero-body p {
    font-size: 16px;
    padding-bottom: 20px;
  }
  .block-text-hero .hero-body p:last-child {
    padding-bottom: 0;
  }
}
.block-text-hero .hero-body span {
  color: #002a93;
  font-weight: normal;
}
.block-text-hero .hero-footer .slider .slide {
  position: relative;
  display: inline-block;
}
.block-text-hero .hero-footer .slider .slide::before {
  width: 8px;
  height: 8px;
  background: #ff6f61;
  content: "";
  position: absolute;
  border-radius: 50%;
  top: 7px;
  right: 30px;
}
.block-text-hero .hero-footer .slider .slide:last-child::before {
  top: 0;
  right: 0;
  width: 0;
  height: 0;
}
.block-text-hero .hero-footer .slider .slide > p {
  padding-right: 50px;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 145%;
}
@media screen and (max-width: 1400px) {
  .block-text-hero .hero-footer .slider .slide > p {
    padding-right: 40px;
  }
  .block-text-hero .hero-footer .slider .slide::before {
    right: 15px;
  }
}
@media screen and (max-width: 1200px) {
  .block-text-hero .hero-footer .slider .slide > p {
    padding-right: 26px;
  }
  .block-text-hero .hero-footer .slider .slide::before {
    right: 8px;
  }
}
.block-text-hero .hero-footer .slider .slick-slide .slide > p {
  padding-right: 50px;
}
.block-text-hero .hero-footer .slider .slick-slide .slide::before {
  width: 8px;
  height: 8px;
  top: 7px;
  right: 20px;
}
@media screen and (max-width: 992px) {
  .block-text-hero h1 {
    font-size: 52px;
    letter-spacing: -2.6px;
  }
  .block-text-hero h1 span {
    font-size: 52px;
  }
}
.block-text-hero.with-image h1 {
  font-size: 124px;
}

.single-courses .block-text-hero.with-image {
  font-size: 44px;
  line-height: 120%;
  letter-spacing: -0.88px;
}
.single-courses .block-text-hero h1 {
  font-size: 44px;
  line-height: 120%;
  letter-spacing: -0.88px;
  display: flex;
  flex-direction: column;
  row-gap: 12px;
}
@media screen and (max-width: 992px) {
  .single-courses .block-text-hero h1 {
    font-size: 38px;
    line-height: 110%;
    letter-spacing: -0.76px;
  }
}
.single-courses .block-text-hero h1 .hero {
  margin-top: 0;
  padding: 0;
}
.single-courses .block-text-hero h1 .prefix {
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
}

/*# sourceMappingURL=text_hero.css.map*/