/* Original Jetso campaign hero system: exact HTML copy + responsive art direction. */
.campaign-hero {
  position: relative !important;
  isolation: isolate;
  display: block !important;
  width: 100%;
  height: 320px !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: #020914 !important;
}

.campaign-hero .campaign-hero-picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
}

/* Explicit art direction avoids stale responsive-source selection in local previews. */
.campaign-hero .campaign-hero-picture .campaign-hero-art--mobile {
  display: none !important;
}

.campaign-hero .campaign-phone-lower-art {
  display: none;
}

.campaign-hero .campaign-hero-picture img,
.campaign-hero .um-hero-bg-art,
.campaign-hero .bb-hero-bg {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  opacity: 1 !important;
  filter: none !important;
  transform: scale(1.001);
  animation: campaign-art-enter 1.05s cubic-bezier(.22, 1, .36, 1) both !important;
  transition: transform .8s cubic-bezier(.22, 1, .36, 1), filter .8s ease;
}

.campaign-hero:hover .campaign-hero-picture img {
  transform: scale(1.025);
  filter: saturate(1.03) contrast(1.02) !important;
}

.campaign-hero .campaign-hero-overlay,
.campaign-hero .um-hero-overlay,
.campaign-hero .bb-hero-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  width: auto !important;
  height: auto !important;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(1, 8, 22, .82) 0%, rgba(1, 8, 22, .45) 38%, rgba(1, 8, 22, .08) 57%, transparent 70%) !important;
}

.campaign-hero--light .campaign-hero-overlay,
.campaign-hero--light .um-hero-overlay {
  background: linear-gradient(90deg, rgba(248, 251, 253, .99) 0%, rgba(248, 251, 253, .9) 38%, rgba(248, 251, 253, .2) 57%, transparent 70%) !important;
}

.campaign-hero > .shell,
.campaign-hero .campaign-hero-shell {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  width: min(1440px, calc(100% - 120px)) !important;
  height: 100% !important;
  min-height: 0 !important;
  margin-inline: auto !important;
  padding: 0 !important;
}

.campaign-hero .campaign-hero-copy,
.campaign-hero .um-hero-content,
.campaign-hero .bb-hero-content,
.campaign-hero .device-hero-text {
  position: relative !important;
  z-index: 3 !important;
  display: block !important;
  width: min(720px, 54%) !important;
  max-width: 720px !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  animation: campaign-copy-enter .82s cubic-bezier(.22, 1, .36, 1) both !important;
}

.campaign-hero .campaign-hero-badge,
.campaign-hero .um-hero-badge,
.campaign-hero .bb-hero-badge {
  display: inline-flex !important;
  align-items: center;
  min-height: 32px !important;
  margin: 0 0 18px !important;
  padding: 8px 20px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  color: #07142d !important;
  font: italic 900 clamp(11px, .9vw, 15px)/1 "Plus Jakarta Sans", sans-serif !important;
  letter-spacing: .01em !important;
  text-transform: uppercase !important;
  transform: skewX(-8deg);
}

.campaign-hero .campaign-hero-badge > span,
.campaign-hero .um-hero-badge > span,
.campaign-hero .bb-hero-badge > span {
  color: #ff6800 !important;
}

.campaign-hero--light .campaign-hero-badge,
.campaign-hero--light .um-hero-badge {
  background: #ff6800 !important;
  color: #fff !important;
}

.campaign-hero--light .campaign-hero-badge > span,
.campaign-hero--light .um-hero-badge > span {
  color: #fff !important;
}

.campaign-hero .campaign-hero-title,
.campaign-hero .um-hero-title,
.campaign-hero .bb-hero-title,
.campaign-hero .hero-title {
  display: block !important;
  width: auto !important;
  max-width: 690px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  color: #fff !important;
  font: 900 clamp(34px, 3vw, 44px)/1.08 "Plus Jakarta Sans", sans-serif !important;
  letter-spacing: -.045em !important;
  text-align: left !important;
  text-transform: none !important;
  text-shadow: 0 9px 28px rgba(0, 0, 0, .28) !important;
}

.campaign-hero .campaign-hero-title .orange-text,
.campaign-hero .um-hero-title .orange-text,
.campaign-hero .bb-hero-title .orange-text,
.campaign-hero .hero-title .orange-text {
  display: block !important;
  margin-top: 2px !important;
  color: #ff6800 !important;
  -webkit-text-fill-color: #ff6800 !important;
}

