@font-face {
  font-family: 'OrangeCrayon';
  src: url('../../../../fonts/Orange-Crayon/OrangeCrayon-Regular.eot');
  src: url('../../../../fonts/Orange-Crayon/OrangeCrayon-Regular.eot?#iefix') format('embedded-opentype'),
    url('../../../../fonts/Orange-Crayon/OrangeCrayon-Regular.woff2') format('woff2'),
    url('../../../../fonts/Orange-Crayon/OrangeCrayon-Regular.woff') format('woff'),
    url('../../../../fonts/Orange-Crayon/OrangeCrayon-Regular.ttf') format('truetype'),
    url('../../../../fonts/Orange-Crayon/OrangeCrayon-Regular.svg#OrangeCrayon-Regular') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'National Railway Banner';
  src: url('../../../../fonts/NationalRailway-Banner/NationalRailway-Banner.eot');
  src: url('../../../../fonts/NationalRailway-Banner/NationalRailway-Banner.eot?#iefix') format('embedded-opentype'),
    url('../../../../fonts/NationalRailway-Banner/NationalRailway-Banner.woff2') format('woff2'),
    url('../../../../fonts/NationalRailway-Banner/NationalRailway-Banner.woff') format('woff'),
    url('../../../../fonts/NationalRailway-Banner/NationalRailway-Banner.ttf') format('truetype'),
    url('../../../../fonts/NationalRailway-Banner/NationalRailway-Banner.svg#NationalRailway-Banner') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Boogaloo';
  src: url('../../../../fonts/Boogaloo-Regular/Boogaloo-Regular.eot');
  src: url('../../../../fonts/Boogaloo-Regular/Boogaloo-Regular.eot?#iefix') format('embedded-opentype'),
    url('../../../../fonts/Boogaloo-Regular/Boogaloo-Regular.woff2') format('woff2'),
    url('../../../../fonts/Boogaloo-Regular/Boogaloo-Regular.woff') format('woff'),
    url('../../../../fonts/Boogaloo-Regular/Boogaloo-Regular.ttf') format('truetype'),
    url('../../../../fonts/Boogaloo-Regular/Boogaloo-Regular.svg#Boogaloo-Regular') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.boogaloo {
  font-family: 'Boogaloo';
}

.nat-railway-banner {
  font-family: 'National Railway Banner';
}

.orangecrayon {
  font-family: 'OrangeCrayon';
}

.text-decoration-none {
  text-decoration: none;
}

#nov8-hero .nov8-inner .button:hover {
  text-decoration: none;
}

#nov8-hero {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url(../images/hero/back.jpg);
  background-image: image-set(url("../images/hero/back.webp") 1x,
      url("../images/hero/back@2x.webp") 2x);
  background-image: -webkit-image-set(url("../images/hero/back.webp") 1x,
      url("../images/hero/back@2x.webp") 2x);
}

/* <picture> wrappers must not affect the hero layout */
#nov8-hero picture {
  display: contents;
}

#nov8-hero .nov8-inner {
  margin: 0;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

/* Layout / containers */
#nov8-hero p {
  margin-bottom: 0;
}

/* the background image splits at 1020px of 1920px */
#nov8-hero .nov8-left {
  max-width: 53.125%;
  width: 100%;
  padding-top: 64px;
  padding-bottom: 63px;
  padding-right: 107px;
}

#nov8-hero .nov8-right {
  max-width: 46.875%;
  width: 100%;
}

#nov8-hero .nov8-right-content {
  padding-left: 87px;
  gap: 64px;
}

/* Left text */
#nov8-hero .main-text1 {
  color: #000;
  text-align: center;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  left: 9px;
}

/* Headline animation: the poster holds the space, the lottie sits over it */
#nov8-hero .dotlottie-animation {
  z-index: 2;
}

#nov8-hero .headline-poster {
  height: auto;
}

/* added by the lottie reveal script in the blade once the animation has loaded */
#nov8-hero .headline-poster.not-visible {
  visibility: hidden;
}

#nov8-hero dotlottie-wc {
  aspect-ratio: 620 / 154;
  max-height: fit-content;
}

#nov8-hero .main {
  /* max-width: 100%; */
  /* margin-top: -7px; */
  left: -18px;
}

#nov8-hero .buttons {
  gap: 20px;
  margin-top: 20px;
}

#nov8-hero .snow-animation {
  z-index: 9;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

/* Product wrappers (shared) */
#nov8-hero .product-wrapper1 .product-img-wrapper {
  width: 201px;
  height: 234px;
}

#nov8-hero .product-wrapper2 .product-img-wrapper {
  width: 229px;
  height: 219px;
}

#nov8-hero .product-wrapper1 {
  gap: 53px;
}

#nov8-hero .product-wrapper2 {
  gap: 35px;
  left: 54px;
}

/* Product images */
#nov8-hero .product-1 {
  max-width: unset;
}

#nov8-hero .product-2 {
  max-width: unset;
}

/* Product content text */
/* National Railway Banner draws each letter as a knockout in a solid box, so the text color is the box color
   and the panel behind shows through the letters. */
#nov8-hero .text1 {
  color: #FFF;
  text-align: center;
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
  text-transform: uppercase;
}

#nov8-hero .text2 {
  color: #FFF;
  text-align: center;
  font-size: 50.3px;
  font-style: normal;
  font-weight: 400;
  line-height: 40px;
  text-transform: uppercase;
  margin-top: 12px;
}

