/**
 * HELkom CTA Banner Styles
 */

.smort-helkom-cta-banner {
  width: 100%;
  background: linear-gradient(
    0deg,
    rgba(238, 241, 235, 1) 27%,
    rgba(255, 255, 255, 0) 27%
  );
  background: transparent;
}

.smort-helkom-cta-banner__inner {
  --cta-blend-height: clamp(120px, 17vw, 250px);
  position: relative;
  overflow: hidden;
  border-top-right-radius: var(--border-raduis-smort);
  border-top-left-radius: var(--border-raduis-smort);
  min-height: 20rem;
  background-size: cover;
  background-position: center;
  background-color: #334534;
  isolation: isolate;
}

.smort-helkom-cta-banner__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
}

.smort-helkom-cta-banner__inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 25%;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(232, 236, 230, 0) 0%,
    rgba(232, 236, 230, 0.18) 22%,
    rgba(232, 236, 230, 0.52) 48%,
    rgba(232, 236, 230, 0.84) 72%,
    rgba(232, 236, 230, 1) 100%
  );
}

.smort-helkom-cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 14, 8, 0.28) 0%,
    rgba(7, 14, 8, 0.74) 100%
  );
  z-index: 1;
}

.smort-helkom-cta-banner__content {
  position: relative;
  z-index: 3;
  min-height: 20rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 1rem 1rem 1.15rem;
}

.smort-helkom-cta-banner__bottom-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  pointer-events: none;
}

.smort-helkom-cta-banner__content h2 {
  margin: 0;
  color: #fff;
  text-transform: uppercase;
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  font-size: var(--h1-sm-size);
  line-height: var(--h1-sm-height);
}

.smort-helkom-cta-banner__content p {
  margin: 0.5rem 0 0.75rem;
  max-width: 70ch;
  margin-bottom: 3rem !important;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.42;
}

@media (max-width: 767px) {
  .smort-helkom-cta-banner__inner {
    min-height: 12.5rem;
  }

  .smort-helkom-cta-banner__content {
    min-height: 40rem;
    padding: 0.9rem 0.9rem 1rem;
  }

  .smort-helkom-cta-banner__content h2 {
    font-size: var(--h2-sm-size);
    line-height: var(--h2-sm-height);
  }
}

.smort-helkom-cta-banner__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  background: rgba(66, 87, 65, 0.94);
  padding: 0.43rem 0.78rem;
  font-size: 0.8rem;
  font-weight: var(--font-weight-heading);
}

@media (min-width: 1024px) {
  .smort-helkom-cta-banner__inner {
    min-height: 20rem;
  }

  .smort-helkom-cta-banner__content {
    min-height: 45rem;
    padding: 1.5rem;
  }

  .smort-helkom-cta-banner__content p {
    margin: 0.65rem 0 1rem;

    font-size: 1rem;
  }

  .smort-helkom-cta-banner__content h2 {
    font-size: var(--h1-lg-size);
    line-height: var(--h1-lg-height);
  }
}
