.slice-carousel {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 80px;
  margin-bottom: 50px;
}

.slice-carousel .slick-slide h2 {
  font-weight: bold;
  font-size: 55px;
  line-height: 0.96;
  letter-spacing: -2.5px;
  max-width: 800px;
  width: 75%;
  color: #fff;
  margin: 0;
  padding: 0;
}

.slice-carousel .slick-arrow {
  transform: scaleX(0.8);
}

.slice-carousel .slick-arrow:focus {
  outline: none;
}

.slice-carousel .slick-arrow:focus::before {
  outline: 2px dotted #3c87d7;
  outline-offset: 2px;
}

.slice-carousel .slick-arrow::before {
  content: "\A";
  position: absolute;
  width: 32px;
  height: 32px;
  border: 10px solid #333;
  transform: rotate(-45deg);
}
.slice-carousel .slick-prev {
  left: -48px;
}
.slice-carousel .slick-next {
  right: -48px;
}
.slice-carousel .slick-next::before {
  top: -11px;
  left: 0;
  border-width: 0 9px 9px 0;
}

.slice-carousel .slick-prev::before {
  bottom: 0;
  right: 0;
  border-width: 9px 0 0 9px;
}

.slice-carousel .slick-dots {
  width: 48%;
  display: flex;
  padding: 30px 80px 0 40px;
  bottom: -56px;
}

.slice-carousel .slick-dots li {
  margin-right: 14px;
  transition: all 0.3s;
  color: #333;
}

.slice-carousel .slick-dots li button {
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: currentColor;
  width: auto;
  height: auto;
  padding: 0;
}

.slice-carousel .slick-dots li button::before {
  display: none;
}

.slice-carousel .slick-dots li button:focus {
  outline: 2px dotted #3c87d7;
  outline-offset: 2px;
}

.slice-carousel .slick-dots li::before {
  content: "\A";
  display: block;
  position: absolute;
  width: 100%;
  height: 1px;
  background: #585858;
  top: 0.46em;
  left: 1.4ex;
}

.slice-carousel .slick-dots li::after {
  content: "\A";
  display: block;
  position: absolute;
  width: 0%;
  height: 1px;
  background: #000;
  top: 0.46em;
  left: 1.4ex;
  transition: width 4s linear;
}
.slice-carousel .slick-dots li.slick-active::before {
  background: #dadada;
}
.slice-carousel .slick-dots li.slick-active.slick-init::after {
  width: 100%;
}
.slice-carousel .slick-dots li.slick-active {
  flex: 1;
  color: black;
}

.slice-carousel__slide {
  position: relative;
}

.slice-carousel__image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  left: 0;
  top: 0;
}

.slice-carousel__content {
  height: 630px;
  position: relative;
  padding: 22px 35px;
  background: #000;
}

.slice-carousel__content::before {
  content: "\A";
  width: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.53) 0%, transparent 100%);
  position: absolute;
  top: 0;
  left: 0;
  height: 360px;
  z-index: 1;
}

.slice-carousel__content__top {
  position: relative;
  z-index: 1;
}

.slice-carousel__content__top .slice-label {
  padding: 4px 12px;
  font-size: 14px;
  text-align: center;
  min-width: 80px;
  position: absolute;
  right: 0;
  top: 0;
  background: white;
  font-weight: 500;
}

.page .slice-carousel__content__bottom {
  background: white;
  padding: 24px 40px 10px;
  font-size: 14px;
  min-width: 246px;
  width: 48%;
  position: absolute;
  left: 0;
  text-align: left;
  bottom: -18px;
  height: 120px;
}