#nov8-hero .text3 {
  color: #FFF;
  font-size: 29.6px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  text-transform: uppercase;
}

#nov8-hero .text4 {
  color: #FFF;
  text-align: center;
  font-size: 19px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  margin-top: 12px;
}

/* Buttons */
#nov8-hero .nov8-left .button {
  width: 140px;
  height: 30px;
  border-radius: 54px;
  padding: 0;
  background: #ED1C24;
  color: #FFF;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  text-transform: uppercase;
}

#nov8-hero .nov8-right .button {
  width: 121px;
  height: 29px;
  border-radius: 41.442px;
  padding: 0;
  background: #ED1C24;
  color: #FFF;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  text-transform: uppercase;
  margin-top: 16px;
}

@supports (text-box: trim-both cap alphabetic) {
  #nov8-hero .button span {
    text-box: trim-both cap alphabetic;
  }
}

@media screen and (max-width: 1300px) {
  #nov8-hero .nov8-left {
    padding-right: 0;
  }

  #nov8-hero .nov8-right-content {
    padding-left: 39px;
  }
}

@media screen and (max-width: 991px) {

  /* mobile sizes are in cqw of #nov8-hero (design 390px wide, 1cqw = 3.9px) */
  #nov8-hero {
    container-type: inline-size;
    background-image: unset;
  }

  #nov8-hero .nov8-inner {
    flex-direction: column;
  }

  #nov8-hero .nov8-left {
    max-width: 100%;
    padding-top: 12.8205cqw;
    padding-bottom: 13.5897cqw;
    background-position: bottom center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(../images/hero/back-top.jpg);
    background-image: image-set(url("../images/hero/back-top.webp") 1x,
        url("../images/hero/back-top@2x.webp") 2x);
    background-image: -webkit-image-set(url("../images/hero/back-top.webp") 1x,
        url("../images/hero/back-top@2x.webp") 2x);
  }

  #nov8-hero .nov8-left-content {
    padding-left: 0;
  }

  #nov8-hero .nov8-right {
    max-width: 100%;
    align-items: center;
    padding-top: 14cqw;
    padding-bottom: 21.8cqw;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(../images/hero/back-bottom.jpg);
    background-image: image-set(url("../images/hero/back-bottom.webp") 1x,
        url("../images/hero/back-bottom@2x.webp") 2x);
    background-image: -webkit-image-set(url("../images/hero/back-bottom.webp") 1x,
        url("../images/hero/back-bottom@2x.webp") 2x);
  }

  #nov8-hero .nov8-right-content {
    padding-left: 0;
    padding-bottom: 0;
    gap: 5.6cqw;
  }

  #nov8-hero .snow-animation {
    width: 100cqw;
    height: auto;
    right: unset;
    left: 0;
  }

  #nov8-hero .main-text1 {
    font-size: 6.6667cqw;
    line-height: 7.6923cqw;
    /* 115.385% */
    left: unset;
  }

  #nov8-hero .dotlottie-animation {
    width: 96cqw;
    left: -1cqw;
  }

  /* the blade sets the desktop size inline */
  #nov8-hero dotlottie-wc {
    width: 100% !important;
    height: auto !important;
  }

  #nov8-hero .main {
    width: 100cqw;
    height: auto;
    margin-top: -3cqw;
    left: 0;
  }

  #nov8-hero .buttons {
    gap: 3.5897cqw;
    margin-top: 5.1282cqw;
  }

  #nov8-hero .nov8-left .button {
    width: 26.9231cqw;
    height: 7.6923cqw;
    border-radius: 13.8462cqw;
    font-size: 3.5897cqw;
  }

  #nov8-hero .nov8-left .button:nth-child(2) {
    width: 31.2821cqw;
  }


  #nov8-hero .nov8-right .button {
    width: 31.0256cqw;
    height: 7.4359cqw;
    border-radius: 10.6262cqw;
    font-size: 3.5897cqw;
  }

  #nov8-hero .product-wrapper1 {
    gap: 0;
    left: 2cqw;
  }

  #nov8-hero .product-wrapper1 .product-content {
    max-width: 50%;
    width: 100%;
  }

  #nov8-hero .product-wrapper2 {
    gap: 4cqw;
    left: 1cqw;
  }

  #nov8-hero .product-wrapper1 .product-img-wrapper {
    width: 46cqw;
    height: 54cqw;
  }

  #nov8-hero .product-wrapper2 .product-img-wrapper {
    width: 43.8cqw;
    height: 46.2cqw;
  }

  #nov8-hero .product-1 {
    width: 69.5cqw;
    height: auto;
    left: 50%;
    transform: translateX(-44%);
  }

  #nov8-hero .product-2 {
    width: 55.4cqw;
    height: auto;
  }

  #nov8-hero .text1 {
    font-size: 6.7cqw;
    line-height: 6cqw;
  }

  #nov8-hero .text2 {
    font-size: 11.3cqw;
    line-height: 9.2cqw;
    margin-top: 2.8cqw;
  }

  #nov8-hero .text3 {
    font-size: 6.7cqw;
    line-height: 6.4cqw;
  }

  #nov8-hero .text4 {
    font-size: 4.9cqw;
    margin-top: 2.8cqw;
  }
}