/* HERO */

.story-hero{
  position:relative;
  min-height:100vh;
  overflow:hidden;
}

/* BACKGROUND */

.story-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  filter:blur(12px);
  transform:scale(1.1);
  z-index:1;
}

.story-bg-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.6);
  z-index:2;
}


/* DESKTOP */

.story-desktop{
  position:relative;
  z-index:3;
}

.story-wrapper{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:60px;
  padding:40px;
}

.story-text-panel{
  width:35%;
  color:#fff;
}

.story-year{
  color:#f0c36d;
  margin-bottom:10px;
  font-size:20px;
}

.story-title{
  font-size:48px;
  margin-bottom:20px;
  color:#00fffb;
}

.story-desc{
  opacity:.9;
  line-height:1.7;
}

/* IMAGE PANEL */

.story-image-panel{
  width:45%;
  height:420px;
  position:relative;
  border-radius:12px;
  overflow:hidden;
}

.story-image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transform:scale(1.05);
  transition:.8s ease;
}

.story-image.active{
  opacity:1;
  transform:scale(1);
}

/* DOTS */

.story-dots{
  position:absolute;
  right:40px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.story-dots span{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#777;
}

.story-dots span.active{
  background:#ff3b3b;
}


/* MOBILE */

.story-mobile{
  display:none;
  padding:80px 20px;
  color:#fff;
  position:relative;
  z-index:3;
  max-width:700px;
  margin:auto;
}

.story-mobile-card{
  margin-bottom:80px;
  text-align:center;
}

.story-mobile-card h1{
  font-size:28px;
  margin-bottom:10px;
}

.story-mobile-card h2{
  font-size:20px;
  color:#f0c36d;
}

.story-mobile-card p{
  line-height:1.7;
}

.story-mobile-card img{
  width:100%;
  border-radius:12px;
  margin-top:20px;
}


/* RESPONSIVE */

@media(max-width:991px){

  .story-desktop{
    display:none;
  }

  .story-mobile{
    display:block;
  }

  .story-hero{
    height:auto;
  }

}