*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Inter',sans-serif;
  background:#eef2ff;
  color:#1e293b;
  line-height:1.7;
}

.container{
  width:min(1100px,92%);
  margin:auto;
}

/* ================= HERO ================= */

.story-hero{
  height:70vh;
  position:relative;
  overflow:hidden;
}

.story-hero img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,0.78), rgba(0,0,0,0.2));
  display:flex;
  align-items:flex-end;
}

.hero-content{
  padding:60px;
  color:white;
  max-width:800px;
}

.story-tag{
  display:inline-block;
  background:#e63946;
  padding:6px 14px;
  border-radius:50px;
  font-size:0.8rem;
  font-weight:700;
  margin-bottom:18px;
  letter-spacing:0.5px;
}

.hero-content h1{
  font-size:3rem;
  line-height:1.15;
  margin-bottom:16px;
}

.hero-content p{
  color:#e2e8f0;
  font-size:1.05rem;
}

/* ================= STORY ================= */

.story-wrapper{
  margin-top:-70px;
  position:relative;
  z-index:5;
}

.story-card{
  background:white;
  border-radius:22px;
  padding:50px;
  box-shadow:0 15px 40px rgba(0,0,0,0.08);
  margin-bottom:40px;
}

.story-meta{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  margin-bottom:30px;
  color:#64748b;
  font-size:0.92rem;
  border-bottom:1px solid #e2e8f0;
  padding-bottom:22px;
}

.story-card h2{
  font-size:2rem;
  color:#0f172a;
  margin-bottom:18px;
}

.story-card p{
  margin-bottom:22px;
  color:#64748b;
  font-size:1rem;
}

/* ================= QUOTE ================= */

.story-quote{
  margin:40px 0;
  padding:30px;
  border-left:5px solid #e63946;
  background:#f8fafc;
  border-radius:12px;
}

.story-quote p{
  font-size:1.1rem;
  color:#0f172a;
  font-weight:600;
  margin:0;
}

/* ================= GALLERY ================= */

.story-gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:40px;
}

.story-gallery img{
  width:100%;
  height:240px;
  object-fit:cover;
  border-radius:16px;
  transition:0.35s ease;
  cursor:pointer;
}

.story-gallery img:hover{
  transform:scale(1.04);
}

/* ================= MORE STORIES ================= */

.more-stories{
  margin-top:60px;
}

.more-stories-title{
  font-size:2rem;
  margin-bottom:28px;
  color:#0f172a;
}

.stories-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.mini-story-card{
  background:#f8fafc;
  border-radius:20px;
  overflow:hidden;
  transition:0.35s ease;
  border:1px solid #e2e8f0;
}

.mini-story-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 40px rgba(0,0,0,0.08);
}

.mini-story-image{
  height:220px;
  overflow:hidden;
}

.mini-story-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:0.4s ease;
}

.mini-story-card:hover img{
  transform:scale(1.08);
}

.mini-story-content{
  padding:24px;
}

.mini-tag{
  display:inline-block;
  background:#e63946;
  color:white;
  padding:6px 12px;
  border-radius:50px;
  font-size:0.78rem;
  font-weight:700;
  margin-bottom:16px;
}

.mini-story-content h4{
  font-size:1.3rem;
  color:#0f172a;
  margin-bottom:14px;
  line-height:1.4;
}

.mini-story-content p{
  color:#64748b;
  margin-bottom:22px;
  font-size:0.96rem;
}

.read-story-btn{
  text-decoration:none;
  color:#e63946;
  font-weight:700;
  transition:0.3s ease;
}

.read-story-btn:hover{
  letter-spacing:0.5px;
}

/* ================= PAGINATION ================= */

.story-pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  margin-top:50px;
  flex-wrap:wrap;
}

.page-btn{
  width:48px;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  text-decoration:none;
  background:white;
  color:#0f172a;
  font-weight:700;
  border:1px solid #e2e8f0;
  transition:0.3s ease;
  box-shadow:0 5px 15px rgba(0,0,0,0.04);
}

.page-btn:hover{
  transform:translateY(-4px);
  background:#e63946;
  color:white;
  border-color:#e63946;
}

.page-btn.active{
  background:#e63946;
  color:white;
  border-color:#e63946;
}

.next-btn{
  width:auto;
  padding:0 20px;
}

/* ================= BUTTON ================= */

.back-btn{
  display:inline-block;
  margin-top:40px;
  padding:13px 24px;
  border-radius:10px;
  background:#e63946;
  color:white;
  text-decoration:none;
  font-weight:600;
  transition:0.3s ease;
}

.back-btn:hover{
  transform:translateY(-3px);
}

/* ================= LIGHTBOX ================= */

.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.9);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.lightbox.active{
  display:flex;
}

.lightbox img{
  max-width:90%;
  max-height:90vh;
  border-radius:12px;
}

.lightbox-close{
  position:absolute;
  top:20px;
  right:30px;
  color:white;
  font-size:2rem;
  cursor:pointer;
}


/* ================= RESPONSIVE ================= */

@media(max-width:900px){

  .hero-content{
    padding:30px;
  }

  .hero-content h1{
    font-size:2.2rem;
  }

  .story-gallery{
    grid-template-columns:1fr;
  }

  .stories-grid{
    grid-template-columns:1fr;
  }

  .story-card{
    padding:30px 24px;
  }

}

.story-profile{
  display:flex;
  align-items:center;
  gap:22px;
  margin-bottom:28px;
}

.story-profile-image{
  width:95px;
  height:95px;
  border-radius:50%;
  overflow:hidden;
  flex-shrink:0;
  border:4px solid #eef2ff;
  box-shadow:0 8px 25px rgba(0,0,0,0.08);
}

.story-profile-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.story-profile-info h3{
  font-size:2rem;
  color:#0f172a;
  margin-bottom:6px;
  font-weight:800;
}

.story-profile-info p{
  margin:0;
  color:#64748b;
  font-size:1.05rem;
  font-weight:500;
}

@media(max-width:768px){

  .story-profile{
    flex-direction:column;
    align-items:flex-start;
  }

  .story-profile-info h3{
    font-size:1.6rem;
  }

}
