/* Dec 2026 "Find the Yeti" hero. Stage = the PSD frame under the NAV mock: 1920x661 desktop, 375x574 mobile.
   Every length is the frame's own px in cqw of the stage (desktop px / 19.2, mobile px / 3.75). */

#dec-promo {
  background-color: #a9d3ec;
}

#dec-promo .dec-stage {
  display: grid;
  width: 100%;
  aspect-ratio: 1920 / 661;
  container-type: inline-size;
  overflow: hidden;
  background-color: #a9d3ec;
  background-image: url(../images/hero/back.jpg);
  background-image: -webkit-image-set(url("../images/hero/back.webp") 1x, url("../images/hero/back@2x.webp") 2x);
  background-image: image-set(url("../images/hero/back.webp") 1x, url("../images/hero/back@2x.webp") 2x);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

#dec-promo .dec-stage > picture {
  display: contents;
}

/* content group: headline, line, CTA (one flex column in the stage's cell) */
#dec-promo .dec-copy {
  grid-area: 1 / 1;
  justify-self: center;
  align-self: start;
  margin-top: 5.5729cqw;
  position: relative;
  z-index: 1;
}

#dec-promo .headline {
  width: 45.8333cqw;
  height: auto;
  max-width: none;
  margin-left: 0.625cqw;
}

#dec-promo .sub {
  margin: 0.4427cqw 0 0;
  height: 1.6146cqw;
  font-size: max(1.5625cqw, 15px);
  line-height: 2.0833cqw;
  color: #2f2f2f;
  text-align: center;
  white-space: nowrap;
}

#dec-promo .cta {
  margin-top: 2.2656cqw;
  width: max(10.0781cqw, 150px);
  height: max(2.1875cqw, 32px);
  padding: 0;
  border-radius: max(1.0547cqw, 16px);
  font-size: max(0.9375cqw, 13px);
  line-height: 1;
  color: #ffffff;
  background-color: #e91b27;
}

#dec-promo .cta:hover,
#dec-promo .cta:focus {
  color: #ffffff;
  text-decoration: none;
}

/* art: Lotties in front of the headline type (Katy, 30 Nov), front trees on top */
#dec-promo .art {
  position: absolute;
  pointer-events: none;
}

#dec-promo .top-yeti,
#dec-promo .hidden-yeti {
  z-index: 2;
}

#dec-promo .art dotlottie-wc {
  display: block;
  width: 100%;
  height: 100%;
}

#dec-promo .top-yeti {
  left: 10.7917cqw;
  top: 0.1146cqw;
  width: 19.4792cqw;
  height: 9.0469cqw;
}

/* the front tree sits on the stage's bottom edge (QA, 20 Nov) */
#dec-promo .hidden-yeti {
  left: 62.6719cqw;
  bottom: 0;
  width: 35.5521cqw;
  height: 32.8490cqw;
}

#dec-promo .tree-left,
#dec-promo .tree-right {
  z-index: 3;
  height: auto;
  max-width: none;
}

#dec-promo .tree-left {
  left: -0.0521cqw;
  top: -0.0521cqw;
  width: 26.9271cqw;
}

#dec-promo .tree-right {
  left: 82.3438cqw;
  top: 0.8333cqw;
  width: 17.7083cqw;
}

@media (max-width: 767px) {
  #dec-promo .dec-stage {
    aspect-ratio: 375 / 574;
    background-image: url(../images/hero/back-m.jpg);
    background-image: -webkit-image-set(url("../images/hero/back-m.webp") 1x, url("../images/hero/back-m@2x.webp") 2x);
    background-image: image-set(url("../images/hero/back-m.webp") 1x, url("../images/hero/back-m@2x.webp") 2x);
  }

  #dec-promo .dec-copy {
    margin-top: 22.1333cqw;
  }

  #dec-promo .headline {
    width: 97.0667cqw;
    margin-left: 0.2667cqw;
  }

  #dec-promo .sub {
    margin-top: 4.8cqw;
    height: 13.6cqw;
    font-size: 6cqw;
    line-height: 7.3333cqw;
  }

  #dec-promo .cta {
    margin-top: 5.3333cqw;
    width: 40.4cqw;
    height: 8.4cqw;
    border-radius: 4cqw;
    font-size: 4cqw;
    background-color: #ec151b;
  }

  #dec-promo .top-yeti {
    left: -9.28cqw;
    top: 0.2933cqw;
    width: 46.8cqw;
    height: 21.7333cqw;
  }

  #dec-promo .hidden-yeti {
    left: 49.6267cqw;
    width: 92.7467cqw;
    height: 85.7067cqw;
  }
}