.page .slice-carousel__content__bottom h3 {
  font-size: 14px;
  margin: 0;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.page .slice-carousel__content__bottom .cta {
  margin-top: 2px;
}

.page .slice-carousel__content__bottom .cta a:hover {
  text-decoration: underline;
}

.page .slice-carousel__content__bottom p {
  padding: 0;
  font-size: 14px;
  line-height: 1.4em;
}
.page .slice-carousel__content__bottom p {
  --max-lines: 2;
  --lh: 1.4em;
  position: relative;
  max-height: calc(var(--lh) * var(--max-lines));
  overflow: hidden;
  padding-right: 1em; /* space for ellipsis */
}
.page .slice-carousel__content__bottom p::after {
  content: "";
  position: absolute;
  /*
  inset-inline-end: 0;
  */
  right: 0;
  /* missing bottom on purpose*/
  width: 1rem;
  height: 1rem;
  background: white;
}

.page .slice-carousel__content__bottom p:last-child {
  margin-bottom: 0;
}

.slice-carousel__cta {
  font-size: 14px;
  margin-left: 48%;
}

.slice-carousel__cta a {
  color: black;
  font-weight: 700;
}

.slice-carousel__cta span {
  margin-right: 6px;
}

.slick-sr-only {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  -webkit-clip-path: inset(50%) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important;
}
.slick-autoplay-toggle-button {
  position: absolute;
  left: -20px;
  bottom: -30px;
  z-index: 10;
  opacity: 0.75;
  background: 0 0;
  border: 0;
  cursor: pointer;
  color: #333;
}

.slick-autoplay-toggle-button:hover,
.slick-autoplay-toggle-button:focus {
  color: #000;
  opacity: 1;
}

.slick-autoplay-toggle-button:active {
  color: #fff;
  opacity: 1;
}

.slick-autoplay-toggle-button .slick-pause-icon:before {
  content: "⏸";
  width: 20px;
  height: 20px;
  font-family: slick;
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
}
.slick-autoplay-toggle-button .slick-play-icon:before {
  content: "▶";
  width: 20px;
  height: 20px;
  font-family: slick;
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
}

@media screen and (max-width: 1100px) {
  .slice-carousel {
    padding: 0 60px;
  }
  .slice-carousel__content {
    height: 500px;
  }
}
@media screen and (max-width: 990px) {
  .slice-carousel {
    padding: 0 20px;
  }

  .slice-carousel .slick-slide h2 {
    font-size: 27px;
    line-height: 1.15;
    letter-spacing: -1.5px;
  }

  .slice-carousel .slick-arrow {
    top: 100%;
  }

  .slice-carousel .slick-arrow::before {
    width: 20px;
    height: 20px;
  }

  .slice-carousel .slick-arrow.slick-next {
    right: 0;
  }

  .slice-carousel .slick-arrow.slick-next::before {
    border-width: 0 6px 6px 0;
    top: 5px;
  }

  .slice-carousel .slick-arrow.slick-prev {
    left: 0;
  }

  .slice-carousel .slick-arrow.slick-prev::before {
    border-width: 6px 0 0 6px;
    bottom: -5px;
  }

  .slice-carousel .slick-dots {
    bottom: auto;
    top: 100%;
    width: calc(100% - 50px);
    padding: 0;
    margin: 0 auto;
    left: 25px;
    justify-content: center;
  }

  .slice-carousel .slick-dots li {
    margin-right: 10px;
    margin-left: 10px;
    flex: 0;
    color: #a6a6a6;
  }

  .slice-carousel .slick-dots li::before,
  .slice-carousel .slick-dots li::after {
    display: none;
  }

  .slice-carousel .slick-dots li.slick-active {
    flex: 0;
    color: black;
  }

  .slice-carousel__content {
    height: auto;
    padding: 18px 12px;
  }

  .slice-carousel__content__top {
    height: 340px;
  }

  .slice-carousel__content__top .slice-label {
    padding: 2px 8px;
    font-size: 11px;
    min-width: 60px;
    position: absolute;
  }

  .slice-carousel__cta {
    margin-left: 0;
    margin-top: 3em;
    font-weight: 500;
  }

  .page .slice-carousel__content__bottom {
    width: 70%;
    font-size: 11px;
    position: relative;
    margin-left: -12px;
    padding: 14px 30px 10px 0;
  }

  .page .slice-carousel__content__bottom h3 {
    font-size: 11px;
    margin-top: 0 !important;
    line-height: 1.45;
  }

  .page .slice-carousel__content__bottom p {
    font-size: 11px;
    line-height: 1.45;
  }

  .slice-carousel__cta {
    margin-top: 5em;
  }

  .slick-autoplay-toggle-button {
    bottom: -75px;
  }
}

@media screen and (max-width: 300px) {
  .slice-carousel {
    padding: 0 8px;
  }

  .slice-carousel__content {
    height: 360px;
  }

  .slice-carousel .slick-slide h2 {
    font-size: 15px;
    line-height: 1.15;
    letter-spacing: 1px;
    top: 25px;
    position: relative;
  }

  .slice-carousel__content__bottom {
    transform: scale(0.7);
    transform-origin: left;
  }

  .slice-carousel__content__top {
    height: 210px;
  }

  .slick-autoplay-toggle-button {
    background: #007acc;
    transform: scale(0.7);
    transform-origin: left;
    left: 0px;
    bottom: -70px;
  }

  .slice-carousel .slick-dots {
    display: flex;
    transform: scale(0.7);
  }
}

/* Hero Alt */
/* Scrims */
.slice-carousel__content--blue::before {
  background: linear-gradient(
    180deg,
    rgba(35, 101, 176, 0.53) 0%,
    transparent 100%
  );
}

.slice-carousel__content--none::before {
  content: initial;
}

.slice-carousel__heading--black {
  color: #333 !important;
}

.slice-carousel__heading--white {
  color: #fff !important;
}
