.careers-hero {
  padding-bottom: var(--site-spacing-xs);
}

@media (min-width: 768px) {
  .careers-hero {
    padding-bottom: var(--site-spacing-md);
  }
  
}

.careers-hero__slider {
  padding-top: 52px;
}

@media (min-width: 768px) {
  .careers-hero__slider {
    padding-top: var(--site-spacing-sm);
  }  
}

.careers-hero .track-horizontal {
  position: absolute;
  white-space: nowrap;
  will-change: transform;
  animation: marquee-horizontal 60s linear infinite;
  /* manipulate the speed of the marquee by changing "20s" line above*/
}

/* .careers-hero .marquee-horizontal-large.w-dyn-list:last-child .track-horizontal.w-dyn-items{
  position: absolute;
  white-space: nowrap;
  will-change: transform;
  animation: marquee-horizontal-alt 80s linear infinite;
} */

.careers-hero .marquee-horizontal-large {
  overflow-x: hidden;
  overflow-y: visible;
}

.careers-hero .marquee-horizontal-large:first-of-type {
  margin-bottom: 20px;  
}

@media (min-width: 768px) {
  .careers-hero .marquee-horizontal-large:first-of-type {
    margin-bottom: 40px;  
  }
}

.careers-hero .image-item {
  overflow: hidden;
  border-radius: var(--border-radius);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 340px;
  width: 400px;
}

.careers-hero .text-large {
  font-size: 1.25em;
  margin-bottom: 54px;
  width: 100%;
  padding-right: 0px;
  padding-bottom: 0px;
  max-width: 770px;
}

@media screen and (max-width: 991px){
  .careers-hero .text-large {
    width: 100%;
    max-width: 665px;
  }  
}

.careers-hero .marquee-horizontal-large.w-dyn-list {
  position: relative;
  z-index: 200;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  overflow: visible;
  width: 100%;
  height: 340px;
  justify-content: flex-start;
  align-items: center;
  flex: 0 0 auto;
}

.careers-hero .track-horizontal-alt {
  position: absolute;
  white-space: nowrap;
  will-change: transform;
  animation: marquee-horizontal-alt 80s linear infinite;
}

.careers-hero .flex-horizontal.w-dyn-item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 340px;
  width: 400px;
  padding: 0 16px;
}

.careers-hero .track-horizontal {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.careers-hero .video-label {
  bottom: 26px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-em);
  position: absolute;
  right: 38px;
  text-shadow: 0px 0px 5px rgb(0 0 0 / 20%);
  z-index: 3;
}

.careers-hero a.icon-container-alt.w-inline-block:hover {
  box-shadow: var(--elevation-high);
  transform: translate(0px, -5px);
}

.careers-hero__slider {
  overflow: hidden;
}

@media screen and (max-width: 479px){
  .careers-hero a.icon-container-alt.w-inline-block {
    position: relative;
    width: 255px;
    border-radius: var(--border-radius);
  }

  .careers-hero .track-horizontal {
    overflow-x: hidden;
    overflow-y: visible;
  }

  .careers-hero .video-label.text-white.text-semibold {
    font-size: var(--font-size-base);
  }

  .careers-hero .image-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 340px;
    width: 400px;
  }

  .careers-hero__slider {
    overflow-y: hidden;
  }

}

@keyframes marquee-horizontal {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}
@keyframes marquee-horizontal-alt {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0%);
  }
}