/* LOCAL PREVIEW ONLY — eHUB homepage hero carousel (4 Dec 2026) */
.ehub-hero-shell {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  box-sizing: border-box;
}
.ehub-hero-viewport {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 100%;
  touch-action: pan-y;
}
.ehub-hero-slide {
  grid-area: 1 / 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
  color: inherit;
  text-decoration: none;
}
.ehub-hero-slide.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.ehub-hero-slide--link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
}
.ehub-hero-slide--link:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 4px;
}
.ehub-hero-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: rgba(147, 197, 253, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 14px 0;
}
.ehub-hero-offer-title {
  font-size: clamp(36px, 6.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #ffffff;
  max-width: 860px;
  margin: 0 0 24px 0;
  font-weight: 400;
}
.ehub-hero-offer-title em {
  font-style: italic;
}
.ehub-hero-offer-sub {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
  max-width: 580px;
  margin: 0 0 40px 0;
}
.ehub-hero-cta {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: #060e1e;
  background: #ffffff;
  padding: 13px 26px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-decoration: none;
}
.ehub-hero-cta-ghost {
  pointer-events: none;
}
.ehub-hero-controls {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 36px;
  min-width: 0;
  max-width: 100%;
}
.ehub-hero-arrows {
  display: flex;
  gap: 8px;
}
.ehub-hero-arrow,
.ehub-hero-dot {
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  cursor: pointer;
  padding: 0;
}
.ehub-hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ehub-hero-arrow:hover,
.ehub-hero-dot:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}
.ehub-hero-arrow:focus-visible,
.ehub-hero-dot:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 3px;
}
.ehub-hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ehub-hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}
.ehub-hero-dot[aria-current="true"] {
  width: 28px;
  background: #ffffff;
  border-color: #ffffff;
}
.ehub-hero-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 560px) {
  .ehub-hero-shell {
    padding: 0 20px;
  }
  .ehub-hero-offer-title {
    font-size: clamp(32px, 10vw, 42px);
  }
  .ehub-hero-offer-sub {
    font-size: 16px;
    margin-bottom: 28px;
  }
  .ehub-hero-controls {
    margin-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ehub-hero-slide,
  .ehub-hero-bg {
    transition: none;
  }
}

/* Inner link that makes the whole InCard slide clickable */
.ehub-hero-slide .ehub-hero-slide--link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  max-width: 100%;
}
.ehub-hero-slide .ehub-hero-slide--link:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 4px;
  border-radius: 8px;
}

/* Full-bleed per-slide hero photos (4 Dec 2026) */
.ehub-hero-bgs {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.ehub-hero-fx {
  z-index: 1;
}
.ehub-hero-bg {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.ehub-hero-bg.is-active {
  visibility: visible;
  opacity: 1;
}
.ehub-hero-bg picture,
.ehub-hero-bg img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.ehub-hero-bg img {
  object-fit: cover;
  object-position: 32% 48%;
}
.ehub-hero-bg-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(6, 14, 30, 0.82) 0%,
      rgba(6, 14, 30, 0.70) 26%,
      rgba(6, 14, 30, 0.48) 48%,
      rgba(6, 14, 30, 0.22) 64%,
      rgba(6, 14, 30, 0.10) 100%),
    linear-gradient(180deg,
      rgba(6, 14, 30, 0.28) 0%,
      rgba(6, 14, 30, 0.06) 40%,
      rgba(6, 14, 30, 0.20) 100%);
}
@media (max-width: 768px) {
  .ehub-hero-bg img {
    object-position: 48% 28%;
  }
  .ehub-hero-bg-overlay {
    background:
      linear-gradient(180deg,
        rgba(6, 14, 30, 0.90) 0%,
        rgba(6, 14, 30, 0.82) 26%,
        rgba(6, 14, 30, 0.68) 48%,
        rgba(6, 14, 30, 0.42) 68%,
        rgba(6, 14, 30, 0.24) 100%),
      linear-gradient(90deg,
        rgba(6, 14, 30, 0.40) 0%,
        rgba(6, 14, 30, 0.18) 50%,
        rgba(6, 14, 30, 0.10) 100%);
  }
}
