body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #f7f9fc;
  color: #333;
}

.stories-header {
  text-align: center;
  background: linear-gradient(to right, #ff007a, #ff85c1);
  color: white;
  padding: 60px 20px;
}

.stories-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.stories-header p {
  font-size: 1.2rem;
}

.stories-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.story-card {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.story-card:hover {
  transform: translateY(-6px);
}

.story-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.story-text {
  padding: 20px;
}

.story-text h2 {
  margin-top: 0;
  font-size: 1.4rem;
  color: #ff007a;
}

.story-text p {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/* Mobile tweaks */
@media (max-width: 480px) {
  .stories-header h1 {
    font-size: 1.8rem;
  }

  .stories-header p {
    font-size: 1rem;
  }

  .story-text h2 {
    font-size: 1.2rem;
  }

  .story-text p {
    font-size: 0.95rem;
  }
}
