/* Zeam refresh marquee — Figma Marquee 35:240048 (Default + Mobile)
   Loaded after home-index.css so it wins over the old hero styles.
   Uses page tokens from css-chunks/page.css. */

#homeMarqueeWrapper {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  width: 100% !important;
  max-width: var(--page-max-width, 1680px) !important;
  height: auto !important;
  margin: 0 auto 24px !important;
  padding-left: var(--page-margin, 16px) !important;
  padding-right: var(--page-margin, 16px) !important;
  box-sizing: border-box;
  z-index: 1;
}

@media (max-width: 1049px) {
  #homePage {
    padding-top: 64px;
  }
}

/* Page rail + 24px stack live in css-chunks/home.css (Home-only via .zeam-home). */

#homeMarqueeWrapper #homeMarquee {
  position: relative;
  width: 100% !important;
  height: auto !important;
  left: auto !important;
  margin-left: 0 !important;
}

#homeMarqueeWrapper #homeMarquee .slick-list,
#homeMarqueeWrapper #homeMarquee .slick-track {
  height: auto;
}

#homeMarqueeWrapper #homeMarquee .slick-track {
  display: flex;
  align-items: stretch;
}

#homeMarqueeWrapper #homeMarquee .slick-slide {
  height: auto;
  float: none;
}

#homeMarqueeWrapper #homeMarquee .slick-slide > div {
  height: 100%;
}

#homeMarqueeWrapper #homeMarquee .slick-slide::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

#homeMarqueeWrapper .testContainer,
#homeMarqueeWrapper .home-marquee__slide {
  position: relative;
  display: flex;
  align-items: center;
  width: auto;
  max-width: 100%;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden;
  box-sizing: border-box;
  background: #0c1f46;
}

#homeMarqueeWrapper .item.marqueeImage,
#homeMarqueeWrapper .home-marquee__media {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none !important;
  overflow: hidden;
  z-index: 0;
}

#homeMarqueeWrapper .marqueeImageClick {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#homeMarqueeWrapper .item.marqueeImage img,
#homeMarqueeWrapper .home-marquee__media img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center;
  display: block;
}

#homeMarqueeWrapper .marqueeInfo,
#homeMarqueeWrapper .home-marquee__content {
  position: relative !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: min(548px, 100%);
  max-width: 100% !important;
  height: auto;
  padding: 16px !important;
  box-sizing: border-box;
  z-index: 3;
}

#homeMarqueeWrapper .marqueeTitle,
#homeMarqueeWrapper .home-marquee__title {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0;
  padding: 0 !important;
  color: #e1e3e9;
  font-family: Poppins, sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 36px;
  text-align: left;
  text-shadow: none;
  word-break: break-word;
}

#homeMarqueeWrapper .marqueeDescription,
#homeMarqueeWrapper .home-marquee__desc {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  margin: 0 0 0 0 !important;
  padding: 0 !important;
  color: #e1e3e9;
  font-family: Poppins, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  text-align: left;
  text-shadow: none;
  word-break: break-word;
}

#homeMarqueeWrapper .marqueeButton,
#homeMarqueeWrapper .home-marquee__cta {
  position: static !important;
  bottom: auto !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 12px !important;
  border: 0;
  border-radius: 12px;
  background: #eeff41 !important;
  background-image: none !important;
  color: #000024;
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

#homeMarqueeWrapper .marqueeButton:hover,
#homeMarqueeWrapper .home-marquee__cta:hover {
  background: #eeff41 !important;
  color: #000024;
  text-decoration: none;
  filter: brightness(1.06);
}

#homeMarqueeWrapper .home-marquee__cta-icon {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

#homeMarqueeWrapper .marqueeButton .fa-play {
  display: none;
}

/* Desktop / tablet overlay (Figma Default 1:8950) */
@media (min-width: 768px) {
  #homeMarqueeWrapper .testContainer,
  #homeMarqueeWrapper .home-marquee__slide {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1920 / 640;
    border-radius: 22px;
    overflow: hidden;
    background: #0c1f46;
  }

  #homeMarqueeWrapper .item.marqueeImage img,
  #homeMarqueeWrapper .home-marquee__media img {
    object-fit: cover !important;
    object-position: center;
    height: 100% !important;
    width: 100% !important;
  }

  #homeMarqueeWrapper #homeMarquee .slick-list {
    overflow: hidden;
    border-radius: 22px;
  }

  #homeMarqueeWrapper .item.marqueeImage,
  #homeMarqueeWrapper .home-marquee__media {
    border-radius: 22px;
  }

  /* Full-card wash on the slide so it covers the image edge-to-edge (Figma 1:8950) */
  #homeMarqueeWrapper .testContainer::before,
  #homeMarqueeWrapper .home-marquee__slide::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 22px;
    background: linear-gradient(
      to right,
      rgba(12, 31, 70, 0.75) 45%,
      rgba(0, 0, 0, 0) 70%
    );
    z-index: 1;
  }

  #homeMarqueeWrapper #homeMarquee .item.marqueeImage::after,
  #homeMarqueeWrapper #homeMarquee .home-marquee__media::after {
    content: none !important;
    display: none !important;
    background: none !important;
  }

  #homeMarqueeWrapper .marqueeInfo,
  #homeMarqueeWrapper .home-marquee__content {
    position: absolute !important;
    top: 0 !important;
    right: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    width: min(548px, 100%);
    max-width: 548px !important;
    height: 100% !important;
    padding: 16px !important;
    box-sizing: border-box;
    z-index: 3;
  }
}