.campaign-hero--light .campaign-hero-title,
.campaign-hero--light .um-hero-title {
  color: #0b1529 !important;
  text-shadow: none !important;
}

.campaign-hero .campaign-hero-subtitle,
.campaign-hero .um-hero-subtitle,
.campaign-hero .bb-hero-subtitle,
.campaign-hero .hero-subtitle {
  display: block !important;
  max-width: 590px !important;
  margin: 14px 0 0 !important;
  color: #fff !important;
  font: 600 clamp(14px, 1vw, 16px)/1.45 "Manrope", sans-serif !important;
  text-align: left !important;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .35);
}

.campaign-hero--light .campaign-hero-subtitle,
.campaign-hero--light .um-hero-subtitle {
  color: #111827 !important;
  text-shadow: none !important;
}

.campaign-hero--wifi .um-hero-subtitle {
  margin: 14px 0 0 !important;
}

.campaign-hero .bb-breadcrumbs,
.campaign-hero .device-hero-proof,
.campaign-hero .device-hero-kicker,
.campaign-hero .device-hero-image,
.campaign-hero .um-hero-benefits,
.campaign-hero .um-hero-mobile-benefits,
.campaign-hero .um-hero-tagline {
  display: none !important;
}

@keyframes campaign-copy-enter {
  from { opacity: 0; transform: translate3d(-24px, 10px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes campaign-art-enter {
  from { opacity: .25; transform: scale(1.035); filter: blur(5px); }
  to { opacity: 1; transform: scale(1.001); filter: none; }
}

@media (max-width: 768px) {
  html body:not([data-page="home"]):not(.home-page) .campaign-hero {
    width: 100% !important;
    height: 340px !important;
    min-height: 340px !important;
    max-height: 340px !important;
    aspect-ratio: auto !important;
    padding: 0 !important;
    background-image: none !important;
  }

  html body[data-page="bundles"]:not([data-page="home"]) .campaign-hero--three-line {
    height: 340px !important;
    min-height: 340px !important;
    max-height: 340px !important;
    aspect-ratio: auto !important;
  }

  .campaign-hero .campaign-hero-overlay,
  .campaign-hero .um-hero-overlay,
  .campaign-hero .bb-hero-overlay {
    background: linear-gradient(180deg, rgba(1, 8, 22, .76) 0%, rgba(1, 8, 22, .3) 38%, transparent 58%) !important;
  }

  .campaign-hero--light .campaign-hero-overlay,
  .campaign-hero--light .um-hero-overlay {
    background: linear-gradient(180deg, rgba(248, 251, 253, .98) 0%, rgba(248, 251, 253, .72) 38%, transparent 60%) !important;
  }

  .campaign-hero > .shell,
  .campaign-hero .campaign-hero-shell {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 12px clamp(20px, 5.5vw, 34px) 0 !important;
  }

  .campaign-hero .campaign-hero-copy,
  .campaign-hero .um-hero-content,
  .campaign-hero .bb-hero-content,
  .campaign-hero .device-hero-text {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .campaign-hero .campaign-hero-badge,
  .campaign-hero .um-hero-badge,
  .campaign-hero .bb-hero-badge {
    min-height: 28px !important;
    margin-bottom: 9px !important;
    padding: 6px 14px !important;
    font-size: clamp(10px, 2.9vw, 12px) !important;
  }

  .campaign-hero .campaign-hero-title,
  .campaign-hero .um-hero-title,
  .campaign-hero .bb-hero-title,
  .campaign-hero .hero-title {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(24px, 7.2vw, 31px) !important;
    line-height: 1.05 !important;
    text-align: center !important;
  }

  .campaign-hero .campaign-hero-subtitle,
  .campaign-hero .um-hero-subtitle,
  .campaign-hero .bb-hero-subtitle,
  .campaign-hero .hero-subtitle {
    max-width: 94% !important;
    margin: 8px auto 0 !important;
    font-size: clamp(11px, 3vw, 13px) !important;
    line-height: 1.35 !important;
  }

  .campaign-hero--wifi .um-hero-subtitle {
    max-width: 94% !important;
    margin: 7px auto 0 !important;
  }

  .campaign-hero--devices .campaign-hero-copy,
  .campaign-hero--devices .device-hero-text {
    padding-top: 0 !important;
  }
}

/* Borneo hero: fixed left copy rail and bottom-right art crop keeps the truck visible. */
@media (min-width: 769px) {
  .campaign-hero--borneo,
  .campaign-hero--wifi,
  .campaign-hero--fibre,
  .campaign-hero--three-line,
  .campaign-hero--devices {
    height: clamp(420px, 28vw, 520px) !important;
    min-height: clamp(420px, 28vw, 520px) !important;
    max-height: clamp(420px, 28vw, 520px) !important;
  }

  .campaign-hero--borneo > .shell,
  .campaign-hero--wifi > .shell,
  .campaign-hero--fibre > .shell,
  .campaign-hero--three-line > .shell,
  .campaign-hero--devices > .shell {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: min(1440px, calc(100% - 120px)) !important;
    margin-inline: auto !important;
  }

  .campaign-hero--borneo .bb-hero-content,
  .campaign-hero--borneo .campaign-hero-copy,
  .campaign-hero--wifi .um-hero-content,
  .campaign-hero--wifi .campaign-hero-copy,
  .campaign-hero--fibre .um-hero-content,
  .campaign-hero--fibre .campaign-hero-copy,
  .campaign-hero--three-line .um-hero-content,
  .campaign-hero--three-line .campaign-hero-copy,
  .campaign-hero--devices .device-hero-text,
  .campaign-hero--devices .campaign-hero-copy {
    position: relative !important;
    left: auto !important;
    display: flex !important;
    min-height: 100% !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    width: min(700px, 50%) !important;
    max-width: 700px !important;
    margin: 0 auto 0 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  .campaign-hero--borneo .campaign-hero-picture img,
  .campaign-hero--borneo .bb-hero-bg,
  .campaign-hero--wifi .campaign-hero-picture img,
  .campaign-hero--wifi .um-hero-bg-art,
  .campaign-hero--fibre .campaign-hero-picture img,
  .campaign-hero--fibre .um-hero-bg-art,
  .campaign-hero--three-line .campaign-hero-picture img,
  .campaign-hero--three-line .um-hero-bg-art,
  .campaign-hero--devices .campaign-hero-picture img {
    object-position: right bottom !important;
  }

  /* These two artworks include balanced crop-safe padding above and below the products. */
  .campaign-hero--three-line .campaign-hero-picture img,
  .campaign-hero--three-line .um-hero-bg-art,
  .campaign-hero--devices .campaign-hero-picture img {
    object-position: right center !important;
  }

  .campaign-hero--three-line .campaign-hero-picture img,
  .campaign-hero--three-line .um-hero-bg-art {
    object-position: right 47% !important;
  }

  .campaign-hero--borneo .bb-hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(1, 8, 22, .98) 0%,
      rgba(1, 8, 22, .9) 34%,
      rgba(1, 8, 22, .5) 55%,
      rgba(1, 8, 22, .06) 72%,
      transparent 82%
    ) !important;
  }

  .campaign-hero--borneo .bb-hero-title,
  .campaign-hero--wifi .um-hero-title,
  .campaign-hero--fibre .um-hero-title,
  .campaign-hero--three-line .um-hero-title,
  .campaign-hero--devices .hero-title {
    width: 100% !important;
    max-width: 700px !important;
    line-height: 1.07 !important;
  }

  .campaign-hero--devices .device-hero-text,
  .campaign-hero--devices .campaign-hero-copy {
    top: 13px !important;
  }
}

@media (max-width: 768px) {
  .campaign-hero .campaign-hero-picture .campaign-hero-art--desktop {
    display: none !important;
  }

  .campaign-hero .campaign-hero-picture .campaign-hero-art--mobile {
    display: block !important;
  }

  .campaign-hero--borneo .campaign-hero-picture img,
  .campaign-hero--borneo .bb-hero-bg,
  .campaign-hero--wifi .campaign-hero-picture img,
  .campaign-hero--wifi .um-hero-bg-art,
  .campaign-hero--fibre .campaign-hero-picture img,
  .campaign-hero--fibre .um-hero-bg-art,
  .campaign-hero--three-line .campaign-hero-picture img,
  .campaign-hero--three-line .um-hero-bg-art,
  .campaign-hero--devices .campaign-hero-picture img {
    object-position: center bottom !important;
  }

  .campaign-hero--borneo .bb-hero-content,
  .campaign-hero--borneo .campaign-hero-copy,
  .campaign-hero--wifi .um-hero-content,
  .campaign-hero--wifi .campaign-hero-copy,
  .campaign-hero--fibre .um-hero-content,
  .campaign-hero--fibre .campaign-hero-copy,
  .campaign-hero--three-line .um-hero-content,
  .campaign-hero--three-line .campaign-hero-copy,
  .campaign-hero--devices .device-hero-text,
  .campaign-hero--devices .campaign-hero-copy {
    margin-inline: auto !important;
    text-align: center !important;
  }

  .campaign-hero--borneo .bb-hero-title,
  .campaign-hero--wifi .um-hero-title,
  .campaign-hero--fibre .um-hero-title,
  .campaign-hero--three-line .um-hero-title,
  .campaign-hero--devices .hero-title {
    max-width: 360px !important;
    margin-inline: auto !important;
    text-align: center !important;
  }

  .campaign-hero--devices > .shell,
  .campaign-hero--wifi > .shell {
    padding-top: 20px !important;
  }

  .campaign-hero--devices .device-hero-text,
  .campaign-hero--devices .campaign-hero-copy {
    top: 0 !important;
    padding: 0 !important;
  }

  .campaign-hero--devices .hero-title {
    max-width: 330px !important;
    font-size: clamp(24px, 7.4vw, 30px) !important;
    line-height: 1.08 !important;
    text-wrap: balance;
  }

  .campaign-hero--devices .hero-subtitle {
    max-width: 320px !important;
    margin-top: 7px !important;
    font-size: clamp(10px, 2.85vw, 12px) !important;
    line-height: 1.35 !important;
  }

  .campaign-hero--wifi .um-hero-content,
  .campaign-hero--wifi .campaign-hero-copy {
    padding: 0 !important;
  }

  .campaign-hero--wifi .um-hero-badge {
    margin-bottom: 13px !important;
  }

  .campaign-hero--wifi .um-hero-title {
    max-width: 350px !important;
    font-size: clamp(25px, 7.4vw, 31px) !important;
    line-height: 1.08 !important;
    text-wrap: balance;
  }

  .campaign-hero--wifi .um-hero-subtitle {
    max-width: 335px !important;
    margin-top: 7px !important;
    font-size: clamp(10px, 2.75vw, 12px) !important;
    line-height: 1.35 !important;
  }
}

/* Final mobile copy rail: one centered hierarchy shared by every campaign hero. */
@media (max-width: 768px) {
  .campaign-hero--wifi > .shell,
  .campaign-hero--borneo > .shell,
  .campaign-hero--fibre > .shell,
  .campaign-hero--three-line > .shell,
  .campaign-hero--devices > .shell {
    padding: 18px clamp(16px, 4.6vw, 24px) 0 !important;
  }

  .campaign-hero--wifi .campaign-hero-copy,
  .campaign-hero--borneo .campaign-hero-copy,
  .campaign-hero--fibre .campaign-hero-copy,
  .campaign-hero--three-line .campaign-hero-copy,
  .campaign-hero--devices .campaign-hero-copy {
    top: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .campaign-hero--wifi .campaign-hero-subtitle,
  .campaign-hero--fibre .campaign-hero-subtitle,
  .campaign-hero--devices .campaign-hero-subtitle {
    width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
  }

  .campaign-hero--wifi .um-hero-badge,
  .campaign-hero--fibre .um-hero-badge,
  .campaign-hero--borneo .bb-hero-badge,
  .campaign-hero--three-line .um-hero-badge {
    align-self: center !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .campaign-hero--wifi .um-hero-title {
    max-width: 350px !important;
    font-size: clamp(24px, 7vw, 29px) !important;
  }

  .campaign-hero--wifi .um-hero-subtitle {
    max-width: 340px !important;
    font-size: clamp(9px, 2.55vw, 11px) !important;
  }

  .campaign-hero--fibre .um-hero-title {
    max-width: 360px !important;
    font-size: clamp(24px, 6.8vw, 29px) !important;
  }

  .campaign-hero--fibre .um-hero-subtitle {
    max-width: 330px !important;
    margin-top: 7px !important;
    color: #1f2937 !important;
    font-size: clamp(9px, 2.55vw, 11px) !important;
    text-shadow: none !important;
  }

  .campaign-hero--borneo .bb-hero-title,
  .campaign-hero--three-line .um-hero-title {
    width: 100% !important;
    max-width: 360px !important;
    font-size: clamp(18px, 5.35vw, 21px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.04em !important;
  }

  .campaign-hero--borneo .campaign-title-line,
  .campaign-hero--borneo .orange-text,
  .campaign-hero--three-line .campaign-title-line,
  .campaign-hero--three-line .orange-text {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }

  .campaign-hero--three-line .um-hero-badge {
    gap: 6px !important;
    margin-bottom: 10px !important;
  }

  .campaign-hero--three-line .um-hero-badge > .campaign-badge-tail {
    color: #07142d !important;
  }

  .campaign-hero--three-line .um-hero-title {
    max-width: 355px !important;
    font-size: clamp(18px, 5.2vw, 20px) !important;
  }

  .campaign-hero--devices .hero-title {
    max-width: 345px !important;
    font-size: clamp(24px, 7.15vw, 29px) !important;
  }

  .campaign-hero--devices .hero-subtitle {
    max-width: 330px !important;
    margin-top: 7px !important;
    font-size: clamp(9px, 2.55vw, 11px) !important;
  }

  .campaign-hero--wifi .campaign-hero-picture img,
  .campaign-hero--wifi .um-hero-bg-art,
  .campaign-hero--borneo .campaign-hero-picture img,
  .campaign-hero--borneo .bb-hero-bg,
  .campaign-hero--fibre .campaign-hero-picture img,
  .campaign-hero--fibre .um-hero-bg-art,
  .campaign-hero--three-line .campaign-hero-picture img,
  .campaign-hero--three-line .um-hero-bg-art,
  .campaign-hero--devices .campaign-hero-picture img {
    object-position: center bottom !important;
  }

  /* Borneo and Fibre use a dark mobile copy deck, then reveal the artwork below. */
  .campaign-hero--borneo .campaign-hero-overlay,
  .campaign-hero--borneo .bb-hero-overlay,
  .campaign-hero--fibre .campaign-hero-overlay,
  .campaign-hero--fibre .um-hero-overlay {
    opacity: 1 !important;
    background: linear-gradient(
      180deg,
      rgba(1, 8, 22, .12) 0%,
      rgba(1, 8, 22, .08) 44%,
      transparent 70%
    ) !important;
  }

  .campaign-hero--borneo .bb-hero-title,
  .campaign-hero--fibre .um-hero-title {
    color: #fff !important;
    text-shadow: 0 5px 18px rgba(0, 0, 0, .38) !important;
  }

  .campaign-hero--borneo .bb-hero-title {
    max-width: 100% !important;
    font-size: clamp(20px, 5.75vw, 23px) !important;
    line-height: 1.08 !important;
  }

  .campaign-hero--borneo .bb-hero-title .orange-text {
    white-space: normal !important;
  }

  .campaign-hero--borneo .campaign-mobile-title-line {
    display: block !important;
    width: 100% !important;
    white-space: nowrap !important;
  }

  .campaign-hero--fibre .um-hero-title {
    max-width: 100% !important;
    font-size: clamp(22px, 6.3vw, 27px) !important;
    line-height: 1.08 !important;
  }

  .campaign-hero--fibre .um-hero-title .orange-text {
    white-space: nowrap !important;
  }

  .campaign-hero--fibre .um-hero-subtitle {
    color: #fff !important;
    text-shadow: 0 4px 14px rgba(0, 0, 0, .42) !important;
  }

  /* Final phone-art lock: paint the dark mobile artwork on the hero itself.
     The picture layer is disabled, so no legacy image can cover this background. */
  .campaign-hero--fibre {
    background-color: #01060f !important;
    background-image: url("assets/generated/jetso-heroes-v9/fibre-phone-hero-v9.png") !important;
    background-repeat: no-repeat !important;
    background-position: center bottom !important;
    background-size: cover !important;
  }

  .campaign-hero--borneo {
    background-color: #010712 !important;
    background-image: url("assets/generated/jetso-heroes-v9/borneo-phone-hero-v9.png") !important;
    background-repeat: no-repeat !important;
    background-position: center bottom !important;
    background-size: cover !important;
  }

  .campaign-hero--fibre > .campaign-hero-picture,
  .campaign-hero--borneo > .campaign-hero-picture {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .campaign-hero *,
  .campaign-hero *::before,
  .campaign-hero *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Standard 3-Line phone hero v24: matches the other 340px mobile heroes. */
@media (max-width:768px) {
  html body[data-page="bundles"]:not([data-page="home"]) .campaign-hero--three-line{height:340px!important;min-height:340px!important;max-height:340px!important;aspect-ratio:auto!important}
  .campaign-hero--three-line .campaign-hero-picture img,.campaign-hero--three-line .um-hero-bg-art{object-fit:cover!important;object-position:center center!important}
  .campaign-hero--three-line .um-hero-overlay{background:linear-gradient(180deg,rgba(2,11,29,.82) 0%,rgba(2,11,29,.3) 45%,rgba(2,11,29,.08) 100%)!important}
  .campaign-hero--three-line>.shell{padding-top:18px!important}
}
