 /* Splide-like styles */
 .splide {
     position: relative;
     visibility: visible;
     width: 100%;
     max-width: 100%;
 }

 .splide__track {
     overflow: hidden;
     position: relative;
     z-index: 0;
     width: 100%;
     height: 100%;
 }

 .splide__list {
     display: flex;
     margin: 0;
     padding: 0;
     list-style: none;
     transition: transform 0.4s ease;
     height: 100%;
     align-items: stretch;
 }

 .splide__slide {
     flex-shrink: 0;
     position: relative;
     list-style: none;
     box-sizing: border-box;
     display: flex;
     align-items: stretch;
 }

 .splide__slide img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
     flex: 1;
 }

 .splide__slide>* {
     width: 100%;
     height: 100%;
 }

 .splide__arrows {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     width: 100%;
     display: flex;
     justify-content: space-between;
     z-index: 10;
     pointer-events: none;
 }

 .splide__arrow {
     background: rgb(255 255 255 / 0%);
     border: none;
     border-radius: 50%;
     color: white;
     cursor: pointer;
     font-size: 24px;
     height: 2em;
     width: 2em;
     display: flex;
     align-items: center;
     justify-content: center;
     pointer-events: auto;
     transition: background 0.3s;
 }

 .splide__arrow:hover {
     background: rgba(0, 0, 0, 0.75);
 }

 .splide__arrow--prev {
     margin-left: 1em;
 }

 .splide__arrow--next {
     margin-right: 1em;
 }

 .splide__pagination {
     position: absolute;
     bottom: 1em;
     left: 50%;
     transform: translateX(-50%);
     display: flex;
     gap: 0.5em;
     list-style: none;
     margin: 0;
     padding: 0;
     z-index: 10;
 }

 .splide__pagination__page {
     list-style: none;
 }

 .splide__pagination__page button {
     background: rgba(255, 255, 255, 0.5);
     border: none;
     border-radius: 50%;
     cursor: pointer;
     height: 12px;
     width: 12px;
     padding: 0;
     transition: all 0.3s;
 }

 .splide__pagination__page button:hover {
     background: rgba(255, 255, 255, 0.75);
 }

 .splide__pagination__page.is-active button {
     background: white;
     transform: scale(1.3);
 }

 .splide__slide.is-active {
     z-index: 1;
 }

 /* Slide content styles */
 .slide-content {
     position: relative;
     height: 100%;
 }

 .slide-caption {
     position: absolute;
     bottom: 0;
     left: 0;
     right: 0;
     /* background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent); */
     color: white;
     padding: 2em;
 }