.fancy-slider {
  background-color: var(--color-mpr-charcoal);
  color: #fff;
  padding-bottom: 1rem;
  width: 100%;
}

.fancy-slider .react-horizontal-scrolling-menu--scroll-container {
  gap: 1.313rem;
  padding-inline: 1rem;
  scrollbar-color: var(--color-mpr-blue) transparent;
}

.fancy-slider .react-horizontal-scrolling-menu--inner-wrapper {
  position: relative;
  padding-bottom: 6rem;
}

.fancy-slider .react-horizontal-scrolling-menu--arrow-left, .fancy-slider .react-horizontal-scrolling-menu--arrow-right {
  position: absolute;
  bottom: 1rem;
  z-index: 2;
}

.fancy-slider .react-horizontal-scrolling-menu--arrow-left {
  left: 30%;
}

.fancy-slider .react-horizontal-scrolling-menu--arrow-right {
  right: 30%;
}

.fancy-slider-card {
  width: 27rem;
  max-width: 80vw;
}

.fancy-slider-hdg.hdg-block {
  background-color: var(--color-mpr-yellow);
  color:  var(--color-mpr-charcoal);
  margin: 0 1rem 1rem 1rem;
  border-radius: 0 0 0.188rem 0.188rem;
}

.fancy-slider-img {
  margin-bottom: 1rem;
}

.fancy-slider-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

@media (min-width: 75em) {
  .fancy-slider {
    padding-bottom: 6rem;
    background-image: 
      url("/img/rectangle-top-left.svg"),
      url("/img/rectangle-top-right.svg"),
      url("/img/rectangles-bottom-left.svg"),
      url("/img/rectangle-bottom-right.svg");
    background-repeat: no-repeat;
    background-position: top 6rem left, top right, bottom left, bottom right 4rem;
  }

  .fancy-slider-card {
    position: relative;
    width: 38.6rem;
  }

  .fancy-slider .react-horizontal-scrolling-menu--scroll-container {
    gap: 5.25rem;
    padding-inline: 6rem;
  }

  .fancy-slider .react-horizontal-scrolling-menu--inner-wrapper {
    padding-bottom: 0;
  }

  .fancy-slider .react-horizontal-scrolling-menu--arrow-left, .fancy-slider .react-horizontal-scrolling-menu--arrow-right {
    display: flex;
    justify-content: center;
    padding: 1rem;
    padding-top: 14%;
    position: static;
  }

  .fancy-slider-img-outer::after {
    content: '';
    background-color: var(--color-mpr-charcoal-trans);
    position: absolute;
    z-index: 1;
    height: 40%;
    width: 100%;
    bottom: 0;
  }

  .fancy-slider-text {
    position: absolute;
    z-index: 2;
    bottom: 0;
    margin: 3rem 4rem;
  }
}
