#webstories-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding-bottom: 40px;
  /* max-width: 1200px; */
  margin: 0 auto;
}

.story-card {
  width: 290px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: 0.3s ease;
}

.story-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(204, 0, 116, 0.15); /* pink glow */
  border: 1px solid #cc0074;
}

.story-image {
  width: 100%;
  padding-top: 160%; 
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}

.story-content {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  height: 130px;
  justify-content: space-between;
}

.story-content h3 {
  font-size: 15px;
  font-weight: 500;
  color: #2e2e2e;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.story-content .read-more {
  color: #cc0074;
  font-weight: bold;
  font-size: 13px;
}


#load-more-stories {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  background: #cc0074;
  color: white;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

#load-more-stories:hover {
  background: #aa005f;
}


@media screen and (max-width: 768px) {
  .story-card {
    width: 45%;
  }
}

@media screen and (max-width: 480px) {
  #webstories-container {
    justify-content: center;
  }
  .story-card {
    width: 90%;
  }
}