/* Phone stacked card (Figma Mobile 35:240049)
   Compact: 3:1 image, then title/desc/CTA (16px gaps), then dots.
   Beat leftover home-index .testContainer { height: 464px !important }. */
@media (max-width: 767px) {
  #homeMarqueeWrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 24px !important;
    background: #0c1f46;
    border-radius: 0 0 22px 22px;
    overflow: hidden;
  }

  #homeMarqueeWrapper #homeMarquee {
    background: transparent;
    border-radius: 0;
    padding-bottom: 0;
    overflow: visible;
    height: auto !important;
  }

  #homeMarqueeWrapper #homeMarquee .slick-list,
  #homeMarqueeWrapper #homeMarquee .slick-track {
    height: auto !important;
  }

  #homeMarqueeWrapper #homeMarquee .slick-track {
    align-items: flex-start;
  }

  #homeMarqueeWrapper #homeMarquee .slick-slide,
  #homeMarqueeWrapper #homeMarquee .slick-slide > div {
    height: auto !important;
  }

  #homeMarqueeWrapper .testContainer,
  #homeMarqueeWrapper .home-marquee__slide {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 16px;
    height: auto !important;
    min-height: 0 !important;
    border-radius: 0;
    background: transparent;
  }

  #homeMarqueeWrapper .item.marqueeImage,
  #homeMarqueeWrapper .home-marquee__media {
    position: relative !important;
    inset: auto;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 1920 / 640;
    height: auto !important;
    max-height: none !important;
  }

  #homeMarqueeWrapper .marqueeImageClick,
  #homeMarqueeWrapper .item.marqueeImage img,
  #homeMarqueeWrapper .home-marquee__media img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
  }

  #homeMarqueeWrapper .testContainer::before,
  #homeMarqueeWrapper .home-marquee__slide::before,
  #homeMarqueeWrapper .home-marquee__media::after,
  #homeMarqueeWrapper #homeMarquee .item.marqueeImage::after,
  #homeMarqueeWrapper #homeMarquee .home-marquee__media::after {
    content: none !important;
    display: none !important;
    background: none !important;
  }

  #homeMarqueeWrapper .marqueeInfo,
  #homeMarqueeWrapper .home-marquee__content {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 16px !important;
  }

  #homeMarqueeWrapper .marqueeTitle,
  #homeMarqueeWrapper .home-marquee__title {
    font-size: 24px;
    line-height: 32px;
  }

  #homeMarqueeWrapper .marqueeDescription,
  #homeMarqueeWrapper .home-marquee__desc {
    font-size: 16px;
    line-height: 24px;
  }

  #homeMarqueeWrapper .home-marquee__dots {
    padding: 0 16px 16px;
  }
}

/* Dots are a sibling row under the slides — never overlay the CTA.
   Kill leftover home-index/slick-theme absolute + bottom offsets. */
#homeMarqueeWrapper .home-marquee__dots:empty {
  display: none !important;
}

#homeMarqueeWrapper .home-marquee__dots {
  position: static !important;
  width: 100%;
  margin: 0;
}

#homeMarqueeWrapper #homeMarquee.slick-dotted.slick-slider {
  margin-bottom: 0;
}

#homeMarqueeWrapper .slick-dots,
#homeMarqueeWrapper .marquee-dots {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  float: none !important;
  width: 100%;
  height: auto;
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  z-index: 1;
}

#homeMarqueeWrapper .slick-dots li,
#homeMarqueeWrapper .marquee-dots li {
  display: block;
  width: 8px;
  height: 8px;
  margin: 0;
  padding: 0;
}

#homeMarqueeWrapper .slick-dots li button,
#homeMarqueeWrapper .marquee-dots button {
  font-size: 0;
  line-height: 0;
  display: block;
  box-sizing: border-box;
  width: 8px;
  height: 8px;
  padding: 0 !important;
  cursor: pointer;
  border: 0;
  outline: none;
  border-radius: 50%;
  background: #8790a9;
}

#homeMarqueeWrapper .slick-dots li button:before,
#homeMarqueeWrapper .slick-dots li button:hover:before,
#homeMarqueeWrapper .slick-dots li.slick-active button:before {
  content: none !important;
  display: none !important;
}

#homeMarqueeWrapper .slick-dots li.slick-active button,
#homeMarqueeWrapper .marquee-dots button.active {
  background: #eeff41;
  border: 0;
}

/* Kill leftover home-index hero rules that still match these class names.
   home-index.css stays for Featured/legacy; this file loads after it on Home. */
#homeMarqueeWrapper .item::after,
#homeMarqueeWrapper .slick-slide::after,
#homeMarqueeWrapper .item.marqueeImage::after,
#homeMarqueeWrapper .home-marquee__media::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

#homeMarqueeWrapper .slick-prev,
#homeMarqueeWrapper .slick-next,
#homeMarqueeWrapper .navPrev,
#homeMarqueeWrapper .navNext,
#homeMarqueeWrapper .carouselNav {
  display: none !important;
}

#homeMarqueeWrapper .item.marqueeImage img,
#homeMarqueeWrapper .home-marquee__media img,
#homeMarqueeWrapper .item img {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center;
}

#homeMarqueeWrapper .marqueeTitle,
#homeMarqueeWrapper .home-marquee__title,
#homeMarqueeWrapper .marqueeDescription,
#homeMarqueeWrapper .home-marquee__desc {
  left: auto !important;
  margin-bottom: 0 !important;
  text-shadow: none !important;
}

#homeMarqueeWrapper .marqueeButton,
#homeMarqueeWrapper .home-marquee__cta {
  position: static !important;
  bottom: auto !important;
  background-image: none !important;
}
