/* =============================================
   Hero Carousel
   ============================================= */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 550px;
  border-radius: 0 0 48px 48px;
}

.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  transform: translateX(100%);
  cursor: pointer;
}

.hero__slide.active {
  transform: translateX(0);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('/sites/default/files/images/create-account-hero-bg.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
  pointer-events: none;
}

body.path-frontpage .paragraph--type--paragraph-image-cover-block,
body.path-frontpage .paragraph--type--paragraph-image-bg-block,
body.path-frontpage .paragraph--type--paragraph-block {
  display: none !important;
}

.paragraph--type--paragraph-image-cover-block.imagebg,
.paragraph--type--paragraph-image-bg-block.imagebg {
  background-image: var(--hero-bg-image) !important;
  background-size: cover !important;
  background-position: center center !important;
  min-height: 560px;
  position: relative;
  padding-top: 0 !important;
  border-radius: 0 0 48px 48px;
  overflow: hidden;
}

.paragraph--type--paragraph-image-cover-block .background-image-holder,
.paragraph--type--paragraph-image-bg-block .background-image-holder {
  background-image: var(--hero-bg-image) !important;
  background-size: cover !important;
  background-position: center center !important;
  opacity: 1 !important;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 40, 87, 0.20);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #0082BB 0%,
    rgba(0, 130, 187, 0) 65%
  );
  mix-blend-mode: multiply;
}

.hero__container {
  width: 100%;
  padding: 0 60px !important;
}

.hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  height: 240px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero__content h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0 !important;
  color: #fff !important;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero__content p {
  font-size: 20px;
  margin-bottom: 0 !important;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9) !important;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.btn-hero-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #fff !important;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 16px !important;
  font-weight: 600;
  text-decoration: none !important;
  display: inline-block;
  white-space: nowrap;
  transition: background var(--transition), border-color var(--transition);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff !important;
}

.btn-hero {
  background: var(--sata-white);
  color: var(--sata-navy);
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  width: fit-content;
  height: 48px;
  line-height: revert !important;
  font-size: 16px !important;
  font-weight: 600;
  margin-top: 1rem;
  text-decoration: none !important;
  transition: background var(--transition), color var(--transition);
}

.btn-hero:hover {
  background: var(--sata-teal);
  color: var(--sata-white);
}

.hero__bottom {
  position: absolute;
  z-index: 1;
  top: 342px;
  right: 70px;
  color: #fff;
}

.hero__cta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.hero__arrows {
  display: flex;
  margin-left: auto;
}

.hero__arrow {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: background var(--transition), border-color var(--transition);
  padding: 0;
}

.hero__arrow.next {
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-bottom-right-radius: 8px;
  border-top-right-radius: 8px;
}

.hero__arrow.prev {
  border-right: none;
  border-top: 1px solid rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  border-left: 1px solid rgba(255, 255, 255, 0.75);
  border-bottom-left-radius: 8px;
  border-top-left-radius: 8px;
}

.hero__arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 1199.98px) {
  .hero__slide {
    align-items: flex-start;
  }

  .hero__container {
    padding: 105px 60px 0 !important;
  }

  .hero__bottom {
    top: 280px;
    right: 70px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 420px;
    border-radius: 0 0 16px 16px;
  }

  .hero__slide {
    align-items: flex-start;
  }

  .hero__container {
    padding: 100px 16px 0 !important;
  }

  .hero__bottom {
    top: 280px;
    right: 16px;
  }
}

@media (max-width: 335px) {
  .hero__cta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}
