.smtut-hero-module {
  --forest-dark: #125d64;
  --forest-mid: #008c99;
  --white: #ffffff;
  --honeydew: #e8ffde;
  --hero-height: 650px;
  position: relative;
  width: 100%;
  height: var(--hero-height);
  overflow: hidden;
}

.smtut-hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  opacity: 0;
  pointer-events: none;
}

.smtut-hero__slide.is-active {
  opacity: 1;
  pointer-events: all;
}

.smtut-hero__image {
  width: 50%;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.smtut-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform, opacity;
}

.smtut-hero__image-placeholder {
  width: 100%;
  height: 100%;
  background-color: #d2d8d9;
}

.smtut-hero__content {
  width: 50%;
  flex-shrink: 0;
  background-image: linear-gradient(124.7deg, #125d64 37.352%, #008c99 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
}

.smtut-hero__content-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: min(500px, 80%);
}

.smtut-hero__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.smtut-hero__title {
  font-family: 'Open Sans', sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 52px;
  color: var(--white);
  margin: 0;
  will-change: transform, opacity;
}

.smtut-hero__excerpt {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  color: var(--white);
  margin: 0;
  will-change: transform, opacity;
}

.smtut-hero__btn {
  display: inline-flex;
  align-items: center;
  background-color: var(--honeydew);
  color: var(--forest-dark) !important;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  padding: 16px;
  border-radius: 14px;
  text-decoration: none !important;
  align-self: flex-start;
  will-change: transform, opacity;
}

.smtut-hero__content--template {
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
}

.smtut-hero__content--template > .elementor {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.smtut-hero__nav {
  position: absolute;
  bottom: 32px;
  right: 32px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.smtut-hero__prev,
.smtut-hero__next {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background-color: var(--honeydew) !important;
  border: none !important;
  border-radius: 14px;
  box-shadow: none !important;
  cursor: pointer;
  color: var(--forest-dark);
  line-height: 0;
  transition: none !important;
}

.smtut-hero__prev:hover,
.smtut-hero__prev:focus,
.smtut-hero__next:hover,
.smtut-hero__next:focus {
  background-color: var(--white) !important;
  color: var(--forest-dark) !important;
  box-shadow: none !important;
  outline: none;
}

.smtut-hero-empty {
  padding: 32px;
  background-color: #f5f5f5;
  color: #777;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  border: 1px dashed #ccc;
}

@media (max-width: 1024px) {
  .smtut-hero__content-inner {
    width: min(432px, 85%);
  }

  .smtut-hero__title {
    font-size: 36px;
    line-height: 44px;
  }
}

@media (max-width: 767px) {
  .smtut-hero-module {
    height: auto !important;
  }

  .smtut-hero__slide {
    position: static;
    flex-direction: column;
    display: none;
    opacity: 1;
    pointer-events: all;
  }

  .smtut-hero__slide.is-active {
    display: flex;
  }

  .smtut-hero__image {
    width: 100%;
    height: 420px;
  }

  .smtut-hero__content {
    width: 100%;
    padding: 32px 24px 80px;
    align-items: flex-start;
    box-sizing: border-box;
  }

  .smtut-hero__content-inner {
    width: 100%;
    gap: 24px;
  }

  .smtut-hero__title {
    font-size: 26px;
    line-height: 34px;
  }

  .smtut-hero__excerpt {
    font-size: 16px;
    line-height: 24px;
  }

  .smtut-hero__nav {
    bottom: 24px;
    right: 24px;
  }
}
