body {
  background-color: #f3e5f5;
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
}

.more-stories h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 42px;
  text-align: center;
  background: linear-gradient(to right, #ff4081, #ff8a65);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
  margin-bottom: 40px;
  padding-top: 30px;
  letter-spacing: 1.2px;
  position: relative;
}

.more-stories h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #ff4081;
  margin: 10px auto 0;
  border-radius: 2px;
}

.stories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  padding: 0 20px 60px;
}

.story-card {
  background: #ffffff;
  width: 300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
  cursor: pointer;
  height: 100%;
}

.story-card:hover {
  background: #ede7f6;
  transform: scale(1.05);
  box-shadow: 0 14px 28px rgba(178, 22, 22, 0.2);
}

.story-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.story-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0));
}

.story-content {
  padding: 20px;
  text-align: left;
}

.story-content h3 {
  font-size: 20px;
  color: #8e24aa;
  margin-bottom: 10px;
}

.story-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #424242;
}

.view-more-btn {
  display: inline-block;
  margin: 40px auto 0;
  text-decoration: none;
  background: #ff4081;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 20px;
}

.view-more-btn:hover {
  background: #f50057;
}
.more-stories {
  text-align: center;
}

/************************* pop up**************************************/

story-card {
  text-decoration: none;
  color: inherit; /* optional: keeps the text color consistent */
}

.story-card h3,
.story-card p {
  text-decoration:none;
}

a{
  text-decoration: none;
  color: inherit;
}
a:hover{
  text-decoration: none;
}