.splide {
  position: relative;
  margin-bottom: 8rem;
  max-width: none!important;
  &:not(.hero)::before {
    content: '';
    position: absolute;
    bottom: calc(-2.2vw - 3rem);
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    pointer-events: none;
  }
  &.hero img {
    aspect-ratio: 2000/667;
    @media (max-width: 600px) {
      aspect-ratio: 16/9;
    }
  }
  .usertext &,
  .block & {
    width: 110dvh;
    max-width: 100%!important;
  }


}
.splide__pagination {
  gap: 0.6rem;
  bottom: calc(-2.2vw - 1.25rem);
  left: 1rem;
  right: 1rem;
  margin: 0 auto;
  padding: 0;
  width: calc(100% - 2rem);
  text-align: center;
  li {
    line-height: 0.5;
  }


  @media (max-width: 500px) {
  .splide:not(.hero) & {
      bottom: -3rem;
    }
    gap: 0.3rem;
  }
}

.splide__pagination__page {
  width: 1.2rem;
  height: 1.2rem;
  transition: transform 0.2s ease;
  opacity: 1;
  position: relative;
  @media (max-width: 500px) {
    width: 0.8rem;
    height: 0.8rem;
  }
  &::after {
    content: '';
    position: absolute;
    inset: -10px -5px;


  }
  &:hover {
    background: #aaa!important;
    transform: scale(1.2)!important;
  }
  &.is-active {
    background: var(--orange)!important;
    transform: scale(1.15)!important;
  }

}
