.neo-premium-animated-slideshows {
  position: relative;
  overflow: hidden;
}



.neo-premium-animated-slideshows .deco {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    z-index: 10;
}

.neo-premium-animated-slideshows[data-effect="effect11"] .deco {
    z-index: 200;
}

/* Effect 15: deco must cover slides */
.neo-premium-animated-slideshows[data-effect="effect15"] .deco{
  z-index: 200;           /* must be > .slide--current */
  background: #000;       /* or whatever the demo uses */
  opacity: 0;
  visibility: hidden;
}


.neo-premium-animated-slideshows .slides .slide {
    z-index: 1;
}

.neo-premium-animated-slideshows .neo-button {
  margin-top: 20px;
}

.neo-premium-animated-slideshows .slides {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-rows: 100%;
  grid-template-columns: 100%;
  place-items: center;
}

.neo-premium-animated-slideshows .slide {
  width: 100%;
  height: 100%;
  grid-area: 1 / 1 / -1 / -1;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
  will-change: transform, opacity;
  z-index: 1; /* Match GSAP end state */
}

.neo-premium-animated-slideshows p {
  margin-top: 0;
}

.neo-premium-animated-slideshows ul.list-items {
    pointer-events: none;
}

.neo-premium-animated-slideshows ul,
.neo-premium-animated-slideshows li{
  pointer-events: none;
}


.neo-premium-animated-slideshows .slide__img {
  padding: 2vw 15vw;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  will-change: transform, opacity, filter;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
}

.neo-premium-animated-slideshows .slide__img:before {
  width: 100%;
  height: 100%;
  position: absolute;
  content:'';
  left: 0;
  top:0
}

.neo-premium-animated-slideshows .hero-title {
  font-size: clamp(1.5rem, 10vw, 12rem);
  max-width: unset;
}

.neo-premium-animated-slideshows .neo-button:hover ~ .vertical-line:before{
  height: 0;
}

.neo-premium-animated-slideshows .neo-button:hover ~ .vertical-line:after{
  height: 50px;
}

.neo-premium-animated-slideshows .vertical-text,
.neo-premium-animated-slideshows .vertical-line{
  right:50px
}

.neo-premium-animated-slideshows .inner-slide {
  flex-direction: column;
  width: 100%;
}

.neo-premium-animated-slideshows .layout-center .inner-slide{
  align-items: center;
  display: flex;
}

.neo-premium-animated-slideshows .layout-right .inner-slide{
  align-items: flex-end;
  display: flex;
}

.neo-premium-animated-slideshows .layout-right li{
  justify-content: flex-end;
}

.neo-premium-animated-slideshows .layout-right .vertical-line,
.neo-premium-animated-slideshows .layout-right .vertical-text{
  right:calc(100% - 50px);
}

.neo-premium-animated-slideshows .layout-center .hero-title{
  max-width: unset;
}

.neo-premium-animated-slideshows .layout-center .inner-slide {
  align-items: center;
  display: flex;
}

.neo-premium-animated-slideshows .slides-nav {
  grid-area: nav;
  display: flex;
  gap: 0.5rem;
  align-self: end;
  align-items: center;
  transform: translateY(0) rotate(90deg);
  transform-origin: center right;
}

.neo-premium-animated-slideshows .slides-nav::before {
  content: 'scroll / drag';
  margin-right: 2rem;
}

.neo-premium-animated-slideshows .slides-nav__item {
  border: 0;
  background: transparent;
  color: var(--neo-color-reversed-2);
  width: 60px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.neo-premium-animated-slideshows .slides-nav__item:hover {
  background-color:  var(--neo-color-accent);
}

.neo-premium-animated-slideshows .slides-nav{
  position: absolute;
  right: 50px;
  bottom: 50px;
  color:var(--neo-color-reversed-2);
  z-index: 100
}

.neo-premium-animated-slideshows .slide--current {
    pointer-events: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 99;
}